1 2013-01-11 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4 sparc V9 rather than using V8 code.
5 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13 2013-01-11 Roland McGrath <roland@hack.frob.com>
15 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17 * configure: Regenerated.
19 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25 [!__GLIBC_HAVE_LONG_LONG] case.
26 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27 condition to just #else.
28 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35 #elif condition to just #else.
36 * sysdeps/unix/sysv/linux/sys/sysmacros.h
37 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39 #elif condition to just #else.
41 2013-01-11 Steve Ellcey <sellcey@mips.com>
43 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
44 (EF_MIPS_ARCH_64): Fix value.
45 (EF_MIPS_ARCH_32R2): New.
46 (EF_MIPS_ARCH_64R2): New.
48 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
50 * Makeconfig (+link-pie-before-libc): New.
51 (+link-pie-after-libc): Likewise.
52 (+link-pie-tests): Likewise.
53 (+link-pie): Rewritten.
54 (link-before-libc): Remove $(config-LDFLAGS).
55 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57 (config-LDFLAGS): Renamed to ...
59 (rtld-tests-LDFLAGS): New macro.
60 (link-libc-rpath-link): Likewise.
61 (link-libc-tests-rpath-link): Likewise.
62 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
63 (link-libc): Prepand $(link-libc-rpath-link).
64 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65 (test-program-prefix): New macro.
66 (test-via-rtld-prefix): Likewise.
67 (test-program-cmd): Likewise.
68 (host-test-program-cmd): Likewise.
69 * Makefile ($(common-objpfx)testrun.sh): Replace
70 $(run-program-prefix) with $(test-program-prefix).
71 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
73 ($(common-objpfx)shlib.lds): Likewise.
74 (build-module-helper): Likewise.
75 ($(common-objpfx)format.lds): Likewise.
76 * Rules (binaries-pie-tests): New.
77 (binaries-pie-notests): Likewise.
78 (binaries-pie): Rewritten.
79 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
80 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
81 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
82 (make-test-out): Replace $(host-built-program-cmd) with
83 $(host-test-program-cmd).
84 * config.make.in (build-hardcoded-path-in-tests): New variable.
85 * configure.in (--enable-hardcoded-path-in-tests): New configure
87 (hardcoded_path_in_tests): New AC_SUBST.
88 * configure: Regenerated.
89 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
90 $(built-program-cmd) with $(test-program-cmd).
91 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
92 (test_program_cmd): This.
93 * elf/Makefile ($(objpfx)order.out): Run test with
94 $(test-program-prefix).
95 ($(objpfx)order2.out): Likewise.
96 ($(objpfx)tst-initorder.out): Likewise.
97 ($(objpfx)tst-initorder2.out): Likewise.
98 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
100 ($(objpfx)tst-array1-static.out): Likewise.
101 ($(objpfx)tst-array2.out): Likewise.
102 ($(objpfx)tst-array3.out): Likewise.
103 ($(objpfx)tst-array4.out): Likewise.
104 ($(objpfx)tst-array5.out): Likewise.
105 ($(objpfx)tst-array5-static.out): Likewise.
106 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
108 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
109 $(run-program-prefix) with $(test-program-prefix).
110 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
111 (test_program_prefix): This.
112 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
113 $(run-program-prefix) with $(test-program-prefix).
114 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
115 (test_program_prefix): This.
116 * iconvdata/tst-tables.sh: Likewise.
117 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
118 $(run-program-prefix) with $(test-program-prefix).
119 ($(objpfx)tst-translit.out): Likewise.
120 ($(objpfx)tst-gettext2.out): Likewise.
121 ($(objpfx)tst-gettext4.out): Likewise.
122 ($(objpfx)tst-gettext6.out): Likewise.
123 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
124 (test_program_prefix): This.
125 * intl/tst-gettext2.sh: Likewise.
126 * intl/tst-gettext4.sh Likewise.
127 * intl/tst-gettext6.sh: Likewise.
128 * intl/tst-translit.sh: Likewise.
129 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
130 with $(test-program-cmd).
131 * libio/Makefile ($(objpfx)test-freopen.out): Replace
132 $(run-program-prefix) with $(test-program-prefix).
133 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
134 (test_program_prefix): This.
135 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
136 $(run-program-prefix) with $(test-program-prefix).
137 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
138 (test_program_prefix): This.
139 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
140 * posix/Makefile ($(objpfx)globtest.out): Replace
141 $(run-via-rtld-prefix) and $(test-wrapper) with
142 $(test-program-prefix) and $(test-via-rtld-prefix).
143 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
144 $(test-program-prefix).
145 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
146 $(host-test-program-cmd).
147 (tst-spawn-ARGS): Likewise.
148 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
149 $(test-program-prefix).
150 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
151 (test_via_rtld_prefix): This.
152 (test_wrapper): Renamed to ...
153 (test_program_prefix): This.
154 (run_program_prefix): Replaced by test_program_prefix.
155 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
156 (test_program_prefix): This.
157 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
158 with $(host-test-program-cmd).
159 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
160 $(run-program-prefix) with $(test-program-prefix).
161 ($(objpfx)tst-printf.out): Likewise.
162 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
164 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
165 (test_program_prefix): This.
166 * stdio-common/tst-unbputc.sh: Likewise.
167 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
168 $(run-program-prefix) with $(test-program-prefix).
169 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
170 (test_program_prefix): This.
171 * string/Makefile ($(objpfx)tst-svc.out): Replace
172 $(built-program-cmd) with $(test-program-cmd).
174 2013-01-11 Andreas Jaeger <aj@suse.de>
177 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
178 value. Sync with Linux 3.7.
180 2013-01-10 David S. Miller <davem@davemloft.net>
182 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
186 2013-01-10 Roland McGrath <roland@hack.frob.com>
188 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
190 * configure: Regenerated.
192 2013-01-10 David S. Miller <davem@davemloft.net>
194 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
195 sparc V9 rather than using V8 code.
196 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
197 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
199 2013-01-10 Roland McGrath <roland@hack.frob.com>
201 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
202 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
203 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
204 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
205 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
206 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
207 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
208 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
209 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
210 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
211 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
212 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
213 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
214 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
215 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
216 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
217 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
218 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
219 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
220 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
221 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
222 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
223 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
224 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
225 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
226 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
227 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
229 2013-01-10 David S. Miller <davem@davemloft.net>
231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
233 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
235 * posix/Makefile (tests-static): New variable.
236 (tests): Add $(tests-static).
237 (tst-exec-static-ARGS): New variable.
238 (tst-spawn-static-ARGS): Likewise.
239 * posix/tst-exec-static.c: New file.
240 * posix/tst-spawn-static.c: Likewise.
241 * posix/tst-exec.c: Support run directly.
242 * posix/tst-spawn.c: Likewise.
244 2013-01-10 Joseph Myers <joseph@codesourcery.com>
246 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
248 * math/bits/mathcalls.h (llrint): Likewise.
250 * stdlib/stdlib.h (struct drand48_data): Likewise.
251 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
252 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
253 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
255 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
257 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
258 (elf_greg_t): Likewise.
259 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
260 (__jmp_buf): Likewise.
261 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
263 (llrint): Likewise, for all definitions.
266 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
267 Remove [__GNUC__] condition.
268 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
269 condition to just [__USE_ISOC99].
270 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
272 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
275 * sysdeps/unix/sysv/linux/x86/bits/environments.h
276 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
278 (_POSIX_V6_ILP32_OFF32): Likewise.
279 (_XBS5_ILP32_OFF32): Likewise.
280 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
281 (__ILP32_OFFBIG_LDFLAGS): Likewise.
283 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
285 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
288 doubles __mpexp_twomm1. Adjust usage.
289 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
292 2013-01-10 Andreas Schwab <schwab@suse.de>
295 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
296 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
298 2013-01-09 David S. Miller <davem@davemloft.net>
301 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
302 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
303 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
304 TCP_FASTOPEN): Define.
305 (tcp_repair_opt): New structure.
306 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
308 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
309 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
310 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
311 (tcp_cookie_transactions): New structure.
313 2013-01-09 Anton Blanchard <anton@samba.org>
315 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
316 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
320 2013-01-09 Joseph Myers <joseph@codesourcery.com>
322 * include/features.h (__USE_ANSI): Remove.
324 2013-01-09 Roland McGrath <roland@hack.frob.com>
326 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
328 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
330 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
332 * sysdeps/s390/fpu/libm-test-ulps: Update.
334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
336 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
341 (__mp_dbl): Likewise.
342 (__dbl_mp): Likewise.
343 (add_magnitudes): Likewise.
344 (sub_magnitudes): Likewise.
350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
355 (__mp_dbl): Likewise.
356 (__dbl_mp): Likewise.
357 (add_magnitudes): Likewise.
358 (sub_magnitudes): Likewise.
364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
369 (__mp_dbl): Likewise.
370 (__dbl_mp): Likewise.
371 (add_magnitudes): Likewise.
372 (sub_magnitudes): Likewise.
379 2013-01-08 Joseph Myers <joseph@codesourcery.com>
381 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
382 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
383 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
384 2 && __USE_EXTERN_INLINES]: Likewise.
386 2013-01-08 Andreas Jaeger <aj@suse.de>
389 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
391 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
392 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
394 2013-01-07 Anton Blanchard <anton@samba.org>
396 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
397 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
398 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
399 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
400 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
401 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
402 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
403 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
405 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
408 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
412 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
413 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
414 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
416 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
417 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
419 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
420 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
421 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
422 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
423 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
424 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
425 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
426 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
428 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
431 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
432 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
434 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
436 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
437 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
438 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
440 2013-01-07 Joseph Myers <joseph@codesourcery.com>
442 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
443 (__MALLOC_PMT): Likewise.
444 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
445 [__GNUC__], only on [_LIBC].
446 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
447 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
448 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
449 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
451 (realloc_hook_ini): Likewise.
452 (memalign_hook_ini): Likewise.
453 (__libc_memalign): Do not use __MALLOC_PMT in variable
455 (__libc_valloc): Likewise.
456 (__libc_pvalloc): Likewise.
457 (__libc_calloc): Likewise.
458 (__posix_memalign): Likewise.
461 * math/s_casinh.c: Include <float.h>.
462 (__casinh): Do not do computation with squaring and square root
464 * math/s_casinhf.c: Include <float.h>.
465 (__casinhf): Do not do computation with squaring and square root
467 * math/s_casinhl.c: Include <float.h>.
468 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
469 (__casinhl): Do not do computation with squaring and square root
471 * math/libm-test.inc (casin_test): Add more tests.
472 (casinh_test): Likewise.
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
478 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
479 (__x86_64_raw_data_cache_size): Likewise.
480 (__x86_64_data_cache_size_half): Likewise.
481 (__x86_64_raw_data_cache_size_half): Likewise.
482 (__x86_64_shared_cache_size): Likewise.
483 (__x86_64_raw_shared_cache_size): Likewise.
484 (__x86_64_shared_cache_size_half): Likewise.
485 (__x86_64_raw_shared_cache_size_half): Likewise.
486 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
488 (__x86_data_cache_size): This.
489 (__x86_64_raw_data_cache_size): Renamed to ...
490 (__x86_raw_data_cache_size): This.
491 (__x86_64_data_cache_size_half): Renamed to ...
492 (__x86_data_cache_size_half): This.
493 (__x86_64_raw_data_cache_size_half): Renamed to ...
494 (__x86_raw_data_cache_size_half): This.
495 (__x86_64_shared_cache_size): Renamed to ...
496 (__x86_shared_cache_size): This.
497 (__x86_64_raw_shared_cache_size): Renamed to ...
498 (__x86_raw_shared_cache_size): This.
499 (__x86_64_shared_cache_size_half): Renamed to ...
500 (__x86_shared_cache_size_half): This.
501 (__x86_64_raw_shared_cache_size_half): Renamed to ...
502 (__x86_raw_shared_cache_size_half): This.
503 * sysdeps/x86_64/memcpy.S: Updated.
504 * sysdeps/x86_64/memset.S: Likewise.
505 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
507 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
509 2013-01-04 David S. Miller <davem@davemloft.net>
511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
513 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
515 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
516 1 to avoid redefinition warning.
517 (__USE_GNU): Don't define.
518 (init_signaling_nan): Protoize.
520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
522 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
524 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
527 (norm): Remove commented code.
529 (__mp_dbl): Likewise.
531 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
533 (norm): Remove commented code.
535 (__mp_dbl): Likewise.
538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
539 mp_no value for 1.0 and 2.0.
540 (norm): Use RADIXI instead of radixi.d.
542 (__mul): Use 0.0 instead of zero.d.
543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
544 mp_no value for 1.0 and 2.0.
545 (norm): Use RADIXI instead of radixi.d.
547 (__mul): Use 0.0 instead of zero.d.
549 2013-01-04 Joseph Myers <joseph@codesourcery.com>
552 * math/s_casinh.c (__casinh): Reduce finite argument to first
553 quadrant then set signs of results at the end.
554 * math/s_casinhf.c (__casinhf): Likewise.
555 * math/s_casinhl.c (__casinhl): Likewise.
556 * math/libm-test.inc (casin_test): Add more tests.
557 (casinh_test): Likewise.
558 * sysdeps/i386/fpu/libm-test-ulps: Update.
559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
563 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
565 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
567 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
570 (__mp_dbl): Likewise.
573 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
574 and adjust the header comment.
576 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
577 variable name from declaration.
579 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
582 Initialize COMMON_CPUID_INDEX_7 element.
583 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
584 (CPUID_RTM): Likewise.
586 (COMMON_CPUID_INDEX_7): New enum.
588 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
591 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
592 size is zero, record memory as freed.
594 2013-01-03 Andreas Jaeger <aj@suse.de>
596 * po/ia.po: Add new Interlingua translation.
598 2012-01-03 Allan McRae <allan@archlinux.org>
600 * locale/programs/localedef.c: Fix description of '--posix' flag.
602 2013-01-02 Joseph Myers <joseph@codesourcery.com>
604 * NEWS: Update dates in second copyright notice.
605 * README: Update copyright dates in example.
606 * manual/libc.texinfo: Update copyright dates.
607 * scripts/test-installation.pl: Update copyright date in --version
610 * hurd/ctty-input.c: Fix copyright notice formatting.
611 * hurd/ctty-output.c: Likewise.
612 * hurd/dtable.c: Likewise.
613 * hurd/hurd-raise.c: Likewise.
614 * hurd/hurdprio.c: Likewise.
615 * hurd/msgportdemux.c: Likewise.
616 * misc/sys/file.h: Likewise.
617 * misc/sys/ioctl.h: Likewise.
618 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
619 * sysdeps/mach/hurd/chdir.c: Likewise.
620 * sysdeps/mach/hurd/fchdir.c: Likewise.
621 * sysdeps/mach/hurd/rename.c: Likewise.
622 * sysdeps/mach/hurd/rmdir.c: Likewise.
623 * sysdeps/mach/hurd/seekdir.c: Likewise.
624 * sysdeps/mach/hurd/setsid.c: Likewise.
625 * sysdeps/posix/wait3.c: Likewise.
627 * All files with FSF copyright notices: Update copyright dates
628 using scripts/update-copyrights.
629 * intl/plural.c: Regenerated.
630 * locale/programs/charmap-kw.h: Likewise.
631 * locale/programs/locfile-kw.h: Likewise.
633 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
635 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
638 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
639 calculation loop and add branch prediction.
641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
642 check access beyond bounds of m1np.
644 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
646 (__inv): Remove local variable MPTWO to use the global
648 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
649 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
651 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
652 MP3HALFS static const.
654 2013-01-01 David S. Miller <davem@davemloft.net>
656 * po/ca.po: Update from translation team.
658 2013-01-01 Joseph Myers <joseph@codesourcery.com>
660 * scripts/update-copyrights: New file.
661 * Makeconfig: Reformat copyright notice.
662 * ctype/ctype.h: Likewise.
663 * debug/swprintf_chk.c: Likewise.
664 * elf/dl-cache.c: Likewise.
665 * elf/dl-debug.c: Likewise.
666 * elf/dl-object.c: Likewise.
667 * grp/initgroups.c: Likewise.
668 * hurd/Makefile: Likewise.
669 * hurd/hurd/signal.h: Likewise.
670 * hurd/hurdfault.c: Likewise.
671 * hurd/hurdioctl.c: Likewise.
672 * hurd/hurdlookup.c: Likewise.
673 * hurd/intr-msg.c: Likewise.
674 * iconv/gconv_open.c: Likewise.
675 * libio/swprintf.c: Likewise.
676 * locale/lc-ctype.c: Likewise.
677 * locale/nl_langinfo.c: Likewise.
678 * mach/Machrules: Likewise.
679 * mach/Makefile: Likewise.
680 * malloc/obstack.h: Likewise.
681 * manual/Makefile: Likewise.
682 * manual/tsort.awk: Likewise.
683 * misc/bits/stab.def: Likewise.
684 * nis/nis_print_group_entry.c: Likewise.
685 * nis/nis_table.c: Likewise.
686 * nis/nss_compat/compat-pwd.c: Likewise.
687 * nis/nss_compat/compat-spwd.c: Likewise.
688 * po/Makefile: Likewise.
689 * posix/fnmatch.c: Likewise.
690 * posix/regex.h: Likewise.
691 * resolv/Makefile: Likewise.
692 * resolv/nss_dns/dns-network.c: Likewise.
693 * resolv/res_hconf.c: Likewise.
694 * scripts/gen-sorted.awk: Likewise.
695 * soft-fp/soft-fp.h: Likewise.
696 * stdio-common/printf.h: Likewise.
697 * stdlib/monetary.h: Likewise.
698 * stdlib/random.c: Likewise.
699 * stdlib/random_r.c: Likewise.
700 * sysdeps/generic/Makefile: Likewise.
701 * sysdeps/gnu/Makefile: Likewise.
702 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
706 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
712 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
713 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
714 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
715 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
716 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
717 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
718 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
719 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
720 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
722 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
723 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
724 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
725 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
726 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
727 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
728 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
729 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
730 * sysdeps/mach/hurd/errnos.awk: Likewise.
731 * sysdeps/mach/hurd/fork.c: Likewise.
732 * sysdeps/mach/hurd/getcwd.c: Likewise.
733 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
734 * sysdeps/mach/hurd/mmap.c: Likewise.
735 * sysdeps/mach/hurd/utimes.c: Likewise.
736 * sysdeps/mach/hurd/xmknod.c: Likewise.
737 * sysdeps/posix/profil.c: Likewise.
738 * sysdeps/posix/readdir_r.c: Likewise.
739 * sysdeps/powerpc/bits/mathdef.h: Likewise.
740 * sysdeps/powerpc/bits/setjmp.h: Likewise.
741 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
742 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
746 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
750 * sysdeps/pthread/lio_listio.c: Likewise.
751 * sysdeps/sparc/dl-procinfo.h: Likewise.
752 * sysdeps/unix/i386/sysdep.S: Likewise.
753 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
754 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
755 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
756 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
758 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
759 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
760 * sysdeps/unix/sysv/linux/speed.c: Likewise.
761 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
762 * sysdeps/wordsize-32/divdi3.c: Likewise.
763 * time/sys/time.h: Likewise.
764 * wcsmbs/Makefile: Likewise.
766 2013-01-01 David S. Miller <davem@davemloft.net>
768 * po/fr.po: Update from translation team.
770 * catgets/gencat.c: Update copyright year.
771 * csu/version.c: Likewise.
772 * debug/catchsegv.sh: Likewise.
773 * debug/pcprofiledump.c: Likewise.
774 * debug/xtrace.sh: Likewise.
775 * elf/ldconfig.c: Likewise.
776 * elf/ldd.bash.in: Likewise.
777 * elf/pldd.c: Likewise.
778 * elf/sotruss.ksh: Likewise.
779 * elf/sprof.c: Likewise.
780 * iconv/iconv_prog.c: Likewise.
781 * iconv/iconvconfig.c: Likewise.
782 * locale/programs/locale.c: Likewise.
783 * locale/programs/localedef.c: Likewise.
784 * login/programs/pt_chown.c: Likewise.
785 * malloc/memusage.sh: Likewise.
786 * malloc/memusagestat.c: Likewise.
787 * malloc/mtrace.pl: Likewise.
788 * nscd/nscd.c: Likewise.
789 * nss/getent.c: Likewise.
790 * nss/makedb.c: Likewise.
791 * posix/getconf.c: Likewise.
793 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
795 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
798 2012-12-30 Mike Frysinger <vapier@gentoo.org>
800 * math/bits/mathcalls.h (modf): Use __nonnull.
802 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
804 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
805 (split): Use macro CN instead of the bare value.
806 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
809 instead of the bare value.
812 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
816 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
818 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
820 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
822 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
823 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
825 2012-12-28 Andreas Jaeger <aj@suse.de>
827 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
828 values are from Linux 3.7.
830 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
831 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
833 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
835 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
838 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
840 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
841 variables with preprocessor constants.
842 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
843 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
844 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
846 2012-12-27 Bruno Haible <bruno@clisp.org>
849 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
852 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
855 and use variable directly.
856 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
858 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
860 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
863 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
865 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
866 include directive. Remove local variable MPONE.
867 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
868 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
869 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
871 2012-12-25 David S. Miller <davem@davemloft.net>
873 * version.h (RELEASE): Set to "development".
874 (VERSION): Set to "2.17.90".
875 * NEWS: Add 2.18 section.
877 2012-12-21 David S. Miller <davem@davemloft.net>
879 * po/hr.po: Update from translation team.
881 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
883 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
885 2012-12-19 Steve Ellcey <sellcey@mips.com>
887 * NEWS: Mention new memcpy for MIPS.
889 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
891 * manual/contrib.texi (Contributors): Spelling correction.
893 2012-12-15 David S. Miller <davem@davemloft.net>
895 * po/ru.po: Update from translation team.
897 2012-12-13 David S. Miller <davem@davemloft.net>
899 * NEWS: Mention IFUNC testsuite enhancements.
901 * po/pl.po: Update from translation team.
902 * po/bg.po: Likewise.
904 * manual/contrib.texi (Contributors): Update entries for Hongjiu
905 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
907 2012-12-11 David S. Miller <davem@davemloft.net>
909 * po/sv.po: Update from translation team.
911 * po/vi.po: Update from translation team.
913 * po/cs.po: Update from translation team.
915 * po/de.po: Update from translation team.
916 * po/eo.po: Likewise.
917 * po/nl.po: Likewise.
919 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
922 * manual/argp.texi (Argp Helper Functions): Move node to follow
926 * manual/conf.texi (Limits on File System Capacity): Mention if
927 terminating null is included in the max size.
929 2012-12-10 Andreas Jaeger <aj@suse.de>
931 * po/cs.po: Update from translation team.
933 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
935 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
936 void pointer and cast to uintptr_t.
937 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
939 * sysdeps/s390/s390-64/memcpy.S: Likewise.
940 * sysdeps/s390/s390-64/memset.S: Likewise.
942 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
945 * menual/message.texi (Message Translation): Fix typos.
946 (Helper programs for gettext): Likewise.
948 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
951 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
954 2012-12-07 David S. Miller <davem@davemloft.net>
956 * po/libc.pot: Update.
958 2012-12-07 Richard Henderson <rth@redhat.com>
961 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
962 normal/normal case to before the switch.
965 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
966 Mike Frysinger <vapier@gentoo.org>
968 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
969 check for __NR_fadvise64_64.
971 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
973 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
974 0, not just to plain "0" as a statement.
975 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
978 2012-12-06 Joseph Myers <joseph@codesourcery.com>
980 * NEWS: Use sourceware.org in Bugzilla URL.
982 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
985 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
987 * stdio-common/tst-put-error.c (do_test): Add newline to the
988 padded test to ensure flush.
990 2012-12-05 Jeff Law <law@redhat.com>
992 * sunrpc/etc.rpc (fedfs_admin): Add entry.
994 2012-12-05 Joseph Myers <joseph@codesourcery.com>
996 * README: Don't refer to ports add-on as distributed separately.
997 Mention AArch64 in list of systems supported in the ports add-on.
999 * LICENSES: Add more non-FSF copyright and license notices.
1001 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1004 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1006 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1007 10000 as width of padded output.
1009 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1011 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1013 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1014 variable LX with __attribute__ ((unused)).
1015 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1017 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1020 with __attribute__ ((unused)).
1022 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
1024 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1026 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1028 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1029 (CFLAGS-nldbl-acos.c): New variable.
1030 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1031 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1032 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1033 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1034 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1035 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1036 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1037 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1038 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1039 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1040 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1041 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1042 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1043 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1044 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1045 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1046 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1047 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1048 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1049 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1050 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1051 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1052 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1053 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1054 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1055 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1056 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1057 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1058 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1059 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1060 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1061 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1062 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1063 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1064 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1065 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1066 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1067 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1068 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1069 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1070 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1071 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1072 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1073 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1074 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1075 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1076 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1077 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1078 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1079 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1080 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1081 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1082 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1083 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1084 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1085 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1086 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1087 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1088 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1089 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1090 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1091 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1092 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1093 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1094 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1095 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1096 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1097 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1098 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1099 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1100 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1101 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1102 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1103 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1104 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1105 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1106 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1107 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1108 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1109 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1110 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1111 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1112 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1113 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1114 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1115 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1116 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1117 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1118 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1119 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1120 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1121 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1122 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1123 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1124 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1125 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1126 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1129 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1133 whole low double instead of just low 47 bits when splitting values
1136 2012-12-03 Allan McRae <allan@archlinux.org>
1138 * manual/stdio.texi (Predefined Printf Handlers): Remove
1139 @hsep and @vsep usage.
1141 2012-12-03 Mike Frysinger <vapier@gentoo.org>
1143 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1144 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1146 2012-12-03 Jeff Law <law@redhat.com>
1148 * time/sys/time.h (settimeofday): Do not mark TV argument
1151 2012-12-01 Mike Frysinger <vapier@gentoo.org>
1153 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1154 when currently writing and seek to current position when not.
1155 * libio/Makefile (tests): Remove bug-fclose1.
1156 * libio/bug-fclose1.c: Delete.
1158 2012-12-01 Joseph Myers <joseph@codesourcery.com>
1160 * manual/arith.texi (feenableexcept): Fix typo.
1161 (fedisableexcept): Likewise.
1163 2012-11-30 Roland McGrath <roland@hack.frob.com>
1165 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1166 second, differently-typed declaration, rather than a cast.
1168 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1170 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1171 * include/rpc/svc.h: ... here.
1173 2012-11-30 Aurelien Jarno <aurel32@debian.org>
1176 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1177 depending n and resplen2 to catch cases where answer
1180 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1182 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1183 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1185 2012-11-29 Mike Frysinger <vapier@gentoo.org>
1187 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1189 2012-11-29 Roland McGrath <roland@hack.frob.com>
1191 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1193 2012-11-28 Jeff Law <law@redhat.com>
1196 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1197 dataset_temporary. Track alloca usage into alloca_used.
1198 If dataset is large allocate and release it via malloc/free.
1200 2012-06-04 Florian Weimer <fweimer@redhat.com>
1203 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1205 2012-11-28 David S. Miller <davem@davemloft.net>
1207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1209 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1212 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1213 of pi/2 rounded to nearest to 64 bits.
1214 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1216 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1219 2012-11-28 Jeff Law <law@redhat.com>
1220 Martin Osvald <mosvald@redhat.com>
1223 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1224 * sunrpc/svc.c: Include time.h.
1225 (__svc_accept_failed): New function.
1226 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1227 any reason other than EINTR, call __svc_accept_failed.
1228 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1229 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1231 2012-11-28 Andreas Schwab <schwab@suse.de>
1233 * scripts/abilist.awk: Also handle indirect functions in .opd
1236 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1239 * sysdeps/x86/fpu/powl_helper.c: New file.
1240 * sysdeps/x86/fpu/Makefile: Likewise.
1241 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1243 (__ieee754_powl): Use __powl_helper for finite arguments except
1244 integer exponents below 8.
1245 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1247 (__ieee754_powl): Use __powl_helper for finite arguments except
1248 integer exponents below 8.
1249 * math/libm-test.inc (pow_test): Add more tests and enable some
1250 previously disabled tests.
1251 * sysdeps/i386/fpu/libm-test-ulps: Update.
1252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1254 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1255 Carlos O'Donell <carlos_odonell@mentor.com>
1257 * nss/makedb.c (is_prime): Assert that input is odd and greater
1258 than 4. Note that fact in a comment too.
1259 (next_prime): Add 4 to input.
1261 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1264 * libio/Makefile (tests): Add test case tst-fwrite-error.
1265 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1266 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1267 * libio/tst-fwrite-error.c: New test case.
1269 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1271 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1272 before casting to void *.
1273 * include/libc-internal.h (__pointer_type): New macro.
1274 (__integer_if_pointer_type_sub): Likewise.
1275 (__integer_if_pointer_type): Likewise.
1276 (cast_to_integer): Likewise.
1277 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1278 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1279 before casting to atomic64_t.
1280 (atomic_exchange_acq): Likewise.
1281 (__arch_exchange_and_add_body): Likewise.
1282 (__arch_add_body): Likewise.
1283 (atomic_add_negative): Likewise.
1284 (atomic_add_zero): Likewise.
1286 2012-11-26 Joseph Myers <joseph@codesourcery.com>
1288 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1289 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1290 (add_fdes): Likewise.
1291 (linear_search_fdes): Likewise.
1292 (binary_search_unencoded_fdes): Likewise.
1294 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1296 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1298 2012-11-24 Adam Conrad <adconrad@0c3.net>
1300 * configure.in: Autodetect C++ header directories.
1301 * configure: Regenerated.
1303 2012-11-23 Mike Frysinger <vapier@gentoo.org>
1305 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1307 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1311 2012-11-22 Joseph Myers <joseph@codesourcery.com>
1313 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1314 LDBL_MANT_DIG == 106]: Disable some tests.
1315 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1317 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1322 input for small inputs. Return +/- pi/2 for large inputs.
1323 * math/libm-test.inc (atan_test): Add more tests.
1325 * sysdeps/generic/unwind-dw2-fde-glibc.c
1326 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1327 __attribute__ ((unused)).
1330 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1331 x * y if x and y are nonzero and z is zero.
1334 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1335 nonzero exponents with absolute value below 0x1p-117 to +/-
1339 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1340 up arguments below 2**-450, not just those below 2**-500.
1341 * math/libm-test.inc (hypot_test): Add another test.
1344 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1345 Return a+b for ratio over 2**120, not 2**60.
1346 * math/libm-test.inc (hypot_test): Add another test.
1348 * math/libm-test.inc (clog_test): Use
1349 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1350 (clog10_test): Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1355 2012-11-22 Andreas Schwab <schwab@suse.de>
1357 * sysdeps/i386/fpu/libm-test-ulps: Update.
1359 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1361 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1362 printf output with newline.
1364 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1367 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1368 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1369 -z nodlopen, -z initfirst and -z execstack support.
1370 * configure: Regenerated.
1372 * elf/elf.h (DF_1_NODIRECT): New macro.
1373 (DF_1_IGNMULDEF): Likewise.
1374 (DF_1_NOKSYMS): Likewise.
1375 (DF_1_NOHDR): Likewise.
1376 (DF_1_EDITED): Likewise.
1377 (DF_1_NORELOC): Likewise.
1378 (DF_1_SYMINTPOSE): Likewise.
1379 (DF_1_GLOBAUDIT): Likewise.
1380 (DF_1_SINGLETON): Likewise.
1381 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1382 DT_1_SUPPORTED_MASK bits.
1383 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1385 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1387 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1389 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1391 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1394 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1395 (sendmmsg): Move declarations...
1396 * socket/sys/socket.h: ... here.
1397 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1398 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1400 * socket/recvmmsg.c: ... this new file.
1401 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1402 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1403 definition of __sendmmsg hidden.
1404 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1405 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1406 Move ENOSYS stub into and include it from...
1407 * socket/sendmmsg.c: ... this new file.
1408 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1409 (sysdep_routines): Move recvmmsg and sendmmsg...
1410 * socket/Makefile (routines): ... here.
1411 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1412 (GLIBC_PRIVATE): Add __sendmmsg.
1413 * include/sys/socket.h (__sendmmsg): Add declarations.
1414 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1417 2012-11-20 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1420 variable I1 with __attribute__ ((unused)).
1421 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1423 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1425 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1426 DUMMY variables with __attribute__ ((unused)).
1428 * bits/byteswap.h: Include <bits/types.h>.
1429 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1431 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1433 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1434 string_t. Do not manually set errno.
1435 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1436 length with __strnlen. Make sure to both set errno and return it on
1439 2012-11-19 David S. Miller <davem@davemloft.net>
1441 With help from Joseph Myers.
1442 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1443 very large arguments properly.
1444 * math/libm-test.inc (atan_test): New tests.
1445 (atan2_test): New tests.
1446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1447 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1449 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1452 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1455 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1456 [POSIX] (EADDRNOTAVAIL): Likewise.
1457 [POSIX] (EAFNOSUPPORT): Likewise.
1458 [POSIX] (EALREADY): Likewise.
1459 [POSIX] (ECONNABORTED): Likewise.
1460 [POSIX] (ECONNREFUSED): Likewise.
1461 [POSIX] (ECONNRESET): Likewise.
1462 [POSIX] (EDESTADDRREQ): Likewise.
1463 [POSIX] (EDQUOT): Likewise.
1464 [POSIX] (EHOSTUNREACH): Likewise.
1465 [POSIX] (EIDRM): Likewise.
1466 [POSIX] (EISCONN): Likewise.
1467 [POSIX] (ELOOP): Likewise.
1468 [POSIX] (EMULTIHOP): Likewise.
1469 [POSIX] (ENETDOWN): Likewise.
1470 [POSIX] (ENETUNREACH): Likewise.
1471 [POSIX] (ENOBUFS): Likewise.
1472 [POSIX] (ENODATA): Likewise.
1473 [POSIX] (ENOLINK): Likewise.
1474 [POSIX] (ENOMSG): Likewise.
1475 [POSIX] (ENOPROTOOPT): Likewise.
1476 [POSIX] (ENOSR): Likewise.
1477 [POSIX] (ENOSTR): Likewise.
1478 [POSIX] (ENOTCONN): Likewise.
1479 [POSIX] (ENOTSOCK): Likewise.
1480 [POSIX] (EOPNOTSUPP): Likewise.
1481 [POSIX] (EOVERFLOW): Likewise.
1482 [POSIX] (EPROTO): Likewise.
1483 [POSIX] (EPROTONOSUPPORT): Likewise.
1484 [POSIX] (EPROTOTYPE): Likewise.
1485 [POSIX] (ESTALE): Likewise.
1486 [POSIX] (ETIME): Likewise.
1487 [POSIX] (ETXTBSY): Likewise.
1488 [POSIX] (EWOULDBLOCK): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1490 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1491 [POSIX] (SEEK_CUR): Likewise.
1492 [POSIX] (SEEK_END): Likewise.
1493 [POSIX || UNIX98] (mode_t): Do not require.
1494 [POSIX] (off_t): Likewise.
1495 [POSIX] (pid_t): Likewise.
1496 [POSIX] (sys/stat.h): Do not allow header.
1497 [POSIX] (unistd.h): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1499 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1501 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1503 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1504 sigevent): Specify elements.
1505 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1507 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1508 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1510 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1511 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1512 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1513 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1514 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1515 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1516 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1517 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1519 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1520 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1521 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1522 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1523 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1525 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1527 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1529 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1531 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1532 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1533 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1534 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1535 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1536 Specify lower bound on value.
1537 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1539 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1540 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1541 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1542 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1543 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1544 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1546 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1548 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1555 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1560 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1561 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1562 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1563 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1565 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1567 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1571 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1572 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1574 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1575 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1576 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1579 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1580 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1582 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1586 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1587 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1588 specify as optional.
1589 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1592 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1593 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1594 [XPG3] (NL_LANGMAX): Likewise.
1595 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1596 [POSIX || XPG3] (NL_NMAX): Likewise.
1597 [POSIX || XPG3] (NL_SETMAX): Likewise.
1598 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1599 [XPG3] (NZERO): Likewise.
1600 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1601 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1602 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1603 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1604 (REG_ERANGE): Expect.
1605 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1607 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1608 Use (void) in prototype.
1609 [POSIX] (*_t): Allow.
1610 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1611 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1612 (WRDE_BADVAL): Expect.
1614 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1616 [XPG3 || XPG4] (O_RSYNC): Likewise.
1617 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1619 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1620 [XPG3 || XPG4] (sigqueue): Likewise.
1621 [XPG3 || XPG4] (sigtimedwait): Likewise.
1622 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1623 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1624 [XPG3 || XPG4] (vsnprintf): Likewise.
1625 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1627 [XPG3 || XPG4] (blksize_t): Likewise.
1628 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1630 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1631 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1632 [XPG3 || XPG4] (struct itimerspec): Likewise.
1633 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1634 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1635 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1636 [XPG3 || XPG4] (clockid_t): Likewise.
1637 [XPG3 || XPG4] (timer_t): Likewise.
1638 [XPG3 || XPG4] (clock_getres): Likewise.
1639 [XPG3 || XPG4] (clock_gettime): Likewise.
1640 [XPG3 || XPG4] (clock_settime): Likewise.
1641 [XPG3 || XPG4] (nanosleep): Likewise.
1642 [XPG3 || XPG4] (timer_create): Likewise.
1643 [XPG3 || XPG4] (timer_delete): Likewise.
1644 [XPG3 || XPG4] (timer_gettime): Likewise.
1645 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1646 [XPG3 || XPG4] (timer_settime): Likewise.
1647 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1648 [XPG3 || XPG4] (getlogin_r): Likewise.
1649 [XPG3 || XPG4] (pread): Likewise.
1650 [XPG3 || XPG4] (pthread_atfork): Likewise.
1651 [XPG3 || XPG4] (pwrite): Likewise.
1654 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1657 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1659 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1660 finalizing MALLSTREAM.
1662 * sysdeps/mach/hurd/syncfs.c: New file.
1664 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1667 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1668 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1669 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1670 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1671 (_nss_dns_gethostbyname4_r): Likewise.
1672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1673 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1675 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1678 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1680 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1682 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1683 * elf/cache.c (print_entry): Print ",AArch64" for
1686 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1687 * elf/cache.c (print_entry): Print ",hard-float" for
1690 2012-11-18 David S. Miller <davem@davemloft.net>
1692 With help from Joseph Myers.
1693 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1695 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1697 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1698 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1700 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1701 * math/libm-test.inc (y0_test): New tests.
1702 (y1_test): New tests.
1703 * sysdeps/i386/fpu/libm-test-ulps: Update.
1704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1707 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1709 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1711 * configure: Regenerated.
1713 2012-11-17 David S. Miller <davem@davemloft.net>
1716 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1717 nonzero exponents with absolute value below 0x1p-128 to +/-
1720 2012-11-17 Joseph Myers <joseph@codesourcery.com>
1722 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1724 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1726 * posix/getconf-speclist.c: New file.
1727 * posix/posix-envs.def: Likewise.
1728 * posix/confstr.c (START_ENV_GROUP): New macro.
1729 (END_ENV_GROUP): Likewise.
1730 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1731 (KNOWN_PRESENT_ENV_STRING): Likewise.
1732 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1733 (UNKNOWN_ENVIRONMENT): Likewise.
1734 (confstr): Include posix-envs.def instead of handling
1735 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1736 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1737 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1738 (END_ENV_GROUP): Likewise.
1739 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1740 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1741 (UNKNOWN_ENVIRONMENT): Likewise.
1742 (__sysconf): Include posix-envs.def instead of handling associated
1743 cases directly here.
1744 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1745 preprocessing getconf-speclist.c rather than running getconf or
1746 generating empty file.
1748 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1750 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1752 2012-11-16 Andrej Lajovic <natrij@gmail.com>
1755 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1757 2012-11-16 David S. Miller <davem@davemloft.net>
1759 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1760 smaller than LDBL_EPSILON/2.0L, just return xm1.
1762 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1764 * elf/tst-array1.c (init): Set constructor priority to 1000.
1765 (fini): Set destructor priority to 1000.
1766 * elf/tst-array2dep.c: Likewise.
1768 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1771 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1772 (_IO_new_file_xsputn): Also return EOF if none of the input
1773 data was written when overflow failed.
1774 * libio/iopadn.c (_IO_padn): Likewise.
1775 * libio/iowpadn.c (_IO_wpadn): Likewise.
1776 * stdio-common/tst-put-error.c: Add copyright notice.
1777 (do_test): Add case for printing padded string.
1778 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1779 _IO_padn returned error.
1780 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1781 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1784 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1786 * libio/libioP.h: Add comment note that the references to C++
1787 bits are now obsolete.
1789 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1791 * math/libm-test.inc (check_complex): Use asprintf.
1793 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1795 * debug/pcprofiledump.c (print_version): Update copyright year.
1796 * malloc/memusagestat.c (print_version): Likewise.
1798 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1801 * elf/Makefile (tests): Add tst-audit8.
1802 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1803 ($(objpfx)tst-audit8.out): New target.
1804 (tst-audit8-ENV): New variable.
1805 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1806 audit if l_reloc_result is NULL.
1807 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1808 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1809 * elf/tst-audit8.c: New file.
1811 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1813 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1814 * misc/Makefile (CFLAGS-select.c): Define.
1815 * posix/Makefile (CFLAGS-pause.c): Define.
1817 2012-11-13 David S. Miller <davem@davemloft.net>
1819 * crypt/Makefile: Move test targets after toplevel Rules
1820 inclusion. Grab any necessary sysdep routines when linking.
1821 * crypt/md5.c (md5_process_block): Remove define, we will always
1822 name it __md5_process_block.
1823 (md5_finish_ctx): Update md5_process_block call.
1824 (md5_stream): Likewise.
1825 (md5_process_bytes): Likewise.
1826 (md5_process_block): Rename to __md5_process_block and move to ...
1827 * crypt/md5-block.c: ... here.
1828 * crypt/sha256.c (sha256_process_block): Move to ...
1829 * crypt/sha256-block.c: ... here.
1830 * crypt/sha512.c (sha512_process_block): Move to ...
1831 * crypt/sha512-block.c: ... here.
1832 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1834 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1835 * sysdeps/sparc/sparc64/multiarch/Makefile
1836 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1838 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1839 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1841 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1842 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1843 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1844 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1845 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1846 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1847 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1848 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1849 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1851 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1852 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1854 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1856 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1858 * timezone/tzselect.ksh: Update from tzcode git revision
1859 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1860 * timezone/zdump.c: Likewise.
1861 * timezone/zic.c: Likewise.
1862 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1863 in TZVERSION setting, not $(PKGVERSION).
1864 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1865 REPORT_BUGS_TO settings.
1868 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1871 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1873 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1874 detection to immediately after _FP_ROUND().
1875 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1878 2012-11-11 David S. Miller <davem@davemloft.net>
1880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1882 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1883 __close rather than their public counterparts.
1885 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1887 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1889 [UNIX98] (sem_timedwait): Do not expect.
1890 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1891 [XPG4 || UNIX98] (sockatmark): Do not expect.
1892 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1893 (clock_getcpuclockid): Do not expect.
1894 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1895 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1897 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1898 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1899 [UNIX98] (vwscanf): Likewise.
1900 [UNIX98] (vswscanf): Likewise.
1902 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1904 * timezone/version.h: Remove file.
1905 * timezone/README: Do not refer to version.h.
1906 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1908 ($(objpfx)zdump.o): Likewise.
1909 ($(objpfx)version.h): New target.
1911 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1913 * timezone/README: Don't mention modification to tzselect.ksh.
1914 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1915 work on unmodified tzselect.ksh. Substitute version numbers in
1918 * Makefile (format-me): Remove.
1919 (INSTALL): Adjust indentation. Use commands directly instead of
1922 * aclocal.m4 (ACX_PKGVERSION): New macro.
1923 (ACX_BUGURL): Likewise.
1924 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1925 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1926 (REPORT_BUGS_TO): Likewise.
1927 * configure: Regenerated.
1928 * config.h.in (PKGVERSION): New macro.
1929 (REPORT_BUGS_TO): Likewise.
1930 * config.make.in (PKGVERSION): New variable.
1931 (PKGVERSION_TEXI): Likewise.
1932 (REPORT_BUGS_TO): Likewise.
1933 (REPORT_BUGS_TEXI): Likewise.
1934 * Makefile (format-me): Use -I$(common-objpfx)manual.
1935 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1936 ($(common-objpfx)manual/%): New target.
1937 (manual/%): Remove target.
1938 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1939 (print_version): Use PKGVERSION.
1940 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1941 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1943 ($(objpfx)xtrace): Likewise.
1944 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1945 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1946 (print_version): Use PKGVERSION.
1947 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1948 (do_version): Use PKGVERSION.
1949 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1951 (common-ldd-rewrite): Likewise.
1952 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1953 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1954 (print_version): Use PKGVERSION.
1955 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1956 * elf/pldd.c (argp_program_bug_address): Remove variable.
1957 (more_help): New function.
1958 (argp): Use more_help.
1959 (print_version): Use PKGVERSION.
1960 * elf/sln.c (main): Use PKGVERSION.
1961 (usage): Use REPORT_BUGS_TO.
1962 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1963 (top level): Use PKGVERSION.
1964 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1965 (print_version): Use PKGVERSION.
1966 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1967 (print_version): Use PKGVERSION.
1968 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1969 (print_version): Use PKGVERSION.
1970 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1971 (print_version): Use PKGVERSION.
1972 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1973 (print_version): Use PKGVERSION.
1974 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1975 (print_version): Use PKGVERSION.
1976 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1978 ($(objpfx)memusage): Likewise.
1979 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1980 (do_version): Use PKGVERSION.
1981 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1982 (print_version): Use PKGVERSION.
1983 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1984 ($PKGVERSION): New variable.
1985 ($REPORT_BUGS_TO): Likewise.
1986 (usage): Use $REPORT_BUGS_TO.
1987 (top level): Use $PKGVERSION.
1988 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1989 ($(objpfx)pkgvers.texi): New rule.
1990 ($(objpfx)stamp-pkgvers): Likewise.
1991 * manual/install.texi: Include pkgvers.texi.
1992 (--with-pkgversion): Document new configure option.
1993 (--with-bugurl): Likewise.
1994 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1995 than necessarily for this particular distribution. Use
1996 REPORT_BUGS_TO for where to report bugs.
1997 * INSTALL: Regenerated.
1998 * manual/libc.texinfo: Include pkgvers.texi.
1999 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2000 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2001 (print_version): Use PKGVERSION.
2002 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2003 (print_version): Use PKGVERSION.
2004 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2005 (print_version): Use PKGVERSION.
2006 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2007 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2009 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2010 (print_version): Use PKGVERSION.
2011 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2012 (print_version): Use PKGVERSION.
2013 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2016 * timezone/checktab.awk: Update from tzcode 2012i.
2017 * timezone/ialloc.c: Likewise.
2018 * timezone/private.h: Likewise.
2019 * timezone/scheck.c: Likewise.
2020 * timezone/tzfile.h: Likewise.
2021 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2022 (TZVERSION): Hardcode tzcode version number.
2023 * timezone/zdump.c: Update from tzcode 2012i.
2024 * timezone/zic.c: Likewise.
2025 * timezone/version.h: New file.
2026 * timezone/README: Describe version.h. Update upstream location.
2029 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2030 (mktemp): Enable declaration.
2031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2048 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2049 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2050 for copies of such integer values.
2051 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2052 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2054 2012-11-09 Andreas Jaeger <aj@suse.de>
2056 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2057 definitions and declarations that are provided by
2058 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2060 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2062 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2063 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2064 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2067 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2069 * elf/elf.h: Update comment before AArch64 relocations.
2071 2012-11-07 David S. Miller <davem@davemloft.net>
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2075 (__start_context): Declare.
2076 (__makecontext_ret): Delete.
2077 (__makecontext): Hook up __start_context instead of
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2080 (sysdep_routines): Add __start_context when in stdlib.
2082 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2084 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2085 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2086 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2088 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2089 (READELF): New variable. Use it instead of hardcoded "readelf".
2091 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2093 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2094 * sysdeps/x86/Makefile: Here.
2095 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2096 * sysdeps/x86/tst-xmmymm.sh: This.
2098 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2100 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2102 [UNIX98] (pthread_barrier_t): Do not expect.
2103 [UNIX98] (pthread_barrierattr_t): Likewise.
2104 [UNIX98] (pthread_spinlock_t): Likewise.
2105 [UNIX98] (pthread_barrier_destroy): Likewise.
2106 [UNIX98] (pthread_barrier_init): Likewise.
2107 [UNIX98] (pthread_barrier_wait): Likewise.
2108 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2109 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2110 [UNIX98] (pthread_barrierattr_init): Likewise.
2111 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2112 [UNIX98] (pthread_getcpuclockid): Likewise.
2113 [UNIX98] (pthread_mutex_timedlock): Likewise.
2114 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2115 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2116 [UNIX98] (pthread_sigmask): Likewise.
2117 [UNIX98] (pthread_spin_destroy): Likewise.
2118 [UNIX98] (pthread_spin_init): Likewise.
2119 [UNIX98] (pthread_spin_lock): Likewise.
2120 [UNIX98] (pthread_spin_trylock): Likewise.
2121 [UNIX98] (pthread_spin_unlock): Likewise.
2122 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2124 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2125 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2126 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2127 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2128 [XPG3 || XPG4] (pthread_key_t): Likewise.
2129 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2130 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2131 [XPG3 || XPG4] (pthread_once_t): Likewise.
2132 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2133 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2134 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2135 [XPG3 || XPG4] (pthread_t): Likewise.
2137 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2139 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2141 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2142 Change function return type to int.
2144 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2145 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2146 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2147 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2148 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2149 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2150 [!POSIX] (posix_madvise): Likewise.
2151 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2153 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2154 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2156 (posix_mem_offset): Likewise.
2157 (posix_typed_mem_get_info): Likewise.
2158 (posix_typed_mem_open): Likewise.
2160 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2161 Change condition to [XOPEN2K8].
2163 * conform/conformtest.pl: Preprocess allow-header data with -x c
2164 instead of from stdin.
2165 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2166 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2167 [C99-based standards] (cerfc): Likewise.
2168 [C99-based standards] (cexp2): Likewise.
2169 [C99-based standards] (cexpm1): Likewise.
2170 [C99-based standards] (clog10): Likewise.
2171 [C99-based standards] (clog1p): Likewise.
2172 [C99-based standards] (clog2): Likewise.
2173 [C99-based standards] (clgamma): Likewise.
2174 [C99-based standards] (ctgamma): Likewise.
2175 [C99-based standards] (cerff): Likewise.
2176 [C99-based standards] (cerfcf): Likewise.
2177 [C99-based standards] (cexp2f): Likewise.
2178 [C99-based standards] (cexpm1f): Likewise.
2179 [C99-based standards] (clog10f): Likewise.
2180 [C99-based standards] (clog1pf): Likewise.
2181 [C99-based standards] (clog2f): Likewise.
2182 [C99-based standards] (clgammaf): Likewise.
2183 [C99-based standards] (ctgammaf): Likewise.
2184 [C99-based standards] (cerfl): Likewise.
2185 [C99-based standards] (cerfcl): Likewise.
2186 [C99-based standards] (cexp2l): Likewise.
2187 [C99-based standards] (cexpm1l): Likewise.
2188 [C99-based standards] (clog10l): Likewise.
2189 [C99-based standards] (clog1pl): Likewise.
2190 [C99-based standards] (clog2l): Likewise.
2191 [C99-based standards] (clgammal): Likewise.
2192 [C99-based standards] (ctgammal): Likewise.
2193 * conform/data/inttypes.h-data [C99-based standards]: Include
2194 stdint.h-data. Remove all expectations for stdint.h contents.
2195 [C99-based standards] (PRI*): Do not allow.
2196 [C99-based standards] (SCN*): Likewise.
2197 [C99-based standards] (*_t): Likewise.
2198 [C99-based-standards] (PRId8): Expect macro.
2199 [C99-based-standards] (PRIi8): Likewise.
2200 [C99-based-standards] (PRIo8): Likewise.
2201 [C99-based-standards] (PRIu8): Likewise.
2202 [C99-based-standards] (PRIx8): Likewise.
2203 [C99-based-standards] (PRIX8): Likewise.
2204 [C99-based-standards] (SCNd8): Likewise.
2205 [C99-based-standards] (SCNi8): Likewise.
2206 [C99-based-standards] (SCNo8): Likewise.
2207 [C99-based-standards] (SCNu8): Likewise.
2208 [C99-based-standards] (SCNx8): Likewise.
2209 [C99-based-standards] (PRIdLEAST8): Likewise.
2210 [C99-based-standards] (PRIiLEAST8): Likewise.
2211 [C99-based-standards] (PRIoLEAST8): Likewise.
2212 [C99-based-standards] (PRIuLEAST8): Likewise.
2213 [C99-based-standards] (PRIxLEAST8): Likewise.
2214 [C99-based-standards] (PRIXLEAST8): Likewise.
2215 [C99-based-standards] (SCNdLEAST8): Likewise.
2216 [C99-based-standards] (SCNiLEAST8): Likewise.
2217 [C99-based-standards] (SCNoLEAST8): Likewise.
2218 [C99-based-standards] (SCNuLEAST8): Likewise.
2219 [C99-based-standards] (SCNxLEAST8): Likewise.
2220 [C99-based-standards] (PRIdFAST8): Likewise.
2221 [C99-based-standards] (PRIiFAST8): Likewise.
2222 [C99-based-standards] (PRIoFAST8): Likewise.
2223 [C99-based-standards] (PRIuFAST8): Likewise.
2224 [C99-based-standards] (PRIxFAST8): Likewise.
2225 [C99-based-standards] (PRIXFAST8): Likewise.
2226 [C99-based-standards] (SCNdFAST8): Likewise.
2227 [C99-based-standards] (SCNiFAST8): Likewise.
2228 [C99-based-standards] (SCNoFAST8): Likewise.
2229 [C99-based-standards] (SCNuFAST8): Likewise.
2230 [C99-based-standards] (SCNxFAST8): Likewise.
2231 [C99-based-standards] (PRId16): Likewise.
2232 [C99-based-standards] (PRIi16): Likewise.
2233 [C99-based-standards] (PRIo16): Likewise.
2234 [C99-based-standards] (PRIu16): Likewise.
2235 [C99-based-standards] (PRIx16): Likewise.
2236 [C99-based-standards] (PRIX16): Likewise.
2237 [C99-based-standards] (SCNd16): Likewise.
2238 [C99-based-standards] (SCNi16): Likewise.
2239 [C99-based-standards] (SCNo16): Likewise.
2240 [C99-based-standards] (SCNu16): Likewise.
2241 [C99-based-standards] (SCNx16): Likewise.
2242 [C99-based-standards] (PRIdLEAST16): Likewise.
2243 [C99-based-standards] (PRIiLEAST16): Likewise.
2244 [C99-based-standards] (PRIoLEAST16): Likewise.
2245 [C99-based-standards] (PRIuLEAST16): Likewise.
2246 [C99-based-standards] (PRIxLEAST16): Likewise.
2247 [C99-based-standards] (PRIXLEAST16): Likewise.
2248 [C99-based-standards] (SCNdLEAST16): Likewise.
2249 [C99-based-standards] (SCNiLEAST16): Likewise.
2250 [C99-based-standards] (SCNoLEAST16): Likewise.
2251 [C99-based-standards] (SCNuLEAST16): Likewise.
2252 [C99-based-standards] (SCNxLEAST16): Likewise.
2253 [C99-based-standards] (PRIdFAST16): Likewise.
2254 [C99-based-standards] (PRIiFAST16): Likewise.
2255 [C99-based-standards] (PRIoFAST16): Likewise.
2256 [C99-based-standards] (PRIuFAST16): Likewise.
2257 [C99-based-standards] (PRIxFAST16): Likewise.
2258 [C99-based-standards] (PRIXFAST16): Likewise.
2259 [C99-based-standards] (SCNdFAST16): Likewise.
2260 [C99-based-standards] (SCNiFAST16): Likewise.
2261 [C99-based-standards] (SCNoFAST16): Likewise.
2262 [C99-based-standards] (SCNuFAST16): Likewise.
2263 [C99-based-standards] (SCNxFAST16): Likewise.
2264 [C99-based-standards] (PRId32): Likewise.
2265 [C99-based-standards] (PRIi32): Likewise.
2266 [C99-based-standards] (PRIo32): Likewise.
2267 [C99-based-standards] (PRIu32): Likewise.
2268 [C99-based-standards] (PRIx32): Likewise.
2269 [C99-based-standards] (PRIX32): Likewise.
2270 [C99-based-standards] (SCNd32): Likewise.
2271 [C99-based-standards] (SCNi32): Likewise.
2272 [C99-based-standards] (SCNo32): Likewise.
2273 [C99-based-standards] (SCNu32): Likewise.
2274 [C99-based-standards] (SCNx32): Likewise.
2275 [C99-based-standards] (PRIdLEAST32): Likewise.
2276 [C99-based-standards] (PRIiLEAST32): Likewise.
2277 [C99-based-standards] (PRIoLEAST32): Likewise.
2278 [C99-based-standards] (PRIuLEAST32): Likewise.
2279 [C99-based-standards] (PRIxLEAST32): Likewise.
2280 [C99-based-standards] (PRIXLEAST32): Likewise.
2281 [C99-based-standards] (SCNdLEAST32): Likewise.
2282 [C99-based-standards] (SCNiLEAST32): Likewise.
2283 [C99-based-standards] (SCNoLEAST32): Likewise.
2284 [C99-based-standards] (SCNuLEAST32): Likewise.
2285 [C99-based-standards] (SCNxLEAST32): Likewise.
2286 [C99-based-standards] (PRIdFAST32): Likewise.
2287 [C99-based-standards] (PRIiFAST32): Likewise.
2288 [C99-based-standards] (PRIoFAST32): Likewise.
2289 [C99-based-standards] (PRIuFAST32): Likewise.
2290 [C99-based-standards] (PRIxFAST32): Likewise.
2291 [C99-based-standards] (PRIXFAST32): Likewise.
2292 [C99-based-standards] (SCNdFAST32): Likewise.
2293 [C99-based-standards] (SCNiFAST32): Likewise.
2294 [C99-based-standards] (SCNoFAST32): Likewise.
2295 [C99-based-standards] (SCNuFAST32): Likewise.
2296 [C99-based-standards] (SCNxFAST32): Likewise.
2297 [C99-based-standards] (PRId64): Likewise.
2298 [C99-based-standards] (PRIi64): Likewise.
2299 [C99-based-standards] (PRIo64): Likewise.
2300 [C99-based-standards] (PRIu64): Likewise.
2301 [C99-based-standards] (PRIx64): Likewise.
2302 [C99-based-standards] (PRIX64): Likewise.
2303 [C99-based-standards] (SCNd64): Likewise.
2304 [C99-based-standards] (SCNi64): Likewise.
2305 [C99-based-standards] (SCNo64): Likewise.
2306 [C99-based-standards] (SCNu64): Likewise.
2307 [C99-based-standards] (SCNx64): Likewise.
2308 [C99-based-standards] (PRIdLEAST64): Likewise.
2309 [C99-based-standards] (PRIiLEAST64): Likewise.
2310 [C99-based-standards] (PRIoLEAST64): Likewise.
2311 [C99-based-standards] (PRIuLEAST64): Likewise.
2312 [C99-based-standards] (PRIxLEAST64): Likewise.
2313 [C99-based-standards] (PRIXLEAST64): Likewise.
2314 [C99-based-standards] (SCNdLEAST64): Likewise.
2315 [C99-based-standards] (SCNiLEAST64): Likewise.
2316 [C99-based-standards] (SCNoLEAST64): Likewise.
2317 [C99-based-standards] (SCNuLEAST64): Likewise.
2318 [C99-based-standards] (SCNxLEAST64): Likewise.
2319 [C99-based-standards] (PRIdFAST64): Likewise.
2320 [C99-based-standards] (PRIiFAST64): Likewise.
2321 [C99-based-standards] (PRIoFAST64): Likewise.
2322 [C99-based-standards] (PRIuFAST64): Likewise.
2323 [C99-based-standards] (PRIxFAST64): Likewise.
2324 [C99-based-standards] (PRIXFAST64): Likewise.
2325 [C99-based-standards] (SCNdFAST64): Likewise.
2326 [C99-based-standards] (SCNiFAST64): Likewise.
2327 [C99-based-standards] (SCNoFAST64): Likewise.
2328 [C99-based-standards] (SCNuFAST64): Likewise.
2329 [C99-based-standards] (SCNxFAST64): Likewise.
2330 [C99-based-standards] (PRIdMAX): Likewise.
2331 [C99-based-standards] (PRIiMAX): Likewise.
2332 [C99-based-standards] (PRIoMAX): Likewise.
2333 [C99-based-standards] (PRIuMAX): Likewise.
2334 [C99-based-standards] (PRIxMAX): Likewise.
2335 [C99-based-standards] (PRIXMAX): Likewise.
2336 [C99-based-standards] (SCNdMAX): Likewise.
2337 [C99-based-standards] (SCNiMAX): Likewise.
2338 [C99-based-standards] (SCNoMAX): Likewise.
2339 [C99-based-standards] (SCNuMAX): Likewise.
2340 [C99-based-standards] (SCNxMAX): Likewise.
2341 [C99-based-standards] (PRIdPTR): Likewise.
2342 [C99-based-standards] (PRIiPTR): Likewise.
2343 [C99-based-standards] (PRIoPTR): Likewise.
2344 [C99-based-standards] (PRIuPTR): Likewise.
2345 [C99-based-standards] (PRIxPTR): Likewise.
2346 [C99-based-standards] (PRIXPTR): Likewise.
2347 [C99-based-standards] (SCNdPTR): Likewise.
2348 [C99-based-standards] (SCNiPTR): Likewise.
2349 [C99-based-standards] (SCNoPTR): Likewise.
2350 [C99-based-standards] (SCNuPTR): Likewise.
2351 [C99-based-standards] (SCNxPTR): Likewise.
2352 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2354 * conform/data/stdint.h-data: Update comments to clarify
2356 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2358 [C99-based standards] (INT8_MAX): Likewise.
2359 [C99-based standards] (INT16_MIN): Likewise.
2360 [C99-based standards] (INT16_MAX): Likewise.
2361 [C99-based standards] (INT32_MIN): Likewise.
2362 [C99-based standards] (INT32_MAX): Likewise.
2363 [C99-based standards] (INT64_MIN): Likewise.
2364 [C99-based standards] (INT64_MAX): Likewise.
2365 [C99-based standards] (UINT8_MAX): Likewise.
2366 [C99-based standards] (UINT16_MAX): Likewise.
2367 [C99-based standards] (UINT32_MAX): Likewise.
2368 [C99-based standards] (UINT64_MAX): Likewise.
2369 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2370 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2371 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2372 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2373 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2374 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2375 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2376 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2377 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2378 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2379 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2380 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2381 [C99-based standards] (INT_FAST8_MIN): Likewise.
2382 [C99-based standards] (INT_FAST8_MAX): Likewise.
2383 [C99-based standards] (INT_FAST16_MIN): Likewise.
2384 [C99-based standards] (INT_FAST16_MAX): Likewise.
2385 [C99-based standards] (INT_FAST32_MIN): Likewise.
2386 [C99-based standards] (INT_FAST32_MAX): Likewise.
2387 [C99-based standards] (INT_FAST64_MIN): Likewise.
2388 [C99-based standards] (INT_FAST64_MAX): Likewise.
2389 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2390 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2391 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2392 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2393 [C99-based standards] (INTPTR_MIN): Likewise.
2394 [C99-based standards] (INTPTR_MAX): Likewise.
2395 [C99-based standards] (UINTPTR_MAX): Likewise.
2396 [C99-based standards] (INTMAX_MIN): Likewise.
2397 [C99-based standards] (INTMAX_MAX): Likewise.
2398 [C99-based standards] (UINTMAX_MAX): Likewise.
2399 [C99-based standards] (PTRDIFF_MIN): Likewise.
2400 [C99-based standards] (PTRDIFF_MAX): Likewise.
2401 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2402 [C99-based standards] (SIZE_MAX): Likewise.
2403 [C99-based standards] (WCHAR_MAX): Likewise.
2404 [C99-based standards] (WINT_MAX): Likewise.
2405 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2406 constraint on value.
2407 [C99-based standards] (WCHAR_MIN): Likewise.
2408 [C99-based standards] (WINT_MIN): Likewise.
2409 [C99-based standards] (*_t): Allow.
2410 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2411 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2412 Include math.h-data and complex.h-data. Remove all expectations
2413 of math.h and complex.h contents.
2414 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2416 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2417 (struct tm): Expect tag.
2418 [C99-based-standards] (wcstof): Expect function.
2419 [C99-based-standards] (wcstold): Likewise.
2420 [C99-based-standards] (wcstoll): Likewise.
2421 [C99-based-standards] (wcstoull): Likewise.
2422 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2423 macro-int-constant. Specify type.
2424 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2425 constraint on value.
2426 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2428 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2430 [ISO C standards]: Do not allow headers.
2431 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2432 wcs[abcdefghijklmnopqrstuvwxyz]*.
2433 [ISO C standards] (*_t): Do not allow.
2434 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2436 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2437 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2439 [ISO C standards]: Do not allow headers.
2440 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2441 is[abcdefghijklmnopqrstuvwxyz]*.
2442 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2443 to[abcdefghijklmnopqrstuvwxyz]*.
2444 [ISO C standards] (*_t): Do not allow.
2445 * conform/data/stdalign.h-data: New file.
2446 * conform/data/stdbool.h-data: Likewise.
2447 * conform/data/stdnoreturn.h-data: Likewise.
2449 2012-11-07 Roland McGrath <roland@hack.frob.com>
2452 * manual/filesys.texi (Directory Entries): Typo fix.
2453 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2455 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2457 * elf/elf.h (EM_AARCH64): New macro.
2458 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2459 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2460 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2461 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2462 (R_AARCH64_TLSDESC): Likewise.
2463 (NT_ARM_TLS): Likewise.
2464 (NT_ARM_HW_BREAK): Likewise.
2465 (NT_ARM_HW_WATCH): Likewise.
2467 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2470 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2471 (__ieee754_powl): Saturate nonzero exponents with absolute value
2472 below 0x1p-79 to +/- 0x1p-79.
2473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2474 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2475 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2476 nonzero exponents with absolute value below 0x1p-32 to +/-
2478 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2479 (__ieee754_powl): Saturate nonzero exponents with absolute value
2480 below 0x1p-79 to +/- 0x1p-79.
2481 * math/libm-test.inc (pow_test): Add more tests.
2483 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2485 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2486 _dl_s390_cap_flags with kernel. Increase string length.
2487 (_dl_s390_platforms): Add z196 and zEC12.
2489 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2491 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2492 Change XOPEN21K to XOPEN2K.
2494 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2496 * string/memmove.c: Use memcpy when possible.
2498 2012-11-06 Andreas Jaeger <aj@suse.de>
2500 * po/eo.po: Update from translation team.
2502 2012-11-06 Joseph Myers <joseph@codesourcery.com>
2505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2506 exponent and small x and y exponents, scale x or y up. Increase
2507 by 2 the exponent used in scaling up.
2508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2510 * math/libm-test.inc (fma_test): Add more tests.
2511 (fma_test_towardzero): Likewise.
2512 (fma_test_downward): Likewise.
2513 (fma_test_upward): Likewise.
2515 2012-11-05 Joseph Myers <joseph@codesourcery.com>
2518 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2522 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2523 namespace for names of struct fields.
2524 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2526 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2527 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2529 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2532 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2534 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2536 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2540 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2543 2012-11-04 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2547 definitely overflow as x * y not x * y + z.
2548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2550 * math/libm-test.inc (fma_test): Add more tests.
2551 (fma_test_towardzero): Likewise.
2552 (fma_test_downward): Likewise.
2553 (fma_test_upward): Likewise.
2555 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2559 * include/stub-tag.h: Remove file.
2560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2562 * manual/maint.texi (Porting): Don't reference it.
2563 * Makerules ($(objpfx)stubs): Likewise.
2564 * dirent/closedir.c: Don't include <stub-tag.h>.
2565 * dirent/dirfd.c: Likewise.
2566 * dirent/fdopendir.c: Likewise.
2567 * dirent/getdents.c: Likewise.
2568 * dirent/getdents64.c: Likewise.
2569 * dirent/opendir.c: Likewise.
2570 * dirent/readdir.c: Likewise.
2571 * dirent/readdir64.c: Likewise.
2572 * dirent/readdir64_r.c: Likewise.
2573 * dirent/readdir_r.c: Likewise.
2574 * dirent/rewinddir.c: Likewise.
2575 * dirent/seekdir.c: Likewise.
2576 * dirent/telldir.c: Likewise.
2577 * gmon/profil.c: Likewise.
2578 * grp/setgroups.c: Likewise.
2579 * inet/if_index.c: Likewise.
2580 * io/access.c: Likewise.
2581 * io/chdir.c: Likewise.
2582 * io/chmod.c: Likewise.
2583 * io/chown.c: Likewise.
2584 * io/close.c: Likewise.
2585 * io/dup.c: Likewise.
2586 * io/dup2.c: Likewise.
2587 * io/dup3.c: Likewise.
2588 * io/euidaccess.c: Likewise.
2589 * io/faccessat.c: Likewise.
2590 * io/fchdir.c: Likewise.
2591 * io/fchmod.c: Likewise.
2592 * io/fchmodat.c: Likewise.
2593 * io/fchown.c: Likewise.
2594 * io/fchownat.c: Likewise.
2595 * io/fcntl.c: Likewise.
2596 * io/flock.c: Likewise.
2597 * io/fstatfs.c: Likewise.
2598 * io/fstatfs64.c: Likewise.
2599 * io/fstatvfs.c: Likewise.
2600 * io/fstatvfs64.c: Likewise.
2601 * io/futimens.c: Likewise.
2602 * io/fxstat.c: Likewise.
2603 * io/fxstat64.c: Likewise.
2604 * io/fxstatat.c: Likewise.
2605 * io/fxstatat64.c: Likewise.
2606 * io/getcwd.c: Likewise.
2607 * io/isatty.c: Likewise.
2608 * io/lchmod.c: Likewise.
2609 * io/lchown.c: Likewise.
2610 * io/link.c: Likewise.
2611 * io/linkat.c: Likewise.
2612 * io/lseek.c: Likewise.
2613 * io/lseek64.c: Likewise.
2614 * io/lxstat64.c: Likewise.
2615 * io/mkdir.c: Likewise.
2616 * io/mkdirat.c: Likewise.
2617 * io/mkfifo.c: Likewise.
2618 * io/mkfifoat.c: Likewise.
2619 * io/open.c: Likewise.
2620 * io/open64.c: Likewise.
2621 * io/openat.c: Likewise.
2622 * io/openat64.c: Likewise.
2623 * io/pipe.c: Likewise.
2624 * io/pipe2.c: Likewise.
2625 * io/poll.c: Likewise.
2626 * io/posix_fadvise.c: Likewise.
2627 * io/posix_fadvise64.c: Likewise.
2628 * io/posix_fallocate.c: Likewise.
2629 * io/posix_fallocate64.c: Likewise.
2630 * io/read.c: Likewise.
2631 * io/readlink.c: Likewise.
2632 * io/readlinkat.c: Likewise.
2633 * io/rmdir.c: Likewise.
2634 * io/sendfile.c: Likewise.
2635 * io/sendfile64.c: Likewise.
2636 * io/statfs.c: Likewise.
2637 * io/statfs64.c: Likewise.
2638 * io/statvfs.c: Likewise.
2639 * io/statvfs64.c: Likewise.
2640 * io/symlink.c: Likewise.
2641 * io/symlinkat.c: Likewise.
2642 * io/ttyname.c: Likewise.
2643 * io/ttyname_r.c: Likewise.
2644 * io/umask.c: Likewise.
2645 * io/unlink.c: Likewise.
2646 * io/unlinkat.c: Likewise.
2647 * io/utime.c: Likewise.
2648 * io/utimensat.c: Likewise.
2649 * io/write.c: Likewise.
2650 * io/xmknod.c: Likewise.
2651 * io/xmknodat.c: Likewise.
2652 * io/xstat.c: Likewise.
2653 * io/xstat64.c: Likewise.
2654 * login/getpt.c: Likewise.
2655 * login/grantpt.c: Likewise.
2656 * login/unlockpt.c: Likewise.
2657 * math/e_acoshl.c: Likewise.
2658 * math/e_acosl.c: Likewise.
2659 * math/e_asinl.c: Likewise.
2660 * math/e_atan2l.c: Likewise.
2661 * math/e_atanhl.c: Likewise.
2662 * math/e_coshl.c: Likewise.
2663 * math/e_expl.c: Likewise.
2664 * math/e_fmodl.c: Likewise.
2665 * math/e_gammal_r.c: Likewise.
2666 * math/e_hypotl.c: Likewise.
2667 * math/e_j0l.c: Likewise.
2668 * math/e_j1l.c: Likewise.
2669 * math/e_jnl.c: Likewise.
2670 * math/e_lgammal_r.c: Likewise.
2671 * math/e_log10l.c: Likewise.
2672 * math/e_log2l.c: Likewise.
2673 * math/e_logl.c: Likewise.
2674 * math/e_powl.c: Likewise.
2675 * math/e_rem_pio2l.c: Likewise.
2676 * math/e_sinhl.c: Likewise.
2677 * math/e_sqrtl.c: Likewise.
2678 * math/fclrexcpt.c: Likewise.
2679 * math/fedisblxcpt.c: Likewise.
2680 * math/feenablxcpt.c: Likewise.
2681 * math/fegetenv.c: Likewise.
2682 * math/fegetexcept.c: Likewise.
2683 * math/fegetround.c: Likewise.
2684 * math/feholdexcpt.c: Likewise.
2685 * math/fesetenv.c: Likewise.
2686 * math/fesetround.c: Likewise.
2687 * math/feupdateenv.c: Likewise.
2688 * math/fgetexcptflg.c: Likewise.
2689 * math/fraiseexcpt.c: Likewise.
2690 * math/fsetexcptflg.c: Likewise.
2691 * math/ftestexcept.c: Likewise.
2692 * math/k_cosl.c: Likewise.
2693 * math/k_rem_pio2l.c: Likewise.
2694 * math/k_sinl.c: Likewise.
2695 * math/k_tanl.c: Likewise.
2696 * math/s_asinhl.c: Likewise.
2697 * math/s_atanl.c: Likewise.
2698 * math/s_cbrtl.c: Likewise.
2699 * math/s_erfl.c: Likewise.
2700 * math/s_expm1l.c: Likewise.
2701 * math/s_log1pl.c: Likewise.
2702 * math/s_tanhl.c: Likewise.
2703 * misc/acct.c: Likewise.
2704 * misc/brk.c: Likewise.
2705 * misc/chflags.c: Likewise.
2706 * misc/chroot.c: Likewise.
2707 * misc/fchflags.c: Likewise.
2708 * misc/fgetxattr.c: Likewise.
2709 * misc/flistxattr.c: Likewise.
2710 * misc/fremovexattr.c: Likewise.
2711 * misc/fsetxattr.c: Likewise.
2712 * misc/fsync.c: Likewise.
2713 * misc/ftruncate.c: Likewise.
2714 * misc/futimes.c: Likewise.
2715 * misc/futimesat.c: Likewise.
2716 * misc/getdomain.c: Likewise.
2717 * misc/getdtsz.c: Likewise.
2718 * misc/gethostid.c: Likewise.
2719 * misc/gethostname.c: Likewise.
2720 * misc/getloadavg.c: Likewise.
2721 * misc/getpagesize.c: Likewise.
2722 * misc/getsysstats.c: Likewise.
2723 * misc/getxattr.c: Likewise.
2724 * misc/gtty.c: Likewise.
2725 * misc/ioctl.c: Likewise.
2726 * misc/lgetxattr.c: Likewise.
2727 * misc/listxattr.c: Likewise.
2728 * misc/llistxattr.c: Likewise.
2729 * misc/lremovexattr.c: Likewise.
2730 * misc/lsetxattr.c: Likewise.
2731 * misc/lutimes.c: Likewise.
2732 * misc/madvise.c: Likewise.
2733 * misc/mincore.c: Likewise.
2734 * misc/mlock.c: Likewise.
2735 * misc/mlockall.c: Likewise.
2736 * misc/mmap.c: Likewise.
2737 * misc/mprotect.c: Likewise.
2738 * misc/msync.c: Likewise.
2739 * misc/munlock.c: Likewise.
2740 * misc/munlockall.c: Likewise.
2741 * misc/munmap.c: Likewise.
2742 * misc/preadv.c: Likewise.
2743 * misc/preadv64.c: Likewise.
2744 * misc/ptrace.c: Likewise.
2745 * misc/pwritev.c: Likewise.
2746 * misc/pwritev64.c: Likewise.
2747 * misc/readv.c: Likewise.
2748 * misc/reboot.c: Likewise.
2749 * misc/remap_file_pages.c: Likewise.
2750 * misc/removexattr.c: Likewise.
2751 * misc/revoke.c: Likewise.
2752 * misc/select.c: Likewise.
2753 * misc/setdomain.c: Likewise.
2754 * misc/setegid.c: Likewise.
2755 * misc/seteuid.c: Likewise.
2756 * misc/sethostid.c: Likewise.
2757 * misc/sethostname.c: Likewise.
2758 * misc/setregid.c: Likewise.
2759 * misc/setreuid.c: Likewise.
2760 * misc/setxattr.c: Likewise.
2761 * misc/sstk.c: Likewise.
2762 * misc/stty.c: Likewise.
2763 * misc/swapoff.c: Likewise.
2764 * misc/swapon.c: Likewise.
2765 * misc/sync.c: Likewise.
2766 * misc/syncfs.c: Likewise.
2767 * misc/syscall.c: Likewise.
2768 * misc/truncate.c: Likewise.
2769 * misc/ualarm.c: Likewise.
2770 * misc/usleep.c: Likewise.
2771 * misc/ustat.c: Likewise.
2772 * misc/utimes.c: Likewise.
2773 * misc/vhangup.c: Likewise.
2774 * misc/writev.c: Likewise.
2775 * posix/_exit.c: Likewise.
2776 * posix/alarm.c: Likewise.
2777 * posix/execve.c: Likewise.
2778 * posix/fexecve.c: Likewise.
2779 * posix/fork.c: Likewise.
2780 * posix/fpathconf.c: Likewise.
2781 * posix/getaddrinfo.c: Likewise.
2782 * posix/getegid.c: Likewise.
2783 * posix/geteuid.c: Likewise.
2784 * posix/getgid.c: Likewise.
2785 * posix/getgroups.c: Likewise.
2786 * posix/getlogin.c: Likewise.
2787 * posix/getlogin_r.c: Likewise.
2788 * posix/getpgid.c: Likewise.
2789 * posix/getpid.c: Likewise.
2790 * posix/getppid.c: Likewise.
2791 * posix/getresgid.c: Likewise.
2792 * posix/getresuid.c: Likewise.
2793 * posix/getsid.c: Likewise.
2794 * posix/getuid.c: Likewise.
2795 * posix/glob64.c: Likewise.
2796 * posix/nanosleep.c: Likewise.
2797 * posix/pathconf.c: Likewise.
2798 * posix/pause.c: Likewise.
2799 * posix/posix_madvise.c: Likewise.
2800 * posix/pread.c: Likewise.
2801 * posix/pread64.c: Likewise.
2802 * posix/pwrite.c: Likewise.
2803 * posix/pwrite64.c: Likewise.
2804 * posix/sched_getaffinity.c: Likewise.
2805 * posix/sched_getp.c: Likewise.
2806 * posix/sched_gets.c: Likewise.
2807 * posix/sched_primax.c: Likewise.
2808 * posix/sched_primin.c: Likewise.
2809 * posix/sched_rr_gi.c: Likewise.
2810 * posix/sched_setaffinity.c: Likewise.
2811 * posix/sched_setp.c: Likewise.
2812 * posix/sched_sets.c: Likewise.
2813 * posix/sched_yield.c: Likewise.
2814 * posix/setgid.c: Likewise.
2815 * posix/setlogin.c: Likewise.
2816 * posix/setpgid.c: Likewise.
2817 * posix/setresgid.c: Likewise.
2818 * posix/setresuid.c: Likewise.
2819 * posix/setsid.c: Likewise.
2820 * posix/setuid.c: Likewise.
2821 * posix/sleep.c: Likewise.
2822 * posix/spawni.c: Likewise.
2823 * posix/sysconf.c: Likewise.
2824 * posix/times.c: Likewise.
2825 * posix/wait.c: Likewise.
2826 * posix/wait3.c: Likewise.
2827 * posix/wait4.c: Likewise.
2828 * posix/waitpid.c: Likewise.
2829 * resolv/gai_sigqueue.c: Likewise.
2830 * resource/getpriority.c: Likewise.
2831 * resource/getrlimit.c: Likewise.
2832 * resource/getrusage.c: Likewise.
2833 * resource/nice.c: Likewise.
2834 * resource/setpriority.c: Likewise.
2835 * resource/setrlimit.c: Likewise.
2836 * resource/ulimit.c: Likewise.
2837 * rt/aio_cancel.c: Likewise.
2838 * rt/aio_fsync.c: Likewise.
2839 * rt/aio_read.c: Likewise.
2840 * rt/aio_sigqueue.c: Likewise.
2841 * rt/aio_suspend.c: Likewise.
2842 * rt/aio_write.c: Likewise.
2843 * rt/clock_getres.c: Likewise.
2844 * rt/clock_gettime.c: Likewise.
2845 * rt/clock_nanosleep.c: Likewise.
2846 * rt/clock_settime.c: Likewise.
2847 * rt/lio_listio.c: Likewise.
2848 * rt/mq_close.c: Likewise.
2849 * rt/mq_getattr.c: Likewise.
2850 * rt/mq_notify.c: Likewise.
2851 * rt/mq_open.c: Likewise.
2852 * rt/mq_receive.c: Likewise.
2853 * rt/mq_send.c: Likewise.
2854 * rt/mq_setattr.c: Likewise.
2855 * rt/mq_timedreceive.c: Likewise.
2856 * rt/mq_timedsend.c: Likewise.
2857 * rt/mq_unlink.c: Likewise.
2858 * rt/shm_open.c: Likewise.
2859 * rt/shm_unlink.c: Likewise.
2860 * rt/timer_create.c: Likewise.
2861 * rt/timer_delete.c: Likewise.
2862 * rt/timer_getoverr.c: Likewise.
2863 * rt/timer_gettime.c: Likewise.
2864 * rt/timer_settime.c: Likewise.
2865 * setjmp/__longjmp.c: Likewise.
2866 * setjmp/setjmp.c: Likewise.
2867 * signal/kill.c: Likewise.
2868 * signal/killpg.c: Likewise.
2869 * signal/raise.c: Likewise.
2870 * signal/sigaction.c: Likewise.
2871 * signal/sigaltstack.c: Likewise.
2872 * signal/sigblock.c: Likewise.
2873 * signal/sigignore.c: Likewise.
2874 * signal/sigintr.c: Likewise.
2875 * signal/signal.c: Likewise.
2876 * signal/sigpause.c: Likewise.
2877 * signal/sigpending.c: Likewise.
2878 * signal/sigqueue.c: Likewise.
2879 * signal/sigreturn.c: Likewise.
2880 * signal/sigset.c: Likewise.
2881 * signal/sigsetmask.c: Likewise.
2882 * signal/sigstack.c: Likewise.
2883 * signal/sigsuspend.c: Likewise.
2884 * signal/sigtimedwait.c: Likewise.
2885 * signal/sigvec.c: Likewise.
2886 * signal/sigwait.c: Likewise.
2887 * signal/sigwaitinfo.c: Likewise.
2888 * signal/sysv_signal.c: Likewise.
2889 * socket/accept.c: Likewise.
2890 * socket/accept4.c: Likewise.
2891 * socket/bind.c: Likewise.
2892 * socket/connect.c: Likewise.
2893 * socket/getpeername.c: Likewise.
2894 * socket/getsockname.c: Likewise.
2895 * socket/getsockopt.c: Likewise.
2896 * socket/isfdtype.c: Likewise.
2897 * socket/listen.c: Likewise.
2898 * socket/recv.c: Likewise.
2899 * socket/recvfrom.c: Likewise.
2900 * socket/recvmsg.c: Likewise.
2901 * socket/send.c: Likewise.
2902 * socket/sendmsg.c: Likewise.
2903 * socket/sendto.c: Likewise.
2904 * socket/setsockopt.c: Likewise.
2905 * socket/shutdown.c: Likewise.
2906 * socket/sockatmark.c: Likewise.
2907 * socket/socket.c: Likewise.
2908 * socket/socketpair.c: Likewise.
2909 * stdio-common/ctermid.c: Likewise.
2910 * stdio-common/cuserid.c: Likewise.
2911 * stdio-common/remove.c: Likewise.
2912 * stdio-common/rename.c: Likewise.
2913 * stdio-common/renameat.c: Likewise.
2914 * stdio-common/tempname.c: Likewise.
2915 * stdlib/getcontext.c: Likewise.
2916 * stdlib/makecontext.c: Likewise.
2917 * stdlib/setcontext.c: Likewise.
2918 * stdlib/swapcontext.c: Likewise.
2919 * stdlib/system.c: Likewise.
2920 * streams/fattach.c: Likewise.
2921 * streams/fdetach.c: Likewise.
2922 * streams/getmsg.c: Likewise.
2923 * streams/getpmsg.c: Likewise.
2924 * streams/putmsg.c: Likewise.
2925 * streams/putpmsg.c: Likewise.
2926 * sysdeps/unix/bsd/getpt.c: Likewise.
2927 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2928 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2929 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2932 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2933 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2934 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2935 * sysvipc/msgctl.c: Likewise.
2936 * sysvipc/msgget.c: Likewise.
2937 * sysvipc/msgrcv.c: Likewise.
2938 * sysvipc/msgsnd.c: Likewise.
2939 * sysvipc/semctl.c: Likewise.
2940 * sysvipc/semget.c: Likewise.
2941 * sysvipc/semop.c: Likewise.
2942 * sysvipc/semtimedop.c: Likewise.
2943 * sysvipc/shmat.c: Likewise.
2944 * sysvipc/shmctl.c: Likewise.
2945 * sysvipc/shmdt.c: Likewise.
2946 * sysvipc/shmget.c: Likewise.
2947 * termios/tcdrain.c: Likewise.
2948 * termios/tcflow.c: Likewise.
2949 * termios/tcflush.c: Likewise.
2950 * termios/tcgetattr.c: Likewise.
2951 * termios/tcgetpgrp.c: Likewise.
2952 * termios/tcsendbrk.c: Likewise.
2953 * termios/tcsetattr.c: Likewise.
2954 * termios/tcsetpgrp.c: Likewise.
2955 * time/adjtime.c: Likewise.
2956 * time/clock.c: Likewise.
2957 * time/getitimer.c: Likewise.
2958 * time/gettimeofday.c: Likewise.
2959 * time/setitimer.c: Likewise.
2960 * time/settimeofday.c: Likewise.
2961 * time/stime.c: Likewise.
2962 * time/time.c: Likewise.
2964 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2966 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2969 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2971 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2973 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2977 FE_TONEAREST before applying Dekker multiplication and Knuth
2978 addition. Clear inexact exceptions and check for exact zero
2980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2981 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2982 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2983 * math/libm-test.inc (fma_test): Add more tests.
2984 (fma_test_towardzero): Likewise.
2985 (fma_test_downward): Likewise.
2986 (fma_test_upward): Likewise.
2987 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2989 (libc_fesetround): New macro.
2990 (libc_fesetroundf): Likewise.
2991 (libc_fesetroundl): Likewise.
2992 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2994 (libc_fesetround_387): Likewise.
2995 (libc_fesetroundf): New macro.
2996 (libc_fesetround): Likewise.
2997 (libc_fesetroundl): Likewise.
2998 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3000 (libc_fesetroundf): New macro.
3001 (libc_fesetround): Likewise.
3002 (libc_fesetroundl): Likewise.
3003 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3004 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3005 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3007 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3008 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3010 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3011 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3013 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3017 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3018 integer constant usable in #if and use that to give value to enum
3020 (FE_DIVBYZERO): Likewise.
3021 (FE_UNDERFLOW): Likewise.
3022 (FE_OVERFLOW): Likewise.
3023 (FE_INVALID): Likewise.
3024 (FE_INVALID_SNAN): Likewise.
3025 (FE_INVALID_ISI): Likewise.
3026 (FE_INVALID_IDI): Likewise.
3027 (FE_INVALID_ZDZ): Likewise.
3028 (FE_INVALID_IMZ): Likewise.
3029 (FE_INVALID_COMPARE): Likewise.
3030 (FE_INVALID_SOFTWARE): Likewise.
3031 (FE_INVALID_SQRT): Likewise.
3032 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3033 (FE_TONEAREST): Likewise.
3034 (FE_TOWARDZERO): Likewise.
3035 (FE_UPWARD): Likewise.
3036 (FE_DOWNWARD): Likewise.
3037 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3038 (FE_DIVBYZERO): Likewise.
3039 (FE_OVERFLOW): Likewise.
3040 (FE_UNDERFLOW): Likewise.
3041 (FE_INEXACT): Likewise.
3042 (FE_TONEAREST): Likewise.
3043 (FE_DOWNWARD): Likewise.
3044 (FE_UPWARD): Likewise.
3045 (FE_TOWARDZERO): Likewise.
3046 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3047 (FE_UNDERFLOW): Likewise.
3048 (FE_OVERFLOW): Likewise.
3049 (FE_DIVBYZERO): Likewise.
3050 (FE_INVALID): Likewise.
3051 (FE_TONEAREST): Likewise.
3052 (FE_TOWARDZERO): Likewise.
3053 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3054 (FE_OVERFLOW): Likewise.
3055 (FE_UNDERFLOW): Likewise.
3056 (FE_DIVBYZERO): Likewise.
3057 (FE_INEXACT): Likewise.
3058 (FE_TONEAREST): Likewise.
3059 (FE_TOWARDZERO): Likewise.
3060 (FE_UPWARD): Likewise.
3061 (FE_DOWNWARD): Likewise.
3062 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3063 (FE_DIVBYZERO): Likewise.
3064 (FE_OVERFLOW): Likewise.
3065 (FE_UNDERFLOW): Likewise.
3066 (FE_INEXACT): Likewise.
3067 (FE_TONEAREST): Likewise.
3068 (FE_DOWNWARD): Likewise.
3069 (FE_UPWARD): Likewise.
3070 (FE_TOWARDZERO): Likewise.
3072 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3074 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3076 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3078 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3079 commands. Quote $PWD.
3080 (blacklist_exports): Don't use remove_newlines. Replace "declare
3082 (remove_newlines): Remove.
3084 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3086 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3087 * stdlib/stdlib.h (atof): Moved to ...
3088 * include/bits/stdlib-float.h: Here. New file.
3089 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3090 * stdlib/bits/stdlib-float.h: New file.
3091 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3093 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3096 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3098 * conform/conformtest.pl (@headers): Add fenv.h.
3099 * conform/data/fenv.h-data: New file.
3100 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3101 include of <math/fenv.h>.
3103 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3104 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3105 && !UNIX98]. Enables tests for XOPEN2K8.
3106 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3107 POSIX2008]: Likewise.
3109 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3110 (struct rusage): Do not expect type or its members.
3113 * math/math.h (FP_NAN): Define macro to integer constant usable in
3114 #if and use that to give value to enum constant.
3115 (FP_INFINITE): Likewise.
3116 (FP_ZERO): Likewise.
3117 (FP_SUBNORMAL): Likewise.
3118 (FP_NORMAL): Likewise.
3120 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3122 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3123 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3126 2012-11-02 Roland McGrath <roland@hack.frob.com>
3128 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3129 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3130 autoconf-time if not.
3131 * configure.in: Remove AC_PREREQ.
3133 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3135 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3136 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3137 of the internal implementation.
3139 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3141 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3142 except include of <misc/sys/syslog.h>.
3144 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3147 function returns with a NULL context exit with zero.
3149 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3151 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3153 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3155 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3156 (run_program_cmd): This.
3157 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3158 (tst_langinfo): New variable. Use it.
3160 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3162 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3163 floating point opcodes.
3165 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3167 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3170 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3172 * sysdeps/mach/hurd/powerpc: Remove directory.
3173 * sysdeps/mach/powerpc: Likewise.
3175 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3177 * scripts/check-local-headers.sh: Ignore c++ headers.
3179 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3181 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3182 __libc_cleanup_region_start argument.
3184 2012-11-01 Joseph Myers <joseph@codesourcery.com>
3188 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3189 x * y using scaling, not as x * y + z.
3190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3192 * math/libm-test.inc (fma_test): Add more tests.
3193 (fma_test_towardzero): Likewise.
3194 (fma_test_downward): Likewise.
3195 (fma_test_upward): Likewise.
3197 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3199 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3201 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3203 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3206 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3208 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3210 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3217 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3220 Fix the order of the list for glibc 2.17.
3221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3224 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3228 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3232 for low part of x being zero before using __atanl (y).
3233 * math/libm-test.inc (atan2_test): Add another test.
3235 * manual/install.texi (Configuring and compiling): Document
3236 general use of test-wrapper and test-wrapper-env.
3237 * INSTALL: Regenerated.
3239 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3240 (__fma): Do not extract and scale down low bits on after-rounding
3241 systems when result rounded to normal precision would have normal
3243 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3244 (__fmal): Do not extract and scale down low bits on after-rounding
3245 systems when result rounded to normal precision would have normal
3247 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3248 (__fmal): Do not extract and scale down low bits on after-rounding
3249 systems when result rounded to normal precision would have normal
3251 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3253 (fma_test): Add more tests.
3254 (fma_test_towardzero): Likewise.
3255 (fma_test_downward): Likewise.
3256 (fma_test_upward): Likewise.
3258 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3260 * sysdeps/i386/tininess.h: Renamed to ...
3261 * sysdeps/x86/tininess.h: This.
3262 * sysdeps/x86_64/tininess.h: Removed.
3264 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3266 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3267 input. Use $(build-program-cmd).
3268 ($(objpfx)tst-array1-static.out): Likewise.
3269 ($(objpfx)tst-array2.out): Likewise.
3270 ($(objpfx)tst-array3.out): Likewise.
3271 ($(objpfx)tst-array4.out): Likewise.
3272 ($(objpfx)tst-array5.out): Likewise.
3273 ($(objpfx)tst-array5-static.out): Likewise.
3275 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3277 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3280 * nss/nsswitch.h (nss_interface_function): Provide new
3281 macro for use with NSS functions.
3282 * grp/initgroups.c: Use new macro.
3283 * nss/getXXbyYY.c: Likewise.
3284 * nss/getXXbyYY_r.c: Likewise.
3285 * nss/getXXent.c: Likewise.
3286 * nss/getXXent_r.c: Likewise.
3287 * sysdeps/posix/getaddrinfo.c: Likewise.
3289 2012-10-30 Andreas Jaeger <aj@suse.de>
3291 * po/ru.po: Update Russion translation from translation project.
3293 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3298 result and shift together with sticky bit instead of replicating
3299 round-to-nearest rounding.
3300 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3301 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3302 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3303 missing underflow exceptions.
3304 (fma_test_towardzero): Add more tests.
3305 (fma_test_downward): Likewise.
3306 (fma_test_upward): Likewise.
3309 * sysdeps/generic/tininess.h: New file.
3310 * sysdeps/i386/tininess.h: Likewise.
3311 * sysdeps/sh/tininess.h: Likewise.
3312 * sysdeps/x86_64/tininess.h: Likewise.
3313 * stdlib/tst-strtod-underflow.c: Likewise.
3314 * stdlib/tst-tininess.c: Likewise.
3315 * stdlib/strtod_l.c: Include <tininess.h>.
3316 (round_and_return): Do not set errno for exact underflow cases.
3317 Force an underflow exception when setting errno for underflow.
3318 Determine underflow based on rounding to normal precision if
3319 TININESS_AFTER_ROUNDING.
3320 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3321 ERANGE for exact underflow cases.
3322 * stdlib/Makefile (tests): Add tst-tininess and
3323 tst-strtod-underflow.
3324 ($(objpfx)tst-tininess): Use $(link-libm).
3325 ($(objpfx)tst-strtod-underflow): Likewise.
3327 2012-10-30 Andreas Jaeger <aj@suse.de>
3330 * elf/Makefile (tests): Remove conditional for have-initfini-array
3331 since this is now always required and the variable does not exist
3333 (tests-static): Likewise.
3334 (modules-names): Likewise.
3336 * po/eo.po: Add Esperanto translation from translation project.
3338 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3339 merged with constructor/destructor.
3340 (init_array): Likewise.
3341 * elf/tst-array2dep.c (fini_array): Likewise.
3342 (init_array): Likewise.
3344 2012-10-29 Mike Frysinger <vapier@gentoo.org>
3346 * manual/message.texi: Delete @cartouche tags.
3348 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3350 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3352 * sysdeps/mach/hurd/fsync.c: Likewise.
3354 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3355 [_POSIX_REALTIME_SIGNALS]: Change condition to
3356 [_POSIX_REALTIME_SIGNALS > 0].
3358 2012-10-27 Andreas Jaeger <aj@suse.de>
3360 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3361 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3363 [__WORDSIZE != 64]: Likewise.
3365 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3367 * iconvdata/tst-table.sh: Remove ${SHELL}.
3368 * iconvdata/tst-tables.sh: Likewise.
3370 2012-10-25 David S. Miller <davem@davemloft.net>
3372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3373 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3378 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3379 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3380 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3383 2012-10-25 Roland McGrath <roland@hack.frob.com>
3385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3386 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3389 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3390 Jim Blandy <jimb@codesourcery.com>
3392 * scripts/cross-test-ssh.sh: New file.
3393 * manual/install.texi (Configuring and compiling): Document use of
3395 * INSTALL: Regenerated.
3397 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3399 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3402 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3404 * Makeconfig (run-program-prefix): Fix comment.
3406 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3407 Jim Blandy <jimb@codesourcery.com>
3409 * Makeconfig (test-wrapper): New variable,
3410 (test-wrapper-env): Likewise.
3411 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3412 (run-built-tests): Define to yes.
3413 (run-program-prefix): Use $(test-wrapper).
3414 (built-program-cmd): Likewise.
3415 * Rules (make-test-out): Use $(test-wrapper-env) and
3416 $(host-built-program-cmd).
3417 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3418 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3420 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3421 $(test-wrapper-env) to tst-rtld-load-self.sh.
3422 ($(objpfx)order2.out): Use $(test-wrapper).
3423 ($(objpfx)tst-initorder.out): Likewise.
3424 ($(objpfx)tst-initorder2.out): Likewise.
3425 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3426 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3427 (test_wrapper_env): New variable. Use it to run ld.so.
3428 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3429 Use it to run ld.so.
3430 (test_wrapper_env): Likewise.
3431 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3432 $(test-wrapper) to run-iconv-test.sh.
3433 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3434 (ICONV): Use $test_wrapper.
3435 * posix/Makefile ($(objpfx)globtest.out): Pass
3436 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3437 globtest.sh, not $(run-program-prefix).
3438 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3439 (test_wrapper): Likewise.
3440 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3441 set together with run_via_rtld_prefix.
3442 (run_program_prefix): Define in terms of test_wrapper and
3443 run_via_rtld_prefix.
3445 2012-10-24 Roland McGrath <roland@hack.frob.com>
3447 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3448 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3452 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3453 Declare __clock_getres, __clock_gettime, __clock_settime,
3454 __clock_nanosleep, and __clock_getcpuclockid.
3455 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3456 Remove librt_hidden_def (clock_gettime).
3457 * sysdeps/unix/clock_gettime.c: Likewise.
3458 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3459 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3460 * rt/clock_getres.c: Define __clock_getres as an alias.
3461 * sysdeps/posix/clock_getres.c: Likewise.
3462 * rt/clock_settime.c: Define __clock_settime as an alias.
3463 * sysdeps/unix/clock_settime.c: Likewise.
3464 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3465 * sysdeps/unix/clock_nanosleep.c: Likewise.
3466 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3467 * rt/clock-compat.c: New file.
3468 * rt/Makefile (librt-routines): Add clock-compat and move
3469 $(clock-routines) to ...
3470 (routines): ... here, new variable.
3471 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3472 Don't add get_clockfreq here.
3473 * rt/Versions (libc: GLIBC_2.17): New version set.
3474 Add clock_* symbols here.
3475 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3476 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3477 (GLIBC_2.17): Add clock_* symbols.
3478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3489 * NEWS: Mention the move.
3491 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3492 Use __open, __read, __close rather than their public counterparts.
3493 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3494 (__get_clockfreq_via_cpuinfo): Likewise.
3495 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3496 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3498 * config.h.in (HAVE_IFUNC): New #undef.
3499 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3501 * configure: Regenerated.
3503 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3505 * configure.in: Move READELF check to start of file.
3506 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3507 libc_cv_asm_gnu_indirect_function in the process.
3508 * configure: Regenerated.
3510 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3512 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3513 send the output to /dev/null.
3514 (libc_cv_cc_with_libunwind): Likewise.
3515 (libc_cv_as_noexecstack): Likewise.
3516 * configure: Regenerate.
3518 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3520 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3522 * posix/globtest.sh (TMPDIR): Do not set.
3523 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3524 (testout): Likewise.
3526 2012-10-24 Andreas Jaeger <aj@suse.de>
3528 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3529 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3530 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3531 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3532 posix_fadvise64, posix_fallocate64.
3534 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3535 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3536 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3538 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3540 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3543 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3544 <bits/fcntl-linux.h>.
3545 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3548 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3549 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3550 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3551 [__WORDSIZE != 64]: Likewise.
3553 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3555 * Makeconfig (run-built-tests): New variable.
3556 * Rules [$(cross-compiling) = yes]: Change condition to
3557 [$(run-built-tests) = no].
3558 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3559 to [$(run-built-tests) = yes].
3560 * elf/Makefile [$(cross-compiling) = no]: Likewise
3561 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3562 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3563 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3564 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3565 * io/Makefile [$(cross-compiling) = no]: Likewise.
3566 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3567 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3568 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3569 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3570 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3571 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3572 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3573 * string/Makefile [$(cross-compiling) = no]: Likewise.
3575 * posix/Makefile ($(objpfx)globtest.out): Pass
3576 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3577 $(rtld-installed-name).
3578 * posix/globtest.sh (elf_objpfx): Remove variable.
3579 (rtld_installed_name): Likewise.
3580 (library_path): Likewise.
3581 (run_program_prefix): New variable. Use for running globtest
3584 2012-10-23 Jim Blandy <jimb@codesourcery.com>
3585 Joseph Myers <joseph@codesourcery.com>
3587 * Makeconfig (host-built-program-cmd): New variable.
3588 * elf/Makefile (tst-stackguard1-ARGS): Use
3589 $(host-built-program-cmd).
3590 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3591 (tst-spawn-ARGS): Likewise.
3592 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3594 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3595 Jim Blandy <jimb@codesourcery.com>
3597 * Makeconfig (run-via-rtld-prefix): New variable.
3598 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3599 (built-program-cmd): Likewise.
3601 2012-10-22 Andreas Jaeger <aj@suse.de>
3603 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3604 __O_RSYNC if it exists, otherwise to O_SYNC.
3606 2012-10-22 Jim Blandy <jimb@codesourcery.com>
3607 Joseph Myers <joseph@codesourcery.com>
3609 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3611 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3613 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3616 2012-10-22 Andreas Jaeger <aj@suse.de>
3618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3626 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3633 2012-10-21 Jim Blandy <jimb@codesourcery.com>
3634 Joseph Myers <joseph@codesourcery.com>
3636 * config.make.in (NM): New variable.
3638 2012-10-21 Andreas Jaeger <aj@suse.de>
3640 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3641 definitions and declarations that are provided by
3642 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3644 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3647 * elf/Makefile (tests-static): Add tst-leaks1-static.
3648 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3649 ($(objpfx)tst-leaks1-static): New rule.
3650 ($(objpfx)tst-leaks1-static-mem): Likewise.
3651 (tst-leaks1-static-ENV): New macro.
3652 * elf/dl-open.c (dl_open_worker): Check the main application
3653 only if SHARED is defined.
3654 * elf/tst-leaks1-static.c: New file.
3656 2012-10-20 Andreas Jaeger <aj@suse.de>
3658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3659 generic values for Linux.
3660 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3661 and declarations that are provided by <bits/fcntl-linux.h> and
3662 include <bits/fcntl-linux.h>.
3663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3666 2012-10-20 Roland McGrath <roland@hack.frob.com>
3668 * io/fcntl.h: Move include of <bits/types.h> to the top and
3669 include it unconditionally.
3671 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3673 * wcsmbs/Makefile (tests-ifunc): New variable.
3674 (tests): Add $(tests-ifunc).
3675 * wcsmbs/test-wcschr-ifunc.c: New file.
3676 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3677 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3678 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3679 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3680 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3682 * string/Makefile (tests-ifunc): New variable.
3683 (tests): Add $(tests-ifunc).
3684 * string/test-memccpy.c (TEST_NAME): New macro.
3685 * string/test-memchr.c (TEST_NAME): Likewise.
3686 * string/test-memcmp.c (TEST_NAME): Likewise.
3687 * string/test-memcpy.c (TEST_NAME): Likewise.
3688 * string/test-memmem.c (TEST_NAME): Likewise.
3689 * string/test-memmove.c (TEST_NAME): Likewise.
3690 * string/test-memset.c (TEST_NAME): Likewise.
3691 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3692 * string/test-stpcpy.c (TEST_NAME): Likewise.
3693 * string/test-stpncpy.c (TEST_NAME): Likewise.
3694 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3695 * string/test-strcasestr.c (TEST_NAME): Likewise.
3696 * string/test-strcat.c (TEST_NAME): Likewise.
3697 * string/test-strchr.c (TEST_NAME): Likewise.
3698 * string/test-strcmp.c(TEST_NAME): Likewise.
3699 * string/test-strcpy.c (TEST_NAME): Likewise.
3700 * string/test-strcspn.c (TEST_NAME): Likewise.
3701 * string/test-strlen.c (TEST_NAME): Likewise.
3702 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3703 * string/test-strncmp.c (TEST_NAME): Likewise.
3704 * string/test-strncpy.c (TEST_NAME): Likewise.
3705 * string/test-strnlen.c (TEST_NAME): Likewise.
3706 * string/test-strpbrk.c (TEST_NAME): Likewise.
3707 * string/test-strrchr.c (TEST_NAME): Likewise.
3708 * string/test-strspn.c (TEST_NAME): Likewise.
3709 * string/test-strstr.c (TEST_NAME): Likewise.
3710 * string/test-bcopy-ifunc.c: New file.
3711 * string/test-bzero-ifunc.c: Likewise.
3712 * string/test-memccpy-ifunc.c: Likewise.
3713 * string/test-memchr-ifunc.c: Likewise.
3714 * string/test-memcmp-ifunc.c: Likewise.
3715 * string/test-memcpy-ifunc.c: Likewise.
3716 * string/test-memmem-ifunc.c: Likewise.
3717 * string/test-memmove-ifunc.c: Likewise.
3718 * string/test-mempcpy-ifunc.c: Likewise.
3719 * string/test-memset-ifunc.c: Likewise.
3720 * string/test-rawmemchr-ifunc.c: Likewise.
3721 * string/test-stpcpy-ifunc.c: Likewise.
3722 * string/test-stpncpy-ifunc.c: Likewise.
3723 * string/test-strcasecmp-ifunc.c: Likewise.
3724 * string/test-strcasestr-ifunc.c: Likewise.
3725 * string/test-strcat-ifunc.c: Likewise.
3726 * string/test-strchr-ifunc.c: Likewise.
3727 * string/test-strchrnul-ifunc.c: Likewise.
3728 * string/test-strcmp-ifunc.c: Likewise.
3729 * string/test-strcpy-ifunc.c: Likewise.
3730 * string/test-strcspn-ifunc.c: Likewise.
3731 * string/test-strlen-ifunc.c: Likewise.
3732 * string/test-strncasecmp-ifunc.c: Likewise.
3733 * string/test-strncat-ifunc.c: Likewise.
3734 * string/test-strncmp-ifunc.c: Likewise.
3735 * string/test-strncpy-ifunc.c: Likewise.
3736 * string/test-strnlen-ifunc.c: Likewise.
3737 * string/test-strpbrk-ifunc.c: Likewise.
3738 * string/test-strrchr-ifunc.c: Likewise.
3739 * string/test-strspn-ifunc.c: Likewise.
3740 * string/test-strstr-ifunc.c: Likewise.
3742 * debug/Makefile (tests-ifunc): New variable.
3743 (tests): Add $(tests-ifunc).
3744 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3745 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3746 * debug/test-stpcpy_chk-ifunc.c: New file.
3747 * debug/test-strcpy_chk-ifunc.c: Likewise.
3749 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3752 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3753 header is not read in.
3755 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3757 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3758 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3759 directly. Pass built executable to script as
3760 $(built-program-cmd).
3761 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3762 $testprogram without using LD_LIBRARY_PATH and $ldso.
3764 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3765 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3766 $(rtld-installed-name).
3767 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3768 (rtld_installed_name): Likewise.
3769 (library_path): Likewise.
3770 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3771 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3772 $(run-program-prefix) to tst-tables.sh.
3773 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3774 it to run tst-table-from and tst-table-to.
3775 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3776 Pass it to tst-table.sh.
3777 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3778 $(run-program-prefix) to tst-gettext.sh.
3779 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3781 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3783 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3785 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3786 to run tst-gettext2.
3787 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3788 to run tst-translit.
3789 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3790 $(run-program-prefix) to tst-mtrace.sh.
3791 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3793 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3794 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3795 $(rtld-installed-name).
3796 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3797 (rtld_installed_name): Likewise.
3798 (run_program_prefix): New variable. Use it to run wordexp-test.
3800 * Makeconfig (ARCH): Remove all definitions.
3801 (machine): Likewise.
3802 [ARCH]: Remove conditional code.
3803 [!objdir]: Give error.
3804 [!objdir] (objpfx): Remove.
3805 [!objdir] (common-objpfx): Likewise.
3806 [!objdir] (common-objdir): Likewise.
3807 * configure.in (config_makefile): Remove. Hardcode Makefile in
3808 AC_CONFIG_FILES call.
3809 * configure: Regenerated.
3812 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3814 (testout): Likewise.
3816 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3817 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3818 $(rtld-installed-name).
3819 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3820 (rtld_installed_name): Likwise.
3821 (runit): Remove function.
3822 (run_getconf): New variable, Use it for running getconf binary.
3824 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3827 * string/test-memmem.c (check_result): New function.
3828 (do_one_test): Use it.
3829 (check1): New function.
3830 (test_main): Use it.
3832 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3834 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3836 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3838 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3839 (_G_LSEEK64): Likewise.
3840 (_G_MMAP64): Likewise.
3841 (_G_FSTAT64): Likewise.
3842 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3843 (_G_LSEEK64): Likewise.
3844 (_G_MMAP64): Likewise.
3845 (_G_FSTAT64): Likewise.
3846 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3847 unconditional. Call __mmap64 directly.
3848 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3849 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3851 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3852 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3854 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3855 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3857 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3858 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3860 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3861 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3863 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3864 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3865 __fxstat64 directly.
3866 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3867 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3869 (freopen64) [!_G_OPEN64]: Remove conditional code.
3870 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3872 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3873 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3875 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3876 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3878 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3879 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3881 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3882 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3884 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3885 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3887 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3888 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3890 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3892 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3895 * manual/memory.texi (Malloc Tunable Parameters): Add note
3896 about free list pointers overwriting some perturb bytes.
3897 Wording suggested by Roland McGrath.
3899 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3901 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3902 (lgamma_test): Likewise.
3903 (tgamma_test): Likewise.
3905 2012-10-16 Florian Weimer <fweimer@redhat.com>
3908 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3909 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3911 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3913 * NEWS: Mention BZ #14716.
3914 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3915 when removing AVAILABLE1_USES_J macro.
3917 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3919 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3920 (__bswap_64): __uint64_t for unsigned 64-bit int.
3922 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3924 * include/string.h (memmem): Declare libc hidden alias.
3925 * string/memmem.c (memmem): Define libc hidden alias.
3926 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3927 __read, __close instead of open, read, close.
3929 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3932 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3934 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3935 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3936 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3938 (__rawmemchr_sse2): Likewise.
3939 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3940 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3941 (__strchr_sse2): Likewise.
3942 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3943 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3944 (__strcasecmp_sse2): Likewise.
3945 (__strncasecmp_sse2): Likewise.
3946 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3947 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3948 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3949 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3950 (__strrchr_sse2): Likewise.
3951 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3953 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3954 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3955 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3956 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3957 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3958 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3959 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3960 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3961 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3962 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3963 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3965 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3966 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3967 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3968 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3969 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3970 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3971 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3972 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3973 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3974 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3975 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3976 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3977 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3978 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3979 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3980 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3981 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3982 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3986 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3987 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3988 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3989 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3991 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3993 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3994 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3995 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3996 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3998 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4001 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4011 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4013 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4014 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4015 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4016 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4017 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4018 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4019 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4023 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4025 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4026 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4028 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4032 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4040 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4041 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4042 * include/ifunc-impl-list.h: New file.
4043 * misc/ifunc-impl-list.c: Likewise.
4044 * misc/Makefile (routines): Add ifunc-impl-list.
4045 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4046 * string/test-string.h: Include <ifunc-impl-list.h>.
4047 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4048 impl_array): New variables.
4049 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4051 (test_init): Call __libc_ifunc_impl_list to initialize
4052 func_list if TEST_IFUNC and TEST_NAME are defined.
4054 * string/Makefile (strop-tests): Add bcopy and bzero.
4055 * string/test-bcopy.c: New file.
4056 * string/test-bzero.c: Likewise.
4057 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4059 * string/test-memset.c: Support bzero test if TEST_BZERO is
4061 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4063 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4065 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4068 2012-10-10 Joseph Myers <joseph@codesourcery.com>
4070 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4071 * configure: Regenerated.
4073 * Makeconfig (+link-static-before-libc): Don't include
4074 $(link-static-libc).
4076 * libio/libio.h (_IO_pos_t): Remove.
4078 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4080 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4083 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4085 * crypt/crypt-entry.c: Include fips-private.h.
4086 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4087 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4088 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4089 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4091 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4093 * crypt/crypt-private.h: Include stdbool.h.
4094 (_ufc_setup_salt_r): Return bool.
4095 * crypt/crypt-entry.c: Include errno.h.
4096 (__crypt_r): Return NULL with EINVAL for bad salt.
4097 * crypt/crypt_util.c (bad_for_salt): New.
4098 (_ufc_setup_salt_r): Check that salt is long enough and within
4099 the specified alphabet.
4100 * crypt/badsalttest.c: New file.
4101 * crypt/Makefile (tests): Add it.
4102 ($(objpfx)badsalttest): New.
4104 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4106 * NEWS: Add entry for BZ #14602.
4108 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4110 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4112 * math/libm-test.inc: Update comment listing what functions and
4114 (isgreater_test): New function.
4115 (isgreaterequal_test): Likewise.
4116 (isless_test): Likewise.
4117 (islessequal_test): Likewise.
4118 (islessgreater_test): Likewise.
4119 (isunordered_test): Likewise.
4120 (main): Call the new functions.
4122 2012-10-09 Roland McGrath <roland@hack.frob.com>
4124 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4125 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4126 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4127 * sysdeps/i386/configure: Regenerated.
4128 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4129 * sysdeps/mach/configure: Regenerated.
4130 * sysdeps/mach/hurd/configure: Regenerated.
4131 * sysdeps/powerpc/configure: Regenerated.
4132 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4133 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4134 * sysdeps/s390/s390-32/configure: Regenerated.
4135 * sysdeps/s390/s390-64/configure: Regenerated.
4136 * sysdeps/sh/configure: Regenerated.
4137 * sysdeps/sparc/configure: Regenerated.
4138 * sysdeps/unix/sysv/linux/configure: Regenerated.
4139 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4140 * sysdeps/x86_64/configure: Regenerated.
4142 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4143 defined. Don't check if MAP is NULL.
4145 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4147 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4148 (_G_stat64): Likewise.
4149 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4150 (_G_stat64): Likewise.
4151 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4152 instead of struct _G_stat64.
4153 * libio/fileops.c (mmap_remap_check): Likewise.
4154 (decide_maybe_mmap): Likewise.
4155 (_IO_new_file_seekoff): Likewise.
4156 (_IO_file_stat): Likewise.
4157 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4159 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4160 instead of struct _G_stat64.
4161 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4163 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4166 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4168 (CHECK_EOL): New macro.
4169 (two_way_short_needle): Check beginning of haystack for EOL. Use
4171 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4172 Replace with CHECK_EOL.
4173 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4174 Replace with CHECK_EOL.
4176 2012-10-08 Joseph Myers <joseph@codesourcery.com>
4178 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4180 * math/libm-test.inc: Update comment listing what functions and
4182 (finite_test): New function.
4183 (isinf_test): Likewise.
4184 (isnan_test): Likewise.
4185 (fpclassify_test): Test subnormal input.
4186 (isfinite_test): Likewise.
4187 (isnormal_test): Likewise.
4188 (main): Call the new functions.
4190 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4193 * Makerules (%.dynsym): Force C locale when running
4194 $(OBJDUMP) --dynamic-syms.
4196 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4198 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4201 2012-10-06 David S. Miller <davem@davemloft.net>
4203 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4204 upper 32-bits of the length value in %o2 since we use branch-on-register
4205 tests which consider the entire 64-bit register.
4207 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4209 * string/test-strstr.c (check2): Add a test for page boundary.
4211 2012-10-05 David S. Miller <davem@davemloft.net>
4213 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4214 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4216 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4218 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4219 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4220 and bzero when HWCAP_SPARC_CRYPTO is present.
4222 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4225 * string/test-strstr.c (check2): New function.
4226 (test_main): Call check2.
4228 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4230 * string/bug-strcasestr1.c (do_test): Moved to ...
4231 * string/test-strcasestr.c (check1): Here. New function.
4232 (do_one_test): Break out result checking code into ...
4233 (check_result): This. New function.
4234 (do_one_test): Call check_result.
4235 (test_main): Call check1.
4236 * string/bug-strchr1.c (do_test): Moved to ...
4237 * string/test-strchr.c (check1): Here. New function.
4238 (do_one_test): Break out result checking code into ...
4239 (check_result): This. New function.
4240 (do_one_test): Call check_result.
4241 (test_main): Call check1.
4242 * string/bug-strstr1.c (main): Moved to ...
4243 * string/test-strchr.c (check1): Here. New function.
4244 (do_one_test): Break out result checking code into ...
4245 (check_result): This. New function.
4246 (do_one_test): Call check_result.
4247 (test_main): Call check1.
4248 * string/bug-strcasestr1.c: Removed.
4249 * string/bug-strchr1.c: Likewise.
4250 * string/bug-strstr1.c: Likewise.
4252 * elf/Makefile (dl-routines): Add hwcaps.
4253 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4254 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4255 (_dl_important_hwcaps): Moved to ...
4256 * elf/dl-hwcaps.c: Here. New file.
4257 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4260 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4261 if IS_IN_rtld isn't defined.
4263 * elf/dl-support.c (_dl_sysinfo_map): New.
4264 Include "get-dynamic-info.h" and "setup-vdso.h".
4265 (_dl_non_dynamic_init): Call setup_vdso.
4266 * elf/dynamic-link.h: Don't include <assert.h>.
4267 (elf_get_dynamic_info): Moved to ...
4268 * elf/get-dynamic-info.h: Here. New file.
4269 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4270 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4271 * elf/setup-vdso.h: Here. New file.
4272 * elf/rtld.c: Include "setup-vdso.h".
4273 (dl_main): Call setup_vdso.
4275 2012-10-05 Joseph Myers <joseph@codesourcery.com>
4277 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4278 creal in comment listing functions tested. List finite, isinf,
4279 isnan, isless, islessequal, isgreater, isgreaterequal,
4280 islessgreater, isunordered, lgamma_r and pow10 as functions and
4281 macros not tested. Mention which functions not tested are aliases
4282 for other functions. Fix typo. Note that signs of NaNs are not
4285 * scripts/config.guess: Update from config.git.
4286 * scripts/config.sub: Likewise.
4288 2012-10-04 Roland McGrath <roland@hack.frob.com>
4290 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4291 * misc/madvise.c (madvise): Renamed to __madvise.
4292 Make madvise a weak alias.
4293 * include/sys/mman.h: Declare __madvise.
4294 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4295 * sysdeps/unix/syscalls.list
4296 (madvise): Make __madvise the strong name, and madvise a weak alias.
4297 * sysdeps/unix/sysv/linux/syscalls.list
4298 (madvise, mmap): Remove redundant entries.
4299 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4300 * malloc/malloc.c (mtrim): Likewise.
4301 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4303 2012-10-03 Roland McGrath <roland@hack.frob.com>
4305 * sysdeps/mach/hurd/dl-cache.c: File removed.
4306 * config.h.in (USE_LDCONFIG): New #undef.
4307 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4308 * configure: Regenerated.
4309 * elf/Makefile (dl-routines): Add dl-cache only under
4310 [$(use-ldconfig) = yes].
4311 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4312 cache on [USE_LDCONFIG].
4313 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4315 * elf/rtld.c (dl_main): Likewise.
4317 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4319 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4320 _SC_LEVEL4_CACHE_LINESIZE.
4322 2012-10-03 Roland McGrath <roland@hack.frob.com>
4324 * sysdeps/unix/bsd/confstr.h: File removed.
4326 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
4328 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4331 2012-10-02 Roland McGrath <roland@hack.frob.com>
4333 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4334 Make 'mapoff' field ElfW(Off) rather than off_t.
4336 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4338 * nscd/Makefile: Remove nscd-cflags and all its users.
4339 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4340 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4343 * malloc.c (malloc_printerr): Clarify error message.
4345 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4349 Set bit_FMA_Usable if FMA is supported.
4350 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4352 (bit_FMA4_Usable): Updated.
4353 (index_FMA_Usable): New macro.
4354 (CPUID_FMA): Likewise
4355 (HAS_FMA): Defined with bit_FMA_Usable.
4357 2012-10-01 Roland McGrath <roland@hack.frob.com>
4359 * bits/types.h (__swblk_t): Type removed.
4360 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4361 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4363 (__SWBLK_T_TYPE): Likewise.
4364 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4365 (__SWBLK_T_TYPE): Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4367 (__SWBLK_T_TYPE): Likewise.
4368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4369 (__SWBLK_T_TYPE): Likewise.
4371 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
4372 Honza Horak <hhorak@redhat.com>
4374 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4375 (xdr_mapname): Use YPMAXMAP as maxsize.
4376 (xdr_peername): Use YPMAXPEER as maxsize.
4377 (xdr_keydat): Use YPAXRECORD as maxsize.
4378 (xdr_valdat): Use YPMAXRECORD as maxsize.
4380 2012-10-01 Roland McGrath <roland@hack.frob.com>
4382 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4384 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4385 * csu/init-first.c: ... here.
4386 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4387 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4388 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4389 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4390 * sysdeps/i386/init-first.c: File removed.
4391 * sysdeps/sh/init-first.c: File removed.
4393 2012-10-01 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4397 if x * y might underflow to zero and z is zero.
4398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4400 * math/libm-test.inc (min_subnorm_value): New variable.
4401 (fma_test): Add more tests.
4402 (fma_test_towardzero): Likewise.
4403 (fma_test_downward): Likewise
4404 (fma_test_upward): Likewise.
4405 (initialize): Set min_subnorm_value.
4407 2012-09-29 Joseph Myers <joseph@codesourcery.com>
4410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4413 mode for addition resulting in exact zero.
4414 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4417 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4419 * math/libm-test.inc (fma_test): Add more tests.
4420 (fma_test_towardzero): New function.
4421 (fma_test_downward): Likewise.
4422 (fma_test_upward): Likewise.
4423 (main): Call the new functions.
4425 2012-09-28 David S. Miller <davem@davemloft.net>
4427 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4429 2012-09-28 Roland McGrath <roland@hack.frob.com>
4431 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4434 * sysdeps/gnu/_G_config.h: Moved to ...
4435 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4436 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4437 * sysdeps/generic/_G_config.h: ... here.
4439 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4441 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4443 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4444 Conditionalize target on [libnss_test1.so-version].
4446 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4448 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4449 (elfobjdir): Move out of conditionals.
4451 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4452 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4453 (__nss_lookup_function): Conditionalize label remove_from_tree on
4454 [!DO_STATIC_NSS || SHARED], matching its only use.
4456 2012-09-28 David S. Miller <davem@davemloft.net>
4458 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4459 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4461 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4463 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4465 when HWCAP_SPARC_CRYPTO is present.
4467 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4469 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4471 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4474 * stdio-common/vfprintf.c (process_string_arg): Revert
4477 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4479 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4481 * stdio-common/tst-sprintf.c: Include <locale.h>
4482 (main): Test sprintf's handling of incomplete multibyte
4485 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4487 * elf/dl-runtime.c (VERSYMIDX): Removed.
4488 * elf/dl-version.c (VERSYMIDX): Likewise.
4489 * elf/do-rel.h (VERSYMIDX): Likewise.
4491 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4492 * elf/rtld.c (VALIDX): Likewise.
4493 (ADDRIDX): Likewise.
4494 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4495 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4496 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4497 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4499 (ADDRIDX): Likewise.
4501 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4503 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4505 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4508 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4510 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4511 addresses are in the same scope as 192.0.2/24.
4512 * posix/gai.conf: Document new scope table defaults.
4514 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4517 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4518 for ftell. Compute offsets from write pointers instead.
4519 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4521 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4524 * libio/Makefile (tests): New test case tst-fseek.
4525 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4526 combination works in wide mode.
4527 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4528 state when the external buffer state changes.
4530 2012-09-27 David S. Miller <davem@davemloft.net>
4533 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4534 pass reloc->r_addend in as the 'high' argument to
4535 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4539 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4541 * rt/tst-aio2.c: Include <pthread.h>.
4542 * rt/tst-aio3.c: Likewise.
4544 2012-09-27 Steve Ellcey <sellcey@mips.com>
4546 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4548 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4550 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4551 contents on [SHARED].
4553 2012-09-26 Marek Polacek <polacek@redhat.com>
4557 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4558 for C++ and GCC <4.3 as well as for non GCC compilers.
4560 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4564 2012-09-25 Roland McGrath <roland@hack.frob.com>
4566 * Makefile.in (all, install): Declare with .PHONY.
4567 Reported by Michael Hope <michael.hope@linaro.org>.
4569 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4571 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4572 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4574 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4576 (sydep_routines): Add the new and the internal functions.
4577 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4578 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4580 (GLIBC_2.17): Add the new function.
4581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4582 (GLIBC_2.17): Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4584 (GLIBC_2.17): Likewise.
4585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4586 (GLIBC_2.17): Likewise.
4587 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4589 2012-09-25 Alan Modra <amodra@gmail.com>
4591 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4592 Add release barrier before setting once_control to say
4593 initialisation is done. Add hints on lwarx. Use macro in
4595 (clear_once_control): Add release barrier.
4597 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4600 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4602 * math/s_clog10.c (__clog10): Likewise.
4603 * math/s_clog10f.c (__clog10f): Likewise.
4604 * math/s_clog10l.c (__clog10l): Likewise.
4605 * math/s_clogf.c (__clogf): Likewise.
4606 * math/s_clogl.c (__clogl): Likewise.
4607 * math/Makefile (libm-calls): Add x2y2m1.
4608 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4609 (__x2y2m1): Likewise.
4610 (__x2y2m1l): Likewise.
4611 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4612 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4613 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4615 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4616 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4617 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4618 * sysdeps/i386/fpu/libm-test-ulps: Update.
4619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4622 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4623 int as type of variable DEPTH.
4624 (glob): Use size_t instead of int as type of variables NEWCOUNT
4627 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4629 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4631 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4632 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4633 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4634 macros for using routine as __sincosf_ia32.
4635 Use macro for function declaration and weak_alias.
4636 * sysdeps/i386/fpu/libm-test-ulps: Update.
4638 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4641 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4643 * math/s_cexpf.c (__cexpf): Likewise.
4644 * math/s_csinf.c (__csinf): Likewise.
4645 * math/s_csinhf.c (__csinhf): Likewise.
4646 * math/s_ctanf.c (__ctanf): Likewise.
4647 * math/s_ctanhf.c (__ctanhf): Likewise.
4648 * math/s_ccosh.c (__ccoshf): Likewise.
4649 * math/s_cexp.c (__cexpl): Likewise.
4650 * math/s_csin.c (__csin): Likewise.
4651 * math/s_csinh.c (__csinh): Likewise.
4652 * math/s_ctan.c (__ctan): Likewise.
4653 * math/s_ctanh.c (ctanh): Likewise.
4654 * math/s_ccoshl.c (__ccoshl): Likewise.
4655 * math/s_cexpl.c (__cexpl): Likewise.
4656 * math/s_csinl.c (__csinl): Likewise.
4657 * math/s_csinhl.c (__csinhl): Likewise.
4658 * math/s_ctanl.c (__ctanl): Likewise.
4659 * math/s_ctanhl.c (__ctanhl): Likewise.
4661 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4663 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4664 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4665 (_IO_off_t): Define to __off_t, not _G_off_t.
4666 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4667 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4668 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4669 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4670 type of __dummy and __dummy2 fields.
4671 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4672 (_G_ssize_t): Likewise.
4673 (_G_off_t): Likewise.
4674 (_G_pid_t): Likewise.
4675 (_G_uid_t): Likewise.
4676 (_G_wchar_t): Likewise.
4677 (_G_wint_t): Likewise.
4678 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4679 (_G_ssize_t): Likewise.
4680 (_G_off_t): Likewise.
4681 (_G_pid_t): Likewise.
4682 (_G_uid_t): Likewise.
4683 (_G_wchar_t): Likewise.
4684 (_G_wint_t): Likewise.
4685 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4686 (_G_ssize_t): Likewise.
4687 (_G_off_t): Likewise.
4688 (_G_pid_t): Likewise.
4689 (_G_uid_t): Likewise.
4690 (_G_wchar_t): Likewise.
4691 (_G_wint_t): Likewise.
4693 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4695 * malloc/arena.c: Include malloc-sysdep.h.
4696 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4697 is sufficient to shrink the heap or an unmap is needed.
4698 * sysdeps/generic/malloc-sysdep.h: New file. Define
4699 new function check_may_shrink_heap.
4700 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4701 new function check_may_shrink_heap.
4703 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4705 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4708 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4710 * catgets/test-gencat.sh: Add "set -e".
4711 * elf/tst-pathopt.sh: Likewise.
4712 * grp/tst_fgetgrent.sh: Likewise.
4713 * iconvdata/run-iconv-test.sh: Likewise.
4714 * intl/tst-gettext.sh: Likewise.
4715 * intl/tst-gettext2.sh: Likewise.
4716 * intl/tst-gettext4.sh: Likewise.
4717 * intl/tst-gettext6.sh: Likewise.
4718 * intl/tst-translit.sh: Likewise.
4719 * io/ftwtest-sh: Likewise.
4720 * libio/test-freopen.sh: Likewise.
4721 * malloc/tst-mtrace.sh: Likewise.
4722 * posix/globtest.sh: Likewise.
4723 * posix/tst-getconf.sh: Likewise.
4724 * posix/wordexp-tst.sh: Likewise.
4725 * stdio-common/tst-printf.sh: Likewise.
4726 * stdio-common/tst-unbputc.sh: Likewise.
4727 * stdlib/tst-fmtmsg.sh: Likewise.
4728 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4729 * catgets/Makefile: Do not specify -e option when running
4730 testsuite shell scripts.
4731 * elf/Makefile: Likewise.
4732 * grp/Makefile: Likewise.
4733 * iconvdata/Makefile: Likewise.
4734 * intl/Makefile: Likewise.
4735 * io/Makefile: Likewise.
4736 * libio/Makefile: Likewise.
4737 * malloc/Makefile: Likewise.
4738 * posix/Makefile: Likewise.
4739 * stdio-common/Makefile: Likewise.
4740 * stdlib/Makefile: Likewise.
4741 * sysdeps/x86_64/Makefile: Likewise.
4743 * io/ftwtest-sh: Add copyright header.
4744 * posix/globtest.sh: Likewise.
4745 * posix/tst-getconf.sh: Likewise.
4746 * posix/wordexp-tst.sh: Likewise.
4747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4749 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4752 * Makeconfig (+link): Defined as $(+link-static) if
4753 $(build-shared) isn't yes.
4754 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4756 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4758 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4761 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4762 new chunk size with MALLOC_ALIGN_MASK.
4764 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4767 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4769 (__printf_fphex): Determine rounding using get_rounding_mode and
4771 * stdio-common/tst-printf-round.c (struct hex_test): New
4773 (hex_tests): New variable.
4774 (test_hex_in_one_mode): New function.
4775 (do_test): Also run tests for hex float output.
4777 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4779 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4780 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4781 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4782 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4783 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4784 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4785 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4786 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4788 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4790 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4791 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4792 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4793 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4795 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4798 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4800 * elf/tst-rtld-load-self.sh: New test.
4801 * elf/Makefile: Run it.
4803 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4805 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4806 (tst-writev-ENV): Remove.
4807 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4809 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4811 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4813 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4815 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4817 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4819 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4820 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4821 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4824 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4827 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4828 * config.make.in (have-cpp-asm-debuginfo): Removed.
4829 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4830 * configure: Regenerated.
4832 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4835 * stdio-common/printf_fp.c: Include <stdbool.h> and
4837 (___printf_fp): Determine rounding using get_rounding_mode and
4839 * stdio-common/tst-printf-round.c: New file.
4840 * stdio-common/Makefile (tests): Add tst-printf-round.
4841 (link-libm): New variable.
4842 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4844 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4847 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4848 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4850 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4853 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4855 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4856 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4857 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4860 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4863 * include/rounding-mode.h: New file.
4864 * sysdeps/generic/get-rounding-mode.h: Likewise.
4865 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4866 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4867 (MAX_VALUE): New macro.
4868 (MIN_VALUE): Likewise.
4869 (overflow_value): New function.
4870 (underflow_value): Likewise.
4871 (round_and_return): Use overflow_value and underflow_value to
4872 determine return values in overflow and underflow cases. Use
4873 round_away to determine rounding depending on rounding mode.
4874 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4875 determine return values in overflow and underflow cases.
4876 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4877 (struct test_results): New structure.
4878 (struct test): Use struct test_results to store expected results
4879 for all rounding modes.
4880 (TEST): Include expected results for all rounding modes.
4881 (test_in_one_mode): New function.
4882 (do_test): Use test_in_one_mode to compute and check results.
4883 Check results for all rounding modes.
4884 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4887 2012-12-09 Allan McRae <allan@archlinux.org>
4889 * sysdeps/i386/fpu/libm-test-ulps: Update
4891 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4893 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4894 (_G_int32_t): Likewise.
4895 (_G_uint16_t): Likewise.
4896 (_G_uint32_t): Likewise.
4897 (_G_HAVE_BOOL): Likewise.
4898 (_G_HAVE_ATEXIT): Likewise.
4899 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4900 (_G_HAVE_IO_FILE_OPEN): Likewise.
4901 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4902 (_G_int32_t): Likewise.
4903 (_G_uint16_t): Likewise.
4904 (_G_uint32_t): Likewise.
4905 (_G_HAVE_BOOL): Likewise.
4906 (_G_HAVE_ATEXIT): Likewise.
4907 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4908 (_G_HAVE_IO_FILE_OPEN): Likewise.
4909 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4910 (_G_int32_t): Likewise.
4911 (_G_uint16_t): Likewise.
4912 (_G_uint32_t): Likewise.
4913 (_G_HAVE_BOOL): Likewise.
4914 (_G_HAVE_ATEXIT): Likewise.
4915 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4916 (_G_HAVE_IO_FILE_OPEN): Likewise.
4918 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4920 * csu/libc-tls.c: Update copyright years.
4922 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4924 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4925 [!_G_USING_THUNKS]: Remove conditional code.
4926 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4927 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4929 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4930 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4931 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4932 (_G_VTABLE_LABEL_PREFIX): Likewise.
4933 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4934 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4935 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4936 (_G_VTABLE_LABEL_PREFIX): Likewise.
4937 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4938 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4939 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4940 (_G_VTABLE_LABEL_PREFIX): Likewise.
4941 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4943 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4945 * libio/Makefile: Include ../Makeconfig before tests.
4946 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4947 only if $(build-shared) is yes.
4949 * iconv/gconv_db.c: Update copyright years.
4951 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4953 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4954 unwind info if defined PIC. Fix special cases description.
4955 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4957 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4959 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4961 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4963 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4965 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4968 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4969 (LDLIBS-tst-chk4): This.
4970 (LDFLAGS-tst-chk5): Renamed to ...
4971 (LDLIBS-tst-chk5): This.
4972 (LDFLAGS-tst-chk6): Renamed to ...
4973 (LDLIBS-tst-chk6): This.
4974 (LDFLAGS-tst-lfschk4): Renamed to ...
4975 (LDLIBS-tst-lfschk4): This.
4976 (LDFLAGS-tst-lfschk5): Renamed to ...
4977 (LDLIBS-tst-lfschk5): This.
4978 (LDFLAGS-tst-lfschk6): Renamed to ...
4979 (LDLIBS-tst-lfschk6): This.
4981 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4982 on $(common-objpfx)soversions.mk.
4984 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4987 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4990 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4992 * malloc/arena.c (arena_get_retry): New function that gets
4993 another arena for the caller to try its request on.
4994 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4995 current arena cannot fulfill the request.
4996 (__libc_memalign): Likewise.
4997 (__libc_memalign): Likewise.
4998 (__libc_pvalloc): Likewise.
4999 (__libc_calloc): Likewise.
5001 2012-09-05 John Tobey <john.tobey@gmail.com>
5004 * manual/arith.texi (Operations on Complex): Fix description
5007 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5010 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5014 * manual/memory.texi (Memory): Make order of menu items match
5017 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5019 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5020 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5021 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5023 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5025 * csu/libc-tls.c (static_dtv): Renamed to ...
5026 (_dl_static_dtv): This. Make it global.
5027 (_dl_initial_dtv): Removed.
5028 (__libc_setup_tls): Updated.
5029 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5030 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5033 2012-09-06 Petr Machata <pmachata@redhat.com>
5035 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5036 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5037 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5038 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5040 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5043 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5044 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5047 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5050 * Makeconfig (link-static-before-libc): Replace $(+prector)
5052 (link-static-after-libc): Replace $(+postctor) with
5054 (link-bounded): Replace $(+prector)/$(+postctor) with
5055 $(+prectorT)/$(+postctorT).
5056 (+prectorT): New macro.
5057 (+postctorT): Likewise.
5059 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5061 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5062 (round_str): Handle values above the maximum for IBM long double
5064 * stdlib/tst-strtod-round.c (tests): Regenerated.
5066 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5068 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5070 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5071 zarch_nohighgprs around the zarch optimized routines.
5072 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5073 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5077 2012-09-05 David S. Miller <davem@davemloft.net>
5079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5081 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5082 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5083 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5084 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5089 * malloc/arena.c: Fold copyright years.
5090 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5092 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5094 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5096 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5098 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5100 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5102 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5103 change internal state upon failure.
5105 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5107 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5108 * malloc/memusage.c (mmap): Likewise.
5109 (mmap64, mremap): Likewise. Adjust name in comment.
5111 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5113 * libio/fileops.c: Fix typos in comments.
5114 * libio/oldfileops.c: Likewise.
5115 * libio/wfileops.c: Likewise.
5117 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5120 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5121 (tst-malloc-usable-ENV): Set environment for test case.
5122 * malloc/hooks.c (malloc_check_get_size): New function to get
5124 * malloc/malloc.c (musable): Use malloc_check_get_size.
5125 * malloc/tst-malloc-usable.c: New test case.
5127 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5129 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5131 2012-09-05 Allan McRae <allan@archlinux.org>
5134 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5135 determine header location.
5136 * configure: Regenerated.
5138 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5140 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5142 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5143 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5147 2012-09-04 David S. Miller <davem@davemloft.net>
5149 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5150 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5151 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5153 2012-09-04 Florian Weimer <fweimer@redhat.com>
5155 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5158 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5160 2012-09-04 Joseph Myers <joseph@codesourcery.com>
5163 * libio/iogetdelim.c: Include <limits.h>.
5164 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5165 + len + 1 would overflow.
5167 2012-09-03 Andreas Jaeger <aj@suse.de>
5169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5170 * sysdeps/i386/fpu/libm-test-ulps: Update.
5172 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5174 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5175 Add s_sinf-sse2, s_conf-sse2.
5177 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5178 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5179 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5180 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5182 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5183 for using routine as __sinf_ia32.
5184 Use macro for function declaration and weak_alias.
5185 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5186 for using routine as __cosf_ia32.
5187 Use macro for function declaration and weak_alias.
5189 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5190 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5192 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5193 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5196 * math/libm-test.inc (cos_test): Add more test cases.
5197 (sin_test): Likewise.
5198 (sincos_test): Likewise.
5200 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5202 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5203 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5205 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5207 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5210 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5211 first element of the GOT.
5212 (elf_machine_load_address): Return the difference between
5213 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5215 2012-09-01 Allan McRae <allan@archlinux.org>
5218 * configure.in (AWK): Require gawk version 3.0 or later.
5219 * configure: Regenerated.
5221 2012-09-01 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/unix/sysv/linux/kernel-features.h
5224 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5225 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5226 [__NR_clock_getres]: Make code unconditional.
5227 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5228 (clock_getcpuclockid): Remove code left unreachable by removal of
5230 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5232 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5233 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5234 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5235 Make code unconditional.
5236 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5237 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5238 * sysdeps/unix/sysv/linux/clock_settime.c
5239 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5241 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5242 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5244 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5247 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5248 scripts/test-installation.pl.
5250 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5251 and $ld_so_version if it is set.
5253 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5256 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5257 failure if reading from procfs failed.
5258 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5260 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5262 * sysdeps/unix/sysv/linux/kernel-features.h
5263 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5264 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5265 Remove conditional code.
5266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5267 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5268 Remove conditional code.
5269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5270 * sysdeps/unix/sysv/linux/i386/fxstat.c
5271 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5273 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5274 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5276 * sysdeps/unix/sysv/linux/i386/lxstat.c
5277 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5279 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5280 Remove conditional code.
5281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5282 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5283 Remove conditional code.
5284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5286 <kernel-features.h>.
5287 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5289 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5290 Remove conditional code.
5291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5292 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5295 2012-08-27 Mike Frysinger <vapier@gentoo.org>
5298 * NEWS: Add fixed bug number.
5300 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5303 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5304 underflowing exponent in case of negative sign.
5305 * stdlib/tst-strtod-round-data: Add more tests.
5306 * stdlib/tst-strtod-round.c (tests): Regenerated.
5309 * stdlib/strtod_l.c (NDIG): Remove.
5310 (HEXNDIG): Likewise.
5311 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5312 smallest representable value.
5313 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5314 lie within an exact representation of 1/2 ulp of the result.
5315 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5317 (TENS_P9_IDX): Define unconditionally.
5318 (TENS_P9_SIZE): Likewise.
5319 (TENS_P10_IDX): Likewise.
5320 (TENS_P10_SIZE): Likewise.
5321 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5322 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5323 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5324 entries for 10^2^13 and 10^2^14.
5325 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5326 (TENS_P13_IDX): Define.
5327 (TENS_P13_SIZE): Likewise.
5328 (TENS_P14_IDX): Likewise.
5329 (TENS_P14_SIZE): Likewise.
5330 (_fpioconst_pow10): Change array size to
5331 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5333 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5334 1024]: Add entries for 10^2^13 and 10^2^14.
5335 [LAST_POW10 > _LAST_POW10]: Remove #error.
5336 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5337 (_fpioconst_pow10): Change array size to
5338 FPIOCONST_POW10_ARRAY_SIZE.
5339 * stdlib/gen-fpioconst.c: New file.
5340 * stdlib/gen-tst-strtod-round.c: Likewise.
5341 * stdlib/tst-strtod-round-data: Likewise.
5342 * stdlib/tst-strtod-round.c: Likewise.
5343 * stdlib/Makefile (tests): Add tst-strtod-round.
5346 * stdlib/strtod_l.c: Include <stdint.h>.
5347 (NDEBUG): Do not define.
5348 (round_and_return): Change EXPONENT parameter to type intmax_t.
5349 Rearrange calculations to avoid internal overflow possibilities.
5350 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5351 Rearrange calculations to avoid internal overflow possibilities.
5352 Assert that number fits inside MPNSIZE limbs.
5353 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5354 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5355 calculations and add assertions to avoid internal overflow
5356 possibilities. Add casts to avoid signed/unsigned operations.
5357 * stdlib/tst-strtod-overflow.c: New file.
5358 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5360 2012-08-25 Marek Polacek <polacek@redhat.com>
5362 * time/time.h: Fix some typos in comments.
5364 2012-08-23 Roland McGrath <roland@hack.frob.com>
5366 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5367 * posix/tst-rfc3484-2.c: Likewise.
5368 * posix/tst-rfc3484-3.c: Likewise.
5370 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5372 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5373 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5375 2012-08-23 Joseph Myers <joseph@codesourcery.com>
5377 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5378 #include of fxstatat64.c.
5380 2012-08-22 Roland McGrath <roland@hack.frob.com>
5382 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5383 * shadow/getspent_r.c: Likewise.
5384 * shadow/getspnam.c: Likewise.
5385 * shadow/getspnam_r.c: Likewise.
5386 * gshadow/getsgent.c: Likewise.
5387 * gshadow/getsgent_r.c: Likewise.
5388 * gshadow/getsgnam.c: Likewise.
5389 * gshadow/getsgnam_r.c: Likewise.
5390 * inet/getnetbyad.c: Likewise.
5391 * inet/getnetbyad_r.c: Likewise.
5392 * inet/getnetbynm.c: Likewise.
5393 * inet/getnetbynm_r.c: Likewise.
5394 * inet/getnetent.c: Likewise.
5395 * inet/getnetent_r.c: Likewise.
5396 * inet/getproto.c: Likewise.
5397 * inet/getproto_r.c: Likewise.
5398 * inet/getprtent.c: Likewise.
5399 * inet/getprtent_r.c: Likewise.
5400 * inet/getprtname.c: Likewise.
5401 * inet/getprtname_r.c: Likewise.
5402 * inet/getrpcbyname.c: Likewise.
5403 * inet/getrpcbyname_r.c: Likewise.
5404 * inet/getrpcbynumber.c: Likewise.
5405 * inet/getrpcbynumber_r.c: Likewise.
5406 * inet/getrpcent.c: Likewise.
5407 * inet/getrpcent_r.c: Likewise.
5408 * inet/getaliasent.c: Likewise.
5409 * inet/getaliasent_r.c: Likewise.
5410 * inet/getaliasname.c: Likewise.
5411 * inet/getaliasname_r.c: Likewise.
5412 * nscd/getgrgid_r.c: Likewise.
5413 * nscd/getgrnam_r.c: Likewise.
5414 * nscd/gethstbyad_r.c: Likewise.
5415 * nscd/gethstbynm3_r.c: Likewise.
5416 * nscd/getpwnam_r.c: Likewise.
5417 * nscd/getpwuid_r.c: Likewise.
5418 * nscd/getsrvbynm_r.c: Likewise.
5419 * nscd/getsrvbypt_r.c: Likewise.
5420 * nscd/gai.c: Likewise.
5422 * configure.in (build_nscd): New substituted variable, set
5423 by --disable-build-nscd and defaults to $use_nscd.
5424 * configure: Regenerated.
5425 * config.make.in (build-nscd): New substituted variable.
5426 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5427 Change conditional to require [$(build-nscd) = yes] as well.
5428 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5431 * configure.in (use_nscd): New substituted variable, set by
5432 --disable-nscd. If enabled, define USE_NSCD.
5433 * configure: Regenerated.
5434 * config.h.in: Add USE_NSCD.
5435 * config.make.in (use-nscd): New substituted variable.
5436 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5437 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5438 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5439 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5440 (CFLAGS-getgrnam_r.c): Likewise.
5441 (CFLAGS-initgroups.c): Likewise.
5442 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5443 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5445 * inet/getnetgrent_r.c
5446 (nscd_setnetgrent): New function, broken out of ...
5447 (setnetgrent): ... here. Call it.
5448 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5449 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5450 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5451 * nscd/Makefile (routines, aux): Move definitions after include of
5452 Makeconfig. Conditionalize on [$(use-nscd) != no].
5453 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5454 Conditionalize on [USE_NSCD].
5455 (is_nscd, nscd_init_cb): Likewise.
5456 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5457 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5458 * nss/nss_db/db-init.c: Likewise.
5459 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5461 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5462 (make_request): Use it.
5463 (cache_valid_p): New function.
5464 (__check_pf): Use it.
5465 * NEWS: Add item for --disable-nscd.
5467 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5469 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5470 to support sed >= 4.2.1-20-ga9bf076.
5471 * configure: Regenerated.
5473 2012-08-22 Roland McGrath <roland@hack.frob.com>
5475 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5476 Conditionalize whole body on [IREL].
5478 2012-08-22 Jeff Law <law@redhat.com>
5481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5482 if the family is PF_UNSPEC.
5484 2012-08-22 Mike Frysinger <vapier@gentoo.org>
5486 * Makerules (lib-version): Rename from V.
5487 (install-lib-nosubdir): Change V to lib-version.
5489 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5492 * powerpc32/power6/wcschr.c: New file.
5493 * powerpc32/power6/wcscpy.c: New file.
5494 * powerpc32/power6/wcsrchr.c: New file.
5495 * powerpc64/power6/wcschr.c: New file.
5496 * powerpc64/power6/wcscpy.c: New file.
5497 * powerpc64/power6/wcsrchr.c: New file.
5499 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5501 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5502 (two_way_short_needle): Use it.
5503 * string/strstr.c (AVAILABLE1_USES_J): Define.
5504 * string/strcasestr.c: Likewise.
5506 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5508 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5511 * NEWS: Add an entry.
5512 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5513 define their defaults.
5514 (two_way_short_needle): Detect end-of-string on-the-fly.
5515 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5516 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5517 * string/bug-strcasestr1.c: New test.
5518 * string/Makefile: Run it.
5520 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5523 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5524 the first character.
5526 2012-08-21 Roland McGrath <roland@hack.frob.com>
5528 * csu/elf-init.c (__libc_csu_irel): Function removed.
5529 * csu/libc-start.c (apply_irel): New function.
5530 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5532 2012-08-21 Joseph Myers <joseph@codesourcery.com>
5534 * sysdeps/unix/sysv/linux/kernel-features.h
5535 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5536 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5537 <kernel-features.h>.
5538 [__NR_fadvise64_64]: Make code unconditional.
5539 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5540 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5541 !__NR_fadvise64_64)]: Likewise.
5542 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5543 !__NR_fadvise64_64))]: Likewise.
5544 [__NR_fadvise64]: Make code unconditional.
5545 [!__NR_fadvise64]: Remove conditional code.
5546 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5547 <kernel-features.h>.
5548 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5550 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5553 not include <kernel-features.h>.
5554 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5556 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5558 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5559 include <kernel-features.h>.
5560 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5562 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5565 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5567 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5568 slight instruction rearrangements per scrollpipe analysis.
5569 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5571 2012-08-20 Roland McGrath <roland@hack.frob.com>
5573 * manual/syslog.texi (syslog; vsyslog, closelog):
5574 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5575 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5577 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5578 DSOCAPS to match condition on defining it.
5580 2012-08-20 Joseph Myers <joseph@codesourcery.com>
5582 * sysdeps/unix/sysv/linux/kernel-features.h
5583 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5585 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5586 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5588 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5589 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5591 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5592 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5594 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5595 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5597 * sysdeps/unix/sysv/linux/kernel-features.h
5598 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5599 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5601 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5602 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5603 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5604 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5605 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5606 Make code unconditional.
5607 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5608 (__mmap64) [!__NR_mmap2]: Likewise.
5609 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5610 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5611 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5612 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5613 [__NR_mmap2]: Make code unconditional.
5614 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5615 (__mmap64) [!__NR_mmap2]: Likewise.
5617 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5619 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5621 2012-08-18 Andreas Jaeger <aj@suse.de>
5623 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5625 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5627 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5628 * include/unistd.h (__have_sock_cloexec): Likewise.
5629 (__have_pipe2): Likewise.
5630 (__have_dup3): Likewise.
5632 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5635 * include/unistd.h (__have_pipe2): Change define into an extern int.
5636 (__have_dup3): Likewise.
5637 * socket/have_sock_cloexec.c: Include fcntl.h.
5638 (__have_pipe2): New variable.
5639 (__have_dup3): Likewise.
5641 2012-08-17 Mike Frysinger <vapier@gentoo.org>
5643 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5645 2012-08-17 Marek Polacek <polacek@redhat.com>
5647 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5648 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5650 2012-08-17 Roland McGrath <roland@hack.frob.com>
5652 * configure.in: Add AC_SUBST for sysheaders.
5653 * configure: Regenerated.
5654 * config.make.in (sysheaders): New substituted variable.
5656 * sysdeps/unix/mkfifo.c: Moved ...
5657 * sysdeps/posix/mkfifo.c: ... here.
5658 * sysdeps/unix/mkfifoat.c: Moved ...
5659 * sysdeps/posix/mkfifoat.c: ... here.
5661 * sysdeps/unix/utime.c: Moved ...
5662 * sysdeps/posix/utime.c: ... here.
5664 * sysdeps/unix/time.c: Moved ...
5665 * sysdeps/posix/time.c: ... here.
5666 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5667 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5669 * sysdeps/unix/nice.c: Moved ...
5670 * sysdeps/posix/nice.c: ... here.
5672 * sysdeps/unix/alarm.c: Moved ...
5673 * sysdeps/posix/alarm.c: ... here.
5675 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5677 2012-08-17 Jeff Law <law@redhat.com>
5679 * intl/Makefile (codeset_mo): New variable.
5680 ($(codeset_mo)): New target.
5681 (tst-codeset.out): Depend on that. Remove explicit rule.
5682 (tst-gettext3.out, tst-gettext5.out): Likewise.
5683 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5684 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5685 * intl/tst-codeset.sh: Remove.
5686 * intl/tst-gettext3.sh: Likewise.
5687 * intl/tst-gettext5.sh: Likewise.
5689 2012-08-17 Roland McGrath <roland@hack.frob.com>
5691 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5692 * sysdeps/unix/syscalls.list: ... here.
5694 * sysdeps/posix/getaddrinfo.c
5695 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5696 (gaiconf_init, gaiconf_reload): Use them.
5698 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5699 Define using time_t rather than struct timespec.
5701 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5702 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5704 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5706 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5707 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5710 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5711 __libc_cleanup_push argument.
5713 * bits/param.h: New file.
5714 * misc/sys/param.h: New file.
5715 * include/sys/param.h: New file.
5716 * misc/Makefile (headers): Add bits/param.h.
5717 * sysdeps/generic/sys/param.h: File removed.
5718 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5719 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5720 * sysdeps/mach/hurd/bits/param.h: New file.
5721 * sysdeps/mach/hurd/sys/param.h: File removed.
5723 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5726 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5728 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5729 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5732 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5733 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5734 rather than -D_IO_MTSAFE_IO conditionally.
5735 * stdio-common/Makefile (CPPFLAGS): Likewise.
5736 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5737 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5738 Use $(libio-mtsafe).
5739 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5741 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5742 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5743 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5744 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5745 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5746 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5747 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5748 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5749 (CFLAGS-fread_u_chk.c): Likewise.
5750 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5751 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5752 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5753 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5754 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5755 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5756 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5757 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5758 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5760 * libio/Makefile: Test [$(libc-reentrant) = yes]
5761 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5764 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5765 * sysdeps/pthread/configure: File removed.
5766 * sysdeps/pthread/Makeconfig: New file.
5767 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5768 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5770 2012-08-16 Gary Benson <gbenson@redhat.com>
5772 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5773 unmapping the first object in a namespace.
5775 2012-08-16 Roland McGrath <roland@hack.frob.com>
5777 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5778 (__internal_setnetgrent): ... this. Add internal_function to
5779 definition. Add libc_hidden_def.
5780 (setnetgrent): Update caller.
5781 (internal_endnetgrent): Renamed to ...
5782 (__internal_endnetgrent): ... this. Add internal_function to
5783 definition. Add libc_hidden_def.
5784 (endnetgrent): Update caller.
5785 (internal_getnetgrent_r): Renamed to ...
5786 (__internal_getnetgrent_r): ... this. Add internal_function to
5787 definition. Add libc_hidden_def.
5788 (__getnetgrent_r): Update caller.
5789 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5791 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5793 * stdlib/longlong.h: Update from GCC.
5795 2012-08-16 Roland McGrath <roland@hack.frob.com>
5797 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5798 on _QL, which is set by umul_ppmm but never used.
5799 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5800 variables, which are set by GMP macros but never used.
5801 * stdio-common/_itowa.c (_itowa): Likewise.
5802 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5803 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5805 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5807 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5808 struct La_sh_regs is not constant.
5809 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5810 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5811 and struct La_sparc64_regs are not constant.
5813 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5815 * sysdeps/unix/sysv/linux/kernel-features.h
5816 (__ASSUME_POSIX_TIMERS): Remove.
5817 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5818 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5819 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5820 Make code unconditional.
5821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5822 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5823 Make code unconditional.
5824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5825 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5826 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5828 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5829 Make code unconditional.
5830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5831 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5832 (__libc_missing_posix_timers): Remove.
5834 2012-08-15 Roland McGrath <roland@hack.frob.com>
5836 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5837 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5839 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5841 * elf/dl-sym.c: Include <stdlib.h>.
5843 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5844 constants, which avoids warnings in 32-bit builds.
5846 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5847 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5849 * misc/lseek.c: File moved to ...
5850 * io/lseek.c: ... here.
5852 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5854 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5855 shifting LEN more than 31 bits at once.
5857 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5860 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5861 segmentation fault for a case of two empty input strings.
5862 * string/test-strncasecmp.c (check1): Renamed to...
5864 (bz14195): Add new testcase for two empty input strings and N > 0.
5865 (test_main): Call new testcase, adapt for renamed function.
5867 2012-08-15 Andreas Jaeger <aj@suse.de>
5870 * crypt/md5test2.c: New test, based on test supplied by Serge
5871 Belyshev <belyshev@depni.sinp.msu.ru>.
5872 * crypt/Makefile (xtests): Add md5test-giant..
5873 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5875 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5878 * crypt/md5.c (md5_process_block): Don't assume the buffer
5879 length is less than 2**32.
5880 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5881 length is less than 2**64.
5883 2012-08-15 Roland McGrath <roland@hack.frob.com>
5885 * string/str-two-way.h: Include <sys/param.h>.
5886 (MAX): Macro removed.
5888 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5889 Move #define and #undef of memmove to just before and after
5890 including <string.h>.
5892 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5893 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5894 and after including <string.h>. Move declarations of
5895 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5896 to before #include "string/memmove.c".
5898 * include/dirent.h: Declare __getdirentries.
5900 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5901 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5903 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5905 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5906 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5907 * sysdeps/i386/configure: Regenerated.
5908 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5909 STABS_CURRENT_FILE, and STABS_FUN.
5910 (END): Remove call to STABS_FUN_END.
5911 (STABS_CURRENT_FILE1): Delete.
5912 (STABS_CURRENT_FILE): Likewise.
5913 (STABS_FUN): Likewise.
5914 (STABS_FUN_END): Likewise.
5915 (STABS_FUN2): Likewise.
5916 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5917 * sysdeps/x86_64/configure: Regenerated.
5919 2012-08-14 Roland McGrath <roland@hack.frob.com>
5921 * elf/dl-open.c: Include <atomic.h>.
5922 * elf/dl-lookup.c: Likewise.
5924 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5926 * sysdeps/unix/sysv/linux/kernel-features.h
5927 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5928 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5930 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5932 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5933 condition on __ASSUME_CLONE_THREAD_FLAGS.
5935 2012-08-14 Andreas Jaeger <aj@suse.de>
5937 * sysdeps/i386/fpu/libm-test-ulps: Update.
5939 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5941 * include/atomic.h (atomic_exchange_and_add): Split into ...
5942 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5945 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5949 2012-08-13 Jeff Law <law@redhat.com>
5951 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5952 null byte in the output string.
5954 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5956 * sysdeps/unix/sysv/linux/kernel-features.h
5957 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5958 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5959 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5960 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5961 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5962 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5963 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5965 2012-08-09 Jeff Law <law@redhat.com>
5968 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5969 When avoid_arena is set, don't retry in the that arena. Pick the
5970 next one, whatever it might be.
5971 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5972 (arena_lock): Pass in new parameter to arena_get2.
5973 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5975 (__libc_malloc): Unify retrying after main arena failure with
5976 __libc_memalign version.
5977 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5979 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5982 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5983 to __redirect_strstr.
5984 (__strstr_sse42): Use typeof __redirect_strstr.
5985 (__strstr_ia32): Likewise.
5986 (__libc_strstr): New prototype.
5987 (strstr): Renamed to ...
5988 (__libc_strstr): This.
5989 (strstr): New strong alias of __libc_strstr.
5990 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5991 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5994 (__libc_time): New prototype.
5995 (time_ifunc): Replace time with __libc_time.
5996 (time): New strong alias and hidden definition of __libc_time.
5997 (__GI_time): Remove strong alias.
5998 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6000 (memmove): Redefined to __redirect_memmove.
6001 (__memmove_sse2): Use typeof __redirect_memmove.
6002 (__memmove_ssse3): Likewise.
6003 (__memmove_ssse3_back): Likewise.
6004 (__libc_memmove): New prototype.
6005 (memmove): Renamed to ...
6006 (__libc_memmove): This.
6007 (memmove): New strong alias of __libc_memmove.
6009 2012-08-08 Mark Salter <msalter@redhat.com>
6012 (R_MN10300_TLS_GD): Define.
6013 (R_MN10300_TLS_LD): Likewise.
6014 (R_MN10300_TLS_LDO): Likewise.
6015 (R_MN10300_TLS_GOTIE): Likewise.
6016 (R_MN10300_TLS_IE): Likewise.
6017 (R_MN10300_TLS_LE): Likewise.
6018 (R_MN10300_TLS_DTPMOD): Likewise.
6019 (R_MN10300_TLS_DTPOFF): Likewise.
6020 (R_MN10300_TLS_TPOFF): Likewise.
6021 (R_MN10300_SYM_DIFF): Likewise.
6022 (R_MN10300_ALIGN): Likewise.
6023 (R_MN10300_NUM): Update.
6025 2012-08-08 Joseph Myers <joseph@codesourcery.com>
6027 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6030 2012-08-08 Roland McGrath <roland@hack.frob.com>
6032 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6034 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6035 sysdeps/unix -> sysdeps/posix move.
6036 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6038 2012-08-07 Allan McRae <allan@archlinux.org>
6041 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6042 (SUNOS_CPP): Likewise.
6043 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6045 (open_input): Call CPP using execvp.
6047 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6049 * sysdeps/unix/sysv/linux/kernel-features.h
6050 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6051 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6052 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6053 (__ASSUME_WAITID_SYSCALL): Likewise.
6054 * sysdeps/unix/sysv/linux/dl-execstack.c
6055 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6057 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6059 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6060 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6061 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6063 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6065 [__ASSUME_WAITID_SYSCALL]: Likewise.
6066 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6068 2012-08-07 Roland McGrath <roland@hack.frob.com>
6070 * sysdeps/unix/closedir.c: Renamed to ...
6071 * sysdeps/posix/closedir.c: ... here.
6072 * sysdeps/unix/dirfd.c: Renamed to ...
6073 * sysdeps/posix/dirfd.c: ... here.
6074 * sysdeps/unix/dirstream.h: Renamed to ...
6075 * sysdeps/posix/dirstream.h: ... here.
6076 * sysdeps/unix/fdopendir.c: Renamed to ...
6077 * sysdeps/posix/fdopendir.c: ... here.
6078 * sysdeps/unix/opendir.c: Renamed to ...
6079 * sysdeps/posix/opendir.c: ... here.
6080 * sysdeps/unix/readdir.c: Renamed to ...
6081 * sysdeps/posix/readdir.c: ... here.
6082 * sysdeps/unix/readdir_r.c: Renamed to ...
6083 * sysdeps/posix/readdir_r.c: ... here.
6084 * sysdeps/unix/rewinddir.c: Renamed to ...
6085 * sysdeps/posix/rewinddir.c: ... here.
6086 * sysdeps/unix/seekdir.c: Renamed to ...
6087 * sysdeps/posix/seekdir.c: ... here.
6088 * sysdeps/unix/telldir.c: Renamed to ...
6089 * sysdeps/posix/telldir.c: ... here.
6090 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6091 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6092 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6093 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6095 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6096 * bits/fcntl.h: ... here.
6098 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6100 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6101 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6102 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6103 (struct flock): Move l_start, l_len to the beginning.
6104 Use __pid_t for l_pid.
6105 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6106 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6107 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6108 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6109 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6110 [__USE_LARGEFILE64] (struct flock64): New type.
6111 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6113 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6114 * bits/dirent.h: ... here.
6116 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6117 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6119 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6121 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6122 Change from 2.6.0 to 2.6.16.
6123 * sysdeps/unix/sysv/linux/configure: Regenerated.
6124 * sysdeps/unix/sysv/linux/kernel-features.h
6125 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6126 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6128 (__ASSUME_UTIMES): Likewise.
6129 (__ASSUME_CLONE_STOPPED): Remove.
6130 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6131 architectures, not kernel version.
6132 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6133 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6134 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6135 (__ASSUME_WAITID_SYSCALL): Likewise.
6136 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6137 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6138 * README: State 2.6.16 as minimum Linux kernel version. Do not
6139 refer to older versions.
6141 2012-08-06 Roland McGrath <roland@hack.frob.com>
6143 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6144 Define alphasort64 as an alias.
6145 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6146 Define versionsort64 as an alias.
6147 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6148 Define scandir64 as an alias.
6149 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6150 Define scandirat64 as an alias.
6151 * dirent/alphasort64.c (alphasort64):
6152 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6153 * dirent/versionsort64.c: Likewise.
6154 * dirent/scandir64.c: Likewise.
6155 * dirent/scandirat64.c: Likewise.
6156 * sysdeps/wordsize-64/alphasort.c: File removed.
6157 * sysdeps/wordsize-64/alphasort64.c: File removed.
6158 * sysdeps/wordsize-64/scandir.c: File removed.
6159 * sysdeps/wordsize-64/scandir64.c: File removed.
6160 * sysdeps/wordsize-64/scandirat.c: File removed.
6161 * sysdeps/wordsize-64/scandirat64.c: File removed.
6162 * sysdeps/wordsize-64/versionsort.c: File removed.
6163 * sysdeps/wordsize-64/versionsort64.c: File removed.
6164 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6165 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6169 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6170 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6173 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6175 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6177 [defined __arch64__ || defined __sparcv9]
6178 (__INO_T_MATCHES_INO64_T): New macro.
6179 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6180 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6181 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6182 * sysdeps/unix/sysv/linux/bits/dirent.h
6183 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6184 (_DIRENT_MATCHES_DIRENT64): New macro.
6186 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6187 Define lockf64 as an alias.
6188 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6189 Define fseeko64 as an alias.
6190 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6191 Define ftello64 as an alias.
6192 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6193 Define _IO_fgetpos64 and fgetpos64 as aliases.
6194 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6195 Define _IO_fsetpos64 and fsetpos64 as aliases.
6196 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6197 Conditionalize body on this.
6198 * libio/fseeko64.c: Likewise.
6199 * libio/ftello64.c: Likewise.
6200 * libio/iofgetpos64.c: Likewise.
6201 * libio/iofsetpos64.c: Likewise.
6202 * sysdeps/wordsize-64/lockf.c: File removed.
6203 * sysdeps/wordsize-64/lockf64.c: File removed.
6204 * sysdeps/wordsize-64/fseeko.c: File removed.
6205 * sysdeps/wordsize-64/fseeko64.c: File removed.
6206 * sysdeps/wordsize-64/ftello.c: File removed.
6207 * sysdeps/wordsize-64/ftello64.c: File removed.
6208 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6209 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6210 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6211 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6213 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6219 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6221 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6223 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6225 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6227 [defined __arch64__ || defined __sparcv9]
6228 (__OFF_T_MATCHES_OFF64_T): New macro.
6229 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6230 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6232 (__OFF_T_MATCHES_OFF64_T): New macro.
6234 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6236 * stdlib/secure-getenv.c (__secure_getenv): Replace
6237 GLIBC_2_16 with GLIBC_2_17.
6239 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6244 2012-08-03 David S. Miller <davem@davemloft.net>
6246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6248 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6250 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6252 (__ASSUME_CORRECT_SI_PID): Likewise.
6253 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6254 (__ASSUME_TMPFS_NAME): Likewise.
6255 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6256 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6257 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6258 (HAVE_AUX_SECURE): Make definition unconditional.
6259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6260 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6262 2012-08-03 Roland McGrath <roland@hack.frob.com>
6264 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6265 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6266 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6267 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6268 __eloop_threshold instead of SYMLOOP_MAX.
6270 * sysdeps/generic/eloop-threshold.h: New file.
6271 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6273 * elf/chroot_canon.c (chroot_canon): Likewise.
6275 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6278 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6279 Change to 2.6.0 everywhere.
6280 * sysdeps/unix/sysv/linux/configure: Regenerated.
6281 * sysdeps/unix/sysv/linux/kernel-features.h
6282 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6283 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6285 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6286 (__ASSUME_FUTEX_REQUEUE): Remove.
6287 (__ASSUME_STATFS64): Define unconditionally.
6288 (__ASSUME_AT_SECURE): Likewise.
6289 (__ASSUME_CORRECT_SI_PID): Likewise.
6290 (__ASSUME_TGKILL): Define without depending on kernel version for
6292 (__ASSUME_UTIMES): Likewise.
6293 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6295 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6296 (__ASSUME_TMPFS_NAME): Likewise.
6297 * README: Update reference to Linux kernel versions.
6299 2012-08-02 Marek Polacek <polacek@redhat.com>
6302 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6303 libc_cv_asm_type_prefix with %.
6304 * configure: Regenerated.
6305 * include/libc-symbols.h: Remove comment about
6306 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6307 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6308 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6309 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6310 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6311 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6312 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6313 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6314 * elf/tst-unique2mod1.c: Likewise.
6315 * elf/tst-unique1mod2.c: Likewise.
6316 * elf/tst-unique1mod1.c: Likewise.
6317 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6318 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6319 Replace ASM_TYPE_DIRECTIVE with .type.
6320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6321 * sysdeps/i386/sysdep.h: Likewise.
6322 * sysdeps/x86_64/sysdep.h: Likewise.
6323 * sysdeps/sh/sysdep.h: Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6325 Do not define ASM_TYPE_DIRECTIVE.
6326 * sysdeps/powerpc/sysdep.h: Likewise.
6327 * sysdeps/powerpc/powerpc32/sysdep.h:
6328 Replace ASM_TYPE_DIRECTIVE with .type.
6329 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6330 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6331 * sysdeps/i386/fpu/e_powf.S: Likewise.
6332 * sysdeps/i386/fpu/e_expl.S: Likewise.
6333 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6334 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6335 * sysdeps/i386/fpu/e_pow.S: Likewise.
6336 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6337 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6338 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6339 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6340 * sysdeps/i386/fpu/e_log2.S: Likewise.
6341 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6342 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6343 * sysdeps/i386/fpu/e_powl.S: Likewise.
6344 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6345 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6346 * sysdeps/i386/fpu/e_logl.S: Likewise.
6347 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6348 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6349 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6350 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6351 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6352 * sysdeps/i386/fpu/e_log.S: Likewise.
6353 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6354 * sysdeps/i386/fpu/e_logf.S: Likewise.
6355 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6357 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6358 * sysdeps/i386/fpu/e_log10.S: Likewise.
6359 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6360 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6361 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6362 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6363 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6364 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6365 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6366 * sysdeps/i386/i686/strtok.S: Likewise.
6367 * sysdeps/i386/i386-mcount.S: Likewise.
6368 * sysdeps/i386/strtok.S: Likewise.
6369 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6370 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6371 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6372 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6373 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6374 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6375 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6376 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6377 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6378 * sysdeps/x86_64/_mcount.S: Likewise.
6379 * sysdeps/x86_64/strtok.S: Likewise.
6380 * sysdeps/sh/_mcount.S: Likewise.
6382 2012-08-01 Roland McGrath <roland@hack.frob.com>
6384 * libio/iofopen.c: Include <fcntl.h>.
6385 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6386 (_IO_fopen64, fopen64): Define as aliases.
6387 * libio/iofopen64.c: Include <fcntl.h>.
6388 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6389 Conditionalize body on this.
6390 * sysdeps/wordsize-64/iofopen.c: File removed.
6391 * sysdeps/wordsize-64/iofopen64.c: File removed.
6393 2012-08-01 Marek Polacek <polacek@redhat.com>
6395 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6396 Use dlfcn directly instead of a variable.
6397 (binfmt-subdir): Do not define.
6400 2012-08-01 Joseph Myers <joseph@codesourcery.com>
6402 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6403 Remove all definitions.
6404 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6405 <kernel-features.h>.
6406 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6407 (miss_F_GETOWN_EX): Remove all definitions.
6408 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6410 [!__ASSUME_FCNTL64]: Remove conditional code.
6411 [__ASSUME_FCNTL64]: Make code unconditional.
6412 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6413 <kernel-features.h>.
6414 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6415 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6416 (lockf64) [__NR_fcntl64]: Make code unconditional.
6417 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6419 * sysdeps/unix/sysv/linux/kernel-features.h
6420 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6421 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6422 Make code unconditional.
6423 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6424 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6426 [__NR_vfork]: Make code unconditional.
6427 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6428 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6430 [__NR_vfork]: Make code unconditional.
6431 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6432 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6434 2012-08-01 Roland McGrath <roland@hack.frob.com>
6436 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6437 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6439 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6440 Define mkstemp64 as an alias.
6441 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6442 Define mkstemps64 as an alias.
6443 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6444 Define mkostemp64 as an alias.
6445 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6446 Define mkostemps64 as an alias.
6447 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6448 Conditionalize body on this.
6449 * misc/mkostemp64.c: Likewise.
6450 * misc/mkostemps64.c: Likewise.
6451 * misc/mkstemps64.c: Likewise.
6452 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6453 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6454 * sysdeps/wordsize-64/mkostemp.c: File removed.
6455 * sysdeps/wordsize-64/mkstemp.c: File removed.
6456 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6457 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6458 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6459 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6462 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6463 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6464 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6465 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6467 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6468 compat_symbol macros from <shlib-compat.h> rather than the underlying
6469 default_symbol_version and symbol_version macros, so that DEFAULT
6470 lines in shlib-versions are respected.
6471 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6473 2012-08-01 Florian Weimer <fweimer@redhat.com>
6475 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6476 Declare with warn_unused_result.
6477 (setgid, setregid, setegid, setresgid): Likewise.
6478 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6480 * WUR-REPORT: Remove set*id functions.
6482 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6484 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6486 2012-07-31 Roland McGrath <roland@hack.frob.com>
6488 * include/sys/socket.h (__libc_accept, __libc_accept4):
6489 Add attribute_hidden.
6490 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6492 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6494 * inet/getnetgrent_r.c (setup): Likewise.
6496 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6498 2012-07-31 David S. Miller <davem@davemloft.net>
6500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6502 2012-07-31 Joseph Myers <joseph@codesourcery.com>
6505 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6506 value between 1.0 and 2.0 and smaller part has absolute value less
6508 * math/s_clog10.c (__clog10): Likewise.
6509 * math/s_clog10f.c (__clog10f): Likewise.
6510 * math/s_clog10l.c (__clog10l): Likewise.
6511 * math/s_clogf.c (__clogf): Likewise.
6512 * math/s_clogl.c (__clogl): Likewise.
6513 * math/libm-test.inc (clog_test): Add more tests.
6514 (clog10_test): Likewise.
6515 * sysdeps/i386/fpu/libm-test-ulps: Update.
6516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6518 2012-07-31 Florian Weimer <fweimer@redhat.com>
6520 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6521 Exit with zero in case no suitable GID is found, and write a
6522 message to standard error.
6524 2012-07-30 Roland McGrath <roland@hack.frob.com>
6526 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6528 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6529 (MAXPATHLEN): Removed.
6530 (NOGROUP, NODEV): New macros.
6531 (setbit, clrbit, isset, isclr): New macros.
6532 (howmany, roundup, powerof2): New macros.
6533 (DEV_BSIZE): New macro.
6535 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6536 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6538 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6539 definition on [!__NO_LONG_DOUBLE_MATH].
6541 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6542 PTR_MANGLE and PTR_DEMANGLE.
6544 * socket/accept4.c (accept4): Rename to __libc_accept4.
6545 Define accept4 as a weak alias.
6547 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6548 on [_DIRENT_HAVE_D_TYPE].
6549 * io/ftw.c (ftw_dir): Likewise.
6551 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6553 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6555 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6556 Use the BSD numbers rather than the arbitrary ones we had.
6557 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6558 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6559 (SIGXCPU, SIGXFSZ): New macros.
6562 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6563 initializer on [_LIBC_REENTRANT].
6565 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6566 definitions inside [_POSIX_MAPPED_FILES].
6568 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6570 * dirent/opendir.c: Include <fcntl.h>.
6572 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6573 (__libc_getspecific): Likewise.
6574 (__libc_key_create): Likewise.
6576 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6577 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6578 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6579 (tmpfile64): Define as alias.
6580 * sysdeps/wordsize-64/tmpfile.c: File removed.
6581 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6582 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6583 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6585 * stdio-common/vfscanf.c: Include <stdbool.h>.
6586 * nss/makedb.c: Likewise.
6587 * stdio-common/_i18n_number.h: Likewise.
6588 * argp/argp-help.c: Likewise.
6589 * posix/wordexp.c: Likewise.
6590 * sysdeps/posix/spawni.c: Likewise.
6591 * nss/nss_files/files-initgroups.c: Likewise.
6592 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6593 * nss/nss_files/files-initgroups.c: Likewise.
6594 * nss/nss_db/db-netgrp.c: Likewise.
6595 * nss/nss_db/db-initgroups.c: Likewise.
6596 * io/fchmodat.c: Include <sys/stat.h>.
6598 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6599 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6601 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6604 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6605 Add multiple inclusion protection.
6607 2012-07-27 David S. Miller <davem@davemloft.net>
6609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6611 2012-07-27 Gary Benson <gbenson@redhat.com>
6614 * elf/rtld.c: Include <stap-probe.h>.
6615 (dl_main): Added static probes "init_start" and "init_complete".
6616 * elf/dl-load.c: Include <stap-probe.h>.
6617 (lose): Take new parameter "nsid".
6618 Added static probe "map_failed".
6619 (_dl_map_object_from_fd): Pass namespace id to lose.
6620 Added static probe "map_start".
6621 (open_verify): Pass namespace id to lose.
6622 * elf/dl-open.c: Include <stap-probe.h>.
6623 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6624 and "reloc_complete".
6625 * elf/dl-close.c: Include <stap-probe.h>.
6626 (_dl_close_worker): Added static probes "unmap_start" and
6628 * elf/rtld-debugger-interface.txt: New file documenting the above.
6630 2012-07-26 Roland McGrath <roland@hack.frob.com>
6632 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6633 rather than a string variable.
6634 * sunrpc/rpc_main.c (h_output): Likewise.
6635 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6637 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6639 * inet/check_native.c: New file.
6641 2012-07-26 Joseph Myers <joseph@codesourcery.com>
6644 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6645 if larger part has absolute value 1.0.
6646 * math/s_clog10.c (__clog10): Likewise.
6647 * math/s_clog10f.c (__clog10f): Likewise.
6648 * math/s_clog10l.c (__clog10l): Likewise.
6649 * math/s_clogf.c (__clogf): Likewise.
6650 * math/s_clogl.c (__clogl): Likewise.
6651 * math/libm-test.inc (clog_test): Add more tests.
6652 (clog10_test): Likewise.
6653 * sysdeps/i386/fpu/libm-test-ulps: Update.
6654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6656 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6657 (pltexit): Likewise.
6658 (La_regs): Likewise.
6659 (La_retval): Likewise.
6660 (int_retval): Likewise.
6661 Update #error for removed macros to refer only to definitions in
6663 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6665 (pltexit): Likewise.
6666 (La_regs): Likewise.
6667 (La_retval): Likewise.
6668 (int_retval): Likewise.
6669 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6671 (pltexit): Likewise.
6672 (La_regs): Likewise.
6673 (La_retval): Likewise.
6674 (int_retval): Likewise.
6675 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6677 (pltexit): Likewise.
6678 (La_regs): Likewise.
6679 (La_retval): Likewise.
6680 (int_retval): Likewise.
6681 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6683 (pltexit): Likewise.
6684 (La_regs): Likewise.
6685 (La_retval): Likewise.
6686 (int_retval): Likewise.
6687 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6689 (pltexit): Likewise.
6690 (La_regs): Likewise.
6691 (La_retval): Likewise.
6692 (int_retval): Likewise.
6693 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6695 (pltexit): Likewise.
6696 (La_regs): Likewise.
6697 (La_retval): Likewise.
6698 (int_retval): Likewise.
6699 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6700 macro definitions in tst-audit.h.
6701 * sysdeps/i386/tst-audit.h: New file.
6702 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6703 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6704 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6705 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6706 * sysdeps/sh/tst-audit.h: Likewise.
6707 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6708 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6709 * sysdeps/x86_64/tst-audit.h: Likewise.
6711 2012-07-26 Andreas Jaeger <aj@suse.de>
6713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6716 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6717 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6718 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6720 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6721 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6722 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6724 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6727 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6729 (si_call_addr, si_syscall, si_arch): Define new macro.
6730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6732 (si_call_addr, si_syscall, si_arch): Define new marcro.
6733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6735 (si_call_addr, si_syscall, si_arch): Define new macro.
6736 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6738 (si_call_addr, si_syscall, si_arch): Define new macro.
6740 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6744 Change to 2.4.21 where previously 2.4.1.
6745 * sysdeps/unix/sysv/linux/configure: Regenerated.
6746 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6747 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6748 Linux kernel version.
6749 (__ASSUME_STD_AUXV): Remove.
6750 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6752 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6753 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6754 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6755 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6756 (__ASSUME_NETLINK_SUPPORT): Likewise.
6757 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6758 (__no_netlink_support): Remove conditional definition.
6759 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6761 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6762 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6763 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6764 (if_nameindex_ioctl): Remove.
6765 (if_nameindex_netlink): Do not handle __no_netlink_support.
6766 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6768 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6769 Remove conditional code.
6770 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6772 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6774 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6775 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6776 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6778 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6779 [!__ASSUME_STD_AUXV]: Remove conditional code.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6781 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6782 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6785 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6789 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6790 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6792 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6794 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6797 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6800 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6802 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6804 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6806 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6809 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6811 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6814 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6816 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6818 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6820 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6823 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6825 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6827 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6829 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6832 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6834 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6835 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6836 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6837 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6838 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6839 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6840 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6841 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6842 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6843 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6844 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6845 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6846 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6847 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6848 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6849 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6850 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6852 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6854 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6855 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6858 2012-07-25 Florian Weimer <fweimer@redhat.com>
6860 * Versions.def: Add GLIBC_2.17.
6861 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6862 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6863 Introduce __libc_secure_getenv.
6864 * stdlib/Versions (2.17): Add secure_getenv
6865 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6866 * stdlib/secure-getenv.c: Rename __secure_getenv to
6867 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6868 symbol __secure_getenv for GLIBC_2.0.
6869 * stdlib/tst-secure-getenv.c: New.
6870 * stdlib/Makefile (tests): Add testcase.
6871 * manual/startup.texi (Environment Access): Document
6873 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6874 __libc_secure_getenv.
6875 * inet/ruserpass.c (ruserpass): Likewise.
6876 * malloc/mtrace.c (mtrace): Likewise.
6877 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6878 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6879 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6880 * sysdeps/posix/tempname.c: Likewise. Evaluate
6882 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6883 __secure_getenv to __libc_secure_getenv.
6884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6897 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6899 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6900 (struct La_i86_retval): Likewise.
6901 (struct La_x86_64_regs): Likewise.
6902 (struct La_x86_64_retval): Likewise.
6903 (struct La_x32_regs): Likewise.
6904 (struct La_x32_retval): Likewise.
6905 (struct La_ppc32_regs): Likewise.
6906 (struct La_ppc32_retval): Likewise.
6907 (struct La_ppc64_regs): Likewise.
6908 (struct La_ppc64_retval): Likewise.
6909 (struct La_sh_regs): Likewise.
6910 (struct La_sh_retval): Likewise.
6911 (struct La_s390_32_regs): Likewise.
6912 (struct La_s390_32_retval): Likewise.
6913 (struct La_s390_64_regs): Likewise.
6914 (struct La_s390_64_retval): Likewise.
6915 (struct La_sparc32_regs): Likewise.
6916 (struct La_sparc32_retval): Likewise.
6917 (struct La_sparc64_regs): Likewise.
6918 (struct La_sparc64_retval): Likewise.
6919 (struct audit_ifaces): Remove architecture-specific pltenter and
6921 * sysdeps/i386/ldsodefs.h: New file.
6922 * sysdeps/powerpc/ldsodefs.h: Likewise.
6923 * sysdeps/s390/ldsodefs.h: Likewise.
6924 * sysdeps/sh/ldsodefs.h: Likewise.
6925 * sysdeps/sparc/ldsodefs.h: Likewise.
6926 * sysdeps/x86_64/ldsodefs.h: Likewise.
6928 2012-07-25 Marek Polacek <polacek@redhat.com>
6931 * math/libm-test.inc (yn_test): Add another test.
6932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6933 to ERANGE when the result is +-Inf.
6934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6937 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6939 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6941 * conform/data/time.h-data (NULL): Use macro-constant. Require
6943 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6945 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6947 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6949 * configure.in <sysdeps resolving>: Correct printing
6951 * configure: Regenerate.
6953 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6955 * math/w_ilogb.c: Include <limits.h>.
6956 * math/w_ilogbl.c: Likewise.
6958 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6960 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6961 va_copy. Document allowing for unavailable va_copy only as
6962 pre-C99 compatibility.
6963 * manual/string.texi (Copying and Concatenation): Use va_copy
6964 instead of __va_copy in concat example.
6966 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6968 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6969 (__sendto): Use create_address_port. Initialize APORT and deallocate
6972 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6973 with O_NOLINK passed to __file_name_lookup.
6975 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6976 with O_NOLINK passed to __file_name_lookup.
6978 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6979 negative N or less than NGIDS.
6981 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6982 type to string_t. Set ERANGE as errno and return it if NAME is not big
6983 enough. Use memcpy instead of strncpy.
6985 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6987 * elf/Makefile (check-data): Remove.
6988 (localplt.data): New vpath directive.
6989 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6990 instead of $(check-data).
6991 * scripts/data/localplt-generic.data: Move to ...
6992 * sysdeps/generic/localplt.data: ... here.
6993 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6994 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6995 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6998 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7001 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7004 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7007 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7010 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7014 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7017 PPC32 and PPC64 files.
7018 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7019 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7021 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7023 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7024 __makecontext_ret to ...
7025 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7026 ... here and call exit if uc_link is NULL. New file.
7027 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7028 __makecontext_ret.S.
7029 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7030 __makecontext_ret to ...
7031 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7032 ... here and call exit if uc_link is NULL. New file.
7033 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7034 __makecontext_ret.S.
7036 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7038 * elf/elf.h (R_390_IRELATIVE): New definition.
7039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7040 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7041 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7043 (elf_machine_lazy_rel): Likewise.
7044 * sysdeps/s390/dl-irel.h: New file.
7045 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7046 * sysdeps/s390/s390-64/memset.S: New asm code.
7047 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7048 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7050 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7051 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7052 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7054 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7055 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7056 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7057 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7058 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7059 * sysdeps/s390/s390-32/memset.S: New asm code.
7060 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7062 2012-07-17 Marek Polacek <polacek@redhat.com>
7065 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7066 * sysdeps/s390/s390-64/configure.in: Likewise.
7067 * sysdeps/sparc/configure.in: Likewise.
7068 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7069 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7070 * sysdeps/i386/configure.in: Likewise.
7071 * sysdeps/x86_64/configure.in: Likewise.
7072 * sysdeps/sh/configure.in: Likewise.
7073 * sysdeps/s390/s390-32/configure: Regenerated.
7074 * sysdeps/s390/s390-64/configure: Likewise.
7075 * sysdeps/x86_64/configure: Likewise.
7076 * sysdeps/sh/configure: Likewise.
7077 * sysdeps/powerpc/powerpc64/configure: Likewise.
7078 * sysdeps/powerpc/powerpc32/configure: Likewise.
7079 * sysdeps/sparc/configure: Likwise.
7080 * sysdeps/i386/configure: Likewise.
7082 * elf/dl-open.c: Comment fixes.
7084 2012-07-17 Joseph Myers <joseph@codesourcery.com>
7086 * Makefile [CXX] (check-data): Remove.
7087 [CXX] (c++-types.data): New vpath directive.
7088 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7089 vpath. Do not allow for C++ type data being missing.
7090 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7091 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7092 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7093 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7094 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7095 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7096 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7099 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7102 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7105 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7108 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7111 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7114 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7117 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7120 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7121 definitions to architecture-specific files.
7125 * sysdeps/i386/tls-macros.h: New file.
7126 * sysdeps/powerpc/tls-macros.h: Likewise.
7127 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7128 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7129 * sysdeps/sh/tls-macros.h: Likewise.
7130 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7131 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7132 * sysdeps/x86_64/tls-macros.h: Likewise.
7134 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7137 zero value for regular exit case.
7139 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7140 (__start_context): Preserve zero value for regular exit case.
7142 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7143 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7145 * manual/setjmp.texi (setcontext): Clarify normal process
7146 termination when uc_link is the null pointer.
7147 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7150 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7152 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7153 preprocessor. Test for each exception mask separately.
7155 2012-07-16 Andreas Jaeger <aj@suse.de>
7157 * po/ru.po: Update from translation team.
7159 2012-07-15 Joseph Myers <joseph@codesourcery.com>
7161 * conform/data/string.h-data (NULL): Use macro-constant. Require
7163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7164 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7165 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7166 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7169 2012-07-13 Andreas Jaeger <aj@suse.de>
7171 * po/fr.po: Update from translation team.
7173 2012-07-12 Marek Polacek <polacek@redhat.com>
7176 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7180 2012-07-12 Joseph Myers <joseph@codesourcery.com>
7183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7184 Change to 2.4.1 where previously 2.4.0.
7185 * sysdeps/unix/sysv/linux/configure: Regenerated.
7186 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7187 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7189 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7190 (__ASSUME_AT_CLKTCK): Remove.
7191 (__ASSUME_AT_PAGESIZE): Likewise.
7192 (__ASSUME_AT_XID): Likewise.
7193 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7194 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7195 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7197 (HAVE_AUX_PAGESIZE): Likewise.
7198 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7199 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7200 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7202 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7206 the temporary buffer used to invoke __gethostbyname2_r,
7207 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7208 host_data / struct gaih_addrtuple.
7209 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7210 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7211 header file nss/nsswitch.h.
7212 * nss/nsswitch.h (global scope): Add definition of implementation
7213 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7214 resolv/nss_dns/dns-host.c).
7216 2012-07-11 Andreas Jaeger <aj@suse.de>
7218 * po/fr.po: Update from translation team.
7220 * po/sv.po: Update from translation team
7221 * po/fr.po: Another update from translation team.
7223 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7225 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7226 for subnormals or multiply small sinh result by itself.
7227 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7230 2012-07-11 David S. Miller <davem@davemloft.net>
7232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7234 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7237 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7238 (INTERNAL_MARK): Shift it here.
7240 2012-07-10 Marek Polacek <polacek@redhat.com>
7243 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7244 libc_cv_asm_global_directive with .globl.
7245 * configure: Regenerated.
7246 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7248 * sysdeps/i386/configure: Regenerated.
7249 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7251 * sysdeps/x86_64/configure: Regenerated.
7252 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7253 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7254 * elf/tst-unique2mod2.c: Likewise.
7255 * elf/tst-unique2mod1.c: Likewise.
7256 * elf/tst-unique1mod2.c: Likewise.
7257 * elf/tst-unique1mod1.c: Likewise.
7258 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7259 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7262 * sysdeps/mach/sysdep.h: Likewise.
7263 * sysdeps/i386/sysdep.h: Likewise.
7264 * sysdeps/i386/i386-mcount.S: Likewise.
7265 * sysdeps/x86_64/_mcount.S: Likewise.
7266 * sysdeps/x86_64/sysdep.h: Likewise.
7267 * sysdeps/sh/_mcount.S: Likewise.
7268 * sysdeps/sh/sysdep.h: Likewise.
7269 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7270 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7271 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7273 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7274 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7275 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7276 * locale/localeinfo.h: Likewise.
7277 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7278 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7280 2012-07-09 Roland McGrath <roland@hack.frob.com>
7283 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7285 * manual/message.texi (The Uniforum approach): Likewise.
7286 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7287 (glibc iconv Implementation): Likewise.
7289 2012-07-09 Joseph Myers <joseph@codesourcery.com>
7292 * math/s_clog.c (__clog): Avoid scaling a value down where that
7293 could result in underflow.
7294 * math/s_clog10.c (__clog10): Likewise.
7295 * math/s_clog10f.c (__clog10f): Likewise.
7296 * math/s_clog10l.c (__clog10l): Likewise.
7297 * math/s_clogf.c (__clogf): Likewise.
7298 * math/s_clogl.c (__clogl): Likewise.
7299 * math/libm-test.inc (clog_test): Add more tests.
7300 (clog10_test): Likewise.
7301 * sysdeps/i386/fpu/libm-test-ulps: Update.
7302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7304 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7307 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7308 by 7 not 8 to examine high bit of fractional part.
7311 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7312 for call to __mcount_internal.
7313 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7314 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7315 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7317 2012-07-06 Joseph Myers <joseph@codesourcery.com>
7320 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7321 approximation for values within 0x1p-13f of an odd multiple of
7323 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7324 exception. Add more tests.
7325 * sysdeps/i386/fpu/libm-test-ulps: Update.
7328 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7329 inputs and return -1 for them. Do not check for +Inf in case not
7331 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7332 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7334 and return -1 for them. Do not check for +Inf in case not
7336 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7339 and return -1 for them. Do not check for +Inf in case not
7341 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7343 * sysdeps/i386/fpu/libm-test-ulps: Update.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2012-07-06 Mike Frysinger <vapier@gentoo.org>
7348 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7350 2012-07-05 Joseph Myers <joseph@codesourcery.com>
7354 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7355 could result in spurious underflow. Scale down values above
7356 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7357 * math/s_csqrtf.c (__csqrtf): Likewise.
7358 * math/s_csqrtl.c (__csqrtl): Likewise.
7359 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7361 * sysdeps/i386/fpu/libm-test-ulps: Update.
7362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7366 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7368 * catgets/xopen-msg.awk: New file.
7369 * catgets/xopen-msg.sed: Removed.
7371 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7373 * intl/po2test.awk: New file.
7374 * intl/po2test.sed: Removed.
7376 2012-07-04 Joseph Myers <joseph@codesourcery.com>
7379 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7380 or multiply small sinh result by itself.
7381 * math/s_ctanf.c (__ctanf): Likewise.
7382 * math/s_ctanh.c (__ctanh): Likewise.
7383 * math/s_ctanhf.c (__ctanhf): Likewise.
7384 * math/s_ctanhl.c (__ctanhl): Likewise.
7385 * math/s_ctanl.c (__ctanl): Likewise.
7386 * math/libm-test.inc (ctan_test_tonearest): New function.
7387 (ctan_test_towardzero): Likewise.
7388 (ctan_test_downward): Likewise.
7389 (ctan_test_upward): Likewise.
7390 (ctanh_test_tonearest): Likewise.
7391 (ctanh_test_towardzero): Likewise.
7392 (ctanh_test_downward): Likewise.
7393 (ctanh_test_upward): Likewise.
7394 (main): Call these new functions.
7395 * sysdeps/i386/fpu/libm-test-ulps: Update.
7396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7398 2012-07-03 Mike Frysinger <vapier@gentoo.org>
7400 * .gitignore: Delete /ports entry.
7402 2012-07-03 Andreas Jaeger <aj@suse.de>
7404 * po/bg.po: Update from translation team.
7405 * po/cs.po: Likewise.
7406 * po/de.po: Likewise.
7407 * po/hr.po: Likewise.
7408 * po/nl.pl: Likewise.
7409 * po/pl.po: Likewise.
7410 * po/vi.po: Likewise.
7412 2012-07-03 Joseph Myers <joseph@codesourcery.com>
7414 * Makeconfig [!+link] (+link-before-libc): New variable.
7415 [!+link] (+link-after-libc): Likewise.
7416 [!+link] (+link-tests): Likewise.
7417 [!+link] (+link): Define in terms of $(+link-before-libc) and
7418 $(+link-after-libc).
7419 [!+link-static] (+link-static-before-libc): New variable.
7420 [!+link-static] (+link-static-after-libc): Likewise.
7421 [!+link-static] (+link-static-tests): Likewise.
7422 [!+link-static] (+link-static): Define in terms of
7423 $(+link-static-before-libc) and $(+link-static-after-libc).
7424 [build-shared] (link-libc-before-gnulib): New variable.
7425 [build-shared] (link-libc-tests): Likewise.
7426 [build-shared] (link-libc): Define in terms of
7427 $(link-libc-before-gnulib).
7428 [!build-shared] (link-libc-tests): New variable.
7429 (link-libc-static-tests): New variable.
7430 [!gnulib] (gnulib-arch): New variable.
7431 [!gnulib] (gnulib-tests): Likewise.
7432 [!gnulib] (static-gnulib-arch): Likewise.
7433 [!gnulib] (static-gnulib-tests): Likewise.
7434 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7435 Define with "=" instead of ":=".
7436 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7437 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7438 * Rules (binaries-all-notests): New variable.
7439 (binaries-all-tests): Likewise.
7440 (binaries-static-notests): Likewise.
7441 (binaries-static-tests): Likewise.
7442 (binaries-all): Define using $(binaries-all-notests) and
7443 $(binaries-all-tests).
7444 (binaries-static): Define using $(binaries-static-notests) and
7445 $(binaries-static-tests).
7446 (binaries-shared-tests): New variable.
7447 (binaries-shared-notests): Likewise.
7448 (binaries-shared): Remove variable.
7449 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7450 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7451 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7452 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7453 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7454 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7455 * elf/Makefile (sln-modules): New variable.
7456 (extra-objs): Add $(sln-modules:=.o).
7457 (ldconfig-modules): Add static-stubs.
7458 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7459 * elf/static-stubs.c: New file.
7462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7463 by 7 not 8 to examine high bit of fractional part. Use volatile
7464 variables when splitting into final array of floats if
7465 __FLT_EVAL_METHOD__ != 0.
7466 * math/libm-test.inc (cos_test): Add another test.
7467 (sin_test): Likewise.
7468 * sysdeps/i386/fpu/libm-test-ulps: Update.
7471 * math/libm-test.inc (cosh_test): Add more tests.
7473 * version.h (RELEASE): Set to "development".
7474 (VERSION): Set to "2.16.90".
7476 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7478 * NEWS: Update copyright. Remove last-updated date.
7479 Mention math library bug fixes and timezone data changes.
7480 * README: Mention GNU/Hurd, x32, and HPPA support status.
7482 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7484 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7486 2012-06-27 Andreas Jaeger <aj@suse.de>
7488 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7490 2012-06-25 Andreas Jaeger <aj@suse.de>
7492 * sysdeps/s390/fpu/libm-test-ulps: Update.
7494 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7495 Thomas Schwinge <thomas@codesourcery.com>
7497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7498 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7502 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7504 * sysdeps/mach/start.c: Remove file.
7505 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7506 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7507 * sysdeps/sh/init-first.c: Likewise.
7509 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7510 registers for frame unwinding purposes, add CFI directives.
7511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7513 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7516 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7517 __fortify_fail returning.
7518 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7520 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7521 sysdeps/sh/____longjmp_chk.S.
7522 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7523 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7524 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7525 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7527 * sysdeps/sh/abort-instr.h: New file.
7528 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7529 process in case exit returns.
7531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7532 initialize the GOT register before use.
7534 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7535 calculation of ARGC > 4.
7537 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7538 meaningful names to some local labels.
7540 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7541 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7543 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7544 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7545 (__arch_compare_and_exchange_val_16_acq): Likewise.
7546 (__arch_compare_and_exchange_val_32_acq): Likewise.
7547 (atomic_exchange_and_add): Fix gUSA sequence.
7548 (atomic_add): Likewise.
7549 (atomic_add_negative): Likewise.
7550 (atomic_add_zero): Likewise.
7551 (atomic_bit_test_set): Likewise.
7553 2012-06-22 Andreas Schwab <schwab@redhat.com>
7556 * include/link.h (struct link_map): Add l_free_initfini.
7557 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7559 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7560 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7561 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7564 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7566 * configure.in: Use AC_LANG_SOURCE.
7567 * configure: Regenerate.
7569 2012-06-22 Roland McGrath <roland@hack.frob.com>
7571 * configure.in (libc_cv_localstatedir): New substituted variable.
7572 * configure: Regenerated.
7573 * config.make.in (localstatedir): New variable, substituted from
7574 libc_cv_localstatedir.
7575 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7576 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7577 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7578 * sysdeps/gnu/configure: Regenerated.
7580 2012-06-21 Jeff Law <law@redhat.com>
7583 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7584 free. Simplify list management for _LIBC case.
7586 2012-06-21 Joseph Myers <joseph@codesourcery.com>
7589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7590 Clear sign bit of 64-bit integer value before comparing against
7593 * sysdeps/mach/configure: Regenerated.
7595 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7598 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7600 2012-06-21 Jeff Law <law@redhat.com>
7603 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7604 uint16_t for elements in the "seen" array to avoid char overflows.
7605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7606 * elf/dl-open.c (dl_open_worker): Likewise.
7608 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7610 * scripts/list-sources.sh: Scan PORTS for translations.
7611 * po/libc.pot: Regenerated.
7613 2012-06-21 Andreas Jaeger <aj@suse.de>
7616 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7618 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7619 * bits/byteswap-16.h (__bswap_16): Likewise.
7620 * bits/byteswap.h (__bswap_constant_16): Likewise.
7622 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7625 * sysdeps/i386/fpu_control.h: Removed.
7626 * sysdeps/x86_64/fpu_control.h: Moved to ...
7627 * sysdeps/x86/fpu_control.h: Here.
7629 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7630 (_FPU_SETCW): Likewise.
7632 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7635 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7636 * sysdeps/x86/fpu/bits/mathinline.h: This.
7637 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7641 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7642 functions if __x86_64__ is defined.
7644 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7646 * string/endian.h: Add !__ASSEMBLER__ condition for including
7647 conversion interfaces.
7649 2012-06-15 Joseph Myers <joseph@codesourcery.com>
7652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7653 of ABS(x) in calculating zero to negative powers other than odd
7655 * math/libm-test.inc (pow_test): Add more tests.
7657 2012-06-15 Andreas Jaeger <aj@suse.de>
7659 * manual/contrib.texi (Contributors): Update entry of Liubov
7660 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7663 2012-06-15 Cyril Hrubis <metan@ucw.cz>
7665 * string/string.h: Add __wur to GNU version of strerror_r.
7667 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7670 * string/Makefile (tests): Add tst-strtok_r.
7671 * string/tst-strtok_r.c: New file.
7672 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7673 RAX_LP/RDX_LP on SAVE_PTR.
7675 2012-06-14 Roland McGrath <roland@hack.frob.com>
7677 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7679 2012-06-14 Joseph Myers <joseph@codesourcery.com>
7681 * libm_test.inc (csqrt_test): Allow more spurious underflow
7683 (j0_test): Likewise.
7684 (j1_test): Likewise.
7685 (y0_test): Likewise.
7686 (y1_test): Likewise.
7688 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7690 * po/Makefile (libc.pot): Use UTF-8 charset.
7692 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7695 Suppress sign-conversion warning from FD_SET.
7696 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7697 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7698 not unsigned long int.
7699 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7701 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7705 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7706 __extern_always_inline instead of __extern_inline.
7707 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7708 (__signbit): Likewise.
7709 (__signbitl): Support C++ namespace.
7710 (lrintf): New inline function.
7712 (llrintf): Likewise.
7724 (nearbyint): Likewise.
7725 (nearbyintf): Likewise.
7727 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7729 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7730 non-default versions.
7732 2012-06-11 Roland McGrath <roland@hack.frob.com>
7735 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7737 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7739 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7740 (FE_UPWARD, FE_DOWNWARD): Don't define.
7741 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7746 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7749 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7753 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7754 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7756 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7759 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7760 * sysdeps/i386/fpu/Implies: New file.
7761 * sysdeps/x86_64/fpu/Implies: Likewise.
7762 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7763 * sysdeps/x86/fpu/bits/fenv.h: This.
7765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7768 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7771 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7772 character 0xffff that matches the last element of the
7775 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7780 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7783 values higher than 25.6283.
7785 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7788 subnormal exponent extraction and add some __builtin_expect.
7789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7790 Fix for subnormal mantissa calculation.
7792 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7794 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7795 cpu2 is -1 and errno is not ENOSYS.
7797 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7800 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7801 * sysdeps/x86/bits/string.h: This.
7802 * sysdeps/x86_64/bits/string.h: Removed.
7804 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7805 if not compiling for x86-64, but compiling for >= i486.
7807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7808 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7811 New macro from Linux kernel 3.4.0.
7812 (FP_XSTATE_MAGIC2): Likewise.
7813 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7814 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7815 (struct _fpx_sw_bytes): New struct.
7816 (struct _xsave_hdr): Likewise.
7817 (struct _ymmh_state): Likewise.
7818 (struct _xstate): Likewise.
7820 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7821 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7823 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7824 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7825 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7827 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7828 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7829 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7830 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7831 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7832 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7834 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7837 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7838 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7839 (sysdep_headers): Include sys/platform/ppc.h.
7840 * sysdeps/powerpc/test-gettimebase.c: Test for
7841 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7842 * manual/Makefile (appendices): Include platform.texi.
7843 * manual/contrib.texi (Contributors): Update @node pointers.
7844 * manual/maint.texi (Maintenance): Likewise.
7845 (Platform): New node.
7846 * manual/platform.texi: New file. Document the new features.
7848 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7849 Jakub Jelinek <jakub@redhat.com>
7852 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7853 where __builtin_expect is unavailable.
7855 2012-06-03 David S. Miller <davem@davemloft.net>
7857 * stdlib/longlong.h: Updated from GCC.
7859 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7862 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7863 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7866 (GLIBC_2.16): Likewise.
7868 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7872 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7875 (default-abi): New variable.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7877 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7881 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7883 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7886 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7887 definition. Document in comment.
7889 2012-06-01 David S. Miller <davem@davemloft.net>
7891 * stdlib/longlong.h: Updated from GCC.
7893 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7896 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7897 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7898 sys/debugreg.h sys/io.h here.
7899 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7900 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7902 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7903 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7904 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7905 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7906 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7907 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7910 Define only if __x86_64__ is defined.
7912 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7915 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7916 Use int64_t for variable i.
7917 * math/libm-test.inc (fmod_test): Add more tests.
7919 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7920 z computation is not scheduled after fetestexcept.
7921 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7922 Use math_force_eval instead of asm to ensure calculation scheduled
7923 before exception test.
7924 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7925 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7927 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7930 computation is not scheduled after fetestexcept.
7932 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7935 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7936 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7938 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7940 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7943 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7948 (__WCHAR_MIN): Support __WORDSIZE == 64.
7949 (__WCHAR_MAX): Likewise.
7951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7956 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7959 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7963 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7965 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7966 Defined to 1 if __x86_64__ isn't defined.
7967 (_STAT_VER_LINUX_OLD): New.
7968 (st_atime): Remove duplicate.
7969 (st_mtime): Likewise.
7970 (st_ctime): Likewise.
7972 2012-05-31 David S. Miller <davem@davemloft.net>
7974 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7977 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7979 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7983 * elf/dl-reloc.c: Include <_itoa.h>.
7984 (_dl_reloc_bad_type): Remove use of INTUSE.
7985 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7986 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7987 * stdio-common/psiginfo.c (psiginfo): Likewise.
7988 * stdio-common/psignal.c (psignal): Likewise.
7989 * string/strsignal.c (strsignal): Likewise.
7990 * include/signal.h (_sys_siglist): Declare hidden proto.
7991 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7992 INTVARDEF with libc_hidden_data_def.
7993 * stdio-common/itoa-udigits.c: Likewise.
7994 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7995 (_itoa_lower_digits_internal): Remove declaration.
7996 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7997 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7998 (_sys_sigabbrev_internal): Remove aliases.
7999 (_sys_siglist): Define hidden alias.
8001 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8006 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8010 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8012 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8014 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8015 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8017 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8019 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8035 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8036 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8038 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8039 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8040 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8042 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8043 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8045 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8046 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8052 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8053 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8055 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8057 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8058 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8059 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8061 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8063 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8065 2012-05-31 Joseph Myers <joseph@codesourcery.com>
8067 * math/math.h (M_El): Use two more decimal places.
8068 (M_LOG2El): Likewise.
8069 (M_LOG10El): Likewise.
8071 (M_LN10l): Likewise.
8073 (M_PI_2l): Likewise.
8074 (M_PI_4l): Likewise.
8075 (M_1_PIl): Likewise.
8076 (M_2_PIl): Likewise.
8077 (M_2_SQRTPIl): Likewise.
8078 (M_SQRT2l): Likewise.
8079 (M_SQRT1_2l): Likewise.
8081 2012-05-31 David S. Miller <davem@davemloft.net>
8083 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8084 values between float registers.
8085 * sysdeps/sparc/sparc64/memset.S: Likewise.
8086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8088 2012-05-31 Mike Frysinger <vapier@gentoo.org>
8090 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8091 -D_FORTIFY_SOURCE=1.
8092 (CPPFLAGS-tst-longjmp_chk.c): Define.
8093 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8094 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8095 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8096 CFLAGS-tst-wchar-h.c.
8098 2012-05-31 Marek Polacek <polacek@redhat.com>
8101 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8102 __endmntent_internal): Remove declaration.
8103 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8104 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8105 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8107 2012-05-30 David S. Miller <davem@davemloft.net>
8109 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8110 (___Q_simulate_exceptions): Use real FP ops rather than writing
8112 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8115 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8118 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8119 * sysdeps/x86/bits/xtitypes.h: This.
8121 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8122 * sysdeps/x86/bits/wordsize.h: This.
8124 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8125 * sysdeps/x86/bits/huge_vall.h: This.
8127 * sysdeps/i386/bits/select.h: Removed.
8128 * sysdeps/x86_64/bits/select.h: Renamed to ...
8129 * sysdeps/x86/bits/select.h: This.
8131 * sysdeps/i386/bits/setjmp.h: Removed.
8132 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8133 * sysdeps/x86/bits/setjmp.h: This.
8135 * sysdeps/i386/bits/mathdef.h: Removed.
8136 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8137 * sysdeps/x86/bits/mathdef.h: This.
8139 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8142 * include/sys/socket.h (__connect_internal)
8143 (__libc_sa_len_internal): Remove declaration.
8144 (__connect, __libc_sa_len): Declare hidden_proto.
8145 (SA_LEN): Remove use of INTUSE.
8146 * socket/connect.c: Add libc_hidden_def.
8147 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8148 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8149 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8151 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8153 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8154 of adding _internal alias.
8156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8159 * sysdeps/i386/bits/link.h: Removed.
8160 * sysdeps/i386/bits/linkmap.h: Likewise.
8161 * sysdeps/x86_64/bits/link.h: Renamed to ...
8162 * sysdeps/x86/bits/link.h: This.
8163 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8164 * sysdeps/x86/bits/linkmap.h: This.
8166 * sysdeps/i386/bits/endian.h: Removed.
8167 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8168 * sysdeps/x86/bits/endian.h: This.
8170 * sysdeps/i386/bits/byteswap.h: Removed.
8171 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8172 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8173 * sysdeps/x86/bits/byteswap.h: This.
8174 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8175 * sysdeps/x86/bits/byteswap-16.h: This.
8176 * sysdeps/i386/Implies: Add x86.
8177 * sysdeps/x86_64/Implies: Likewise.
8179 2012-05-30 David S. Miller <davem@davemloft.net>
8181 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8182 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8184 (FP_TRAPPING_EXCEPTIONS): Define.
8185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8186 (FP_TRAPPING_EXCEPTIONS): Define.
8187 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8188 subnormals only when inexact has been signalled or underflow
8189 exceptions are enabled.
8190 (_FP_PACK_CANONICAL): Likewise.
8192 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8196 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8198 2012-05-30 Richard Henderson <rth@twiddle.net>
8200 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8201 with #ifndef NOT_IN_libc.
8203 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8204 marked to avoid plt entry.
8206 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8209 * Makeconfig (default-abi): New macro.
8210 (abi-includes): Likewise.
8211 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8212 $(abi-$(default-abi)-lib-soname) for soname if defined.
8213 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8215 * Makefile (installed-stubs): Likewise.
8216 * include/stubs-biarch.h: Removed.
8217 * scripts/lib-names.awk: Only handle one library at a time.
8218 * scripts/soversions.awk: Remove WORDSIZE support.
8219 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8221 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8223 (syscall-list-default-condition): Likewise.
8224 (syscall-list-default-condition): Likewise.
8225 (syscall-list-includes): Likewise.
8226 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8227 syscall-list-* with abi-*. Handle undefined abi-variants.
8228 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8229 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8230 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8231 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8232 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8233 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8235 (syscall-list-32-options): Likewise.
8236 (syscall-list-32-condition): Likewise.
8237 (syscall-list-64-options): Likewise.
8238 (syscall-list-64-condition): Likewise.
8239 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8241 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8244 (abi-64-ld-soname): New macro.
8245 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8246 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8249 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8250 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8252 2012-05-30 Joseph Myers <joseph@codesourcery.com>
8254 * sysdeps/unix/sysv/linux/kernel-features.h
8255 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8256 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8257 include <kernel-features.h>.
8258 [!__NR_ftruncate64]: Remove conditional code.
8259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8260 [__NR_ftruncate64]: Make code unconditional.
8261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8262 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8263 include <kernel-features.h>.
8264 [!__NR_ftruncate64]: Remove conditional code.
8265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8266 [__NR_ftruncate64]: Make code unconditional.
8267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8269 include <kernel-features.h>.
8270 [!__NR_ftruncate64]: Remove conditional code.
8271 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8272 [__NR_ftruncate64]: Make code unconditional.
8273 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8275 include <kernel-features.h>.
8276 [!__NR_ftruncate64]: Remove conditional code.
8277 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8278 [__NR_ftruncate64]: Make code unconditional.
8279 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8281 * configure.in (libc_cv_fpie): Weaken to a compile test using
8283 * configure: Regenerated.
8285 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8300 2012-05-27 David S. Miller <davem@davemloft.net>
8302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8304 (__Q_simulate_exceptions): Return void. Change to simulate
8305 exceptions by writing into the %fsr.
8306 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8307 (__Qp_handle_exceptions): Likewise.
8309 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8310 __Qp_handle_exceptions.
8311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8312 __Qp_handle_exceptions.
8313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8314 as unused and give dummy FP_RND_NEAREST initializer.
8315 (FP_INHIBIT_RESULTS): Define.
8316 (___Q_simulate_exceptions): Update declaration.
8317 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8320 as unused and give dummy FP_RND_NEAREST initializer.
8321 (__Qp_handle_exceptions): Update declaration.
8322 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8325 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8328 the temporary FPU control word.
8329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8330 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8332 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8335 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8337 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8338 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8339 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8341 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8343 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8346 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8348 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8349 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8350 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8351 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8353 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8354 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8357 2012-05-27 Ulrich Drepper <drepper@gmail.com>
8359 * po/h.po: Update from translation team.
8361 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8363 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8366 handling of denormals.
8367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8376 2012-05-26 Marek Polacek <polacek@redhat.com>
8379 * math/libm-test.inc (fma_test): Don't always expect underflow
8382 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8385 * elf/tst-execstack.c: Include stackinfo.h.
8386 (do_test): Adjust test case to ensure that pthread_getattr_np
8387 behaviour remains the same after marking stack executable.
8389 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8391 * sysdeps/unix/sysv/linux/kernel-features.h
8392 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8393 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8395 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8396 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8397 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8402 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8404 * configure.in: Define the default includes to being none.
8405 * configure: Regenerated.
8407 2012-05-25 Roland McGrath <roland@hack.frob.com>
8409 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8410 * sysdeps/x86_64/setjmp.S: Likewise.
8411 * sysdeps/i386/bsd-setjmp.S: Likewise.
8412 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8413 * sysdeps/i386/setjmp.S: Likewise.
8414 * sysdeps/i386/__longjmp.S: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8416 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8418 * include/stap-probe.h: New file.
8419 * configure.in: Handle --enable-systemtap.
8420 * configure: Regenerated.
8421 * config.h.in (USE_STAP_PROBE): New #undef.
8422 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8423 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8424 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8430 to 2.4.0 where earlier.
8431 * sysdeps/unix/sysv/linux/configure: Regenerated.
8432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8433 <kernel-features.h>.
8434 [__ASSUME_32BITUIDS]: Make code unconditional.
8435 [!__ASSUME_32BITUIDS]: Remove conditional code.
8436 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8437 <kernel-features.h>.
8438 [__ASSUME_32BITUIDS]: Make code unconditional.
8439 [!__ASSUME_32BITUIDS]: Remove conditional code.
8440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8441 [__ASSUME_32BITUIDS]: Make code unconditional.
8442 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8443 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8444 <kernel-features.h>.
8445 [__ASSUME_32BITUIDS]: Make code unconditional.
8446 [!__ASSUME_32BITUIDS]: Remove conditional code.
8447 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8448 <kernel-features.h>.
8449 [__ASSUME_32BITUIDS]: Make code unconditional.
8450 [!__ASSUME_32BITUIDS]: Remove conditional code.
8451 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8452 <kernel-features.h>.
8453 [__ASSUME_32BITUIDS]: Make code unconditional.
8454 [!__ASSUME_32BITUIDS]: Remove conditional code.
8455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8456 <kernel-features.h>.
8457 [__ASSUME_32BITUIDS]: Make code unconditional.
8458 [!__ASSUME_32BITUIDS]: Remove conditional code.
8459 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8460 <kernel-features.h>.
8461 [__ASSUME_32BITUIDS]: Make code unconditional.
8462 [!__ASSUME_32BITUIDS]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8464 <kernel-features.h>.
8465 [__ASSUME_32BITUIDS]: Make code unconditional.
8466 [!__ASSUME_32BITUIDS]: Remove conditional code.
8467 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8468 <kernel-features.h>.
8469 [__ASSUME_32BITUIDS]: Make code unconditional.
8470 [!__ASSUME_32BITUIDS]: Remove conditional code.
8471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8472 <kernel-features.h>.
8473 [__ASSUME_32BITUIDS]: Make code unconditional.
8474 [!__ASSUME_32BITUIDS]: Remove conditional code.
8475 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8476 <kernel-features.h>.
8477 [__ASSUME_32BITUIDS]: Make code unconditional.
8478 [!__ASSUME_32BITUIDS]: Remove conditional code.
8479 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8480 <kernel-features.h>.
8481 [__ASSUME_32BITUIDS]: Make code unconditional.
8482 [!__ASSUME_32BITUIDS]: Remove conditional code.
8483 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8484 <kernel-features.h>.
8485 [__NR_setresgid] (__setresgid): Do not declare.
8486 [__ASSUME_32BITUIDS]: Make code unconditional.
8487 [!__ASSUME_32BITUIDS]: Remove conditional code.
8488 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8489 <kernel-features.h>.
8490 [__NR_setresuid] (__setresuid): Do not declare.
8491 [__ASSUME_32BITUIDS]: Make code unconditional.
8492 [!__ASSUME_32BITUIDS]: Remove conditional code.
8493 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8494 <kernel-features.h>.
8495 [__ASSUME_32BITUIDS]: Make code unconditional.
8496 [!__ASSUME_32BITUIDS]: Remove conditional code.
8497 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8498 <kernel-features.h>.
8499 [__ASSUME_32BITUIDS]: Make code unconditional.
8500 [!__ASSUME_32BITUIDS]: Remove conditional code.
8501 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8502 <kernel-features.h>.
8503 [__ASSUME_32BITUIDS]: Make code unconditional.
8504 [!__ASSUME_32BITUIDS]: Remove conditional code.
8505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8506 <kernel-features.h>.
8507 [__ASSUME_32BITUIDS]: Make code unconditional.
8508 [!__ASSUME_32BITUIDS]: Remove conditional code.
8509 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8510 <kernel-features.h>.
8511 [__ASSUME_32BITUIDS]: Make code unconditional.
8512 [!__ASSUME_32BITUIDS]: Remove conditional code.
8513 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8514 <kernel-features.h>.
8515 [__ASSUME_32BITUIDS]: Make code unconditional.
8516 [!__ASSUME_32BITUIDS]: Remove conditional code.
8517 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8518 <kernel-features.h>.
8519 [__ASSUME_32BITUIDS]: Make code unconditional.
8520 [!__ASSUME_32BITUIDS]: Remove conditional code.
8521 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8522 <kernel-features.h>.
8523 [__ASSUME_32BITUIDS]: Make code unconditional.
8524 [!__ASSUME_32BITUIDS]: Remove conditional code.
8525 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8526 <kernel-features.h>.
8527 [__ASSUME_32BITUIDS]: Make code unconditional.
8528 [!__ASSUME_32BITUIDS]: Remove conditional code.
8529 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8530 <kernel-features.h>.
8531 [__ASSUME_32BITUIDS]: Make code unconditional.
8532 [!__ASSUME_32BITUIDS]: Remove conditional code.
8533 * sysdeps/unix/sysv/linux/kernel-features.h
8534 (__ASSUME_SETRESUID_SYSCALL): Remove.
8535 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8536 (__ASSUME_32BITUIDS): Likewise.
8537 (__ASSUME_LDT_WORKS): Likewise.
8538 (__ASSUME_O_DIRECTORY): Likewise.
8539 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8540 architecture but not kernel version.
8541 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8542 (__ASSUME_MMAP2_SYSCALL): Likewise.
8543 (__ASSUME_STAT64_SYSCALL): Likewise.
8544 (__ASSUME_IPC64): Likewise.
8545 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8546 <kernel-features.h>.
8547 [__ASSUME_32BITUIDS]: Make code unconditional.
8548 [!__ASSUME_32BITUIDS]: Remove conditional code.
8549 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8550 <kernel-features.h>.
8551 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8552 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8553 132096]: Remove conditional code.
8554 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8556 <kernel-features.h>.
8557 [__ASSUME_32BITUIDS]: Make code unconditional.
8558 [!__ASSUME_32BITUIDS]: Remove conditional code.
8559 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8560 <kernel-features.h>.
8561 [__ASSUME_32BITUIDS]: Make code unconditional.
8562 [!__ASSUME_32BITUIDS]: Remove conditional code.
8563 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8564 <kernel-features.h>.
8565 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8567 (__setresgid): Do not declare.
8568 [__ASSUME_32BITUIDS]: Make code unconditional.
8569 [!__ASSUME_32BITUIDS]: Remove conditional code.
8570 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8571 <kernel-features.h>.
8572 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8574 (__setresuid): Do not declare.
8575 [__ASSUME_32BITUIDS]: Make code unconditional.
8576 [!__ASSUME_32BITUIDS]: Remove conditional code.
8577 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8578 <kernel-features.h>.
8579 [__ASSUME_32BITUIDS]: Make code unconditional.
8580 [!__ASSUME_32BITUIDS]: Remove conditional code.
8581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8582 <kernel-features.h>.
8583 [__ASSUME_32BITUIDS]: Make code unconditional.
8584 [!__ASSUME_32BITUIDS]: Remove conditional code.
8586 2012-05-25 Richard Henderson <rth@twiddle.net>
8588 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8589 dl_hwcap to ifunc resolver.
8590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8592 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8593 dl_hwcap to ifunc resolver.
8594 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8599 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8600 for |x| <= 2**-26, not 2**-57.
8601 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8604 2012-05-24 Jeff Law <law@redhat.com>
8606 * stdio-common/Makefile (tests): Add bug25.
8607 * stdio-common/bug25.c: New test.
8609 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8612 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8613 multiple of MALLOC_ALIGNMENT in size.
8614 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8618 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8620 (FILENAME_MAX): Use macro-int-constant.
8621 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8622 (_IOFBF): Use macro-int-constant.
8625 (SEEK_CUR): Likewise.
8626 (SEEK_END): Likewise.
8627 (SEEK_SET): Likewise.
8628 (TMP_MAX): Likewise.
8629 (EOF): Use macro-int-constant. Require < 0.
8630 (NULL): Use macro-constant. Require == 0.
8631 (stdin): Require type to be FILE *.
8634 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8636 (EXIT_SUCCESS): Likewise.
8637 (NULL): Use macro-constant. Require == 0.
8638 (RAND_MAX): Use macro-int-constant.
8639 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8640 [C99-based standards] (strtof): Require function.
8641 [C99-based standards] (strtold): Likewise.
8642 [C99-based standards] (strtoll): Likewise.
8643 [C99-based standards] (strtoull): Likewise.
8644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8645 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8646 [ISO || ISO99 || ISO11] (math.h): Likewise.
8647 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8648 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8651 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8654 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8655 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8656 * intl/dgettext.c (DCGETTEXT): Likewise.
8657 * intl/gettext.c (DCGETTEXT): Likewise.
8658 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8659 * posix/regex_internal.h (gettext): Likewise.
8660 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8662 * include/argz.h (__argz_count_internal)
8663 (__argz_stringify_internal): Remove declaration.
8664 (__argz_count, __argz_stringify): Declare hidden proto.
8665 * intl/dcgettext.c: Remove use of INTDEF.
8666 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8667 * string/argz-stringify.c: Likewise.
8668 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8669 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8670 Declare hidden proto.
8671 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8672 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8673 Declare hidden proto.
8674 * include/stdio.h (__asprintf_internal): Don't declare.
8675 (__asprintf): Don't define as macro. Declare hidden proto.
8676 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8677 (__fsetlocking): Declare hidden proto.
8678 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8679 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8681 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8682 (_IO_setlinebuf): Remove use of INTUSE.
8683 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8684 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8685 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8687 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8688 (_IO_do_flush): Remove use of INTUSE.
8689 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8690 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8691 (_IO_adjust_column, _IO_least_wmarker)
8692 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8693 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8694 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8695 (_IO_default_doallocate, _IO_wdefault_doallocate)
8696 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8697 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8698 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8699 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8700 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8701 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8702 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8703 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8704 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8705 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8706 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8707 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8708 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8710 (_IO_flush_all_internal, _IO_adjust_column_internal)
8711 (_IO_default_uflow_internal, _IO_default_finish_internal)
8712 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8713 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8714 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8715 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8716 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8717 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8718 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8719 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8720 (_IO_file_close_internal, _IO_file_close_it_internal)
8721 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8722 (_IO_file_init_internal, _IO_file_attach_internal)
8723 (_IO_file_fopen_internal, _IO_file_read_internal)
8724 (_IO_file_sync_internal, _IO_file_seek_internal)
8725 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8726 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8727 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8728 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8729 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8730 (_IO_list_all_internal, _IO_link_in_internal)
8731 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8732 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8733 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8734 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8735 (_IO_do_write_internal, _IO_padn_internal)
8736 (_IO_getline_info_internal, _IO_getline_internal)
8737 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8738 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8739 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8740 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8741 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8742 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8743 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8744 with libc_hidden_ver, remove use of INTUSE.
8745 * libio/genops.c: Likewise.
8746 * libio/freopen.c: Likewise.
8747 * libio/freopen64.c: Likewise.
8748 * libio/iofclose.c: Likewise.
8749 * libio/iofdopen.c: Likewise.
8750 * libio/iofflush.c: Likewise.
8751 * libio/iofflush_u.c: Likewise.
8752 * libio/iofgets.c: Likewise.
8753 * libio/iofgets_u.c: Likewise.
8754 * libio/iofopen.c: Likewise.
8755 * libio/iofopncook.c: Likewise.
8756 * libio/iofread.c: Likewise.
8757 * libio/iofread_u.c: Likewise.
8758 * libio/ioftell.c: Likewise.
8759 * libio/iofwrite.c: Likewise.
8760 * libio/iogetline.c: Likewise.
8761 * libio/iogets.c: Likewise.
8762 * libio/iogetwline.c: Likewise.
8763 * libio/iopadn.c: Likewise.
8764 * libio/iopopen.c: Likewise.
8765 * libio/ioseekoff.c: Likewise.
8766 * libio/ioseekpos.c: Likewise.
8767 * libio/iosetbuffer.c: Likewise.
8768 * libio/iosetvbuf.c: Likewise.
8769 * libio/ioungetc.c: Likewise.
8770 * libio/ioungetwc.c: Likewise.
8771 * libio/iovdprintf.c: Likewise.
8772 * libio/iovsprintf.c: Likewise.
8773 * libio/iovsscanf.c: Likewise.
8774 * libio/memstream.c: Likewise.
8775 * libio/obprintf.c: Likewise.
8776 * libio/oldfileops.c: Likewise.
8777 * libio/oldiofclose.c: Likewise.
8778 * libio/oldiofdopen.c: Likewise.
8779 * libio/oldiofopen.c: Likewise.
8780 * libio/oldiopopen.c: Likewise.
8781 * libio/oldstdfiles.c: Likewise.
8782 * libio/putc.c: Likewise.
8783 * libio/setbuf.c: Likewise.
8784 * libio/setlinebuf.c: Likewise.
8785 * libio/stdfiles.c: Likewise.
8786 * libio/strops.c: Likewise.
8787 * libio/vasprintf.c: Likewise.
8788 * libio/vscanf.c: Likewise.
8789 * libio/vsnprintf.c: Likewise.
8790 * libio/vswprintf.c: Likewise.
8791 * libio/wfiledoalloc.c: Likewise.
8792 * libio/wfileops.c: Likewise.
8793 * libio/wgenops.c: Likewise.
8794 * libio/wmemstream.c: Likewise.
8795 * libio/wstrops.c: Likewise.
8796 * libio/__fpurge.c: Likewise.
8797 * libio/__fsetlocking.c: Likewise.
8798 * assert/assert.c: Likewise.
8799 * debug/fgets_chk.c: Likewise.
8800 * debug/fgets_u_chk.c: Likewise.
8801 * debug/fread_chk.c: Likewise.
8802 * debug/fread_u_chk.c: Likewise.
8803 * debug/gets_chk.c: Likewise.
8804 * debug/obprintf_chk.c: Likewise.
8805 * debug/vasprintf_chk.c: Likewise.
8806 * debug/vdprintf_chk.c: Likewise.
8807 * debug/vsnprintf_chk.c: Likewise.
8808 * debug/vsprintf_chk.c: Likewise.
8809 * malloc/mtrace.c: Likewise.
8810 * misc/error.c: Likewise.
8811 * misc/syslog.c: Likewise.
8812 * stdio-common/asprintf.c: Likewise.
8813 * stdio-common/fxprintf.c: Likewise.
8814 * stdio-common/getw.c: Likewise.
8815 * stdio-common/isoc99_fscanf.c: Likewise.
8816 * stdio-common/isoc99_scanf.c: Likewise.
8817 * stdio-common/isoc99_vfscanf.c: Likewise.
8818 * stdio-common/isoc99_vscanf.c: Likewise.
8819 * stdio-common/isoc99_vsscanf.c: Likewise.
8820 * stdio-common/printf-prs.c: Likewise.
8821 * stdio-common/printf_fp.c: Likewise.
8822 * stdio-common/printf_fphex.c: Likewise.
8823 * stdio-common/printf_size.c: Likewise.
8824 * stdio-common/putw.c: Likewise.
8825 * stdio-common/scanf.c: Likewise.
8826 * stdio-common/sprintf.c: Likewise.
8827 * stdio-common/tmpfile.c: Likewise.
8828 * stdio-common/vfprintf.c: Likewise.
8829 * stdio-common/vfscanf.c: Likewise.
8830 * stdlib/strfmon_l.c: Likewise.
8831 * sunrpc/openchild.c: Likewise.
8832 * sunrpc/xdr_stdio.c: Likewise.
8833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8834 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8836 2012-05-24 Roland McGrath <roland@hack.frob.com>
8838 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8840 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8841 in the third column, to generate for the shared library an IFUNC
8842 that uses _dl_vdso_vsym.
8843 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8844 * Makeconfig (object-suffixes-noshared): New variable.
8846 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8847 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8848 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8849 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8852 * include/sys/time.h (__gettimeofday): Remove macro.
8853 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8854 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8856 (__gettimeofday): Add libc_hidden_def.
8857 (gettimeofday): Add libc_hidden_weak.
8858 * sysdeps/mach/gettimeofday.c: Likewise.
8859 * sysdeps/posix/gettimeofday.c: Likewise.
8860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8861 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8863 (__gettimeofday_internal): Remove strong_alias.
8864 (__gettimeofday): Add libc_hidden_def.
8865 (gettimeofday): Add libc_hidden_weak.
8866 * sysdeps/unix/syscalls.list (gettimeofday):
8867 Remove __gettimeofday_internal alias.
8869 2012-05-24 Daniel Jacobowitz <drow@false.org>
8870 H.J. Lu <hongjiu.lu@intel.com>
8873 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8874 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8875 (largebin_index_32_big): New.
8876 (largebin_index): Use it for 16-byte alignment.
8877 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8878 correction with front_misalign.
8880 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8908 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8909 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8911 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8915 * math/libm-test.inc (exp_test): Add test from bug 14036.
8916 (pow_test): Add test from bug 10846.
8918 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8920 (special_function): Do not include flags in test name.
8921 (parse_args): Likewise.
8922 * sysdeps/i386/fpu/libm-test-ulps: Update.
8923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8928 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8930 * math/libm-test.inc ("Philosophy"): Update comment about
8932 (UNDERFLOW_EXCEPTION): New macro.
8933 (UNDERFLOW_EXCEPTION_OK): Likewise.
8934 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8935 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8936 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8937 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8938 (INVALID_EXCEPTION_OK): Update value.
8939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8940 (OVERFLOW_EXCEPTION_OK): Likewise.
8941 (IGNORE_ZERO_INF_SIGN): Likewise.
8942 (test_exceptions): Handle underflow exceptions.
8943 (acos_test): Update for underflow exception expectations.
8944 (cexp_test): Likewise.
8945 (clog_test): Likewise.
8946 (clog10_test): Likewise.
8947 (csqrt_test): Likewise.
8948 (ctan_test): Likewise.
8949 (ctanh_test): Likewise.
8950 (exp_test): Likewise.
8951 (exp10_test): Likewise.
8952 (exp2_test): Likewise.
8953 (expm1_test): Likewise.
8954 (fma_test): Likewise.
8955 (j0_test): Likewise.
8956 (jn_test): Likewise.
8957 (nexttoward_test): Likewise.
8958 (pow_test): Likewise.
8959 (scalbn_test): Likewise.
8960 (scalbln_test): Likewise.
8961 (tan_test): Likewise.
8962 (y1_test): Likewise.
8963 * sysdeps/i386/fpu/libm-test-ulps: Update.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966 2012-05-23 David S. Miller <davem@davemloft.net>
8968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8969 (__libc_sigaction): Remove unused local variables.
8971 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8973 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8975 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8977 mktime: avoid signed integer overflow
8978 * time/mktime.c (__mktime_internal): Do not mishandle the case
8979 where diff == INT_MIN.
8981 mktime: simplify computation of average
8982 * time/mktime.c (ranged_convert): Use new time_t_avg function
8983 instead of rolling our own (probably-slower) code.
8985 mktime: do not assume signed right shift propagates sign bit
8986 * time/mktime.c (isdst_differ): New static function.
8987 (__mktime_internal): No need to normalize tm_isdst now.
8988 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8991 mktime: merge another wrapv change from gnulib
8992 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8993 from some compilers.
8995 mktime: remove incorrect attempt at unusual arithmetics
8996 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8997 The code didn't really work on such machines anyway.
8998 (TYPE_MINIMUM): Assume two's complement.
8999 (twos_complement_arithmetic): Verify that long_int and time_t
9000 are two's complement (or unsigned, in the latter case).
9002 mktime: check signed shifts on long_int and time_t, too
9003 * time/mktime.c (SHR): Check that shifts work as desired
9004 on the types long_int and time_t too, as SHR is used on
9007 mktime: do not assume 'long' is wide enough
9008 * time/mktime.c (verify): Move decl up.
9009 (long_int): New type.
9010 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9011 to remove assumption in the code that 'long' is wide enough to
9012 store year values. This assumption is not true on x32 and on
9013 some non-glibc platforms.
9015 mktime: merge wrapv change from gnulib
9016 * time/mktime.c (WRAPV): New macro.
9017 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9018 (guess_time_tm, __mktime_internal): Do not assume that signed
9019 integer overflow wraps around; modern compilers generate code
9020 where this assumption is no longer valid.
9022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9025 Replace "jmp L(pseudo_end)" with "ret".
9026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9029 2012-05-23 Andreas Jaeger <aj@suse.de>
9031 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9032 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9034 2012-05-23 Andreas Jaeger <aj@suse.de>
9035 Maximilian Attems <max@stro.at>
9037 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9043 code so that pseudo_end is just ret and the stack pointer is
9044 correct also for static library in error case.
9046 2012-05-23 Joseph Myers <joseph@codesourcery.com>
9048 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9049 move to syscalls.list.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9055 * manual/install.texi (Running make install): Do not mention Linux
9056 kernel version for which pt_chown is not needed.
9057 (Linux): Do not mention problems with nscd with 2.0 kernels.
9058 * INSTALL: Regenerated.
9060 2012-05-23 Andreas Jaeger <aj@suse.de>
9062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9063 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9065 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9067 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9068 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9069 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9075 * sysdeps/unix/sysv/linux/bits/in.h
9076 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9078 2012-05-22 Roland McGrath <roland@hack.frob.com>
9080 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9081 (PREPARE_VERSION): Just use assert instead, it will be elided
9082 under [NDEBUG] anyway.
9084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9086 * sysdeps/unix/sysv/linux/Makefile: Include
9087 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9088 (sysdep_routines): Remove sysctl.
9089 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9090 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9091 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9092 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9093 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9095 2012-05-22 Andreas Jaeger <aj@suse.de>
9097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9098 that pseudo_end is just ret and the stack pointer is correct also
9099 for static library in error case.
9101 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9104 * nss/nsswitch.c (defconfig_entries): New variable.
9105 (__nss_database_lookup): Don't leak defconfig entries.
9106 (nss_parse_service_list): Don't leak on error paths.
9107 (free_database_entries): New function.
9108 (free_defconfig): New function.
9109 (free_mem): Move common code to free_database_entries.
9111 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9115 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9117 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9118 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9121 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9122 (INTERNAL_SYSCALL_TYPES): Likewise.
9123 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9124 (LOAD_REGS_TYPES_[1-6]): Likewise.
9125 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9126 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9128 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9131 copysignl for GLIBC_2_0.
9132 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9133 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9135 logbl for GLIBC_2_0.
9136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9137 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9142 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9147 * time/mktime.c: Update copyright years.
9149 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9151 mktime: merge comment-quoting-style change from gnulib
9152 * time/mktime.c: Quote 'like this' in comments.
9153 The GNU coding standards suggest that we no longer quote `like this',
9154 as "`" and "'" are typically rendered asymmetrically nowadays.
9155 The typical gnulib style is to quote 'like this' when quoting
9156 code, and "like this" when quoting English.
9158 * time/mktime.c (compile-command): Add "-I.".
9160 mktime: merge mktime-internal.h change from gnulib
9161 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9163 mktime: merge time_r change from gnulib
9164 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9166 mktime: merge DEBUG change from gnulib
9167 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9168 case system <time.h> has a #define.
9170 mktime: merge <sys/types.h> change from gnulib
9171 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9172 since <time.t> is now guaranteed to define time_t.
9174 mktime: merge HAVE_CONFIG_H change from gnulib
9175 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9182 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9184 (struct rusage): Use anonymous union to pad each field to
9187 2012-05-21 David S. Miller <davem@davemloft.net>
9189 * Makefules (o-iterator): Remove .s cases.
9190 (compile-command.s): Delete.
9191 (COMPILE.s): Delete.
9192 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9194 2012-05-21 Joseph Myers <joseph@codesourcery.com>
9196 * configure.in (libc_cv_predef_stack_protector): Only consider
9197 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9198 * configure: Regenerated.
9200 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9203 New macro. Use R*LP on int and pointer.
9204 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9205 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9206 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9207 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9209 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9210 [__WORDSIZE_TIME64_COMPAT32] instead of
9211 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9212 (struct utmp): Likewise.
9213 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9214 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9216 (__WORDSIZE_TIME64_COMPAT32): This.
9217 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9218 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9219 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9220 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9222 (__WORDSIZE_TIME64_COMPAT32): New macro.
9224 2012-05-21 Andreas Jaeger <aj@suse.de>
9226 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9227 only if [SHARED]. Add prototype for __wcschr_ia32.
9229 2012-05-21 Roland McGrath <roland@hack.frob.com>
9231 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9232 of %rbp unmolested in the jmp_buf while mangling the low bits.
9233 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9234 unmolested high bits of %rbp while demangling the low bits.
9235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9237 2012-05-21 Andreas Jaeger <aj@suse.de>
9239 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9240 * sunrpc/svc_simple.c: Use it for registerrpc.
9241 * sunrpc/xcrypt.c: Use it for passwd2des.
9243 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9245 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9247 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9248 Don't define if [__SYSCALL_WORDSIZE != 32].
9249 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9252 2012-05-21 Bruno Haible <bruno@clisp.org>
9253 Andreas Jaeger <aj@suse.de>
9255 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9256 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9257 inptr and inend for must_buffer_ch.
9258 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9259 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9260 * stdio-common/Makefile (tests): Remove bug15.
9261 (bug15-ENV): Remove macro.
9262 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9265 2012-05-19 Andreas Jaeger <aj@suse.de>
9266 Roland McGrath <roland@hack.frob.com>
9268 * manual/contrib.texi: Completely rewritten. It contains now an
9269 alphabetical list of contributors and their contributions.
9271 2012-05-21 Richard Henderson <rth@twiddle.net>
9273 * misc/getauxval.c (__getauxval): Use unsigned long int.
9274 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9275 (getauxval): Use unsigned long int.
9277 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9279 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9281 2012-05-21 Roland McGrath <roland@hack.frob.com>
9283 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9284 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9285 __alignof__ (long double).
9287 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9291 2012-05-20 Richard Henderson <rth@twiddle.net>
9293 * misc/getauxval.c: New file.
9294 * misc/sys/auxv.h: New file.
9295 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9296 (routines): Add getauxval.
9297 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9299 * elf/dl-sysdep.c (_dl_auxv): Remove.
9300 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9301 * elf/dl-support.c (_dl_auxv): New variable.
9302 (_dl_aux_init): Initialize it.
9303 * manual/startup.texi (Auxiliary Vector): New node.
9304 * sysdeps/generic/bits/hwcap.h: New file.
9305 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9306 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9307 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9308 * sysdeps/sparc/sysdep.h: ... here. Include it.
9309 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9322 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9326 2012-05-19 David S. Miller <davem@davemloft.net>
9328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9330 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9333 * math/s_ccosh.c: Include <float.h>
9334 (__ccosh): Avoid internal overflow calculating sinh and cosh
9335 values before multiplying by sin and cos values.
9336 * math/s_ccoshf.c: Likewise.
9337 * math/s_ccoshl.c: Likewise.
9338 * math/s_csin.c: Likewise.
9339 * math/s_csinf.c: Likewise.
9340 * math/s_csinl.c: Likewise.
9341 * math/s_csinh.c: Likewise.
9342 * math/s_csinhf.c: Likewise.
9343 * math/s_csinhl.c: Likewise.
9344 * math/libm-test.inc (ccos_test): Add more tests.
9345 (ccosh_test): Likewise.
9346 (csin_test): Likewise.
9347 (csinh_test): Likewise.
9348 * sysdeps/i386/fpu/libm-test-ulps: Update.
9349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9351 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9353 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9354 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9356 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9361 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9362 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9363 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9364 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9365 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9366 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9367 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9368 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9369 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9370 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9371 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9372 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9373 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9374 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9375 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9376 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9377 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9378 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9379 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9380 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9381 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9382 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9383 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9384 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9385 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9386 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9387 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9388 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9389 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9390 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9392 2012-05-18 Andreas Jaeger <aj@suse.de>
9394 * csu/.gitignore: Delete.
9396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9398 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9399 (timex): Use __syscall_slong_t.
9401 2012-05-18 Andreas Jaeger <aj@suse.de>
9402 Carlos O'Donell <carlos_odonell@mentor.com>
9404 * manual/install.texi (Configuring and compiling): Update
9405 description about files modified in the source directory.
9406 * INSTALL: Regenerated.
9408 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9410 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9411 value. Use "or" to set return value to -1.
9412 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9413 negate return value.
9415 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9417 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9418 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9419 failure if the compiler has Graphite support disabled.
9420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9422 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9423 CFLAGS-memmove.c): Likewise.
9424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9427 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9429 * sysdeps/x86_64/x32/_itoa.h: New file.
9431 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9432 getdents system call only if kernel and user dirents have the
9433 same d_ino and d_off.
9435 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9436 LLONG_MAX != LONG_MAX.
9437 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9438 (_fitoa_word): Likewise.
9440 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9444 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9447 include <bits/wordsize.h>. Check __x86_64__ instead of
9449 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9450 if __x86_64__ is defined. Use anonymous union on fpstate.
9452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9455 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9457 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9458 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9459 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9460 Refer to _rtld_local_ro instead of _rtld_global_ro.
9461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9463 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9465 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9467 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9468 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9469 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9471 * sysdeps/powerpc/powerpc32/dl-machine.c
9472 (__elf_machine_runtime_setup) [PROF]: Don't reference
9475 2012-05-18 Andreas Jaeger <aj@suse.de>
9477 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9478 function only available for GCCs before 3.4 since GCC 3.4
9479 introduced a builtin.
9481 (llrintf): Likewise.
9489 (nearbyint): Likewise.
9490 (nearbyintf): Likewise.
9496 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9498 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9499 on both fields and cast pointer to __syscall_ulong_t.
9501 * bits/types.h (__fsword_t): New type.
9502 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9503 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9505 (__FSWORD_T_TYPE): Likewise.
9506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9507 (__FSWORD_T_TYPE): Likewise.
9508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9509 (__FSWORD_T_TYPE): Likewise.
9510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9511 (__FSWORD_T_TYPE): Likewise.
9512 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9513 __SWORD_TYPE with __fsword_t.
9514 (statfs64): Likewise.
9516 2012-05-17 David S. Miller <davem@davemloft.net>
9518 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9520 2012-05-17 Andreas Jaeger <aj@suse.de>
9522 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9527 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9529 2012-05-17 Andreas Jaeger <aj@suse.de>
9531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9534 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9536 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9538 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9540 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9541 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9543 2012-05-17 Andreas Jaeger <aj@suse.de>
9544 Carlos O'Donell <carlos_odonell@mentor.com>
9547 * sysdeps/x86_64/multiarch/init-arch.h
9548 (bit_YMM_Usable): Rename to...
9549 (bit_AVX_Usable): ... this.
9550 (bit_FMA4_Usable): New macro.
9551 (bit_XMM_state): New macro.
9552 (bit_YMM_state): New macro.
9553 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9554 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9555 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9556 (CPUID_OSXSAVE): New macro.
9557 (CPUID_AVX): New macro.
9558 (CPUID_FMA4): New macro.
9559 (index_YMM_Usable): Rename to...
9560 (index_AVX_Usable): ... this.
9561 (HAS_AVX): Use HAS_ARCH_FEATURE.
9562 (HAS_FMA4): Likewise.
9563 (HAS_YMM_USABLE): Remove.
9564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9565 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9567 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9568 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9569 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9570 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9571 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9573 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9575 * math/libm-test.c: Support platforms without multiple rounding modes.
9576 * math/bug-nextafter.c: Support platforms without FP exceptions.
9577 * math/bug-nexttoward.c: Likewise.
9578 * math/test-fenv.c: Likewise.
9579 * math/test-misc.c: Likewise.
9580 * stdlib/bug-getcontext.c: Likewise.
9582 2012-05-17 Andreas Jaeger <aj@suse.de>
9584 * manual/examples/search.c (critter_cmp): Change signature to
9586 * manual/string.texi (Collation Functions): Likewise.
9588 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9590 * bits/types.h: Fold copyright years.
9591 * bits/typesizes.h: Likewise.
9592 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9596 * time/time.h: Likewise.
9598 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9601 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9602 in instead of returning them. Return void.
9603 (__libc_mallinfo): Accumulate over all arenas.
9604 (__malloc_stats): Adjust for change in int_mallinfo interface.
9606 2012-05-16 Roland McGrath <roland@hack.frob.com>
9609 * configure.in (NM): Add AC_CHECK_TOOL for it.
9610 (libc_extra_cflags): New substituted variable.
9611 Check for -fstack-protector being used implicitly.
9612 * configure: Regenerated.
9613 * config.make.in (config-extra-cflags): New variable,
9614 gets @libc_extra_cflags@.
9615 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9618 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9619 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9620 * configure: Regenerated.
9621 * config.make.in (CPPUNDEFS): New substituted variable.
9622 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9623 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9624 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9628 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9629 (mq_attr): Use __syscall_slong_t.
9631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9633 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9634 Check __x86_64__ instead of __WORDSIZE.
9635 (_STAT_VER_LINUX): Likewise.
9636 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9637 __syscall_ulong_t and __syscall_slong_t.
9640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9644 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9646 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9650 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9653 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9654 include <bits/wordsize.h>. Check __x86_64__ instead of
9656 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9658 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9661 include <bits/wordsize.h>. Check __x86_64__ instead of
9663 (user_regs_struct): Use "__extension__ unsigned long long"
9664 instead of "unsigned long" if __x86_64__ is defined.
9665 (user): Likewise. Pad after pointer field if __ILP32__ is
9668 2012-05-16 Joseph Myers <joseph@codesourcery.com>
9670 * configure.in (makeinfo): Require version 4.5 or later. Allow
9672 * configure: Regenerated.
9673 * manual/install.texi (texinfo): Increase version requirement to
9675 * INSTALL: Regenerated.
9677 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9679 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9681 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9683 * sysdeps/x86_64/x32/ffs.c: New file.
9685 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9687 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9688 defined. Use __syscall_ulong_t.
9689 (shminfo): Use __syscall_ulong_t.
9690 (shm_info): Likewise.
9692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9695 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9697 (msgqnum_t): Use __syscall_ulong_t.
9698 (msglen_t): Likewise.
9699 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9702 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9705 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9707 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9708 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9710 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9713 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9714 include <bits/wordsize.h>. Check __x86_64__ instead of
9717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9718 "unsigned long long int" if __x86_64__ is defined.
9719 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9721 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9723 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9725 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9727 (GET_PC): Cast to uintptr_t first.
9728 (GET_FRAME): Likewise.
9729 (GET_STACK): Likewise.
9731 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9735 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9737 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9738 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9743 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9744 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9753 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9754 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9755 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9758 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9761 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9763 * Makerules (+depfiles): Also collect depfiles from .oS in
9765 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9766 .oS, $(libnldbl-routines)).
9768 * Makerules (native-compile-mkdep-flags): Define.
9769 * sunrpc/Makefile (extra-objs): Add $(addprefix
9770 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9771 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9772 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9773 calling $(make-target-directory).
9775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9777 * bits/types.h (__snseconds_t): Removed.
9778 * time/time.h (struct timespec): Replace __snseconds_t with
9780 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9781 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9784 (__SNSECONDS_T_TYPE): Likewise.
9785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9786 (__SNSECONDS_T_TYPE): Likewise.
9787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9788 (__SNSECONDS_T_TYPE): Likewise.
9790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9792 * sysdeps/mach/hurd/bits/typesizes.h
9793 (__SYSCALL_SLONG_TYPE): New macro.
9794 (__SYSCALL_ULONG_TYPE): Likewise.
9796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9798 * bits/types.h (__syscall_slong_t): New type.
9799 (__syscall_ulong_t): Likewise.
9801 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9802 (__SYSCALL_ULONG_TYPE): Likewise.
9803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9804 (__SYSCALL_SLONG_TYPE): Likewise.
9805 (__SYSCALL_ULONG_TYPE): Likewise.
9806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9807 (__SYSCALL_SLONG_TYPE): Likewise.
9808 (__SYSCALL_ULONG_TYPE): Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9810 (__SYSCALL_SLONG_TYPE): Likewise.
9811 (__SYSCALL_ULONG_TYPE): Likewise.
9813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9815 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9816 Add sigaltstack-offsets.sym.
9817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9818 <sigaltstack-offsets.h>.
9819 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9820 longjmp_msg pointer.
9821 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9822 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9824 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9826 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9828 * elf/stackguard-macros.h: Remove file.
9829 * sysdeps/generic/stackguard-macros.h: New file.
9830 * sysdeps/i386/stackguard-macros.h: Likewise.
9831 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9832 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9833 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9834 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9835 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9836 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9837 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9838 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9839 <elf/stackguard-macros.h>.
9842 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9843 __aligned__ in attribute.
9844 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9845 (gregset_t): Likewise.
9847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9849 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9850 * sysdeps/x86_64/64/Implies-after: Here. New file.
9851 * sysdeps/x86_64/x32/Implies-after: New file.
9853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9855 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9856 and access return value for _dl_profile_fixup. Use R10_LP to
9859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9861 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9865 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9866 * sysdeps/x86_64/x32/sysdep.h: New file.
9868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9870 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9871 * sysdeps/x86_64/setjmp.S: Likewise.
9873 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9877 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9879 remove unused global constant.
9881 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9883 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9884 include of <not-cancel.h>.
9886 2012-05-15 Roland McGrath <roland@hack.frob.com>
9888 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9890 2012-05-15 Jeff Law <law@redhat.com>
9891 Andreas Jaeger <aj@suse.de>
9894 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9896 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9897 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9898 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9899 code changing __hst_map_handle.map.
9901 2012-05-15 Roland McGrath <roland@hack.frob.com>
9903 * configure.in (sysnames): Look for Implies-before and Implies-after
9905 * configure: Regenerated.
9907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9909 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9910 8-byte data alignment with LP_SIZE alignment.
9912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9919 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9923 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9924 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9927 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9931 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9932 (stackinfo_sub_sp): Likewise.
9934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9951 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9955 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9956 into R11_LP and load __x86_64_shared_cache_size_half into
9959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9961 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9964 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9973 powerpc32/power7/fpu/s_logb.c via #include.
9974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9975 powerpc32/power7/fpu/s_logbf.c via #include.
9976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9977 powerpc32/power7/fpu/s_logbl.c via #include.
9979 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9981 * README.libm: Remove file.
9983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9985 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9986 count for x32. Use R*_LP and omit operand-size suffix.
9988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9990 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9991 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9992 * sysdeps/x86_64/x32/shlib-versions: New file.
9994 2012-05-14 Roland McGrath <roland@hack.frob.com>
9996 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9997 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9998 Use _dl_fatal_printf instead.
10000 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10002 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10003 set if not set by the user. Do not allow for being unset.
10004 * sysdeps/unix/sysv/linux/configure: Regenerated.
10006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10008 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10009 the `q' suffix from lea and replace .quad with ASM_ADDR.
10011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10014 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10016 (PTR_DEMANGLE): Likewise.
10018 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10020 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10022 (ASM_ADDR): Likewise.
10023 (RAX_LP): Likewise.
10024 (RBP_LP): Likewise.
10025 (RBX_LP): Likewise.
10026 (RCX_LP): Likewise.
10027 (RDI_LP): Likewise.
10028 (RSI_LP): Likewise.
10029 (RSP_LP): Likewise.
10032 (R10_LP): Likewise.
10033 (R10_LP): Likewise.
10034 (R11_LP): Likewise.
10035 (R12_LP): Likewise.
10036 (R13_LP): Likewise.
10037 (R14_LP): Likewise.
10038 (R15_LP): Likewise.
10040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10042 * sysdeps/x86_64/x32/dl-machine.h: New file.
10044 2012-05-14 Andreas Jaeger <aj@suse.de>
10046 * manual/Makefile (subdir): Remove export of subdir.
10047 (all): Remove target.
10048 (.PHONY): Remove all from list.
10049 (mkinstalldirs): Remove.
10050 (.PHONY): Remove installdirs from list.
10051 ($(inst_infodir)/libc.info): Use make-target-directory.
10052 (installdirs): Remove.
10053 (subdir_%): Remove.
10054 (glibc-targets): Remove.
10057 ($(objpfx)stubs ../po/manual.pot): Remove.
10058 ($(objpfx)stamp%): Remove.
10059 (make-target-directory): Remove.
10060 (subdir_install): Remove.
10061 (routines): Remove.
10068 * manual/.gitignore: Remove, it's not needed anymore.
10069 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10071 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10073 (texis): Renamed to $(objpfx)texis.
10074 (texis-path): New, contains path to generated files.
10075 (chapters.%): Use texis-path for complete path, add extra argument
10077 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10078 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10079 (summary,texi, stamp-summary): Use complete path of
10080 files. Generate files in build dir.
10081 (dir-add.texi): Build in build dir.
10082 (libm-err.texi,stamp-libm-err): Likewise.
10083 (version.texi, stamp-version): Likewise.
10084 (.%c.texi): Likewise.
10085 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10086 (mostlyclean): Remove target.
10087 (realclean): Remove target.
10088 (generated): Add new variable with contents from mostlyclean and
10089 realclean, remove entries duplicated in common-mostlyclean, add
10090 stamp-libm-err and stamp-version.
10091 (generated-dirs): Add libc directory.
10092 ($(inst_infodir)/libc.info): Install files from build dir.
10094 * manual/install.texi (Configuring and compiling): Adjust since
10095 the info files are not part of the tar ball anymore.
10097 2012-05-14 Andreas Jaeger <aj@suse.de>
10099 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10102 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10106 to 2.2.0 where earlier.
10107 * sysdeps/unix/sysv/linux/configure: Regenerated.
10108 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10109 Remove conditional code.
10110 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10111 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10112 Remove conditional code.
10113 [!__NR_lchown]: Likewise.
10114 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10115 [__NR_lchown]: Likewise.
10116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10117 comment referencing __ASSUME_LCHOWN_SYSCALL.
10118 * sysdeps/unix/sysv/linux/i386/sigaction.c
10119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10121 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10122 Remove conditional code.
10123 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10124 (__protocol_available): Remove #if 0 code.
10125 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10127 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10128 * sysdeps/unix/sysv/linux/kernel-features.h
10129 (__ASSUME_GETCWD_SYSCALL): Don't define.
10130 (__ASSUME_REALTIME_SIGNALS): Likewise.
10131 (__ASSUME_PREAD_SYSCALL): Likewise.
10132 (__ASSUME_PWRITE_SYSCALL): Likewise.
10133 (__ASSUME_POLL_SYSCALL): Likewise.
10134 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10135 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10137 (__ASSUME_SIOCGIFNAME): Don't define.
10138 (__ASSUME_MSG_NOSIGNAL): Likewise.
10139 (__ASSUME_SENDFILE): Define unconditionally.
10140 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10141 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10143 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10144 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10145 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10146 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10147 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10148 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10149 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10163 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10169 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10174 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10175 Remove conditional code.
10176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10177 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10178 Remove conditional code.
10179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10180 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10181 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10182 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10183 Remove conditional code.
10184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10185 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10186 Remove conditional code.
10187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10188 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10189 Remove conditional code.
10190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10191 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10192 Remove conditional code.
10193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10194 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10195 Remove conditional code.
10196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10197 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10200 * sysdeps/unix/sysv/linux/sigaction.c
10201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10203 * sysdeps/unix/sysv/linux/sigpending.c
10204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10206 * sysdeps/unix/sysv/linux/sigprocmask.c
10207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10209 * sysdeps/unix/sysv/linux/sigsuspend.c
10210 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10211 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10213 (__libc_missing_rt_sigs): Remove.
10214 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10215 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10216 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10217 Remove conditional code.
10218 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10219 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10222 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10224 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10226 2012-05-14 Andreas Jaeger <aj@suse.de>
10228 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10229 it's not used in glibc.
10230 (__coshm1): Likewise.
10231 (__acosh1p): Likewise.
10234 * manual/string.texi (Copying and Concatenation): Add missing
10235 variable in concat example.
10236 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10242 __builtin_clzl with __builtin_clzll.
10244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10247 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10250 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10252 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10253 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10254 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10257 2012-05-14 Mike Frysinger <vapier@gentoo.org>
10259 * NEWS: Update ia64 info.
10261 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10263 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10266 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10268 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10269 * sysdeps/unix/syscalls.list (dup3): Likewise.
10270 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10271 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10275 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10276 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10278 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10280 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10282 (TLS_IE): Use mov/add instead of movq/addq to load thread
10284 (TLS_GD_PREFIX): New.
10287 2012-05-11 David S. Miller <davem@davemloft.net>
10289 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10290 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10291 (_FPU_SETCW): Likewise.
10293 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10295 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10296 is 32-byte aligned.
10298 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10301 * iconvdata/gb18030.c: Update tables.
10302 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10303 characters specially.
10304 (BODY for TO_LOOP): Add encoding of missing ranges.
10306 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10309 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10310 * sysdeps/mach/hurd/dup3.c: Likewise.
10311 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10312 * sysdeps/powerpc/memmove.c:: Likewise.
10314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10317 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10319 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10321 * elf/elf.h (R_X86_64_RELATIVE64): New.
10322 (R_X86_64_NUM): Updated.
10323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10324 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10325 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10326 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10327 tst-quad1pie tst-quad2pie
10328 (modules-names): Add tst-quadmod1 tst-quadmod2.
10329 ($(objpfx)tst-quad1): New dependency.
10330 ($(objpfx)tst-quad2): Likewise.
10331 ($(objpfx)tst-quad1pie): Likewise.
10332 ($(objpfx)tst-quad2pie): Likewise.
10333 * sysdeps/x86_64/tst-quad1.c: New file.
10334 * sysdeps/x86_64/tst-quad1pie.c: New file.
10335 * sysdeps/x86_64/tst-quad2.c: Likewise.
10336 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10337 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10338 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10339 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10340 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10344 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10345 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10346 * streams/stropts.h (t_scalar_t): Define type.
10348 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10349 (_PATH_PRESERVE): Set to "/var/lib".
10350 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10352 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10355 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10356 if __dir_mkfile succeeded.
10358 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10359 checking for _hurd_dtablesize. Unlock it right after having
10360 finished _hurd_dtable allocation.
10362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10364 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10365 * sysdeps/mach/hurd/configure: Regenerated.
10366 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10367 special-casing to...
10368 * sysdeps/gnu/configure.in: ... this new file.
10369 * sysdeps/unix/sysv/linux/configure: Regenerated.
10370 * sysdeps/gnu/configure: New generated file.
10372 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10373 for Linux: use nsec instead of usec, as well as:
10374 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10375 members of type struct timespec.
10376 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10378 (struct stat64): Likewise.
10379 (_STATBUF_ST_NSEC): New macro.
10380 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10383 __strtoul_internal rather than strtoul.
10385 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10387 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10392 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10393 which preserves existing values.
10394 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10398 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10399 TIMEOUT values. Return EINVAL for NFDS values either negative or
10400 greater than FD_SETSIZE.
10402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10404 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10405 allocated, call __vm_protect to finish enabling the existing space, and
10406 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10407 allocate the remainder.
10409 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10411 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10412 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10414 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10416 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10417 sysdeps/mach/hurd/readlink.c.
10419 * posix/tst-sysconf.c (posix_options): Only use
10420 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10421 _POSIX_SYNCHRONIZED_IO when they are defined
10422 * sysdeps/mach/hurd/bits/posix_opt.h:
10423 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10424 (_XOPEN_REALTIME): Undefine macro.
10425 (_XOPEN_REALTIME_THREADS): Undefine macro.
10426 (_XOPEN_SHM): Undefine macro.
10427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10429 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10431 (_POSIX_ASYNC_IO): Undefine macro.
10432 (_POSIX_PRIORITIZED_IO): Undefine macro.
10433 (_POSIX_SPIN_LOCKS): Define macro to -1.
10435 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10436 SA_NODEFER, SA_RESETHAND.
10437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10438 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10443 * elf/Makefile (pldd-modules): Define unconditionally.
10445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10447 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10451 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10452 Return ENOENT when name is empty.
10453 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10457 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10459 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10463 Fix mlock in all cases except non-readable pages.
10464 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10465 instead of VM_PROT_ALL as parameter to __vm_wire function.
10467 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10468 (__mkdir): When path is `/', just fail with EEXIST.
10469 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10473 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10474 <sys/uio.h> (for writev).
10475 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10476 and <sys/param.h> (for MIN).
10478 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10480 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10481 REQUESTED_TIME. Properly set the remaining time and return EINTR
10484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10487 Depend on against $(link-rpcuserlibs).
10489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10491 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10492 (__libc_stack_end): Do not use attribute_relro.
10493 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10494 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10495 to libthread-provided value.
10496 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10502 * bits/libc-lock.h (__libc_once_get): New macro.
10503 * sysdeps/mach/bits/libc-lock.h: Likewise.
10504 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10506 instead of using implementation details.
10508 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10509 * libio/freopen.c: Likewise.
10510 * libio/freopen64.c: Likewise.
10511 * misc/syslog.c: Likewise.
10512 * nscd/connections.c: Likewise.
10513 * nscd/netgroupcache.c: Likewise.
10514 * sysdeps/posix/getcwd.c: Likewise.
10516 2012-05-10 Roland McGrath <roland@hack.frob.com>
10518 * math/w_ilogbf.c: Add #include <limits.h>.
10520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10522 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10523 path instead of returning without unlocking.
10525 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10526 immediate-write ioctls.
10527 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10531 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10532 __builtin_frame_address instead of making assumptions about the
10533 location of the return address relative to DATA. Force early load of
10534 the return address.
10535 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10536 __builtin_frame_address.
10539 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10540 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10541 implement dup3 and do some further code clean-ups.
10542 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10543 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10547 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10549 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10550 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10551 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10552 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10553 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10556 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10557 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10558 when handler == SIG_ERR, not when handler != SIG_ERR.
10560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10562 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10563 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10566 accept4 for GNU Hurd.
10567 * include/sys/socket.h (__libc_accept4): New prototype.
10568 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10569 to implement __libc_accept4.
10570 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10575 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10576 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10577 signal-defines.sym.
10579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10581 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10585 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10586 assertion on O_CLOEXEC flag.
10587 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10588 * hurd/intern-fd.c: Likewise.
10589 * hurd/port2fd.c: Likewise.
10591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10594 * bits/in.h (IPV6_PKTINFO): Define new macro.
10595 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10597 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10602 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10604 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10607 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10608 * math/libm-test.inc (logb_test) : Additional logb tests.
10610 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10611 Andreas Jaeger <aj@suse.de>
10613 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10614 * configure: Regenerated.
10615 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10616 * config.make.in (link-obsolete-rpc): New substituted variable.
10617 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10618 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10619 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10620 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10621 so that libc.a contains the symbols.
10622 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10623 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10624 * sunrpc/auth_none.c: Likewise.
10625 * sunrpc/auth_unix.c: Likewise.
10626 * sunrpc/authdes_prot.c: Likewise.
10627 * sunrpc/authuxprot.c: Likewise.
10628 * sunrpc/clnt_gen.c: Likewise.
10629 * sunrpc/clnt_perr.c: Likewise.
10630 * sunrpc/clnt_raw.c: Likewise.
10631 * sunrpc/clnt_simp.c: Likewise.
10632 * sunrpc/clnt_tcp.c: Likewise.
10633 * sunrpc/clnt_udp.c: Likewise.
10634 * sunrpc/clnt_unix.c: Likewise.
10635 * sunrpc/des_crypt.c: Likewise.
10636 * sunrpc/des_soft.c: Likewise.
10637 * sunrpc/get_myaddr.c: Likewise.
10638 * sunrpc/key_call.c: Likewise.
10639 * sunrpc/key_prot.c: Likewise.
10640 * sunrpc/netname.c: Likewise.
10641 * sunrpc/pm_getmaps.c: Likewise.
10642 * sunrpc/pm_getport.c: Likewise.
10643 * sunrpc/pmap_clnt.c: Likewise.
10644 * sunrpc/pmap_prot.c: Likewise.
10645 * sunrpc/pmap_prot2.c: Likewise.
10646 * sunrpc/pmap_rmt.c: Likewise.
10647 * sunrpc/publickey.c: Likewise.
10648 * sunrpc/rpc_cmsg.c: Likewise.
10649 * sunrpc/rpc_common.c: Likewise.
10650 * sunrpc/rpc_dtable.c: Likewise.
10651 * sunrpc/rpc_prot.c: Likewise.
10652 * sunrpc/rpc_thread.c: Likewise.
10653 * sunrpc/rtime.c: Likewise.
10654 * sunrpc/svc.c: Likewise.
10655 * sunrpc/svc_auth.c: Likewise.
10656 * sunrpc/svc_raw.c: Likewise.
10657 * sunrpc/svc_run.c: Likewise.
10658 * sunrpc/svc_tcp.c: Likewise.
10659 * sunrpc/svc_udp.c: Likewise.
10660 * sunrpc/svc_unix.c: Likewise.
10661 * sunrpc/svcauth_des.c: Likewise.
10662 * sunrpc/xcrypt.c: Likewise.
10663 * sunrpc/xdr.c: Likewise.
10664 * sunrpc/xdr_array.c: Likewise.
10665 * sunrpc/xdr_float.c: Likewise.
10666 * sunrpc/xdr_intXX_t.c: Likewise.
10667 * sunrpc/xdr_mem.c: Likewise.
10668 * sunrpc/xdr_rec.c: Likewise.
10669 * sunrpc/xdr_ref.c: Likewise.
10670 * sunrpc/xdr_sizeof.c: Likewise.
10671 * sunrpc/xdr_stdio.c: Likewise.
10673 2012-05-10 Roland McGrath <roland@hack.frob.com>
10675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10676 change. Update copyright years.
10678 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10680 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10682 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10683 Joseph Myers <joseph@codesourcery.com>
10684 Paul Pluzhnikov <ppluzhnikov@google.com>
10687 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10689 [cross-compiling] (extra-libs): Likewise.
10690 [cross-compiling] (extra-libs-others): Likewise.
10691 [cross-compiling] (librpcsvc-routines): Likewise.
10692 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10693 [cross-compiling] (omit-deps): Likewise.
10694 (sunrpc-CPPFLAGS): New variable.
10695 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10696 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10697 (cross-rpcgen-objs): New variable.
10698 (extra-objs): Append $(cross-rpcgen-objs).
10699 ($(cross-rpcgen-objs)): New rule.
10700 ($(objpfx)cross-rpcgen): Likewise.
10701 (rpcgen-cmd): Define to use $(built-program-file). Expand
10703 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10704 ($(objpfx)x%.stmp): Likewise.
10705 * sunrpc/proto.h [IS_IN_build] (_): Define.
10706 [IS_IN_build] (_libc_intl_domainname): Likewise.
10708 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10711 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10712 and R_X86_64_TPOFF64.
10714 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10716 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10717 sysdeps/unix/sysv/syscalls.list.
10720 * sysdeps/unix/sysv/syscalls.list: Remove file.
10722 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10725 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10726 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10727 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10728 (__LC_IDENTIFICATION): Make these macros useful in #if
10729 expressions, as required by C99.
10731 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10733 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10734 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10737 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10739 * stdlib/longlong.h: Updated from GCC.
10741 2012-05-09 Andreas Jaeger <aj@suse.de>
10743 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10744 default is first entry.
10745 (run_mode): Set type.
10746 (main): Remove informal message about syslog.
10747 (options): Fix typo.
10750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10753 (llrintf): Likewise.
10754 (llrint): Likewise.
10757 (nearbyint): Likewise.
10758 (nearbyintf): Likewise.
10760 2012-05-09 Andreas Jaeger <aj@suse.de>
10761 Pedro Alves <palves@redhat.com>
10763 * nscd/nscd.c (run_mode): Use enum.
10764 (main): Cleanup coding style issue.
10766 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10767 Andreas Jaeger <aj@suse.de>
10769 * nscd/nscd.c (go_background): Replaced with...
10770 (run_mode): ... this.
10771 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10772 (options): Add -F --foreground.
10773 (main): Implement it.
10774 (parse_opt): Parse it.
10776 2012-05-09 Andreas Jaeger <aj@suse.de>
10779 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10780 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10781 -Wconversion warning.
10782 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10785 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10787 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10789 (LC_ALL): Use macro-int-constant.
10790 (LC_COLLATE): Likewise.
10791 (LC_CTYPE): Likewise.
10792 (LC_MESSAGES): Likewise.
10793 (LC_MONETARY): Likewise.
10794 (LC_NUMERIC): Likewise.
10795 (LC_TIME): Likewise.
10796 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10797 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10799 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10801 [C99-based standards] (float_t): Expect type.
10802 [C99-based standards] (double_t): Expect type.
10803 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10805 [C99-based standards] (HUGE_VALL): Likewise.
10806 [C99-based standards] (INFINITY): Likewise.
10807 [C99-based standards] (NAN): Likewise.
10808 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10809 [C99-based standards] (FP_NAN): Likewise.
10810 [C99-based standards] (FP_NORMAL): Likewise.
10811 [C99-based standards] (FP_SUBNORMAL): Likewise.
10812 [C99-based standards] (FP_ZERO): Likewise.
10813 [C99-based standards] (FP_FAST_FMA): Use
10814 optional-macro-int-constant. Specify type. Require == 1.
10815 [C99-based standards] (FP_FAST_FMAF): Likewise.
10816 [C99-based standards] (FP_FAST_FMAL): Likewise.
10817 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10818 [C99-based standards] (FP_ILOGBNAN): Likewise.
10819 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10821 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10822 [C99-based standards] (math_errhandling): Specify type.
10823 [ISO99 || ISO11] (signgam): Do not allow.
10824 [non-C99-based standards] (copysignf): Do not allow.
10825 [non-C99-based standards] (exp2f): Likewise.
10826 [non-C99-based standards] (log2f): Likewise.
10827 [non-C99-based standards] (modff): Allow.
10828 [non-C99-based standards] (erff): Do not allow.
10829 [non-C99-based standards] (erfcf): Likewise.
10830 [non-C99-based standards] (gammaf): Likewise.
10831 [non-C99-based standards] (hypotf): Likewise.
10832 [non-C99-based standards] (j0f): Likewise.
10833 [non-C99-based standards] (j1f): Likewise.
10834 [non-C99-based standards] (jnf): Likewise.
10835 [non-C99-based standards] (lgammaf): Likewise.
10836 [non-C99-based standards] (tgammaf): Likewise.
10837 [non-C99-based standards] (y0f): Likewise.
10838 [non-C99-based standards] (y1f): Likewise.
10839 [non-C99-based standards] (ynf): Likewise.
10840 [non-C99-based standards] (isnanf): Likewise.
10841 [non-C99-based standards] (acoshf): Likewise.
10842 [non-C99-based standards] (asinhf): Likewise.
10843 [non-C99-based standards] (atanhf): Likewise.
10844 [non-C99-based standards] (cbrtf): Likewise.
10845 [non-C99-based standards] (expm1f): Likewise.
10846 [non-C99-based standards] (ilogbf): Likewise.
10847 [non-C99-based standards] (log1pf): Likewise.
10848 [non-C99-based standards] (logbf): Likewise.
10849 [non-C99-based standards] (nextafterf): Likewise.
10850 [non-C99-based standards] (remainderf): Likewise.
10851 [non-C99-based standards] (rintf): Likewise.
10852 [non-C99-based standards] (scalbf): Likewise.
10853 [non-C99-based standards] (copysignl): Likewise.
10854 [non-C99-based standards] (exp2l): Likewise.
10855 [non-C99-based standards] (log2l): Likewise.
10856 [non-C99-based standards] (modfl): Allow.
10857 [non-C99-based standards] (erfl): Do not allow.
10858 [non-C99-based standards] (erfcl): Likewise.
10859 [non-C99-based standards] (gammal): Likewise.
10860 [non-C99-based standards] (hypotl): Likewise.
10861 [non-C99-based standards] (j0l): Likewise.
10862 [non-C99-based standards] (j1l): Likewise.
10863 [non-C99-based standards] (jnl): Likewise.
10864 [non-C99-based standards] (lgammal): Likewise.
10865 [non-C99-based standards] (tgammal): Likewise.
10866 [non-C99-based standards] (y0l): Likewise.
10867 [non-C99-based standards] (y1l): Likewise.
10868 [non-C99-based standards] (ynl): Likewise.
10869 [non-C99-based standards] (isnanl): Likewise.
10870 [non-C99-based standards] (acoshl): Likewise.
10871 [non-C99-based standards] (asinhl): Likewise.
10872 [non-C99-based standards] (atanhl): Likewise.
10873 [non-C99-based standards] (cbrtl): Likewise.
10874 [non-C99-based standards] (expm1l): Likewise.
10875 [non-C99-based standards] (ilogbl): Likewise.
10876 [non-C99-based standards] (log1pl): Likewise.
10877 [non-C99-based standards] (logbl): Likewise.
10878 [non-C99-based standards] (nextafterl): Likewise.
10879 [non-C99-based standards] (remainderl): Likewise.
10880 [non-C99-based standards] (rintl): Likewise.
10881 [non-C99-based standards] (scalbl): Likewise.
10882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10883 [non-C99-based standards] (FP_*): Do not allow.
10884 [C99-based standards] (FP_*): Change to
10885 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10886 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10888 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10889 (SIG_ERR): Likewise.
10890 [X/Open-based standards] (SIG_HOLD): Likewise.
10891 (SIG_IGN): Likewise.
10892 (SIGABRT): Use macro-int-constant. Specify type. Require
10894 (SIGFPE): Likewise.
10895 (SIGILL): Likewise.
10896 (SIGINT): Likewise.
10897 (SIGSEGV): Likewise.
10898 (SIGTER): Likewise.
10899 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10900 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10901 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10902 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10903 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10904 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10905 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10906 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10907 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10908 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10909 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10910 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10911 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10912 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10913 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10914 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10915 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10916 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10917 [X/Open-based standards] (SIGTRAP): Likewise.
10918 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10919 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10920 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10921 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10922 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10925 2012-05-08 Ian Wienand <ianw@vmware.com>
10928 * time/tzset.c (__tzset_parse_tz): Update default rules for
10929 daylight time changes in the Energy Policy Act of 2005.
10931 2012-05-09 Andreas Jaeger <aj@suse.de>
10934 * elf/ldconfig.c (parse_conf): Change string to make clear that
10935 ldconfig only issued a warning if ld.so.conf does not exist.
10937 2012-05-08 David S. Miller <davem@davemloft.net>
10939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10940 movxtod instead of popping the value on the stack.
10942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10944 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10946 * config.h.in: Add HAVE_ARM_PCS_VFP.
10948 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10951 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10952 checking but the checks are disabled for any reason.
10954 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10956 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10957 and ELF64_R_TYPE with ELFW(R_TYPE).
10959 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10961 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10962 (ulimit): Likewise.
10964 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10965 (settimeofday): Likewise.
10967 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10969 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10970 a struct th_u2 inside the union, and move tu_block/tu_code into
10971 a new th_u3 union of tu_block/tu_code inside of that. Move
10972 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10973 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10974 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10975 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10976 (th_stuff): Change to th_u1.tu_stuff.
10978 (th_msg): Change to th_u1.th_u2.tu_data.
10980 2012-05-07 David S. Miller <davem@davemloft.net>
10982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10985 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10986 (SETUP_PIC_REG): Use it.
10987 (SETUP_PIC_REG_LEAF): Use it.
10989 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10995 (EXPL_FINITE): Likewise.
10996 (FLDLOG): Likewise.
10997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10998 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11002 (EXPL_FINITE): Likewise.
11003 (FLDLOG): Likewise.
11004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11005 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11007 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11008 test of -max_value argument for long double.
11009 * sysdeps/i386/fpu/libm-test-ulps: Update.
11010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11012 2012-05-06 David S. Miller <davem@davemloft.net>
11014 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11015 quad soft-float symbols whose references which are compiler
11017 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11019 2012-05-06 Joseph Myers <joseph@codesourcery.com>
11023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11025 (EXPL_FINITE): Likewise.
11026 (FLDLOG): Likewise.
11029 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11030 Adjust comments for base varying.
11031 (__expl_finite): Change alias to EXPL_FINITE.
11032 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11034 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11035 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11037 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11040 (EXPL_FINITE): Likewise.
11041 (FLDLOG): Likewise.
11044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11045 Adjust comments for base varying.
11046 (__expl_finite): Change alias to EXPL_FINITE.
11047 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11052 * math/libm-test.inc (check_float_internal): Correct ulp
11053 calculation for subnormal expected results.
11055 2012-05-06 Andreas Jaeger <aj@suse.de>
11057 * Makeconfig (+math-flags): New, set to -frounding-math.
11058 (+cflags): Add +math-flags so that all of glibc gets compiled with
11061 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11063 2012-05-05 Joseph Myers <joseph@codesourcery.com>
11065 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11071 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11072 (__ieee754_expl): Allow for and saturate large arguments.
11073 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11074 (u_threshold): Likewise.
11075 (__exp): Call __ieee754_exp before checking for overflow and
11077 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11078 (u_threshold): Likewise.
11079 (__expf): Call __ieee754_expf before checking for overflow and
11081 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11082 (u_threshold): Likewise.
11083 (__expl): Call __ieee754_expl before checking for overflow and
11085 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11086 (__ieee754_expl): Allow for and saturate large arguments.
11087 * math/libm-test.inc (exp_test): Add another test. Do not allow
11088 missing overflow exception on overflow.
11089 (expm1_test): Do not allow missing overflow exception on overflow.
11091 * sysdeps/i386/fpu/e_expl.c: Move to ...
11092 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11093 rather than using inline asm.
11094 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11095 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11096 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11098 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11101 (signal): Likewise.
11105 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11107 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11108 sysdeps/unix/common/syscalls.list.
11109 (fchmod): Likewise.
11110 (fchown): Likewise.
11111 (ftruncate): Likewise.
11112 (getrusage): Likewise.
11113 (gettimeofday): Likewise.
11114 (setpgid): Likewise.
11115 (setregid): Likewise.
11116 (setreuid): Likewise.
11117 (sigaction): Likewise.
11118 (truncate): Likewise.
11119 (vhangup): Likewise.
11120 * sysdeps/unix/common/syscalls.list: Remove file.
11121 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11122 * sysdeps/unix/sysv/linux/Implies: Likewise.
11124 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11126 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11128 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11132 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11135 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11138 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11141 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11144 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11150 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11154 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11161 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11169 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11171 * sysdeps/unix/common/bits/dirent.h: Remove file.
11172 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11174 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11175 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11176 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11177 * sysdeps/unix/bsd/isatty.c: Likewise.
11178 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11179 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11180 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11182 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11186 long double comparison inaccuracies.
11187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11190 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11192 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11195 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11199 nonzero digits before rounding a hex value.
11200 * stdlib/tst-strtod.c (tests): Add another test.
11202 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11204 * sysdeps/s390/fpu/libm-test-ulps: Update.
11206 2012-05-03 Andreas Jaeger <aj@suse.de>
11208 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11209 does not get optimized out.
11210 (malloc_opt_barrier): New.
11212 2012-05-03 Andreas Jaeger <aj@suse.de>
11213 Roland McGrath <roland@hack.frob.com>
11215 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11216 intermediate file deletion.
11217 (generated): Add .symlist files.
11219 2012-05-03 Joseph Myers <joseph@codesourcery.com>
11222 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11223 Redirect under this condition.
11224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11225 [__USE_GNU] (__dprintf_chk): Not under this condition.
11226 [__USE_GNU] (__vdprintf_chk): Likewise.
11227 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11228 under this condition.
11229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11230 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11231 [__USE_XOPEN2K8] (vdprintf): Likewise.
11232 [__USE_GNU] (__dprintf_chk): Not under this condition.
11233 [__USE_GNU] (__vdprintf_chk): Likewise.
11234 [__USE_GNU] (dprintf): Likewise.
11235 [__USE_GNU] (vdprintf): Likewise.
11237 2012-05-03 Roland McGrath <roland@hack.frob.com>
11239 * elf/Makefile (common-generated): Set this instead of generated for
11240 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11241 $(all-built-dso)-derived lists.
11243 2012-05-03 Andreas Jaeger <aj@suse.de>
11245 * sysdeps/i386/fpu/libm-test-ulps: Update.
11248 * FAQ.in: Likewise.
11249 * scripts/gen-FAQ.pl: Likewise.
11250 * manual/install.texi (Installation): Point to online location of
11252 * Makefile (files-for-dist): Remove FAQ.
11255 2012-05-02 Allan McRae <allan@archlinux.org>
11257 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11258 (LDFLAGS-reldepmod5.so): Likewise.
11259 (LDFLAGS-reldep6mod1.so): Likewise.
11260 (LDFLAGS-reldep6mod4.so): Likewise.
11261 (LDFLAGS-reldep8mod3.so): Likewise.
11262 (LDFLAGS-unload4mod1.so): Likewise.
11263 (LDFLAGS-unload4mod2.so): Likewise.
11264 (LDFLAGS-tst-initorder): Likewise.
11265 (LDFLAGS-tst-initordera2.so): Likewise.
11266 (LDFLAGS-tst-initordera3.so): Likewise.
11267 (LDFLAGS-tst-initordera4.so): Likewise.
11268 (LDFLAGS-tst-initorderb2.so): Likewise.
11269 (LDFLAGS-noload): Likewise.
11270 (LDFLAGS-next): Likewise.
11271 (LDFLAGS-order2mod1.so): Likewise.
11272 (LDFLAGS-order2mod2.so): Likewise.
11273 (LDFLAGS-tst-initorder2): Likewise.
11274 (LDFLAGS-tst-initorder2a.so): Likewise.
11275 (LDFLAGS-tst-initorder2b.so): Likewise.
11276 (LDFLAGS-tst-initorder2c.so): Likewise.
11277 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11279 2012-05-02 David S. Miller <davem@davemloft.net>
11281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11283 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11286 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11288 2012-05-02 Andreas Jaeger <aj@suse.de>
11290 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11291 since we manipulate rounding mode.
11292 (CPPFLAGS-test-idouble.c): Likewise.
11293 (CPPFLAGS-test-ifloat.c): Likewise.
11294 (CFLAGS-test-ldouble.c): Likewise.
11295 (CFLAGS-test-double.c): Likewise.
11296 (CFLAGS-test-float.c): Likewise.
11297 (CFLAGS-test-misc.c): Likewise.
11298 (CFLAGS-test-test-fenv.c): Likewise.
11300 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11305 comparisons to determine direction to adjust input.
11307 2012-05-01 Roland McGrath <roland@hack.frob.com>
11309 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11310 output to the target.
11312 * scripts/localplt.awk: New file.
11313 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11314 (check-localplt-CFLAGS): Variable removed.
11315 ($(all-built-dso:=.jmprel)): New static pattern rule.
11316 (generated): Add those targets.
11317 (localplt-built-dso): New variable.
11318 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11320 * elf/check-localplt.c: File removed.
11322 * scripts/check-execstack.awk: New file.
11323 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11324 (check-execstack-CFLAGS): Variable removed.
11325 ($(objpfx)check-execstack.h): Target removed.
11326 ($(objpfx)execstack-default): New target.
11327 (generated): Add that instead of check-execstack.h.
11328 ($(all-built-dso:=.phdr)): New static pattern rule.
11329 (generated): Add those targets.
11330 * elf/check-execstack.c: File removed.
11332 * scripts/check-textrel.awk: New file.
11333 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11334 (check-textrel-CFLAGS): Variable removed.
11335 (all-built-dso): Use := to define.o
11336 ($(all-built-dso:=.dyn)): New static pattern rule.
11337 (generated): Add those targets.
11338 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11339 * config.make.in (READELF): New substituted variable.
11340 * elf/check-textrel.c: File removed.
11342 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11344 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11346 * conform/data/ctype.h-data [C99-based standards] (isblank):
11348 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11349 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11351 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11352 Specify type. Require positive value.
11353 (EILSEQ): Likewise.
11354 (ERANGE): Likewise.
11355 [ISO || POSIX] (EILSEQ): Do not expect.
11356 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11357 Specify type. Require positive value.
11358 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11359 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11360 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11361 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11362 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11363 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11364 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11365 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11366 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11367 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11368 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11369 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11370 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11371 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11372 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11373 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11374 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11375 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11376 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11377 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11378 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11379 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11380 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11381 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11382 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11383 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11384 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11385 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11386 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11387 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11388 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11389 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11391 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11392 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11393 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11394 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11395 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11396 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11397 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11398 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11399 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11400 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11401 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11402 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11403 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11405 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11406 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11407 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11408 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11409 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11410 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11411 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11412 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11413 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11414 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11415 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11416 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11417 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11418 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11419 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11420 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11421 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11422 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11423 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11424 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11429 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11430 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11431 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11432 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11433 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11434 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11436 (FLT_ROUNDS): Expect as macro, not constant.
11437 (FLT_MANT_DIG): Use macro-int-constant.
11438 (DBL_MANT_DIG): Likewise.
11439 (LDBL_MANT_DIG): Likewise.
11440 (FLT_DIG): Likewise.
11441 (DBL_DIG): Likewise.
11442 (LDBL_DIG): Likewise.
11443 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11444 (DBL_MIN_EXP): Likewise.
11445 (LDBL_MIN_EXP): Likewise.
11446 (FLT_MAX_EXP): Use macro-int-constant.
11447 (DBL_MAX_EXP): Likewise.
11448 (LDBL_MAX_EXP): Likewise.
11449 (FLT_MAX_10_EXP): Likewise.
11450 (DBL_MAX_10_EXP): Likewise.
11451 (LDBL_MAX_10_EXP): Likewise.
11452 (FLT_MAX): Use macro-constant.
11453 (DBL_MAX): Likewise.
11454 (LDBL_MAX): Likewise.
11455 (FLT_EPSILON): Use macro-constant. Give upper bound.
11456 (DBL_EPSILON): Likewise.
11457 (LDBL_EPSILON): Likewise.
11458 (FLT_MIN): Likewise.
11459 (DBL_MIN): Likewise.
11460 (LDBL_MIN): Likewise.
11461 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11462 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11463 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11464 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11465 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11466 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11467 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11468 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11469 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11470 [ISO11] (FLT_TRUE_MIN): Likewise.
11471 [ISO11] (LDBL_TRUE_MIN): Likewise.
11472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11473 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11474 (SCHAR_MIN): Use macro-int-constant. Specify type.
11475 (SCHAR_MAX): Likewise.
11476 (UCHAR_MAX): Likewise.
11477 (CHAR_MIN): Likewise.
11478 (CHAR_MAX): Likewise.
11479 (MB_LEN_MAX): Use macro-int-constant.
11480 (SHRT_MIN): Use macro-int-constant. Specify type.
11481 (SHRT_MAX): Likewise.
11482 (USHRT_MAX): Likewise.
11483 (INT_MAX): Likewise.
11484 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11486 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11488 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11490 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11491 bound negative. Suffix upper bound with "L".
11492 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11494 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11496 [C99-based standards] (LLONG_MAX): Likewise.
11497 [C99-based standards] (ULLONG_MAX): Likewise.
11498 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11500 [ISO11] (max_align_t): Require type.
11501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11503 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11504 from $CFLAGS, without defining away __attribute__ calls.
11505 (checknamespace): Use $CFLAGS_namespace.
11507 * conform/conformtest.pl (@keywords): Only include C99 keywords
11508 for standards based on C99 or C11.
11510 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11512 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11515 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11516 usability of symbols in #if.
11518 * conform/conformtest.pl: If macro or constant types start
11519 "promoted:", expect the symbol to be of the following type
11520 promoted by the integer promotions.
11522 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11523 in one place. Also handle "macro-constant".
11525 * conform/conformtest.pl: Only accept expected macro values with
11526 "==". Parse all "macro" lines in one place.
11527 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11529 * conform/conformtest.pl: Handle braced types on "constant" lines
11530 instead of handling "typed-constant".
11531 * conform/data/signal.h-data: Use "constant" instead of
11534 * conform/conformtest.pl: Handle "optional-" at start of lines in
11535 one place rather than duplicating several cases. Handle each
11536 format of "macro" line with initial "optional-".
11538 * conform/conformtest.pl: Only accept expected constant or
11539 optional-constant values with "==". Parse all "constant" lines in
11540 one place. Parse all "optional-constant" lines in one place.
11541 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11542 * conform/data/fmtmsg.h-data: Likewise.
11543 * conform/data/netinet/in.h-data: Likewise.
11544 * conform/data/tar.h-data: Likewise.
11545 * conform/data/limits.h-data: Use "==" form on "constant" and
11546 "optional-constant" lines.
11548 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11549 Use -std=c99 for XOPEN2K.
11550 (@knownproblems): Remove.
11551 (newtoken): Don't check %isknown.
11553 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11554 Do not expect macro.
11555 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11556 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11557 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11558 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11559 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11560 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11561 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11562 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11563 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11564 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11565 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11566 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11567 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11568 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11569 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11570 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11571 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11572 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11573 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11574 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11575 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11579 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11580 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11581 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11582 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11583 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11584 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11585 [XPG3] (acosh): Likewise.
11586 [XPG3] (asinh): Likewise.
11587 [XPG3] (atanh): Likewise.
11588 [XPG3] (cbrt): Likewise.
11589 [XPG3] (expm1): Likewise.
11590 [XPG3] (ilogb): Likewise.
11591 [XPG3] (log1p): Likewise.
11592 [XPG3] (logb): Likewise.
11593 [XPG3] (nextafter): Likewise.
11594 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11595 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11596 [XPG3] (remainder): Likewise.
11597 [XPG3] (rint): Likewise.
11598 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11599 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11600 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11601 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11602 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11603 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11604 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11605 [UNIX98 || XOPEN2K] (scalb): Expect.
11606 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11607 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11608 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11609 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11610 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11611 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11612 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11613 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11614 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11615 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11616 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11617 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11618 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11619 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11620 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11621 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11622 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11623 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11624 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11625 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11626 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11627 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11628 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11629 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11630 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11631 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11632 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11633 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11634 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11635 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11636 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11637 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11638 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11639 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11640 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11641 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11642 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11643 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11644 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11645 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11646 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11647 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11648 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11649 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11650 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11651 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11652 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11653 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11654 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11655 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11656 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11657 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11658 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11659 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11660 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11661 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11662 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11663 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11664 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11665 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11666 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11667 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11668 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11669 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11670 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11671 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11672 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11673 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11674 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11675 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11676 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11677 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11678 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11679 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11680 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11681 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11682 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11683 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11684 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11685 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11686 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11687 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11688 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11689 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11690 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11691 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11692 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11693 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11694 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11695 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11696 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11697 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11698 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11699 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11700 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11701 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11702 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11703 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11704 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11705 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11706 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11707 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11708 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11709 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11710 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11711 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11712 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11713 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11714 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11715 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11716 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11717 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11718 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11719 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11720 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11721 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11722 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11723 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11724 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11725 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11726 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11727 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11728 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11729 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11730 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11731 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11732 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11733 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11734 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11735 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11736 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11737 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11738 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11739 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11740 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11741 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11742 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11744 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11745 _XOPEN_SOURCE_EXTENDED for XPG4.
11747 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11749 * Makeconfig (localtime): Remove variable.
11750 (inst_localtime-file): Likewise.
11752 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11773 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11777 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11778 comparisons to determine direction to adjust input.
11779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11780 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11790 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11792 * math/libm-test.inc (nexttoward_test): Add more tests.
11794 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11798 in version GLIBC_2.1, not GLIBC_2.0.
11799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11802 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11807 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11808 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11809 * math/libm-test.inc (acos_test): Add more tests.
11810 (asin_test): Likewise.
11811 * sysdeps/i386/fpu/libm-test-ulps: Update.
11812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11815 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11817 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11819 * math/libm-test.inc (acos_test_tonearest): New function.
11820 (acos_test_towardzero): Likewise.
11821 (acos_test_downward): Likewise.
11822 (acos_test_upward): Likewise.
11823 (asin_test_tonearest): Likewise.
11824 (asin_test_towardzero): Likewise.
11825 (asin_test_downward): Likewise.
11826 (asin_test_upward): Likewise.
11827 (main): Call the new functions.
11828 * sysdeps/i386/fpu/libm-test-ulps: Update.
11829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11833 * math/e_exp10.c: Include <float.h>.
11834 (__ieee754_exp10): Handle underflow here rather than multiplying
11835 large negative argument by M_LN10.
11836 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11838 * math/e_exp10l.c: Include <float.h>.
11839 (__ieee754_exp10l): Handle underflow here rather than multiplying
11840 large negative argument by M_LN10l.
11841 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11842 spurious overflow exception on underflow.
11844 2012-04-29 Marek Polacek <polacek@redhat.com>
11846 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11847 (__fortify_function): New macro.
11848 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11849 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11850 __extern_always_inline.
11851 * libio/bits/stdio2.h: Likewise.
11852 * libio/bits/stdio.h: Likewise.
11853 * string/string.h: Likewise.
11854 * string/bits/string3.h: Likewise.
11855 * include/stdio.h: Likewise.
11856 * stdlib/bits/stdlib.h: Likewise.
11857 * stdlib/stdlib.h: Likewise.
11858 * rt/bits/mqueue2.h: Likewise.
11859 * rt/mqueue.h: Likewise.
11860 * posix/bits/unistd.h: Likewise.
11861 * posix/unistd.h: Likewise.
11862 * io/bits/poll2.h: Likewise.
11863 * io/bits/fcntl2.h: Likewise.
11864 * io/fcntl.h: Likewise.
11865 * io/sys/poll.h: Likewise.
11866 * misc/bits/syslog.h: Likewise.
11867 * misc/bits/syslog-ldbl.h: Likewise.
11868 * misc/sys/syslog.h: Likewise.
11869 * socket/bits/socket2.h: Likewise.
11870 * socket/sys/socket.h: Likewise.
11871 * debug/tst-chk1.c: Likewise.
11872 * wcsmbs/bits/wchar2.h: Likewise.
11873 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11874 * wcsmbs/wchar.h: Likewise.
11876 2012-04-29 Andreas Jaeger <aj@suse.de>
11878 * Makerules (tests): Remove enable-check-abi protection.
11879 (check-abi-warn): Remove.
11880 (check-abi-%): Remove check-abi-warn usage.
11882 * configure.in: Remove check-abi configure option.
11883 * configure: Regenerated.
11884 * config.make.in (enable-check-abi): Remove.
11886 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11889 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11890 double functions to double *_finite functions.
11893 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11894 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11896 * stdio-common/Makefile (tests): Add tst-sprintf3.
11897 * stdio-common/tst-sprintf3.c: New file.
11899 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11900 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11902 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11904 * conform/conformtest.pl: Remove duplicate typed-constant
11907 2012-04-28 David S. Miller <davem@davemloft.net>
11909 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11910 (check-abi-%): Remove AWK script prerequisite and explicit
11912 (check-abi): Rewrite to just diff the symlist with the abilist.
11913 (config-tls, config-abi-config): Delete, no longer used.
11914 (update-abi-%): Remove AWK script and explicit abilist directory.
11915 (update-abi): Rewrite to simply compare and conditionally copy the
11916 symlist and the sysdep abilist file. Remove update-abi-config
11918 * abilist/ld.abilist: Remove.
11919 * abilist/libBrokenLocale.abilist: Remove.
11920 * abilist/libanl.abilist: Remove.
11921 * abilist/libcrypt.abilist: Remove.
11922 * abilist/libdl.abilist: Remove.
11923 * abilist/librt.abilist: Remove.
11924 * abilist/libthread_db.abilist: Remove.
11925 * abilist/libutil.abilist: Remove.
11926 * scripts/extract-abilist.awk: Remove.
11927 * scripts/merge-abilist.awk: Remove.
11928 * sysdeps/generic/libcidn.abilist: New file.
11929 * sysdeps/generic/libnss_compat.abilist: New file.
11930 * sysdeps/generic/libnss_db.abilist: New file.
11931 * sysdeps/generic/libnss_dns.abilist: New file.
11932 * sysdeps/generic/libnss_files.abilist: New file.
11933 * sysdeps/generic/libnss_hesiod.abilist: New file.
11934 * sysdeps/generic/libnss_nis.abilist: New file.
11935 * sysdeps/generic/libnss_nisplus.abilist: New file.
11936 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11937 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11938 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11941 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11942 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11944 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11945 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11946 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11947 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11948 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11950 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11951 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11953 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11956 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11957 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11958 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11959 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11960 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11962 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11963 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12070 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12071 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12074 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12075 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12076 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12077 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12079 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12080 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12081 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12082 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12134 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12136 * conform/conformtest.pl: Fix typo in handling typed-constant from
12139 2012-04-27 Joseph Myers <joseph@codesourcery.com>
12141 * README: Cut down references to pre-2.6 Linux kernels and
12142 Linuxthreads. Update lists of configurations in libc and ports
12143 and sort alphabetically. Say "or newer" with Linux kernel version
12146 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12148 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12151 * math/libm-test.inc (logb_test_downward): New test to expose
12152 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12155 2012-04-27 Joseph Myers <joseph@codesourcery.com>
12158 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12160 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12161 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12163 2012-04-26 Joseph Myers <joseph@codesourcery.com>
12165 * sysdeps/unix/i386/brk.S: Remove file.
12166 * sysdeps/unix/i386/dl-brk.S: Likewise.
12167 * sysdeps/unix/i386/pipe.S: Likewise.
12168 * sysdeps/unix/i386/sigreturn.S: Likewise.
12169 * sysdeps/unix/i386/syscall.S: Likewise.
12170 * sysdeps/unix/i386/vfork.S: Likewise.
12171 * sysdeps/unix/i386/wait.S: Likewise.
12173 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12174 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12176 * configure.in (arm*-none*): Do not allow without
12177 --enable-hacker-mode.
12178 (netbsd*): Remove case setting base_os.
12179 (386bsd*): Likewise.
12180 (freebsd*): Likewise.
12183 (sunos*): Likewise.
12184 (ultrix*): Likewise.
12185 (newsos*): Likewise.
12186 (dynix*): Likewise.
12192 (minix*): Likewise.
12193 (irix4*): Likewise.
12194 (irix6*): Likewise.
12195 (solaris[2-9]*): Likewise.
12197 * configure: Regenerated.
12199 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12203 overflow or cancellation in calculating denominator.
12204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12206 down expression to avoid unexpected rounding in newer GCCs.
12207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12209 2012-04-26 David S. Miller <davem@davemloft.net>
12211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12212 long-double compat symbols.
12213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12227 2012-04-25 David S. Miller <davem@davemloft.net>
12229 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12230 HWCAP_* values only after the memory barriers have been defined.
12231 (atomic_full_barrier): Define.
12232 (atomic_read_barrier): Define.
12233 (atomic_write_barrier): Define.
12235 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12237 * shlib-versions: Add libgcc_s version information.
12238 * sysdeps/generic/libgcc_s.h: Remove.
12239 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12241 * sysdeps/gnu/unwind-resume.c: Likewise.
12242 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12244 2012-04-25 David S. Miller <davem@davemloft.net>
12246 * sysdeps/unix/sparc/brk.S: Delete.
12247 * sysdeps/unix/sparc/dl-brk.S: Delete.
12248 * sysdeps/unix/sparc/pipe.S: Delete.
12249 * sysdeps/unix/sparc/sysdep.S: Delete.
12250 * sysdeps/unix/sparc/sysdep.h: Delete.
12251 * sysdeps/unix/sparc/vfork.S: Delete.
12252 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12253 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12255 ret_ERRVAL, r0, r1, MOVE): Define.
12256 (JUMPTARGET): Remove.
12257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12258 sysdeps/unix/sparc/sysdep.h
12259 (ENTRY, END): Remove.
12260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12262 2012-04-25 Joseph Myers <joseph@codesourcery.com>
12264 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12265 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12268 * timezone/README: Update upstream location and email address for
12270 * timezone/zdump.c: Update from tzcode 2012b.
12271 * timezone/zic.c: Likewise.
12273 * configure.in (libc_cv_as_needed): Remove test.
12274 * configure: Regenerated.
12275 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12276 conditional definition.
12277 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12278 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12279 * config.make.in (have-as-needed): Remove variable.
12281 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12282 Paul Pluzhnikov <ppluzhnikov@google.com>
12284 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12287 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12289 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12290 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12291 * sysdeps/sh/strlen.S: Likewise.
12293 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12295 * sysdeps/unix/fork.S: Remove file.
12296 * sysdeps/unix/i386/fork.S: Likewise.
12297 * sysdeps/unix/sparc/fork.S: Likewise.
12299 * sysdeps/unix/system.c: Remove file.
12300 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12302 * sysdeps/unix/getegid.S: Remove file.
12303 * sysdeps/unix/geteuid.S: Likewise.
12305 2012-04-24 Roland McGrath <roland@hack.frob.com>
12307 * scripts/check-localplt.awk: New file.
12308 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12310 * scripts/data/localplt-generic.data: Add a comment.
12312 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12313 NODE when __dir_mkfile failed.
12314 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12315 Reported by Ludovic Courtès <ludo@gnu.org>.
12317 2012-04-24 Andreas Jaeger <aj@suse.de>
12319 * Makerules (common-clean): Also remove gen-as-const-headers
12322 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12324 * Makerules (native-compile): Do not change working directory for
12325 build. Use $(OUTPUT_OPTION) in command.
12326 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12328 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12331 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12332 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12333 * math/libm-test.inc (floor_test): Add more tests.
12334 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12336 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12338 * sysdeps/unix/getdents.c: Remove file.
12339 * sysdeps/unix/sysv/getdents.c: Likewise.
12340 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12342 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12343 sysdeps/unix/mman/syscalls.list.
12345 (mprotect): Likewise.
12347 (munmap): Likewise.
12348 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12349 * sysdeps/unix/mman/syscalls.list: Remove.
12350 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12352 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12353 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12354 * configure: Regenerated.
12355 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12356 $(libgcc_s_suffix).
12357 * config.make.in (libgcc_s_suffix): Remove variable.
12359 2012-04-23 Joseph Myers <joseph@codesourcery.com>
12361 * sysdeps/unix/sysv/gethostname.c: Move to ...
12362 * sysdeps/posix/gethostname.c: ... here.
12364 * sysdeps/unix/execve.S: Remove file.
12366 * sysdeps/unix/_exit.S: Remove file.
12368 2012-04-23 Andreas Jaeger <aj@suse.de>
12371 * manual/Makefile: Remove make dist support, there's no
12372 need for a stand-alone documentation tar ball.
12373 (TEXI2DVI): Define always, it's not in Makeconfig.
12376 (edition): Removed.
12377 (glibc-doc-$(edition).tar): Removed
12381 (ETAGS): Remove, it's in Makeconfig.
12382 (move-if-change): Remove, it's in Makeconfig.
12384 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
12387 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12388 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12389 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12390 (strtod_l, strtof_l, strtold_l): Remove __wur.
12391 It is not necessarily an error to ignore strtol's return value.
12392 One can reliably look at the stored endptr to decide whether
12393 the number had valid syntax.
12395 2012-04-21 Andreas Jaeger <aj@suse.de>
12398 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12400 2012-04-21 Joseph Myers <joseph@codesourcery.com>
12402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12403 * sysdeps/unix/sysv/Versions: Remove file.
12405 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12410 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
12413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12414 version from __vm86.
12416 2012-04-20 Joseph Myers <joseph@codesourcery.com>
12418 * sysdeps/unix/common/lxstat.c: Remove file.
12419 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12421 * sysdeps/unix/sysv/Makefile: Remove file.
12423 * sysdeps/unix/sysv/direct.h: Remove file.
12425 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12426 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12427 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12428 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12429 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12430 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12431 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12433 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12435 * sysdeps/unix/xmknod.c: Remove file.
12436 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12438 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12440 * sysdeps/unix/sysv/i386/time.S: Remove file.
12442 * sysdeps/unix/fxstat.c: Remove file.
12443 * sysdeps/unix/xstat.c: Likewise.
12444 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12446 * sysdeps/unix/sysv/sigaction.c: Remove file.
12448 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12449 (sysdep_headers): Remove variable.
12450 [termio.h not in sysdep_headers] (generated): Likewise.
12451 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12452 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12453 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12454 * sysdeps/unix/sysv/tcflow.c: Likewise.
12455 * sysdeps/unix/sysv/tcflush.c: Likewise.
12456 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12457 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12458 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12459 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12460 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12462 * sysdeps/unix/siglist.c: Remove file.
12464 * sysdeps/unix/getppid.S: Remove file.
12466 * sysdeps/unix/mkdir.c: Remove file.
12467 * sysdeps/unix/rmdir.c: Likewise.
12469 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12471 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12474 errlist-compat value.
12476 2012-04-18 David S. Miller <davem@davemloft.net>
12478 * sysdeps/generic/memcopy.h (reg_char): Delete.
12479 * debug/strcat_chk.c: Use char, not reg_char.
12480 * debug/strcpy_chk.c: Likewise.
12481 * debug/strncat_chk.c: Likewise.
12482 * debug/strncpy_chk.c: Likewise.
12483 * string/memchr.c: Likewise.
12484 * string/memrchr.c: Likewise.
12485 * string/rawmemchr.c: Likewise.
12486 * string/strcat.c: Likewise.
12487 * string/strchr.c: Likewise.
12488 * string/strchrnul.c: Likewise.
12489 * string/strcmp.c: Likewise.
12490 * string/strcpy.c: Likewise.
12491 * string/strncat.c: Likewise.
12492 * string/strncmp.c: Likewise.
12493 * string/strncpy.c: Likewise.
12495 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12497 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12498 __builtin_memcopy is called when src and dest ranges are known to not
12501 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12504 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12505 fwd_align_merge macro call.
12506 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12507 bwd_align_merge macro call.
12508 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12510 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12513 bwd_align_merge macros.
12514 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12515 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12518 2012-04-18 David S. Miller <davem@davemloft.net>
12520 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12522 2012-04-18 Andreas Jaeger <aj@suse.de>
12525 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12526 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12530 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12533 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12534 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12535 Adjust for changed ldbl-128 files.
12537 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12538 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12541 2012-04-17 David S. Miller <davem@davemloft.net>
12543 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12545 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12547 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12548 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12549 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12550 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12551 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12552 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12554 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12557 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12558 * math/libm-test.inc: Add ilogb errno and exception tests.
12559 * math/w_ilogb.c: New file: ilogb wrapper.
12560 * math/w_ilogbf.c: New file: ilogbf wrapper.
12561 * math/w_ilogbl.c: New file: ilogbl wrapper.
12562 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12563 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12564 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12565 exception being thrown with 0.0 as argument.
12566 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12567 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12568 exception being thrown with 0.0 as argument.
12569 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12570 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12571 exception being thrown with 0.0 as argument.
12572 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12573 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12574 exception being thrown with 0.0 as argument.
12575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12576 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12578 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12580 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12581 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12582 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12583 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12585 2012-04-17 Petr Baudis <pasky@ucw.cz>
12587 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12590 2012-04-16 Marek Polacek <polacek@redhat.com>
12592 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12594 2012-04-16 Marek Polacek <polacek@redhat.com>
12596 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12597 operands of fdivp instruction.
12599 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12601 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12602 * elf/tst-auditmod3b.c: Likewise.
12603 * elf/tst-auditmod4b.c: Likewise.
12604 * elf/tst-auditmod5b.c: Likewise.
12605 * elf/tst-auditmod6b.c: Likewise.
12606 * elf/tst-auditmod6c.c: Likewise.
12607 * elf/tst-auditmod7b.c: Likewise.
12608 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12609 * sysdeps/x86_64/preconfigure.in: Likewise.
12610 * sysdeps/x86_64/preconfigure: Regenerated.
12612 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12614 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12617 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
12619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12620 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12622 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12625 * locale/iso-639.def: Fix gl language name. Spotted by
12628 2012-04-12 Roland McGrath <roland@hack.frob.com>
12631 * libio/libio.h (__io_write_fn): Update comment.
12633 2012-04-12 Petr Baudis <pasky@ucw.cz>
12636 * stdio.texi (Hook Functions): The user provided writer function
12637 is not allowed to return -1.
12639 2012-04-11 David S. Miller <davem@davemloft.net>
12641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12643 2012-04-11 Mike Frysinger <vapier@gentoo.org>
12645 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12646 Add a leading slash to rtkaio.
12648 2012-04-11 Jim Meyering <meyering@redhat.com>
12651 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12652 It is not necessarily an error to ignore fwrite's return
12653 value. One can reliably use ferror to test for errors after
12656 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12658 * bits/types.h (__snseconds_t): New type.
12659 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12661 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12663 (__SNSECONDS_T_TYPE): Likewise.
12664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12665 (__SNSECONDS_T_TYPE): Likewise.
12666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12667 (__SNSECONDS_T_TYPE): Likewise.
12669 2012-04-10 Andreas Jaeger <aj@suse.de>
12672 * manual/time.texi (Processor Time): Return type of times is
12673 elapsed real time since an arbitrary point in the past.
12674 (CPU Time): Move CLK_TCK from here...
12675 (Processor Time): ...to here. Correct description.
12676 * manual/conf.texi (Constants for Sysconf): Correct description of
12679 2012-04-10 David S. Miller <davem@davemloft.net>
12682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12683 where the is a gap between DT_REL(A) and DT_JMPREL.
12685 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12687 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12688 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12689 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12691 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12693 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12694 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12695 (dl_main): Handle --inhibit-cache.
12696 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12698 * elf/dl-load.c (_dl_map_object): Use it.
12699 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12701 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12704 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12705 (__ieee754_powl): Saturate large exponents rather than testing for
12706 overflow of y*log2(x).
12707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12708 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12712 * math/s_ctan.c: Include <float.h>.
12713 (__ctan): Avoid internal overflow or cancellation in calculating
12715 * math/s_ctanf.c: Likewise.
12716 * math/s_ctanl.c: Likewise.
12717 * math/s_ctanh.c: Likewise.
12718 * math/s_ctanhf.c: Likewise.
12719 * math/s_ctanhl.c: Likewise.
12720 * math/libm-test.inc (ctan_test): Add more tests.
12721 (ctanh_test): Likewise.
12722 * sysdeps/i386/fpu/libm-test-ulps: Update.
12723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12725 2012-04-09 Andreas Jaeger <aj@suse.de>
12728 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12729 is an optional BSD extension.
12732 * manual/stdio.texi (Opening Streams): Document additional fopen
12735 2012-04-09 Roland McGrath <roland@hack.frob.com>
12737 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12738 %eax without telling the compiler.
12740 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12743 * manual/install.texi: Use sourceware.org.
12745 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12748 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12749 (__ieee754_pow): Generate overflow and underflow using huge*huge
12750 and tiny*tiny rather than just returning constant infinity or zero
12751 for large exponents.
12752 * math/libm-test.inc (pow_test): Require overflow exceptions for
12753 applicable cases of large exponents.
12756 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12757 (__ieee754_pow): Use iterative multiplication algorithm only for
12758 integer exponents with absolute value below 1024. Check for odd
12759 integer exponents when using algorithm for real exponents.
12760 * math/libm-test.inc (pow_test): Add more tests.
12761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12763 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12766 * math/libm-test.inc (exp_test): Do not allow overflow exception
12769 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12772 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12773 instead of __kernel_standard_f.
12775 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12777 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12778 * sysdeps/x86_64/memset_chk.S: Likewise.
12780 2012-04-08 Andreas Jaeger <aj@suse.de>
12783 * manual/startup.texi (Environment Access): Describe return value
12784 for putenv and setenv.
12787 * manual/filesys.texi (Directory Entries): Add description for
12791 * manual/filesys.texi (Directory Entries): Clarify that it's file
12792 system not operating system in the description of DT_UNKNOWN.
12795 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12797 2012-04-08 Stephen Compall <s11@member.fsf.org>
12800 * manual/llio.texi (Opening and Closing Files): Add cross
12801 reference to explain mode argument.
12803 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12805 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12806 * sysdeps/x86_64/memset_chk.S: Likewise.
12808 2012-04-07 David S. Miller <davem@davemloft.net>
12810 * elf/elf.h (R_SPARC_WDISP10): Define.
12811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12814 R_SPARC_SIZE64 and R_SPARC_H34.
12816 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12819 conditions and remove no longer applicable assertion.
12821 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12823 * bits/byteswap.h: Include <features.h>.
12824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12827 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12829 * bits/byteswap.h (__bswap_16): Removed.
12830 Include <bits/byteswap-16.h> to get __bswap_16.
12831 * sysdeps/i386/bits/byteswap.h: Likewise.
12832 * sysdeps/s390/bits/byteswap.h: Likewise.
12833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12834 * bits/byteswap-16.h: New file.
12835 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12836 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12837 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12838 * string/Makefile (headers): Add bits/byteswap-16.h.
12840 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12843 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12845 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12846 * nss/tst-nss-static.c: New.
12848 2012-04-06 Robert Millan <rmh@gnu.org>
12851 * manual/llio.texi (File Position Primitive): lseek
12852 refers to WHENCE when it really means OFFSET.
12854 2012-04-06 Andreas Jaeger <aj@suse.de>
12856 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12857 strncmp declarations.
12859 * abilist/libc.abilist: Add __poll and __ppoll.
12861 2012-04-05 David S. Miller <davem@davemloft.net>
12863 * scripts/check-local-headers.sh: Accept a host triplet in the
12864 path matched by the exclude regexp.
12866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12868 * sysdeps/powerpc/powerpc32/dl-machine.h
12869 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12870 * sysdeps/s390/s390-32/dl-machine.h
12871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12872 * sysdeps/sparc/sparc32/dl-machine.h
12873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12874 * sysdeps/sparc/sparc64/dl-machine.h
12875 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12877 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12879 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12880 undefined symbol errors.
12882 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12885 2012-04-05 Michael Matz <matz@suse.de>
12888 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12890 2012-04-05 Andreas Jaeger <aj@suse.de>
12893 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12898 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12899 which ROUND is no valid rounding mode.
12901 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12903 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12905 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12910 an exception using FPU order intentionally.
12912 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12915 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12916 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12917 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12919 2012-04-05 Simon Josefsson <simon@josefsson.org>
12922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12923 EINVAL when BUFLEN is too smal.
12925 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12928 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12929 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12931 2012-04-03 Andreas Jaeger <aj@suse.de>
12934 * manual/setjmp.texi (System V contexts): Fix sentence.
12937 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12938 New macro for this case.
12939 [!__GNUC__] (__bswap_64): New inline function for this case.
12940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12941 * bits/byteswap.h: Likewise.
12942 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12943 ull, guard with __GLIBC_HAVE_LONG_LONG.
12945 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12946 __GLIBC_HAVE_LONG_LONG.
12948 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12949 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12951 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12954 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12955 inptr and inend, rather than using last_ch.
12957 2012-04-02 David S. Miller <davem@davemloft.net>
12959 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12960 * stdio-common/printf-parse.h (read_int): Change return type to
12961 'int', return -1 on INT_MAX overflow.
12962 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12963 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12964 overflows INT_MAX. Check for overflow of in-format-string precision
12965 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12966 SIZE_MAX not INT_MAX for integer overflow test.
12967 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12968 skip the construct in the format string but do not record anything.
12969 * stdio-common/bug22.c: Adjust to test both width/prevision
12970 INT_MAX overflow as well as total length INT_MAX overflow. Check
12971 explicitly for proper errno values.
12973 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12975 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12977 * string/test-strcmp.c [! WIDE]: Likewise.
12978 * time/tst-mktime2.c: Likewise for INT_MAX.
12979 * string/test-string.h: #include <sys/param.h> for MIN.
12981 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12982 * sysdeps/i386/init-first.c (init): Likewise.
12983 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12984 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12985 * sysdeps/sh/init-first.c (init): Likewise.
12987 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12989 * po/ru.po: Update from translation team.
12990 * po/vi.po: Likewise.
12992 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12994 * resolv/nss_dns/dns-host.c: Merge copyright years.
12996 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12999 Optimize memcpy with prefetch if
13000 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13001 src, dst pointers have unequal 16 byte alignments.
13003 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13006 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13007 from a CNAME entry and return the minimum ttl for the query.
13008 (gaih_getanswer_slice): Likewise.
13010 2012-03-30 Jeff Law <law@redhat.com>
13012 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13014 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13015 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13017 * resolv/nss_dns/dns-host.c: Update copyright year.
13019 2012-03-30 Ulrich Drepper <drepper@gmail.com>
13021 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13022 requests to save a system call. Fix check that all bytes are sent.
13024 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13025 comments for sendmmsg.
13027 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13030 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13031 with only 1 character between 0x0041 and 0x01b0.
13032 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13033 * wcsmbs/tst-mbsnrtowcs.c: New file.
13035 2012-03-29 David S. Miller <davem@davemloft.net>
13037 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13038 small copies by hand.
13040 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13043 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13044 _nss_compat_initgroups_dyn): Fall back to malloc/free
13045 for large group memberships.
13047 2012-03-28 David S. Miller <davem@davemloft.net>
13049 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13050 that branches into memcpy.
13051 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13054 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13057 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13058 implementation too.
13059 * sysdeps/sparc/mempcpy.S: New file.
13061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13062 the IFUNC routine in the libc case.
13063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13065 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13067 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13068 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13069 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13070 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13071 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13072 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13074 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13075 loop to 256 bytes instead of 64 bytes and fix test signedness.
13077 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13078 * sysdeps/sparc/sparc32/Makefile: rather than here...
13079 * sysdeps/sparc/sparc64/Makefile: and here.
13081 2012-03-28 Ulrich Drepper <drepper@gmail.com>
13083 * malloc/mallocbug.c: Avoid warnings about unused variables.
13085 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13088 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13089 in the right place. Discard and retry query if response is
13090 larger than input buffer size.
13092 2012-03-28 Joseph Myers <joseph@codesourcery.com>
13097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13098 x for large integer exponent.
13099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13100 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13101 sign of result as needed afterwards.
13102 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13104 result for underflowing pow the same as for overflow.
13105 (__kernel_standard_l): Handle powl overflow and underflow here
13106 rather than calling __kernel_standard.
13107 * math/libm-test.inc (pow_test): Add more tests.
13122 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13123 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13124 (__kernel_standard_l): New function.
13125 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13127 * math/w_acosl.c (__acosl): Likewise.
13128 * math/w_asinl.c (__asinl): Likewise.
13129 * math/w_atan2l.c (__atan2l): Likewise.
13130 * math/w_atanhl.c (__atanhl): Likewise.
13131 * math/w_coshl.c (__coshl): Likewise.
13132 * math/w_exp10l.c (__exp10l): Likewise.
13133 * math/w_exp2l.c (__exp2l): Likewise.
13134 * math/w_fmodl.c (__fmodl): Likewise.
13135 * math/w_hypotl.c (__hypotl): Likewise.
13136 * math/w_j0l.c (__j0l, __y0l): Likewise.
13137 * math/w_j1l.c (__j1l, __y1l): Likewise.
13138 * math/w_jnl.c (__jnl, __ynl): Likewise.
13139 * math/w_lgammal.c (__lgammal): Likewise.
13140 * math/w_log10l.c (__log10l): Likewise.
13141 * math/w_log2l.c (__log2l): Likewise.
13142 * math/w_logl.c (__logl): Likewise.
13143 * math/w_powl.c (__powl): Likewise.
13144 * math/w_remainderl.c (__remainderl): Likewise.
13145 * math/w_scalbl.c (sysv_scalbl): Likewise.
13146 * math/w_sinhl.c (__sinhl): Likewise.
13147 * math/w_sqrtl.c (__sqrtl): Likewise.
13148 * math/w_tgammal.c (__tgammal): Likewise.
13149 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13150 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13151 * math/libm-test.inc (acos_test): Add more tests.
13152 (acosh_test): Likewise.
13153 (asin_test): Likewise.
13154 (atanh_test): Likewise.
13155 (exp_test): Likewise.
13156 (exp10_test): Likewise.
13157 (exp2_test): Likewise.
13158 (expm1_test): Likewise.
13159 (lgamma_test): Likewise.
13160 (log_test): Likewise.
13161 (log10_test): Likewise.
13162 (log1p_test): Likewise.
13163 (log2_test): Likewise.
13164 (pow_test): Do not allow some spurious overflow exceptions.
13165 (sqrt_test): Add more tests.
13166 (tgamma_test): Likewise.
13167 (y0_test): Likewise.
13168 (y1_test): Likewise.
13169 (yn_test): Likewise.
13171 2012-03-27 Anton Blanchard <anton@samba.org>
13173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13179 2012-03-27 David S. Miller <davem@davemloft.net>
13181 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13183 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13184 have-as-vis3 check.
13186 2012-03-27 Andreas Jaeger <aj@suse.de>
13188 * sysdeps/x86_64/elf/configure.in: Moved to ...
13189 * sysdeps/x86_64/configure.in: ... here.
13190 * sysdeps/x86_64/elf/start.S: Moved to ...
13191 * sysdeps/x86_64/start.S: ... here.
13192 * sysdeps/x86_64/elf/configure: Delete.
13194 * sysdeps/x86_64/configure.in: Merge contents from
13195 sysdeps/i386/configure.in (without i686 check).
13197 * sysdeps/i386/elf/Versions: Merge into ...
13198 * sysdeps/i386/Versions: ... this.
13199 * sysdeps/i386/elf/Versions: Delete file.
13200 * sysdeps/i386/elf/start.S: Moved to ...
13201 * sysdeps/i386/start.S: ...here.
13202 * sysdeps/i386/elf/configure.in: Merge into...
13203 * sysdeps/i386/configure.in: ...here.
13204 * sysdeps/i386/elf/configure.in: Delete file.
13205 * sysdeps/i386/elf/configure: Delete file.
13207 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13208 * debug/backtracesyms.c: ... here.
13209 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13210 * debug/backtracesymsfd.c: ... here.
13211 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13212 * sysdeps/generic/ifunc-sel.h: ... here.
13214 * sysdeps/unix/i386/start.c: Delete file.
13215 * sysdeps/unix/sparc/start.c: Delete file.
13216 * sysdeps/unix/start.c: Delete file.
13218 * sysdeps/sh/elf/configure.in: Moved to ...
13219 * sysdeps/sh/configure.in: ... here.
13220 * sysdeps/sh/elf/start.S: Moved to ...
13221 * sysdeps/sh/start.S: ... here.
13222 * sysdeps/sh/elf/configure: Delete file.
13224 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13225 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13226 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13227 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13228 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13229 * sysdeps/powerpc/powerpc64/start.S: here.
13230 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13231 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13232 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13233 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13234 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13236 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13237 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13238 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13239 * sysdeps/powerpc/powerpc32/start.S: ... here.
13240 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13241 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13242 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13244 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13245 * sysdeps/powerpc/ifunc-sel.h: ... here.
13246 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13247 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13249 * sysdeps/sparc/elf/configure.in: Moved to ...
13250 * sysdeps/sparc/configure.in: ... here.
13251 * sysdeps/sparc/elf/configure: Delete file.
13252 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13253 * sysdeps/sparc/sparc32/start.S: ... here.
13254 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13255 * sysdeps/sparc/sparc64/start.S: ... here.
13256 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13257 * sysdeps/sparc/sparc32/Makefile: ... this.
13258 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13259 * sysdeps/sparc/sparc64/Makefile: ... this.
13261 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13262 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13263 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13264 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13265 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13266 * sysdeps/s390/s390-32/setjmp.S: ... here.
13267 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13268 * sysdeps/s390/s390-32/configure.in: ... here.
13269 * sysdeps/s390/s390-32/elf/configure: Delete file.
13270 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13271 * sysdeps/s390/s390-32/start.S: ... here.
13273 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13274 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13275 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13276 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13277 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13278 * sysdeps/s390/s390-64/setjmp.S: ... here.
13279 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13280 * sysdeps/s390/s390-64/configure.in: ... here
13281 * sysdeps/s390/s390-64/elf/configure: Delete file.
13282 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13283 * sysdeps/s390/s390-64/start.S: ... here.
13284 * sysdeps/s390/s390-64/elf/configure: Delete.
13286 * configure.in: Remove support for elf directories in sysdeps.
13288 * configure: Regenerated.
13289 * sysdeps/i386/configure: Regenerated.
13290 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13291 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13292 * sysdeps/s390/s390-32/configure: Regenerated.
13293 * sysdeps/s390/s390-64/configure: Regenerated.
13294 * sysdeps/sh/configure: Regenerated.
13295 * sysdeps/sparc/configure: Regenerated.
13296 * sysdeps/x86_64/configure: Regenerated.
13298 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13303 denormal result into account.
13305 2012-03-25 Roland McGrath <roland@hack.frob.com>
13307 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13308 Reported by Allan McRae <allan@archlinux.org>.
13310 2012-03-23 Jeff Law <law@redhat.com>
13312 * nss/getnssent.c (__nss_getent): Fix typo.
13314 2012-03-23 David S. Miller <davem@davemloft.net>
13316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13318 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13320 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13321 to pad to uint64_t for each field.
13322 (dl_tls_index): Replace unsigned long with uint64_t.
13324 2012-03-23 Daniel Jacobowitz <dmj@google.com>
13325 Paul Pluzhnikov <ppluzhnikov@google.com>
13328 * grp/Makefile (otherlibs): Don't set it.
13329 * inet/Makefile (otherlibs): Likewise.
13330 * login/Makefile (otherlibs): Likewise.
13331 * nscd/Makefile (otherlibs): Likewise.
13332 * posix/Makefile (otherlibs): Likewise.
13333 * pwd/Makefile (otherlibs): Likewise.
13334 * rt/Makefile (otherlibs): Likewise.
13335 * sunrpc/Makefile (otherlibs): Likewise.
13336 * nss/Makefile (otherlibs): Likewise.
13337 Add libnss_files to routines and static-only-routines.
13338 ($(objpfx)getent): Remove rule.
13339 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13340 static-only-routines.
13342 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13345 * math/s_cexp.c: Include <float.h>.
13346 (__cexp): Handle exp result overflowing not necessarily
13347 overflowing both real and imaginary parts of result.
13348 * math/s_cexpf.c: Likewise.
13349 * math/s_cexpl.c: Likewise.
13350 * math/libm-test.inc (cexp_test): Add more tests.
13351 * sysdeps/i386/fpu/libm-test-ulps: Update.
13352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13354 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13356 * include/link.h (ELFW): New macro.
13357 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13358 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13362 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13365 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13367 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13369 (struct La_x32_retval): Likewise.
13371 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13373 * sysdeps/x86_64/preconfigure.in: New file.
13374 * sysdeps/x86_64/preconfigure: New generated file.
13376 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13379 * math/e_exp2l.c: Include <float.h>.
13380 (__ieee754_exp2l): Handle overflow and underflow cases
13381 separately. Only pass fractional part of argument to
13383 * math/libm-test.inc (exp2_test): Add more tests.
13385 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13386 negating x to take absolute value.
13387 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13392 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13393 computing low part if x was negated.
13394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13396 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13398 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13399 la_x32_gnu_pltexit.
13400 (pltexit): Cast int_retval to ptrdiff_t.
13401 * elf/tst-auditmod3b.c: Likewise.
13402 * elf/tst-auditmod4b.c: Likewise.
13403 * elf/tst-auditmod5b.c: Likewise.
13404 * elf/tst-auditmod6b.c: Likewise.
13405 * elf/tst-auditmod6c.c: Likewise.
13406 * elf/tst-auditmod7b.c: Likewise.
13408 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13409 and x32_gnu_pltexit.
13411 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13412 __ELF_NATIVE_CLASS.
13413 (La_x32_regs): New macro.
13414 (La_x32_retval): Likewise.
13415 (la_x32_gnu_pltenter): New function prototype.
13416 (la_x32_gnu_pltexit): Likewise.
13418 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13425 * configure.in (libc_cv_cc_nofma): Check for option to disable
13426 generation of FMA instructions.
13427 * configure: Regenerate.
13428 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13429 * sysdeps/ieee754/dbl-64/Makefile: New file.
13430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13431 Remove brandred-fma4.
13432 (CFLAGS-brandred-fma4.c): Remove.
13433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13434 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13439 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13441 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13442 LLONG_MAX != LONG_MAX.
13443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13444 (_fitoa_word): Likewise.
13445 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13446 LLONG_MAX != LONG_MAX.
13447 * stdio-common/_itowa.h: Include <_itoa.h>.
13448 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13449 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13450 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13451 only if not defined.
13452 (_ITOA_WORD_TYPE): Likewise.
13453 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13454 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13456 2012-03-21 David S. Miller <davem@davemloft.net>
13458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13460 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13462 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13463 of x86_64 when setting libc_cv_slibdir, libdir and
13465 * sysdeps/unix/sysv/linux/configure: Regenerated.
13467 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13469 * manual/lang.texi (Old Varargs): Remove section.
13470 (How Variadic): Update menu.
13471 (va_start): Do not mention varargs.h.
13473 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13474 Joseph Myers <joseph@codesourcery.com>
13476 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13478 * configure: Regenerated.
13480 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13482 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13483 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13486 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13489 * Makefile (files-for-dist): Remove NOTES.
13490 (NOTES): Remove rule.
13491 * README: Don't refer to NOTES.
13492 * manual/creature.texi: Don't include macros.texi.
13493 * manual/intro.texi (creature.texi): Remove comment referring to
13496 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13497 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13498 * configure: Regenerated.
13499 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13500 LIBC_TRY_CC_OPTION.
13501 (libc_cv_as_i686): Likewise.
13502 (libc_cv_cc_avx): Likewise.
13503 (libc_cv_cc_sse2avx): Likewise.
13504 (libc_cv_cc_fma4): Likewise.
13505 (libc_cv_cc_novzeroupper): Likewise.
13506 * sysdeps/i386/configure: Regenerated.
13509 * sysdeps/i386/fpu/s_cexp.S: Remove.
13510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13512 * math/libm-test.inc (cexp_test): Add more tests.
13513 * sysdeps/i386/fpu/libm-test-ulps: Update.
13514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13516 2012-03-21 Allan McRae <allan@archlinux.org>
13518 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13520 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13523 * math/w_exp2.c: Do not include <float.h>.
13524 (o_threshold, u_threshold): Remove.
13525 (__exp2): Calculate result before checking finiteness and calling
13527 * math/w_exp2f.c: Likewise.
13528 * math/w_exp2l.c: Likewise.
13529 * math/libm-test.inc (exp2_test): Require overflow exception for
13533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13534 range of signed 64-bit integers before using fistpll. Remove
13535 checks for whether integers fit in mantissa bits.
13536 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13537 the range of signed 32-bit integers before using fistpl. Remove
13538 checks for whether integers fit in mantissa bits.
13539 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13540 (__ieee754_powl): Test for y outside the range of signed 64-bit
13541 integers before using fistpll. Reduce 64-bit values to 63-bit
13543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13544 divide-by-zero is raised for zero to large negative powers.
13545 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13546 (__ieee754_powl): Test for y outside the range of signed 64-bit
13547 integers before using fistpll. Reduce 64-bit values to 63-bit
13549 * math/libm-test.inc (pow_test): Add more tests.
13551 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13553 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13554 <stdio-common/_itoa.h>.
13555 * debug/segfault.c: Likewise.
13556 * elf/dl-cache.c: Likewise.
13557 * elf/dl-minimal.c: Likewise.
13558 * elf/dl-misc.c: Likewise.
13559 * elf/dl-sysdep.c: Likewise.
13560 * elf/dl-version.c: Likewise.
13561 * elf/rtld.c: Likewise.
13562 * hurd/hurdsock.c: Likewise.
13563 * hurd/lookup-retry.c: Likewise.
13564 * malloc/malloc.c: Likewise.
13565 * malloc/mtrace.c: Likewise.
13566 * nscd/nscd_getgr_r.c: Likewise.
13567 * nscd/nscd_getpw_r.c: Likewise.
13568 * nscd/nscd_getserv_r.c: Likewise.
13569 * posix/getopt_init.c: Likewise.
13570 * posix/wordexp.c: Likewise.
13571 * stdio-common/_itoa.c: Likewise.
13572 * stdio-common/printf_fphex.c: Likewise.
13573 * stdio-common/vfprintf.c: Likewise.
13574 * string/_strerror.c: Likewise.
13575 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13576 * sysdeps/i386/i686/hp-timing.h: Likewise.
13577 * sysdeps/mach/_strerror.c: Likewise.
13578 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13579 * sysdeps/mach/hurd/sethostid.c: Likewise.
13580 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13581 * sysdeps/mach/xpg-strerror.c: Likewise.
13582 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13584 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13585 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13586 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13587 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13589 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13590 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13591 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13592 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13593 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13594 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13595 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13596 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13598 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13599 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13600 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13601 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13602 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13604 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13606 * stdio-common/_itoa.h: Moved to ...
13607 * sysdeps/generic/_itoa.h: Here.
13609 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13611 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13612 instead of "_itoa.h" and "_itowa.h".
13613 * stdio-common/vfprintf.: Likewise.
13615 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13619 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13620 (__signbit): Likwise.
13621 (llrintf): Likwise.
13624 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13626 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13629 2012-03-20 Joseph Myers <joseph@codesourcery.com>
13631 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13632 OVERFLOW_EXCEPTION_OK.
13633 * math/libm-test.inc ("Philosophy"): Update comment about
13635 (OVERFLOW_EXCEPTION): Define.
13636 (OVERFLOW_EXCEPTION_OK): Likewise.
13637 (INVALID_EXCEPTION_OK): Renumber.
13638 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13639 (IGNORE_ZERO_INF_SIGN): Likewise.
13640 (test_exceptions): Handle FE_OVERFLOW.
13641 (exp10_test): Expect overflow exceptions.
13642 (exp2_test): Likewise.
13643 (expm1_test): Likewise.
13644 (nextafter_test): Likewise.
13645 (pow_test): Likewise.
13646 (scalbn_test): Likewise.
13647 (scalbln_test): Likewise.
13649 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13651 * sysdeps/x86_64/bits/atomic.h
13652 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13654 (atomic_exchange_acq): Likewise.
13655 (__arch_exchange_and_add_body): Likewise.
13656 (__arch_add_body): Likewise.
13657 (atomic_add_negative): Likewise.
13658 (atomic_add_zero): Likewise.
13660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13662 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13663 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13667 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13668 Check __x86_64__ instead of __WORDSIZE.
13670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13672 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13674 2012-03-19 David S. Miller <davem@davemloft.net>
13676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13678 * sysdeps/sparc/fpu/fenv_private.h: New file.
13679 * sysdeps/sparc/fpu/math_private.h: Use it.
13680 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13682 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13683 (libc_feholdexcept_setroundl): Remove.
13684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13686 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13687 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13691 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13692 int64_t instead of long int.
13693 (INSERT_WORDS64): Likwise.
13695 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13697 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13698 _Unwind_GetCFA return to _Unwind_Ptr first.
13700 2012-03-19 Joseph Myers <joseph@codesourcery.com>
13703 * math/s_clog.c: Include <float.h>.
13704 (__clog): Scale large or subnormal inputs.
13705 * math/s_clogf.c: Likewise.
13706 * math/s_clogl.c: Likewise.
13707 * math/s_clog10.c: Include <float.h>.
13708 (M_LOG10_2): Define.
13709 (__clog10): Scale large or subnormal inputs.
13710 * math/s_clog10f.c: Likewise.
13711 * math/s_clog10l.c: Likewise.
13712 * math/libm-test.inc (clog_test): Add more tests.
13713 (clog10_test): Likewise.
13714 * sysdeps/i386/fpu/libm-test-ulps: Update.
13715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13720 * math/libm-test.inc (atan2_test): Add another test.
13722 * Makerules (common-objdir-compile): Remove.
13723 * sysdeps/unix/Makefile (config-generated): Do not add
13724 $(unix-generated) to variable.
13725 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13726 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13728 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13730 [generic bits/local_lim.h] (before-compile): Do not append to
13732 [generic bits/local_lim.h] (common-generated): Likewise.
13733 [generic sys/param.h] (before-compile): Do not append to variable.
13734 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13735 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13736 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13739 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13740 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13741 [generic sys/param.h] ($(addprefix
13742 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13743 [generic sys/param.h] (common-generated): Do not append to
13745 [generic sys/param.h] (sysdep_headers): Likewise.
13746 [generic bits/errno.h] (before-compile): Do not append to
13748 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13750 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13751 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13752 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13753 [generic bits/errno.h] (common-generated): Do not append to
13755 [generic bits/ioctls.h] (before-compile): Do not append to
13757 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13759 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13760 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13763 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13764 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13765 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13766 [generic bits/ioctls.h] (common-generated): Do not append to
13768 [generic sys/syscall.h] (syscall.h): Remove variable.
13769 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13771 [generic sys/syscall.h] (before-compile): Do not append to
13773 [generic sys/syscall.h] (common-generated): Likewise.
13774 * sysdeps/unix/errnos-tmpl.c: Remove file.
13775 * sysdeps/unix/errnos.awk: Likewise.
13776 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13777 * sysdeps/unix/ioctls.awk: Likewise.
13778 * sysdeps/unix/mk-local_lim.c: Likewise.
13779 * sysdeps/unix/snarf-ioctls: Likewise.
13781 2012-03-19 Richard Henderson <rth@twiddle.net>
13783 * sysdeps/i386/fpu/fenv_private.h: New file.
13784 * sysdeps/i386/fpu/math_private.h: Use it.
13785 (math_opt_barrier, math_force_eval): Remove.
13786 (libc_feholdexcept_setround_53bit): Remove.
13787 (libc_feupdateenv_53bit): Remove.
13788 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13789 (math_opt_barrier, math_force_eval): Remove.
13790 (libc_feholdexcept): Remove.
13791 (libc_feholdexcept_setround): Remove.
13792 (libc_fetestexcept, libc_fesetenv): Remove.
13793 (libc_feupdateenv_test): Remove.
13794 (libc_feupdateenv, libc_feholdsetround): Remove.
13795 (libc_feresetround): Remove.
13797 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13798 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13800 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13801 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13802 (libc_feupdateenv_testl): New.
13803 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13804 (libc_feupdateenv_testf): New.
13805 (libc_feupdateenv): Use libc_feupdateenv_test.
13806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13809 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13810 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13811 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13812 (libc_feresetround_noex): New.
13813 (libc_feresetround_noexf): New.
13814 (libc_feresetround_noexl): New.
13815 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13816 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13817 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13818 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13823 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13825 SET_RESTORE_ROUND_NOEX.
13826 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13827 SET_RESTORE_ROUND_NOEXF.
13828 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13829 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13830 (libc_feholdsetroundf): New.
13831 (libc_feresetround, libc_feresetroundf): New.
13833 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13834 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13835 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13837 * sysdeps/generic/math_private.h: Include <fenv.h>.
13838 (default_libc_feholdexcept): New.
13839 (default_libc_feholdexcept_setround): New.
13840 (default_libc_fesetenv, default_libc_feupdateenv): New.
13841 (libc_feholdexcept): Only define if undefined.
13842 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13844 (libc_feholdexcept_setroundl): Likewise.
13845 (libc_feholdexcept_setround_53bit): Likewise.
13846 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13849 (libc_feupdateenv_53bit): Likewise.
13850 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13851 (libc_feholdexcept): Convert from macro to inline function.
13852 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13853 (libc_fesetenv, libc_feupdateenv): Likewise.
13855 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13856 not previously defined.
13857 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13858 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13859 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13860 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13861 * sysdeps/ieee754/flt-32/math_private.h: New file.
13862 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13863 math_private.h below SET_FLOAT_WORD.
13864 (__isnan, __isinf_ns, __finite): Remove.
13865 (__isnanf, __isinf_nsf, __finitef): Remove.
13867 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13871 2012-03-17 David S. Miller <davem@davemloft.net>
13874 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13877 2012-03-16 David S. Miller <davem@davemloft.net>
13879 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13883 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13885 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13886 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13887 sysdep_routines when subdir is sysvipc.
13888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13889 __getshmlba helper.
13891 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13895 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13898 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13901 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13902 (__lround): Renamed to ...
13903 (__llround): This. Replace long int with long long int.
13904 Define lround functions as aliases of llround functions.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13907 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13909 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13910 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13911 adresses to uintptr_t. Replace "long int" and "unsigned long
13912 int" with "greg_t" on va_arg.
13914 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13916 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13917 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13919 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13920 Move e_machine check before EI_CLASS check. Handle x32
13921 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13922 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13923 SKIP_EM_IA_64 and include
13924 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13926 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13927 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13928 (add_system_dir): New macro.
13930 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13931 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13933 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13944 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13946 * math/w_j0f.c (j0f): Likewise.
13948 * math/w_j0l.c (__j0l): Likewise.
13950 * math/w_j1.c (j1): Likewise.
13952 * math/w_j1f.c (j1f): Likewise.
13954 * math/w_j1l.c (__j1l): Likewise.
13956 * math/w_jn.c (jn): Likewise.
13958 * math/w_jnf.c (jnf): Likewise.
13960 * math/w_jnl.c (__jnl): Likewise.
13962 * math/libm-test.inc (j0_test): Add more tests.
13963 (j1_test): Likewise.
13964 (jn_test): Likewise. Add trailing semicolon to existing test.
13965 (y0_test): Likewise.
13966 (y1_test): Likewise.
13967 * sysdeps/i386/fpu/libm-test-ulps: Update.
13968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13973 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13974 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13976 (__tanl): Set errno for infinite argument.
13977 * sysdeps/i386/fpu/mptan.c: Remove.
13978 * sysdeps/i386/fpu/s_tan.S: Likewise.
13979 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13980 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13981 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13982 * math/libm-test.inc (tan_test): Add more tests and enable more
13983 tests for double and long double.
13984 * sysdeps/i386/fpu/libm-test-ulps: Update.
13985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13987 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13989 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13990 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13992 2012-03-16 Roland McGrath <roland@hack.frob.com>
13994 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13995 * configure.in: Use it for both main tree and add-ons.
13996 * configure: Regenerated.
13998 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14000 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14002 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14008 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14009 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14010 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14014 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14016 != 0 for prec == 2.
14017 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14018 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14019 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14020 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14021 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14022 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14023 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14024 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14025 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14026 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14027 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14028 * math/libm-test.inc (cos_test): Add more tests and enable more
14029 tests for long double.
14030 (sin_test): Likewise.
14031 (sincos_test): Likewise.
14032 * sysdeps/i386/fpu/libm-test-ulps: Update.
14033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14035 2012-03-16 David S. Miller <davem@davemloft.net>
14037 * sysdeps/sparc/fpu/math_private.h: New file.
14039 2012-03-15 David S. Miller <davem@davemloft.net>
14041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14055 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14056 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14058 * sysdeps/sparc/sparc-ifunc.h: New file.
14059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14104 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14106 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14110 2012-03-15 Andreas Jaeger <aj@suse.de>
14113 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14114 ieee754/flt-32 implementation for sin, cos and sincos.
14115 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14116 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14117 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14118 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14119 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14120 ieee754/flt-32 implementation for tan.
14122 * math/libm-test.inc (cos_test): Enable some large input tests for
14124 (sin_test): Likewise.
14125 (sincos_test): Likewise.
14126 (tan_test): Add tests for large input.
14128 * sysdeps/i386/fpu/libm-test-ulps: Update.
14130 2012-03-15 Andreas Jaeger <aj@suse.de>
14133 * math/libm-test.inc (cos_test): Add more test cases.
14134 (sin_test): Likewise.
14135 (sincos_test): Likewise.
14137 2012-03-15 Andreas Jaeger <aj@suse.de>
14140 * math/libm-test.inc (cos_test): Add a test case for large input
14142 (sin_test): Likewise.
14143 (sincos_test): Likewise.
14145 2012-03-15 Andreas Jaeger <aj@suse.de>,
14146 Joseph Myers <joseph@codesourcery.com>
14149 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14150 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14151 * sysdeps/i386/fpu/branred.c: Likewise.
14152 * sysdeps/i386/fpu/dosincos.c: Likewise.
14153 * sysdeps/i386/fpu/mpa.c: Likewise.
14154 * sysdeps/i386/fpu/s_cos.S: Likewise.
14155 * sysdeps/i386/fpu/s_sin.S: Likewise.
14156 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14157 * sysdeps/i386/fpu/sincos32.c: Likewise.
14159 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14161 (libc_feupdateenv_53bit): Define.
14162 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14164 (libc_feupdateenv_53bit): Define.
14166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14167 53 bit (without extend i386 double precision).
14169 * math/libm-test.inc (sincos_test): Add tests for large input.
14173 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14175 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14179 2012-03-15 David S. Miller <davem@davemloft.net>
14181 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14182 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14183 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14184 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14209 fmin/fmax sysdep routines.
14210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14212 2012-03-14 David S. Miller <davem@davemloft.net>
14214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14291 * sysdeps/sparc/configure.in: New file.
14292 * sysdeps/sparc/configure: Generate.
14293 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14294 * configure: Regenerate.
14295 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14296 * config.make.in (have-as-vis3): New.
14297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14298 available use -Av9d instead of -Av9a.
14299 * sysdeps/sparc/sparc64/Makefile: Likewise.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14315 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14316 fzeros/fnegs to load 0x80000000 into a float register instead of
14318 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14320 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14324 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14325 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14326 ($(inst_includedir)/bits/syscall.h): Remove rule.
14327 ($(objpfx)bits/syscall.d): Include instead of
14328 $(objpfx)syscall-list.d.
14329 (generated): Change syscall-list.h and syscall-list.d to
14330 bits/syscall.h and bits/syscall.d.
14332 2012-03-14 Roland McGrath <roland@hack.frob.com>
14335 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14337 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14340 * math/s_csqrt.c: Include <float.h>.
14341 (__csqrt): Scale large or subnormal inputs.
14342 * math/s_csqrtf.c: Likewise.
14343 * math/s_csqrtl.c: Likewise.
14344 * math/libm-test.inc (csqrt_test): Add more tests.
14345 * sysdeps/i386/fpu/libm-test-ulps: Update.
14346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14349 * math/libm-test.inc (hypot_test): Add more tests.
14351 2012-03-13 David S. Miller <davem@davemloft.net>
14354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14355 double-precision for the calculation instead of scaling.
14357 2012-03-13 Joseph Myers <joseph@codesourcery.com>
14359 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14360 manipulate bits before adding and subtracting TWO52[sx].
14361 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14366 2012-03-13 David S. Miller <davem@davemloft.net>
14368 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14369 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14371 rtld-global-offsets.h
14372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14374 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14377 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14379 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14380 'err' in the ifdef scope in which it is actually used.
14382 * nss/nss_db/db-init.c: Include string.h
14384 2012-03-12 David S. Miller <davem@davemloft.net>
14386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14387 masking out of the most significant byte of random value used.
14388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14389 Fix coding style in previous change.
14391 * sysdeps/unix/sysv/linux/kernel-features.h
14392 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14393 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14395 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14398 2012-03-11 David S. Miller <davem@davemloft.net>
14400 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14401 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14403 for 'resultvar' otherwise things get truncated on 64-bit.
14405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14406 Fix masking out of the most significant byte of random value used.
14408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14410 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14414 2012-03-09 David S. Miller <davem@davemloft.net>
14416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14417 variables with appropriate CPP guards.
14418 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14419 frame pointer, not the stack pointer. Correct layout comments. Fix test
14420 on resulting framesize and the management of the outregs buffer for pltexit.
14421 Preserve floating point return values across _dl_call_pltexit call.
14422 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14423 framesize and the management of the outregs buffer for pltexit.
14424 Preserve floating point return values across _dl_call_pltexit
14426 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14427 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14428 (print_exit): Fix format string for return register value.
14430 2012-03-10 Joseph Myers <joseph@codesourcery.com>
14432 * sunrpc/Makefile (others): Add rpcgen.
14433 ($(objpfx)rpcgen): Remove special build rule and dependency on
14435 * sunrpc/rpcgen.c: New file.
14437 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14440 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14441 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14442 * sysdeps/i386/crti.S: Likewise.
14443 * sysdeps/i386/crtn.S: Likewise.
14444 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14445 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14446 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14447 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14448 * sysdeps/sh/crti.S: Likewise.
14449 * sysdeps/sh/crtn.S: Likewise.
14450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14453 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14455 * locale/programs/locfile-kw.gperf: Likewise.
14456 * locale/programs/charmap-kw.h: Regenerated.
14457 * locale/programs/locfile-kw.h: Likewise.
14460 * intl/plural.y: Replace FSF snail mail address with URL.
14461 * intl/plural.c: Regenerated.
14463 2012-03-09 Richard Henderson <rth@twiddle.net>
14465 * include/math_private.h: Remove file.
14466 * math/math_private.h: Move file ...
14467 * sysdeps/generic/math_private.h: ... here.
14469 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14470 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14473 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14474 and <math_private.h>.
14475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14546 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14568 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14602 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14608 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14609 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14610 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14613 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14616 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14618 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14619 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14623 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14624 * sysdeps/ieee754/k_standard.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14738 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14741 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14768 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14774 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14780 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14785 * sysdeps/ieee754/s_lib_version.c: Likewise.
14786 * sysdeps/ieee754/s_matherr.c: Likewise.
14787 * sysdeps/ieee754/s_signgam.c: Likewise.
14788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14791 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14794 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14795 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14796 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14797 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14798 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14810 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14812 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14813 * sunrpc/rpc_main.c: Likewise.
14814 * sunrpc/rpc_svcout.c: Likewise.
14816 2012-03-09 David S. Miller <davem@davemloft.net>
14818 * include/math_private.h: New file.
14820 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14822 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14823 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14824 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14825 from <bits/socket_type.h>.
14826 (enum __socket_type): Don't define here.
14827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14829 bits/socket_type.h.
14832 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14833 checking __USE_GNU.
14835 * Makerules ($(inst_includedir)/%.h): New rule.
14836 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14837 (install-others): Remove variable setting.
14838 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14840 2012-03-08 Richard Henderson <rth@twiddle.net>
14842 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14843 from macro to inline function; merge with the
14844 !__LIBC_INTERNAL_MATH_INLINES version.
14845 (__ieee754_sqrtf): Likewise.
14847 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14848 to inline function.
14849 (__rintf, __floor, __floorf): Likewise.
14851 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14852 macro to inline function.
14853 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14856 not <math/math_private.h>.
14858 2012-03-08 David S. Miller <davem@davemloft.net>
14860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14862 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14864 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14866 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14868 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14869 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14871 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14873 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14874 be defined individually, they must be defined as a block. Define
14875 S for printing a string instead of hidint the different by using a
14876 macro for adding the 'l'.
14877 * stdio-common/tst-fphex-wide.c: Adjust.
14879 2012-03-07 Marek Polacek <polacek@redhat.com>
14881 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14883 2012-03-08 Marek Polacek <polacek@redhat.com>
14886 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14887 * stdio-common/tst-fphex.c: Define a few macros to make the
14888 test reusable. Use them.
14889 * stdio-common/tst-fphex-wide.c: New file.
14891 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14894 * manual/macros.texi (gnusystems): New macro.
14895 (nongnusystems): Likewise.
14896 (gnulinuxhurdsystems): Likewise.
14897 (gnuhurdsystems): Likewise..
14898 (gnulinuxsystems): Likewise.
14899 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14900 variants of the GNU system, not "GNU system".
14901 * manual/conf.texi: Likewise.
14902 * manual/errno.texi: Likewise. Update example of errno macro
14904 * manual/filesys.texi: Likewise.
14905 (getumask): Document as specific to GNU/Hurd.
14906 * manual/install.texi: Likewise. Reword some references to
14908 * manual/intro.texi: Likewise.
14909 * manual/io.texi: Likewise.
14910 (File Name Portability): Detail which constraints are inapplicable
14911 to all GNU systems and which are only inapplicable to GNU/Hurd.
14912 * manual/job.texi: Likewise.
14913 * manual/llio.texi: Likewise.
14914 (O_NOCTTY): Document as present on GNU/Linux.
14915 * manual/maint.texi: Likewise.
14916 * manual/memory.texi: Likewise.
14917 * manual/pattern.texi: Likewise.
14918 * manual/pipe.texi: Likewise.
14919 * manual/process.texi: Likewise.
14920 * manual/resource.texi: Likewise.
14921 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14923 * manual/setjmp.texi: Likewise.
14924 * manual/signal.texi: Likewise.
14925 * manual/startup.texi: Likewise.
14926 * manual/stdio.texi: Likewise.
14927 * manual/terminal.texi: Likewise.
14928 (ONLCR): Document as POSIX.
14929 (OXTABS): Document availability on GNU/Linux as XTABS.
14930 (ONOEOT): Document availability separately from other bits.
14931 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14932 * manual/time.texi: Likewise.
14933 * manual/users.texi: Likewise.
14934 * INSTALL: Regenerated.
14935 * sysdeps/gnu/errlist.c: Regenerated.
14937 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14938 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14939 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14941 * configure: Regenerated.
14943 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14945 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14946 default includes instead of AC_HEADER_CHECK.
14947 * sysdeps/i386/configure: Regenerated.
14950 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14951 * math/s_cacoshf.c (__cacoshf): Likewise.
14952 * math/s_cacoshl.c (__cacoshl): Likewise.
14953 * math/s_casinh.c (__casinh): Set signs of result from argument.
14954 * math/s_casinhf.c (__casinhf): Likewise.
14955 * math/s_casinhl.c (__casinhl): Likewise.
14956 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14957 (casinh_test): Add more tests.
14958 * sysdeps/i386/fpu/libm-test-ulps: Update.
14959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14961 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14963 * po/zh_TW.po: Update from translation team.
14965 * login/Makefile (distribute): Remove variable.
14966 * catgets/Makefile: Likewise.
14967 * mach/Makefile: Likewise.
14968 * malloc/Makefile: Likewise.
14969 * misc/Makefile: Likewise.
14970 * iconv/Makefile: Likewise.
14971 * nscd/Makefile: Likewise.
14972 * hurd/Makefile: Likewise.
14973 * manual/Makefile: Likewise.
14974 * locale/Makefile: Likewise.
14975 * intl/Makefile: Likewise.
14976 * conform/Makefile: Likewise.
14977 * nss/Makefile: Likewise.
14978 * time/Makefile: Likewise.
14979 * soft-fp/Makefile: Likewise.
14980 * dirent/Makefile: Likewise.
14981 * gmon/Makefile: Likewise.
14982 * po/Makefile: Likewise.
14983 * rt/Makefile: Likewise.
14984 * socket/Makefile: Likewise.
14985 * math/Makefile: Likewise.
14986 * signal/Makefile: Likewise.
14987 * debug/Makefile: Likewise.
14988 * elf/Makefile: Likewise.
14989 * timezone/Makefile: Likewise.
14990 * stdlib/Makefile: Likewise.
14991 * iconvdata/Makefile: Likewise.
14992 * sunrpc/Makefile: Likewise.
14993 * io/Makefile: Likewise.
14994 * argp/Makefile: Likewise.
14995 * inet/Makefile: Likewise.
14996 * hesiod/Makefile: Likewise.
14997 * grp/Makefile: Likewise.
14998 * csu/Makefile: Likewise.
14999 * wctype/Makefile: Likewise.
15000 * crypt/Makefile: Likewise.
15001 * libio/Makefile: Likewise.
15002 * string/Makefile: Likewise.
15003 * nis/Makefile: Likewise.
15004 * resolv/Makefile: Likewise.
15005 * stdio-common/Makefile: Likewise.
15006 * wcsmbs/Makefile: Likewise.
15007 * dlfcn/Makefile: Likewise.
15008 * posix/Makefile: Likewise.
15011 * timezone/Makefile: Don't install timezone files, just the programs
15014 2012-03-06 Ulrich Drepper <drepper@gmail.com>
15016 * nss/databases.def: Add missing gshadow entry.
15018 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15020 2012-03-06 Marek Polacek <polacek@redhat.com>
15023 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15024 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15025 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15026 * stdio-common/tst-long-dbl-fphex.c: New file.
15028 2012-03-06 David S. Miller <davem@davemloft.net>
15030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15031 (set_obp_int): New function.
15032 (get_obp_int): New function.
15033 (__get_clockfreq_via_dev_openprom): Likewise.
15034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15035 Avoid unused variable warnings on 'val' and use builtin_expect.
15036 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15038 (INLINE_CLONE_SYSCALL): Likewise.
15040 2012-03-05 David S. Miller <davem@davemloft.net>
15042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15044 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15049 only for |x| >= 40.
15050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15052 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
15054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15055 Replace gettimeofday with __vdso_gettimeofday.
15057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15058 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15059 __vdso_clock_gettime and __vdso_getcpu.
15061 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15062 time with __vdso_time.
15064 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15066 * manual/lang.texi (size_t): Note types to which size_t may be
15067 equivalent with the GNU C Library, but do not describe when
15068 differences between them are significant.
15070 2012-03-05 Andreas Jaeger <aj@suse.de>
15072 * sysdeps/i386/fpu/libm-test-ulps: Update.
15074 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15078 (__ieee754_pow): Save and restore rounding mode and use
15079 round-to-nearest for main computations.
15080 * math/libm-test.inc (pow_test_tonearest): New function.
15081 (pow_test_towardzero): Likewise.
15082 (pow_test_downward): Likewise.
15083 (pow_test_upward): Likewise.
15084 (main): Call the new functions.
15085 * sysdeps/i386/fpu/libm-test-ulps: Update.
15086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15089 * math/libm-test.inc (cosh_test_tonearest): New function.
15090 (cosh_test_towardzero): Likewise.
15091 (cosh_test_downward): Likewise.
15092 (cosh_test_upward): Likewise.
15093 (sinh_test_tonearest): Likewise.
15094 (sinh_test_towardzero): Likewise.
15095 (sinh_test_downward): Likewise.
15096 (sinh_test_upward): Likewise.
15097 (main): Call the new functions.
15098 * sysdeps/i386/fpu/libm-test-ulps: Update.
15099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15101 2012-03-05 Tom de Vries <tom@codesourcery.com>
15103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15104 default stack guard is set in last bytes.
15105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15107 2012-03-05 Kees Cook <keescook@chromium.org>
15109 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15112 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15113 possibly allocate from heap instead of stack.
15114 * stdio-common/bug-vfprintf-nargs.c: New file.
15115 * stdio-common/Makefile (tests): Add nargs overflow test.
15117 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15121 2012-03-03 Marek Polacek <polacek@redhat.com>
15123 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15124 * math/math_private.h: Likewise.
15125 * stdlib/tst-strtod.c: Likewise.
15126 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15127 * sysdeps/x86_64/bits/atomic.h: Likewise.
15129 2012-03-02 David S. Miller <davem@davemloft.net>
15131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15135 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15136 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15137 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15138 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15140 2012-03-02 Roland McGrath <roland@hack.frob.com>
15143 * manual/examples/README: New file, says the example source files
15144 can be used under GPL>=2.
15145 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15146 line containing just "*/".
15147 * manual/examples/add.c: Add copyright header (GPL>=2).
15148 * manual/examples/argp-ex1.c: Likewise.
15149 * manual/examples/argp-ex2.c: Likewise.
15150 * manual/examples/argp-ex3.c: Likewise.
15151 * manual/examples/argp-ex4.c: Likewise.
15152 * manual/examples/atexit.c: Likewise.
15153 * manual/examples/db.c: Likewise.
15154 * manual/examples/dir.c: Likewise.
15155 * manual/examples/dir2.c: Likewise.
15156 * manual/examples/execinfo.c: Likewise.
15157 * manual/examples/filecli.c: Likewise.
15158 * manual/examples/filesrv.c: Likewise.
15159 * manual/examples/fmtmsgexpl.c: Likewise.
15160 * manual/examples/genpass.c: Likewise.
15161 * manual/examples/inetcli.c: Likewise.
15162 * manual/examples/inetsrv.c: Likewise.
15163 * manual/examples/isockad.c: Likewise.
15164 * manual/examples/longopt.c: Likewise.
15165 * manual/examples/memopen.c: Likewise.
15166 * manual/examples/memstrm.c: Likewise.
15167 * manual/examples/mkfsock.c: Likewise.
15168 * manual/examples/mkisock.c: Likewise.
15169 * manual/examples/mygetpass.c: Likewise.
15170 * manual/examples/pipe.c: Likewise.
15171 * manual/examples/popen.c: Likewise.
15172 * manual/examples/rprintf.c: Likewise.
15173 * manual/examples/search.c: Likewise.
15174 * manual/examples/select.c: Likewise.
15175 * manual/examples/setjmp.c: Likewise.
15176 * manual/examples/sigh1.c: Likewise.
15177 * manual/examples/sigusr.c: Likewise.
15178 * manual/examples/stpcpy.c: Likewise.
15179 * manual/examples/strdupa.c: Likewise.
15180 * manual/examples/strftim.c: Likewise.
15181 * manual/examples/strncat.c: Likewise.
15182 * manual/examples/subopt.c: Likewise.
15183 * manual/examples/swapcontext.c: Likewise.
15184 * manual/examples/termios.c: Likewise.
15185 * manual/examples/testopt.c: Likewise.
15186 * manual/examples/testpass.c: Likewise.
15187 * manual/examples/timeval_subtract.c: Likewise.
15190 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15192 * manual/timeval_subtract.c.texi: ... here, new file.
15194 2012-03-02 David S. Miller <davem@davemloft.net>
15196 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15198 2012-03-02 Joseph Myers <joseph@codesourcery.com>
15201 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15202 (__sin): Save and restore rounding mode and use round-to-nearest
15203 for all computations.
15204 (__cos): Save and restore rounding mode and use round-to-nearest
15205 for all computations.
15206 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15208 (tan): Save and restore rounding mode and use round-to-nearest for
15210 * math/libm-test.inc (cos_test_tonearest): New function.
15211 (cos_test_towardzero): Likewise.
15212 (cos_test_downward): Likewise.
15213 (cos_test_upward): Likewise.
15214 (sin_test_tonearest): Likewise.
15215 (sin_test_towardzero): Likewise.
15216 (sin_test_downward): Likewise.
15217 (sin_test_upward): Likewise.
15218 (tan_test_tonearest): Likewise.
15219 (tan_test_towardzero): Likewise.
15220 (tan_test_downward): Likewise.
15221 (tan_test_upward): Likewise.
15222 (main): Call the new functions.
15223 * sysdeps/i386/fpu/libm-test-ulps: Update.
15224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15228 small n, then large n, before computing and testing k+n.
15229 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15234 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15235 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15242 * math/libm-test.inc (scalbn_test): Add more tests.
15243 (scalbln_test): Likewise.
15245 * manual/filesys.texi (mode_t): Describe constraints on size and
15246 signedness, not exact equivalence to a particular type.
15248 (ino64_t): Likewise.
15250 (nlink_t): Likewise.
15251 (blkcnt_t): Likewise.
15252 (blkcnt64_t): Likewise.
15253 * manual/llio.texi (off_t): Likewise.
15256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15257 (__ieee754_exp): Save and restore rounding mode and use
15258 round-to-nearest for all computations.
15259 * math/libm-test.inc (exp_test_tonearest): New function.
15260 (exp_test_towardzero): Likewise.
15261 (exp_test_downward): Likewise.
15262 (exp_test_upward): Likewise.
15263 (main): Call the new functions.
15264 * sysdeps/i386/fpu/libm-test-ulps: Update.
15265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15267 2012-03-01 Chris Demetriou <cgd@google.com>
15269 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15270 have predictable order.
15272 2012-03-01 David S. Miller <davem@davemloft.net>
15274 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15276 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15277 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15278 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15279 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15281 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15282 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15285 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15286 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15287 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15288 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15289 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15294 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15297 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15300 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15301 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15305 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15313 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15314 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15315 * sysdeps/sparc/elf/configure: Regenerated.
15317 2012-03-01 Joseph Myers <joseph@codesourcery.com>
15319 * configure.in (AS, LD): Require binutils 2.20 or later.
15320 * configure: Regenerated.
15321 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15322 as required minimum version.
15323 * INSTALL: Regenerated.
15327 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15328 before squaring exponent.
15329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15330 bottom long double and 27 bits of top long double before squaring
15332 * math/libm-test.inc (erfc_test): Add more tests.
15333 * sysdeps/i386/fpu/libm-test-ulps: Update.
15334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15337 2012-03-01 Kai Tietz <ktietz@redhat.com>
15339 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15340 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15341 containing bit-fields.
15342 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15343 * soft-fp/single.h (_FP_UNION_S): Likewise.
15344 * soft-fp/double.h (_FP_UNION_D): Likewise.
15346 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15349 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15350 not include ../strcmp.S.
15351 [USE_AS_STRNCASECMP_L]: Likewise.
15352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15353 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15354 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15355 (__strncasecmp_l_ia32): Define as alias to
15356 __strncasecmp_l_nonascii.
15359 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15360 * sysdeps/i386/fpu/libm-test-ulps: Update.
15361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15363 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15366 2012-02-29 Jeff Law <law@redhat.com>
15368 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15369 out of bounds read.
15371 2012-02-29 Marek Polacek <polacek@redhat.com>
15374 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15375 * elf/Makefile: Add rules to run tst-unused-dep.out.
15377 2012-02-28 David S. Miller <davem@davemloft.net>
15379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15386 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15388 * math/libm-test.inc (llround_test): Move one test from
15389 lround_test. Use TEST_f_L in moved test.
15390 (lround_test): Move misplaced test to llround_test. Add testcase
15393 2012-02-28 Ulrich Drepper <drepper@gmail.com>
15395 * sysdeps/x86_64/fpu/e_expf.S: New file.
15396 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15398 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15401 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15402 of remain_len that may cause incomplete multi-byte character and
15404 * posix/bug-regex33.c: New file.
15405 * posix/Makefile (tests): Add bug-regex33.
15407 2012-02-28 Joseph Myers <joseph@codesourcery.com>
15409 * manual/macros.texi: New file.
15410 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15411 * manual/libc.texinfo: Include macros.texi.
15412 * manual/creatute.texi: Likewise.
15413 * manual/install.texi: Likewise.
15414 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15415 @glibcadj{} in references to the GNU C Library.
15416 * manual/charset.texi: Likewise.
15417 * manual/conf.texi: Likewise.
15418 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15419 when not using those macros.
15420 * manual/creature.texi: Likewise.
15421 * manual/crypt.texi: Likewise.
15422 * manual/errno.texi: Likewise.
15423 * manual/filesys.texi: Likewise.
15424 * manual/header.texi: Likewise.
15425 * manual/install.texi: Likewise.
15426 * manual/intro.texi: Likewise.
15427 * manual/io.texi: Likewise.
15428 * manual/job.texi: Likewise.
15429 * manual/lang.texi: Likewise.
15430 * manual/libc.texiinfo: Likewise.
15431 * manual/llio.texi: Likewise.
15432 * manual/locale.texi: Likewise.
15433 * manual/maint.texi: Likewise.
15434 * manual/math.texi: Likewise.
15435 * manual/memory.texi: Likewise.
15436 * manual/message.texi: Likewise.
15437 * manual/nss.texi: Likewise.
15438 * manual/pattern.texi: Likewise.
15439 * manual/process.texi: Likewise.
15440 * manual/resource.texi: Likewise.
15441 * manual/search.texi: Likewise.
15442 * manual/setjmp.texi: Likewise.
15443 * manual/signal.texi: Likewise.
15444 * manual/socket.texi: Likewise.
15445 * manual/startup.texi: Likewise.
15446 * manual/stdio.texi: Likewise.
15447 * manual/string.texi: Likewise.
15448 * manual/sysinfo.texi: Likewise.
15449 * manual/syslog.texi: Likewise.
15450 * manual/terminal.texi: Likewise.
15451 * manual/time.texi: Likewise.
15452 * manual/users.texi: Likewise.
15453 * INSTALL: Regenerated.
15454 * NOTES: Regenerated.
15455 * sysdeps/gnu/errlist.c: Regenerated.
15457 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15459 * include/dirent.h: Include <dirstream.h> before
15462 2012-02-28 David S. Miller <davem@davemloft.net>
15464 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15465 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15466 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15469 2012-02-27 David S. Miller <davem@davemloft.net>
15471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15473 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15474 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15477 frame pointer instead of stack pointer relative arg slot.
15478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15482 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15485 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15487 2012-02-27 David S. Miller <davem@davemloft.net>
15489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15495 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15498 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15500 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15501 later. Allow versions 5-9.
15502 * configure: Regenerated.
15503 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15504 required minimum version and 4.6 as recommended version. Do not
15505 mention bugs in GCC 2.7 and 2.8.
15506 * INSTALL: Regenerated.
15508 2012-02-27 David S. Miller <davem@davemloft.net>
15510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15516 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15520 manipulate bits before adding and subtracting TWO112[sx].
15521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15523 2012-02-27 Roland McGrath <roland@hack.frob.com>
15526 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15527 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15528 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15529 being in POSIX, because they are in 1003.1-2008.
15531 * rt/tst-aio.c: Include <fcntl.h>.
15532 * rt/tst-aio7.c: Likewise.
15533 * rt/tst-aio64.c: Likewise.
15535 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15537 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15539 * manual/install.texi (--with-headers): Describe headers as
15540 interface headers, not private headers.
15541 (Specific advice for GNU/Linux systems): Describe use of headers
15542 from "make headers_install", not private headers from older
15544 * INSTALL: Regenerated.
15545 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15547 * sysdeps/unix/sysv/linux/configure: Regenerated.
15549 * manual/llio.texi (fclean): Remove documentation.
15551 * manual/Makefile (libc-texi-generated): New variable. Include
15553 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15554 $(libc-texi-generated), not duplicated list of files.
15555 (version.texi, stamp-version): New rules.
15556 (realclean): Remove $(libc-texi-generated), not individual files
15557 from that list. Do not remove dir-add.texinfo.
15558 * manual/libc.texinfo: Comment out uses of edition numbers and
15559 references to printed manual. Remove last-updated dates.
15560 (EDITION): Comment out.
15562 (VERSION, UPDATED): Remove.
15563 (version.texi): Include.
15565 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15567 * sysdeps/posix/spawni.c: Include <signal.h>.
15568 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15569 * sysdeps/pthread/aio_fsync.c: Likewise.
15571 2012-02-26 Ulrich Drepper <drepper@gmail.com>
15573 * conform/Makefile (tests): Run only when not cross-compiling and
15574 when fast-check is not defined.
15576 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15577 * conform/data/limits.h-data: Fixes for POSIX2008.
15578 * conform/run-conformtest.sh: Run all tests.
15579 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15581 * include/bits/dlfcn.h: Likewise.
15582 * include/langinfo.h: Likewise.
15583 * include/monetary.h: Likewise.
15584 * include/sys/poll.h: Likewise.
15586 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15588 * posix/spawn.h: Define __need_sigset_t.
15589 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15590 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15591 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15592 to get sigevent_t only.
15593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15594 only for __USE_GNU.
15595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15597 process_vm_writev only for __USE_GNU.
15598 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15600 * conform/Makefile: For now ignore errors from run-conformtest.
15601 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15602 POSIX to avoid namespace pollution. Don't prepend headers.
15603 * conform/data/aio.h-data: Fixes for POSIX testing.
15604 * conform/data/fcntl.h-data: Likewise.
15605 * conform/data/glob.h-data: Likewise.
15606 * conform/data/grp.h-data: Likewise.
15607 * conform/data/pthread.h-data: Likewise.
15608 * conform/data/pwd.h-data: Likewise.
15609 * conform/data/signal.h-data: Likewise.
15610 * conform/data/spawn.h-data: Likewise.
15611 * conform/data/stdio.h-data: Likewise.
15612 * conform/data/stdlib.h-data: Likewise.
15613 * conform/data/stropts.h-data: Likewise.
15614 * conform/data/sys/mman.h-data: Likewise.
15615 * conform/data/sys/stat.h-data: Likewise.
15616 * conform/data/sys/types.h-data: Likewise.
15617 * conform/data/sys/wait.h-data: Likewise.
15618 * conform/data/time.h-data: Likewise.
15619 * conform/data/unistd.h-data: Likewise.
15620 * conform/data/utime.h-data: Likewise.
15622 * io/sys/stat.h: fchmod was always in POSIX.
15623 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15624 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15625 * rt/aio.h: Define __need_timespec before including <time.h>.
15626 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15627 struct. Add forward declaration of pthread_attr_t and use it in
15629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15631 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15632 always remove CLK_TCK definition.
15634 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15636 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15638 2012-02-25 Ulrich Drepper <drepper@gmail.com>
15640 * conform/run-conformtest.sh: New file.
15641 * conform/Makefile: Run run-conformtest for tests.
15642 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15645 * conform/data/uchar.h-data: New file.
15646 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15647 * conform/data/arpa/inet.h-data: Likewise.
15648 * conform/data/assert.h-data: Likewise.
15649 * conform/data/complex.h-data: Likewise.
15650 * conform/data/cpio.h-data: Likewise.
15651 * conform/data/ctype.h-data: Likewise.
15652 * conform/data/dirent.h-data: Likewise.
15653 * conform/data/dlfcn.h-data: Likewise.
15654 * conform/data/errno.h-data: Likewise.
15655 * conform/data/fcntl.h-data: Likewise.
15656 * conform/data/float.h-data: Likewise.
15657 * conform/data/fmtmsg.h-data: Likewise.
15658 * conform/data/fnmatch.h-data: Likewise.
15659 * conform/data/ftw.h-data: Likewise.
15660 * conform/data/glob.h-data: Likewise.
15661 * conform/data/grp.h-data: Likewise.
15662 * conform/data/iconv.h-data: Likewise.
15663 * conform/data/inttypes.h-data: Likewise.
15664 * conform/data/langinfo.h-data: Likewise.
15665 * conform/data/libgen.h-data: Likewise.
15666 * conform/data/limits.h-data: Likewise.
15667 * conform/data/locale.h-data: Likewise.
15668 * conform/data/math.h-data: Likewise.
15669 * conform/data/monetary.h-data: Likewise.
15670 * conform/data/mqueue.h-data: Likewise.
15671 * conform/data/ndbm.h-data: Likewise.
15672 * conform/data/net/if.h-data: Likewise.
15673 * conform/data/netdb.h-data: Likewise.
15674 * conform/data/netinet/in.h-data: Likewise.
15675 * conform/data/nl_types.h-data: Likewise.
15676 * conform/data/poll.h-data: Likewise.
15677 * conform/data/pthread.h-data: Likewise.
15678 * conform/data/pwd.h-data: Likewise.
15679 * conform/data/regex.h-data: Likewise.
15680 * conform/data/sched.h-data: Likewise.
15681 * conform/data/search.h-data: Likewise.
15682 * conform/data/semaphore.h-data: Likewise.
15683 * conform/data/setjmp.h-data: Likewise.
15684 * conform/data/signal.h-data: Likewise.
15685 * conform/data/spawn.h-data: Likewise.
15686 * conform/data/stdarg.h-data: Likewise.
15687 * conform/data/stdio.h-data: Likewise.
15688 * conform/data/stdlib.h-data: Likewise.
15689 * conform/data/string.h-data: Likewise.
15690 * conform/data/strings.h-data: Likewise.
15691 * conform/data/stropts.h-data: Likewise.
15692 * conform/data/sys/ipc.h-data: Likewise.
15693 * conform/data/sys/mman.h-data: Likewise.
15694 * conform/data/sys/msg.h-data: Likewise.
15695 * conform/data/sys/resource.h-data: Likewise.
15696 * conform/data/sys/select.h-data: Likewise.
15697 * conform/data/sys/sem.h-data: Likewise.
15698 * conform/data/sys/shm.h-data: Likewise.
15699 * conform/data/sys/socket.h-data: Likewise.
15700 * conform/data/sys/stat.h-data: Likewise.
15701 * conform/data/sys/statvfs.h-data: Likewise.
15702 * conform/data/sys/time.h-data: Likewise.
15703 * conform/data/sys/timeb.h-data: Likewise.
15704 * conform/data/sys/times.h-data: Likewise.
15705 * conform/data/sys/types.h-data: Likewise.
15706 * conform/data/sys/uio.h-data: Likewise.
15707 * conform/data/sys/un.h-data: Likewise.
15708 * conform/data/sys/utsname.h-data: Likewise.
15709 * conform/data/sys/wait.h-data: Likewise.
15710 * conform/data/syslog.h-data: Likewise.
15711 * conform/data/tar.h-data: Likewise.
15712 * conform/data/termios.h-data: Likewise.
15713 * conform/data/utime.h-data: Likewise.
15714 * conform/data/utmpx.h-data: Likewise.
15715 * conform/data/varargs.h-data: Likewise.
15716 * conform/data/wchar.h-data: Likewise.
15717 * conform/data/wctype.h-data: Likewise.
15718 * conform/data/wordexp.h-data: Likewise.
15720 * include/stropts.h: New file.
15721 * include/uchar.h: New file.
15722 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15723 * include/assert.h: Likewise.
15724 * include/ctype.h: Likewise.
15725 * include/dirent.h: Likewise.
15726 * include/dlfcn.h: Likewise.
15727 * include/fcntl.h: Likewise.
15728 * include/fnmatch.h: Likewise.
15729 * include/glob.h: Likewise.
15730 * include/grp.h: Likewise.
15731 * include/libio.h: Likewise.
15732 * include/locale.h: Likewise.
15733 * include/math.h: Likewise.
15734 * include/net/if.h: Likewise.
15735 * include/netdb.h: Likewise.
15736 * include/netinet/in.h: Likewise.
15737 * include/pthread.h: Likewise.
15738 * include/pwd.h: Likewise.
15739 * include/regex.h: Likewise.
15740 * include/sched.h: Likewise.
15741 * include/search.h: Likewise.
15742 * include/setjmp.h: Likewise.
15743 * include/signal.h: Likewise.
15744 * include/stdio.h: Likewise.
15745 * include/stdlib.h: Likewise.
15746 * include/string.h: Likewise.
15747 * include/sys/cdefs.h: Likewise.
15748 * include/sys/mman.h: Likewise.
15749 * include/sys/msg.h: Likewise.
15750 * include/sys/resource.h: Likewise.
15751 * include/sys/select.h: Likewise.
15752 * include/sys/socket.h: Likewise.
15753 * include/sys/stat.h: Likewise.
15754 * include/sys/statvfs.h: Likewise.
15755 * include/sys/time.h: Likewise.
15756 * include/sys/times.h: Likewise.
15757 * include/sys/uio.h: Likewise.
15758 * include/sys/utsname.h: Likewise.
15759 * include/sys/wait.h: Likewise.
15760 * include/termios.h: Likewise.
15761 * include/time.h: Likewise.
15762 * include/ulimit.h: Likewise.
15763 * include/unistd.h: Likewise.
15764 * include/utime.h: Likewise.
15765 * include/wchar.h: Likewise.
15766 * include/wctype.h: Likewise.
15767 * include/wordexp.h: Likewise.
15769 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15771 * time/time.h: TIME_UTC must be a macro.
15772 Make timespec_get available for ISO C11 only as well.
15774 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15776 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15777 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15779 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15781 * configure.in: Use -o not -a in test for unsupported multi-arch.
15783 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15785 * manual/texinfo.tex: Update to version 2012-01-19.16.
15787 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15789 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15791 2012-02-24 Roland McGrath <roland@hack.frob.com>
15794 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15795 * manual/fdl-1.3.texi: New file.
15796 * manual/fdl-1.1.texi: File removed.
15799 * manual/libc.texinfo (FDL_VERSION): New @set.
15800 Use it for mention of FDL in cover text.
15801 (Documentation License): Use it in @include file name.
15803 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15804 Roland McGrath <roland@hack.frob.com>
15807 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15808 not LONG_LONG_MAX and LONG_LONG_MIN.
15809 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15810 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15812 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15814 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15819 manipulate bits before adding and subtracting TWO23[sx].
15820 * math/libm-test.inc (nearbyint_test): Add more tests.
15822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15825 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15826 bits before adding and subtracting TWO23[sx].
15827 * math/libm-test.inc (rint_test): Add more tests.
15828 (rint_test_tonearest): Likewise.
15829 (rint_test_towardzero): Likewise.
15830 (rint_test_downward): Likewise.
15831 (rint_test_upward: Likewise.
15833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15836 * include/stdc-predef.h: New file. Extracted from features.h.
15837 * include/features.h: Include stdc-predef.h.
15838 * Makefile (headers): Add stdc-predef.h.
15839 * CONFORMANCE (Compiler limitations): Update.
15841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15843 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15845 2012-02-21 David S. Miller <davem@davemloft.net>
15847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15850 2012-02-20 David S. Miller <davem@davemloft.net>
15852 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15853 using a normal save/restore sequence, rather than allocating a
15854 dummy stack frame just to store a frame pointer and restore.
15855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15857 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15859 * manual/install.texi: Fix stray word in line-wrapped comment.
15861 2012-02-20 David S. Miller <davem@davemloft.net>
15863 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15864 both binutils and gcc support GOTDATA.
15866 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15867 "rd %pc" in the PIC register setup sequences.
15869 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15870 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15872 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15878 (SYSCALL_ERROR_HANDLER): Likewise.
15879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15882 (SYSCALL_ERROR_HANDLER): Likewise.
15884 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15885 (HAVE_GCC_GOTDATA): New.
15886 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15887 relocation support in both binutils and gcc.
15888 * sysdeps/sparc/elf/configure: Regenerate.
15890 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15891 * sysdeps/sparc/sparc32/elf/configure: Delete.
15892 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15893 * sysdeps/sparc/sparc64/elf/configure: Delete.
15894 * sysdeps/sparc/elf/configure.in: New file.
15895 * sysdeps/sparc/elf/configure: Generate.
15897 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15898 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15899 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15900 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15901 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15903 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15905 * manual/install.texi: Do not mention specific glibc version
15907 * manual/libc.texinfo (VERSION, UPDATED): Update.
15908 (@copying): Use @copyright{} and range of years.
15910 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15913 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15914 [crti.S not in sysdirs] (generated): Do not append.
15915 [crti.S not in sysdirs] (omit-deps): Likewise.
15916 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15917 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15918 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15919 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15920 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15922 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15923 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15924 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15925 * csu/defs.awk: Remove file.
15926 * sysdeps/generic/initfini.c: Likewise.
15927 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15929 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15932 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15934 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15939 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15941 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15942 (__EPOLL_PACKED): Define to empty if not defined by
15944 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15948 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15950 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15951 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15955 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15959 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15961 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15968 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15973 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15975 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15976 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15978 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15980 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15983 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15985 * math/w_acos.c: Use non-signaling floating-point comparisons.
15986 * math/w_acosf.c: Likewise.
15987 * math/w_acosh.c: Likewise.
15988 * math/w_acoshf.c: Likewise.
15989 * math/w_acoshl.c: Likewise.
15990 * math/w_acosl.c: Likewise.
15991 * math/w_asin.c: Likewise.
15992 * math/w_asinf.c: Likewise.
15993 * math/w_asinl.c: Likewise.
15994 * math/w_atanh.c: Likewise.
15995 * math/w_atanhf.c: Likewise.
15996 * math/w_atanhl.c: Likewise.
15997 * math/w_exp2.c: Likewise.
15998 * math/w_exp2f.c: Likewise.
15999 * math/w_exp2l.c: Likewise.
16000 * math/w_j0.c: Likewise.
16001 * math/w_j0f.c: Likewise.
16002 * math/w_j0l.c: Likewise.
16003 * math/w_j1.c: Likewise.
16004 * math/w_j1f.c: Likewise.
16005 * math/w_j1l.c: Likewise.
16006 * math/w_jn.c: Likewise.
16007 * math/w_jnf.c: Likewise.
16008 * math/w_log.c: Likewise.
16009 * math/w_log10.c: Likewise.
16010 * math/w_log10f.c: Likewise.
16011 * math/w_log10l.c: Likewise.
16012 * math/w_log2.c: Likewise.
16013 * math/w_log2f.c: Likewise.
16014 * math/w_log2l.c: Likewise.
16015 * math/w_logf.c: Likewise.
16016 * math/w_logl.c: Likewise.
16017 * math/w_sqrt.c: Likewise.
16018 * math/w_sqrtf.c: Likewise.
16019 * math/w_sqrtl.c: Likewise.
16020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16021 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16026 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16029 * manual/string.texi (strnlen): Use correct parameter name in
16030 equivalent expression.
16032 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16035 * manual/users.texi (seteuid): Consistently use neweuid for
16038 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16041 * manual/nss.texi (Services in the NSS configuration): Correct
16042 list of services in example configuration file.
16044 2012-02-19 Nick Bowler <nbowler@draconx.ca>
16047 * manual/arith.texi: Remove statements about negative zero
16048 behaving identically to zero.
16050 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16053 * manual/install.texi: Do not document upgrading from libc5.
16055 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16058 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16060 2012-02-18 David S. Miller <davem@davemloft.net>
16062 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16063 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16064 %o7 across the call.
16065 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16068 SETUP_PIC_REG_LEAF.
16069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16070 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16071 * sysdeps/sparc/crtn.S: Likewise.
16073 2012-02-17 Ulrich Drepper <drepper@gmail.com>
16075 * aout/Makefile: Remove.
16077 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16080 * manual/examples/argp-ex1.c (main): Format definition in GNU
16082 * manual/examples/argp-ex2.c (main): Likewise.
16083 * manual/examples/argp-ex3.c (main): Likewise.
16084 * manual/examples/argp-ex4.c (main): Likewise.
16085 * manual/examples/longopt.c (main): Use new-style prototype
16087 * manual/examples/strncat.c (main): Specify return type and use
16088 (void) for arguments.
16089 * manual/examples/subopt.c (main): Use char **argv argument.
16091 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16094 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16097 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16100 * manual/string.texi (strchr): Change when strchrnul is
16103 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16106 * manual/locale.texi (setlocale): Document LOCPATH.
16108 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16111 * manual/process.texi (execle): Move @dots{} before last argument.
16113 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
16116 * manual/charset.texi (Generic Charset Conversion): Fix typo
16117 (LC_TYPE -> LC_CTYPE).
16119 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16122 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16123 (scalbnf): Likewise.
16124 (scalbnl): Likewise.
16125 (scalbln): Likewise.
16126 (scalblnf): Likewise.
16127 (scalblnl): Likewise.
16128 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16129 (vwarnx): Likewise.
16132 * manual/filesys.texi (telldir): Use braces around return type.
16133 * manual/llio.texi (mmap): Add space after comma.
16134 (mmap64): Likewise.
16135 * manual/math.texi (jn): Use @var{} on parameter names.
16141 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16143 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16145 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16146 (sched_get_priority_max): Likewise.
16147 * manual/signal.texi (sigvec): Add space after comma.
16148 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16150 (if_indextoname): Likewise.
16151 (if_freenameindex): Likewise.
16152 (sendto): Use ',' instead of '.' in prototype.
16153 * manual/startup.texi (syscall): Use @dots{} instead of literal
16155 * manual/stdio.texi (__fpending): Separate initial words of
16156 paragraph from @deftypefun line.
16157 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16159 (vsyslog): Use @var{} on parameter names.
16160 * manual/terminal.texi (stty): Use @var{} on parameter names.
16161 * manual/users.texi (getutmp): Use @var{} on parameter names.
16162 (getutmpx): Likewise.
16164 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16167 * manual/stdio.texi (fopen): Fix typos in description of
16170 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16173 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16174 get clock_id definition.
16176 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
16179 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16180 (madvise): Cast every argument to void on its own.
16182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16185 * manual/startup.texi (Exit Status): Fix typo.
16187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16190 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16191 * manual/examples/argp-ex2.c: Likewise.
16192 * manual/examples/argp-ex3.c: Likewise.
16194 2012-02-16 Richard Henderson <rth@redhat.com>
16196 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16197 * sysdeps/s390/s390-32/initfini.c: Remove.
16198 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16199 * sysdeps/s390/s390-64/initfini.c: Remove.
16201 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16203 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16204 compiler output for sysdeps/generic/initfini.c.
16205 * sysdeps/sh/elf/initfini.c: Remove file.
16207 2012-02-16 David S. Miller <davem@davemloft.net>
16210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16212 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16213 * sysdeps/sparc/crti.S: New file.
16214 * sysdeps/sparc/crtn.S: New file.
16215 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16216 * sysdeps/sparc/sparc64/Makefile: Likewise.
16218 2012-02-15 Mike Frysinger <vapier@gentoo.org>
16221 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16223 2012-02-15 Roland McGrath <roland@hack.frob.com>
16226 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16228 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16229 (write, read, close): Likewise.
16230 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16232 2012-02-15 Joseph Myers <joseph@codesourcery.com>
16234 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16235 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16236 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16237 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16239 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16243 2012-02-14 Marek Polacek <polacek@redhat.com>
16245 * sysdeps/x86_64/crti.S: New file.
16246 * sysdeps/x86_64/crtn.S: New file.
16247 * sysdeps/x86_64/elf/initfini.c: Remove file.
16249 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16251 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16252 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16254 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16256 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16260 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16262 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16264 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16265 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16267 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16271 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16273 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16274 __feraiseexcept instead of feraiseexcept.
16276 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16277 nanosleep invocations.
16278 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16279 strings, and add error checking for a nanosleep invocations.
16281 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16283 Replace FSF snail mail address with URLs, as per GNU coding standards.
16284 Most of the snail mail addresses were wrong anyway, and omitting
16285 them makes the source code easier to maintain. Almost all of the
16286 changes are to license notices and to locale LC_IDENTIFICATION
16287 addresses, except for this one:
16288 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16289 not its snail mail address.
16291 2012-02-09 Richard Henderson <rth@twiddle.net>
16293 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16294 of kernel-features.h.
16296 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16298 2012-02-08 Marek Polacek <polacek@redhat.com>
16300 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16301 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16302 * sysdeps/gnu/_G_config.h: Likewise.
16303 * sysdeps/generic/_G_config.h: Likewise.
16305 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16307 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16311 * sysdeps/powerpc/powerpc32/crti.S: New file.
16312 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16313 * sysdeps/powerpc/powerpc64/crti.S: New file.
16314 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16316 * Makeconfig (have-initfini): Don't set.
16317 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16318 * configure.in (nopic_initfini): Don't substitute.
16319 * config.h.in (HAVE_INITFINI): Don't #undef.
16320 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16321 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16323 2012-02-08 Joseph Myers <joseph@codesourcery.com>
16325 Support crti.S and crtn.S provided directly by architectures.
16326 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16327 [crti.S in sysdirs] (omit-deps): Likewise.
16328 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16329 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16330 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16331 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16332 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16333 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16334 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16335 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16336 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16337 compiler output for sysdeps/generic/initfini.c.
16338 * sysdeps/i386/elf/Makefile: Remove file.
16339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16341 2012-02-07 Marek Polacek <polacek@redhat.com>
16343 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16344 * sysdeps/gnu/_G_config.h: Likewise.
16345 * sysdeps/mach/hurd/_G_config.h: Likewise.
16347 2012-02-07 Marek Polacek <polacek@redhat.com>
16349 * math/Makefile (tests): Add tst-CMPLX2.
16350 * math/tst-CMPLX2.c: New file.
16352 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16354 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16356 * math/libm-test.inc (jn_test): Add missing L suffix.
16358 2012-02-06 Marek Polacek <polacek@redhat.com>
16360 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16361 * sysdeps/i386/fpu/e_powf.S: Likewise.
16362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16365 * sysdeps/i386/fpu/e_pow.S: Likewise.
16366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16370 * sysdeps/i386/fpu/e_log2.S: Likewise.
16371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16373 * sysdeps/i386/fpu/e_powl.S: Likewise.
16374 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16376 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16377 * sysdeps/i386/fpu/e_logl.S: Likewise.
16378 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16379 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16380 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16381 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16384 * sysdeps/i386/fpu/e_log.S: Likewise.
16385 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16387 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16388 * sysdeps/i386/fpu/e_logf.S: Likewise.
16389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16391 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16394 * sysdeps/i386/fpu/e_log10.S: Likewise.
16395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16401 * sysdeps/i386/asm-syntax.h: Likewise.
16402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16405 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16406 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16407 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16408 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16409 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16411 * sysdeps/powerpc/sysdep.h: Likewise.
16412 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16415 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16418 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16420 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16422 * sysdeps/i386/sysdep.h: Include <features.h>.
16423 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16426 2012-02-05 Joseph Myers <joseph@codesourcery.com>
16428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16430 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16433 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16435 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16436 (SETUP_PIC_REG): Use GET_PC_THUNK.
16437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16440 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16443 for non-PIC compilation.
16444 (SETUP_PIC_REG): Add .p2align directive.
16445 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16446 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16450 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16487 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16489 * math/tst-CMPLX.c: Include <stdio.h>.
16491 2012-01-31 Joseph Myers <joseph@codesourcery.com>
16493 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16496 * sysdeps/sparc/bits/mathdef.h: Likewise.
16498 2012-01-31 Marek Polacek <polacek@redhat.com>
16500 * libio/libio.h: Don't define _PARAMS.
16501 * locale/programs/config.h: Don't define PARAMS.
16502 * stdlib/strtol_l.c: Likewise.
16503 (__strtol_l): Remove PARAMS from the prototype.
16505 2012-01-31 Ulrich Drepper <drepper@gmail.com>
16507 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16508 names. Just use the correct names. Remove unnecessary wrapper
16510 * malloc/arena.c: Likewise.
16511 * malloc/hooks.c: Likewise.
16513 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16514 ARENA_TEST says not to. Simplify test for creation of a new arena.
16515 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16517 2012-01-30 Ulrich Drepper <drepper@gmail.com>
16519 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16521 (update_get_addr): New function.
16522 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16523 GET_ADDR_MODULE parameter.
16525 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16527 * crypt/cert.c: Remove __STDC__ conditionals.
16528 * crypt/crypt-entry.c: Likewise.
16529 * crypt/crypt_util.c: Likewise.
16530 * libio/filedoalloc.c: Likewise.
16531 * libio/fileops.c: Likewise.
16532 * libio/genops.c: Likewise.
16533 * libio/iofclose.c: Likewise.
16534 * libio/iofdopen.c: Likewise.
16535 * libio/iofopen.c: Likewise.
16536 * libio/iofopen64.c: Likewise.
16537 * libio/iogetdelim.c: Likewise.
16538 * libio/iopopen.c: Likewise.
16539 * libio/obprintf.c: Likewise.
16540 * libio/oldfileops.c: Likewise.
16541 * libio/oldiofclose.c: Likewise.
16542 * libio/oldiofdopen.c: Likewise.
16543 * libio/oldiofopen.c: Likewise.
16544 * libio/oldiopopen.c: Likewise.
16545 * libio/wfiledoalloc.c: Likewise.
16546 * libio/wgenops.c: Likewise.
16547 * locale/programs/xmalloc.c: Likewise.
16548 * misc/syslog.c: Likewise.
16549 * stdio-common/xbug.c: Likewise.
16550 * string/memchr.c: Likewise.
16551 * string/memcmp.c: Likewise.
16552 * string/memrchr.c: Likewise.
16553 * string/rawmemchr.c: Likewise.
16554 * sysdeps/posix/getcwd.c: Likewise.
16555 * time/strftime_l.c: Likewise.
16557 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16559 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16560 * config.make.in (config-cflags-sse2avx): Define.
16561 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16564 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16566 * scripts/config.guess: Update from upstream config git repository.
16567 * scripts/config.sub: Likewise.
16569 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16571 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16573 (R_TILEPRO_*, R_TILEGX_*): New macros.
16575 * scripts/firstversions.awk: Fix bug in version range handling.
16577 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16579 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16581 * include/sys/epoll.h: New file.
16582 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16585 2012-01-28 Ulrich Drepper <drepper@gmail.com>
16587 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16588 Avoid unnecessary __WORDSIZE == 64 test.
16589 (fmaxf): Use VEX format if possible.
16594 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16595 * math/math_private.h: Remove libc_fegetround* and
16597 * sysdeps/i386/configure.in: Check for -msse2avx.
16598 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16599 also if SSE2AVX is defined.
16600 Remove libc_fegetround* and libc_fesetround*.
16601 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16602 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16611 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16613 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16619 2012-01-27 Ulrich Drepper <drepper@gmail.com>
16622 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16624 * Makeconfig (libm): Define.
16625 * elf/Makefile: Add rules to build and run tst-relsort1.
16626 * elf/tst-relsort1.c: New file.
16627 * elf/tst-relsort1mod1.c: New file.
16628 * elf/tst-relsort1mod2.c: New file.
16630 2012-01-27 Joseph Myers <joseph@codesourcery.com>
16632 * math/s_ldexp.c: Remove __STDC__ conditionals.
16633 * math/s_ldexpf.c: Likewise.
16634 * math/s_ldexpl.c: Likewise.
16635 * math/s_nextafter.c: Likewise.
16636 * math/s_nexttowardf.c: Likewise.
16637 * math/s_significand.c: Likewise.
16638 * math/s_significandf.c: Likewise.
16639 * math/s_significandl.c: Likewise.
16640 * math/w_jnl.c: Likewise.
16641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16647 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16671 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16672 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16677 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16681 * sysdeps/ieee754/k_standard.c: Likewise.
16682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16687 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16689 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16690 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16691 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16761 * sysdeps/ieee754/s_matherr.c: Likewise.
16762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16767 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16769 * crypt/md5.h: Remove __STDC__ conditionals.
16770 * libio/libioP.h: Likewise.
16771 * locale/programs/config.h: Likewise.
16772 * sysdeps/generic/sysdep.h: Likewise.
16773 * sysdeps/i386/asm-syntax.h: Likewise.
16774 * sysdeps/s390/asm-syntax.h: Likewise.
16775 * sysdeps/unix/sysdep.h: Likewise.
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16779 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16781 * libio/libio.h: Remove __STDC__ conditionals.
16782 * malloc/obstack.h: Likewise.
16783 * math/complex.h: Likewise.
16784 * math/math.h: Likewise.
16785 * sysdeps/generic/_G_config.h: Likewise.
16786 * sysdeps/gnu/_G_config.h: Likewise.
16787 * sysdeps/mach/hurd/_G_config.h: Likewise.
16788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16789 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16790 * sysdeps/sparc/bits/mathdef.h: Likewise.
16792 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16796 Clean up HAS_* macros.
16797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16798 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16808 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16810 * elf/tst-unique3.cc (gets): Remove declaration.
16811 * elf/tst-unique3lib.cc (gets): Likewise.
16812 * elf/tst-unique3lib2.cc (gets): Likewise.
16813 * elf/tst-unique4.cc (gets): Likewise.
16815 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16817 * include/stdio.h: Add C++ protection. Add gets declarations and
16819 * debug/tst-chk1.c: Don't declare gets here.
16820 * stdio-common/tst-gets.c: Likewise.
16822 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16824 * posix/glob: Remove directory.
16826 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16828 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16830 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16832 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16833 of the non-standard EPFNOSUPPORT.
16835 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16837 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16838 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16839 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16841 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16843 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16845 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16847 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16849 * nscd/grpcache.c (cache_addgr): Likewise.
16850 * nscd/hstcache.c (cache_addhst): Likewise.
16851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16852 * nscd/pwdcache.c (cache_addpw): Likewise.
16853 * nscd/servicescache.c (cache_addserv): Likewise.
16855 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16857 * malloc/malloc.c: Various cleanups.
16858 * malloc/hooks.c: Likewise.
16860 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16861 * stdlib/bug-fmtmsg1.c: New file.
16863 * stdlib/fmtmsg.c (init): Add missing unlock.
16864 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16866 2012-01-12 Marek Polacek <polacek@redhat.com>
16868 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16871 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16873 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16875 macro to ensure uniqueness of label name.
16876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16879 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16888 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16892 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16894 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16896 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16903 * math/bits/math-finite.h: Add ldexp support.
16905 2012-01-10 Marek Polacek <polacek@redhat.com>
16907 * locale/programs/localedef.h (show_archive_content): Add noreturn
16910 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16912 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16914 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16916 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16918 * io/Makefile (headers): Add bits/poll2.h.
16920 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16923 typo #include statement.
16925 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16927 * include/sys/cdefs.h: Define __attribute_alloc_size.
16928 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16929 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16930 * elf/pldd.c: Likewise.
16931 * iconv/iconv_charmap.c: Likewise.
16932 * iconv/iconvconfig.c: Likewise.
16933 * iconv/strtab.c: Likewise.
16934 * locale/programs/locale.c: Likewise.
16935 * locale/programs/localedef.h: Likewise.
16936 * locale/programs/simple-hash.c: Likewise.
16937 * nscd/nscd.h: Likewise.
16938 * nss/makedb.c: Likewise.
16939 * sysdeps/generic/ldconfig.h: Likewise.
16940 * locale/programs/localedef.c: Remove xmalloc prototype.
16941 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16943 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16948 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16950 * math/Makefile (tests): Add tst-CMPLX.
16951 * math/tst-CMPLX.c: New file.
16953 * math/complex.h (CMPLXL): Fix typo.
16955 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16956 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16958 * debug/tst-chk1.c: Add poll and ppoll tests.
16959 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16960 * include/sys/poll.h: Add hidden proto for ppoll.
16961 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16962 * sysdeps/mach/hurd/ppoll.c: Likewise.
16963 * io/ppoll.c: Likewise.
16964 * debug/poll_chk.c: New file.
16965 * debug/ppoll_chk.c: New file.
16966 * include/bits/poll2.h: New file.
16967 * io/bits/poll2.h: New file.
16970 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16972 * configure.in: static is always set to yes. Remove.
16973 * config.make.in: Don't set build-static.
16974 * Makeconfig: Remove use of build-static.
16975 * dlfcn/Makefile: Likewise.
16976 * elf/Makefile: Likewise.
16977 * math/Makefile: Likewise.
16978 * misc/Makefile: Likewise.
16979 * nptl/Makefile: Likewise.
16980 * sysdeps/mach/hurd/Makefile: Likewise.
16982 * configure.in: PWD_P is not used anymore.
16983 * config.make.in: Remove PWD_P entry.
16985 * configure.in: Remove last remnants of RANLIB.
16986 No need to check for signed size_t anymore.
16987 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16989 Remove __builtin_expect test because we require at least gcc 3.4.
16990 * aclocal.m4: Likewise.
16992 * wcsmbs/mbrtoc16.c: Implement using towc function.
16993 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16994 * wcsmbs/wcsmbsload.c: Likewise.
16995 * iconv/gconv_simple.c: Likewise.
16996 * iconv/gconv_int.h: Likewise.
16997 * iconv/gconv_builtin.h: Likewise.
16998 * iconv/iconv_prog.c: Remove CHAR16 handling.
17000 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17002 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17004 * configure.in: Remove --with-elf and --enable-bounded options.
17005 Dont set base_machine for ia64. More non-ELF conditions removed.
17006 Remove testing and setting of leading underscore information.
17007 * config.make.in (build-bounded): Set to no.
17008 * config.h.in: Remove NO_UNDERSCORES entry.
17009 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17011 * csu/start.c: Remove !NO_UNDERSCORE code.
17012 * locale/localeinfo.h: Likewise.
17013 * sysdeps/generic/machine-gmon.h: Likewise.
17014 * sysdeps/generic/sysdep.h: Likewise.
17015 * sysdeps/i386/sysdep.h: Likewise.
17016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17017 * sysdeps/mach/sysdep.h: Likewise.
17018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17020 * sysdeps/sh/sysdep.h: Likewise.
17021 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17022 * sysdeps/unix/i386/sysdep.S: Likewise.
17023 * sysdeps/unix/sparc/start.c: Likewise.
17024 * sysdeps/unix/sparc/sysdep.S: Likewise.
17025 * sysdeps/unix/sparc/sysdep.h: Likewise.
17026 * sysdeps/unix/start.c: Likewise.
17027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17028 * sysdeps/x86_64/sysdep.h: Likewise.
17030 2012-01-07 Ulrich Drepper <drepper@gmail.com>
17033 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17035 * argp/argp-fmtstream.h: Use const instead __const.
17036 * argp/argp.h: Likewise.
17037 * assert/assert.h: Likewise.
17038 * bits/fenv.h: Likewise.
17039 * bits/sched.h: Likewise.
17040 * bits/sigset.h: Likewise.
17041 * bits/sigthread.h: Likewise.
17042 * catgets/nl_types.h: Likewise.
17043 * conform/data/pthread.h-data: Likewise.
17044 * crypt/crypt-private.h: Likewise.
17045 * crypt/crypt.h: Likewise.
17046 * crypt/crypt_util.c: Likewise.
17047 * ctype/ctype.h: Likewise.
17048 * debug/execinfo.h: Likewise.
17049 * debug/mbsnrtowcs_chk.c: Likewise.
17050 * debug/mbsrtowcs_chk.c: Likewise.
17051 * debug/wcsnrtombs_chk.c: Likewise.
17052 * debug/wcsrtombs_chk.c: Likewise.
17053 * debug/wcstombs_chk.c: Likewise.
17054 * dirent/dirent.h: Likewise.
17055 * dlfcn/dlfcn.h: Likewise.
17056 * elf/neededtest4.c: Likewise.
17057 * grp/grp.h: Likewise.
17058 * gshadow/gshadow.h: Likewise.
17059 * iconv/gconv.h: Likewise.
17060 * iconv/gconv_int.h: Likewise.
17061 * iconv/gconv_simple.c: Likewise.
17062 * iconv/iconv.h: Likewise.
17063 * iconv/loop.c: Likewise.
17064 * iconv/skeleton.c: Likewise.
17065 * include/aio.h: Likewise.
17066 * include/aliases.h: Likewise.
17067 * include/argz.h: Likewise.
17068 * include/arpa/inet.h: Likewise.
17069 * include/assert.h: Likewise.
17070 * include/dirent.h: Likewise.
17071 * include/dlfcn.h: Likewise.
17072 * include/execinfo.h: Likewise.
17073 * include/fcntl.h: Likewise.
17074 * include/fenv.h: Likewise.
17075 * include/glob.h: Likewise.
17076 * include/grp.h: Likewise.
17077 * include/libintl.h: Likewise.
17078 * include/mntent.h: Likewise.
17079 * include/netdb.h: Likewise.
17080 * include/pwd.h: Likewise.
17081 * include/rpc/netdb.h: Likewise.
17082 * include/sched.h: Likewise.
17083 * include/search.h: Likewise.
17084 * include/shadow.h: Likewise.
17085 * include/signal.h: Likewise.
17086 * include/stdio.h: Likewise.
17087 * include/stdlib.h: Likewise.
17088 * include/string.h: Likewise.
17089 * include/sys/socket.h: Likewise.
17090 * include/sys/stat.h: Likewise.
17091 * include/sys/statfs.h: Likewise.
17092 * include/sys/statvfs.h: Likewise.
17093 * include/sys/syslog.h: Likewise.
17094 * include/sys/time.h: Likewise.
17095 * include/sys/uio.h: Likewise.
17096 * include/time.h: Likewise.
17097 * include/unistd.h: Likewise.
17098 * include/utmp.h: Likewise.
17099 * include/wchar.h: Likewise.
17100 * include/wctype.h: Likewise.
17101 * inet/aliases.h: Likewise.
17102 * inet/arpa/inet.h: Likewise.
17103 * inet/netinet/ether.h: Likewise.
17104 * inet/netinet/in.h: Likewise.
17105 * intl/libintl.h: Likewise.
17106 * io/bits/fcntl2.h: Likewise.
17107 * io/fcntl.h: Likewise.
17108 * io/ftw.h: Likewise.
17109 * io/sys/poll.h: Likewise.
17110 * io/sys/stat.h: Likewise.
17111 * io/sys/statfs.h: Likewise.
17112 * io/sys/statvfs.h: Likewise.
17113 * io/utime.h: Likewise.
17114 * libio/bits/stdio.h: Likewise.
17115 * libio/bits/stdio2.h: Likewise.
17116 * libio/libio.h: Likewise.
17117 * libio/libioP.h: Likewise.
17118 * libio/stdio.h: Likewise.
17119 * locale/lc-ctype.c: Likewise.
17120 * locale/locale.h: Likewise.
17121 * login/utmp.h: Likewise.
17122 * malloc/arena.c: Likewise.
17123 * malloc/malloc.c: Likewise.
17124 * malloc/malloc.h: Likewise.
17125 * malloc/mcheck.c: Likewise.
17126 * malloc/mtrace.c: Likewise.
17127 * math/bits/mathcalls.h: Likewise.
17128 * math/fenv.h: Likewise.
17129 * math/math_private.h: Likewise.
17130 * misc/bits/error.h: Likewise.
17131 * misc/bits/syslog.h: Likewise.
17132 * misc/err.h: Likewise.
17133 * misc/error.h: Likewise.
17134 * misc/fstab.h: Likewise.
17135 * misc/mntent.h: Likewise.
17136 * misc/regexp.h: Likewise.
17137 * misc/search.h: Likewise.
17138 * misc/sgtty.h: Likewise.
17139 * misc/sys/mman.h: Likewise.
17140 * misc/sys/syslog.h: Likewise.
17141 * misc/sys/uio.h: Likewise.
17142 * misc/sys/xattr.h: Likewise.
17143 * misc/ttyent.h: Likewise.
17144 * nis/rpcsvc/ypclnt.h: Likewise.
17145 * nss/nss.h: Likewise.
17146 * posix/bits/unistd.h: Likewise.
17147 * posix/fnmatch.h: Likewise.
17148 * posix/glob.h: Likewise.
17149 * posix/sched.h: Likewise.
17150 * posix/spawn.h: Likewise.
17151 * posix/sys/wait.h: Likewise.
17152 * posix/unistd.h: Likewise.
17153 * posix/wordexp.h: Likewise.
17154 * pwd/pwd.h: Likewise.
17155 * resolv/netdb.h: Likewise.
17156 * resource/sys/resource.h: Likewise.
17157 * rt/aio.h: Likewise.
17158 * rt/bits/mqueue2.h: Likewise.
17159 * rt/mqueue.h: Likewise.
17160 * shadow/shadow.h: Likewise.
17161 * signal/signal.h: Likewise.
17162 * socket/send.c: Likewise.
17163 * socket/sendto.c: Likewise.
17164 * socket/sys/socket.h: Likewise.
17165 * stdio-common/printf.h: Likewise.
17166 * stdlib/bits/stdlib.h: Likewise.
17167 * stdlib/fmtmsg.h: Likewise.
17168 * stdlib/monetary.h: Likewise.
17169 * stdlib/stdlib.h: Likewise.
17170 * stdlib/ucontext.h: Likewise.
17171 * streams/stropts.h: Likewise.
17172 * string/argz.h: Likewise.
17173 * string/bits/string2.h: Likewise.
17174 * string/string.h: Likewise.
17175 * string/strings.h: Likewise.
17176 * sunrpc/rpc/auth.h: Likewise.
17177 * sunrpc/rpc/auth_des.h: Likewise.
17178 * sunrpc/rpc/clnt.h: Likewise.
17179 * sunrpc/rpc/netdb.h: Likewise.
17180 * sunrpc/rpc/pmap_clnt.h: Likewise.
17181 * sunrpc/rpc/xdr.h: Likewise.
17182 * sysdeps/generic/inttypes.h: Likewise.
17183 * sysdeps/generic/net/if.h: Likewise.
17184 * sysdeps/generic/sys/swap.h: Likewise.
17185 * sysdeps/gnu/net/if.h: Likewise.
17186 * sysdeps/gnu/utmpx.h: Likewise.
17187 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17188 * sysdeps/i386/i486/bits/string.h: Likewise.
17189 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17190 * sysdeps/s390/bits/string.h: Likewise.
17191 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17192 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17193 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17194 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17195 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17196 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17197 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17199 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17200 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17202 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17203 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17205 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17207 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17213 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17214 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17215 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17216 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17217 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17219 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17221 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17222 * sysvipc/sys/ipc.h: Likewise.
17223 * sysvipc/sys/msg.h: Likewise.
17224 * sysvipc/sys/sem.h: Likewise.
17225 * sysvipc/sys/shm.h: Likewise.
17226 * termios/termios.h: Likewise.
17227 * time/sys/time.h: Likewise.
17228 * time/time.h: Likewise.
17229 * wcsmbs/bits/wchar2.h: Likewise.
17230 * wcsmbs/uchar.h: Likewise.
17231 * wcsmbs/wchar.h: Likewise.
17232 * wctype/wctype.h: Likewise.
17235 * Makeconfig: Remove all but ELF support including AIX support.
17236 * Makerules: Likewise.
17237 * config.h.in: Likewise.
17238 * config.make.in: Likewise.
17239 * configure: Likewise.
17240 * configure.in: Likewise.
17241 * csu/Makefile: Likewise.
17242 * csu/version.c: Likewise.
17243 * debug/Makefile: Likewise.
17244 * dlfcn/Makefile: Likewise.
17245 * elf/Makefile: Likewise.
17246 * extra-lib.mk: Likewise.
17247 * iconv/Makefile: Likewise.
17248 * include/libc-symbols.h: Likewise.
17249 * include/shlib-compat.h: Likewise.
17250 * resolv/Makefile: Likewise.
17251 * resolv/res_libc.c: Likewise.
17252 * rt/Makefile: Likewise.
17253 * sysdeps/i386/asm-syntax.h: Likewise.
17254 * sysdeps/i386/sysdep.h: Likewise.
17255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17256 * sysdeps/mach/sysdep.h: Likewise.
17257 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17258 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17259 * sysdeps/s390/asm-syntax.h: Likewise.
17260 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17262 * sysdeps/sh/sysdep.h: Likewise.
17263 * sysdeps/unix/sparc/sysdep.h: Likewise.
17264 * sysdeps/wordsize-32/divdi3.c: Likewise.
17265 * sysdeps/x86_64/sysdep.h: Likewise.
17267 * argp/Versions: Remove _argp_unlock_xxx.
17270 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17271 * abilist/libBrokenLocale.abilist: Likewise.
17272 * abilist/libanl.abilist: Likewise.
17273 * abilist/libc.abilist: Likewise.
17274 * abilist/libcrypt.abilist: Likewise.
17275 * abilist/libdl.abilist: Likewise.
17276 * abilist/libm.abilist: Likewise.
17277 * abilist/libnsl.abilist: Likewise.
17278 * abilist/libpthread.abilist: Likewise.
17279 * abilist/libresolv.abilist: Likewise.
17280 * abilist/librt.abilist: Likewise.
17281 * abilist/libthread_db.abilist: Likewise.
17282 * abilist/libutil.abilist: Likewise.
17283 * abilist/libnss_db.abilist: New file.
17285 * scripts/abilist.awk: Add support for indirect functions.
17287 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17289 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17291 * shlib-versions: Remove entries for ports architectures.
17293 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17295 * elf/stackguard-macros.h: Remove support for IA-64.
17296 * elf/tst-auditmod1.c: Likewise.
17297 * sysdeps/generic/ldsodefs.h: Likewise.
17299 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17300 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17304 * configure.in: Remove --enable-omitfp support.
17306 * config.make.in: Likewise.
17307 * Makeconfig: Likewise.
17308 * manual/install.texi: Likewise.
17310 In case anyone cares, the IA-64 architecture could move to ports.
17311 * sysdeps/ia64/*: Removed.
17312 * sysdeps/unix/sysv/linux/ia64/*: Removed.
17313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17316 * configure.in: Remove entries for unsupported architectures.
17319 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17320 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17322 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17323 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17324 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17325 fall back to using wcrtomb.
17326 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17327 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17329 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17330 * wcsmbs/tst-c16c32-1.c: New file.
17332 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17335 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17337 * elf/tst-unique3.cc: Add explicit declaration of gets.
17338 * elf/tst-unique3lib.cc: Likewise.
17339 * elf/tst-unique3lib2.cc: Likewise.
17340 * elf/tst-unique4.cc: Likewise.
17342 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17344 2012-01-06 Joseph Myers <joseph@codesourcery.com>
17347 * assert/assert.h (static_assert): Don't define for C++.
17348 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17349 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17351 2012-01-03 Ulrich Drepper <drepper@gmail.com>
17353 * iconv/loop.c (single loop): Fix assertion in storing of
17356 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17358 2012-01-01 Ulrich Drepper <drepper@gmail.com>
17360 * posix/getconf.c: Update copyright year.
17361 * nss/getent.c: Likewise.
17362 * nss/makedb.c: Likewise.
17363 * iconv/iconvconfig.c: Likewise.
17364 * iconv/iconv_prog.c: Likewise.
17365 * elf/ldconfig.c: Likewise.
17366 * elf/pldd.c: Likewise.
17367 * elf/sotruss.ksh: Likewise.
17368 * catgets/gencat.c: Likewise.
17369 * csu/version.c: Likewise.
17370 * elf/ldd.bash.in: Likewise.
17371 * elf/sprof.c (print_version): Likewise.
17372 * locale/programs/locale.c: Likewise.
17373 * locale/programs/localedef.c: Likewise.
17374 * login/programs/pt_chown.c: Likewise.
17375 * nscd/nscd.c (print_version): Likewise.
17376 * debug/xtrace.sh: Likewise.
17377 * malloc/memusage.sh: Likewise.
17378 * malloc/mtrace.pl: Likewise.
17379 * debug/catchsegv.sh: Likewise.
17381 2011-12-30 Jakub Jelinek <jakub@redhat.com>
17383 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17386 2011-12-24 Ulrich Drepper <drepper@gmail.com>
17389 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17390 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17392 * iconv/gconv_int.h: Likewise.
17393 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17394 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17395 from libc for GLIBC_2.16.
17396 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17397 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17398 * wcsmbs/uchar.h: Really define mbstate_t.
17399 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17400 * wcsmbs/c16rtomb.c: New file.
17401 * wcsmbs/mbrtoc16.c: New file.
17402 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17403 for C/POSIX locale.
17404 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17405 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17407 * wcsmbs/wchar.h: Add missing __restrict.
17409 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17412 * time/Makefile (routines): Add timespec_get.
17413 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17414 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17415 timespec for ISO C11.
17416 * time/timespec_get.c: New file.
17417 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17418 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17421 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17422 * stdlib/stdlib.h: Declare aligned_alloc.
17423 * Versions.def: Add GLIBC_2.16 for libc.
17424 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17427 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17430 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17434 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17437 * assert/assert.h (static_assert): Define.
17439 * version.h: Update for 2.16 development version.
17442 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17445 * version.h (RELEASE): Bump for 2.15 release.
17446 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17448 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17449 Patch by Marek Polacek <mpolacek@redhat.com>.
17451 * bits/byteswap.h: Protect long long constants with __extension__.
17452 * sysdeps/i386/bits/byteswap.h: Likewise.
17453 * sysdeps/ia64/bits/byteswap.h: Likewise.
17454 * sysdeps/s390/bits/byteswap.h: Likewise.
17455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17457 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17461 destination buffer.
17462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17464 2011-12-23 Marek Polacek <polacek@redhat.com>
17466 * elf/dl-addr.c (determine_info): Add inline keyword.
17467 * elf/tst-auditmod4b.c (check_avx): Likewise.
17468 * elf/tst-auditmod6b.c (check_avx): Likewise.
17469 * elf/tst-auditmod6c.c (check_avx): Likewise.
17470 * elf/tst-auditmod7b.c (check_avx): Likewise.
17472 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17477 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17481 processing for last bytes.
17483 2011-08-06 Bruno Haible <bruno@clisp.org>
17486 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17487 U+0385, not to U+1FEE.
17490 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17491 entry for U+00A5 U+0301.
17493 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17496 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17497 buffer for the output is too small.
17499 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17503 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17504 SSE flags if possible.
17506 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17510 processing for last bytes.
17512 2011-12-22 Joseph Myers <joseph@codesourcery.com>
17514 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17515 (syscall-list-default-options, syscall-list-default-condition)
17516 (syscall-list-includes): Define.
17517 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17518 list of ABIs and options and #if conditions for each ABI. Do not
17519 handle common syscalls between ABIs specially.
17520 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17522 (syscall-list-variants, syscall-list-32bit-options)
17523 (syscall-list-32bit-condition, syscall-list-64bit-options)
17524 (syscall-list-64bit-condition): Define.
17525 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17526 (syscall-list-variants, syscall-list-32bit-options)
17527 (syscall-list-32bit-condition, syscall-list-64bit-options)
17528 (syscall-list-64bit-condition): Define.
17529 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17531 (syscall-list-variants, syscall-list-32bit-options)
17532 (syscall-list-32bit-condition, syscall-list-64bit-options)
17533 (syscall-list-64bit-condition): Define.
17534 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17536 (syscall-list-variants, syscall-list-32bit-options)
17537 (syscall-list-32bit-condition, syscall-list-64bit-options)
17538 (syscall-list-64bit-condition): Define.
17540 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17542 * locale/iso-639.def: Add brx entry.
17545 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17546 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17548 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17549 __feraiseexcept_renamed.
17551 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17554 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17555 EPOLLET with unsigned values.
17556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17559 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17560 to large cancellation.
17561 * math/s_cacoshf.c: Likewise.
17562 * math/s_cacoshl.c: Likewise.
17564 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17568 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17569 * math/s_cacoshf.c: Likewise.
17570 * math/s_cacoshl.c: Likewise.
17572 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17575 * iconv/gconv.h: Define __GCONV_SWAP.
17576 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17577 * iconvdata/utf-16.c: Likewise.
17578 * iconvdata/utf-32.c: Likewise.
17580 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17584 numerator after shifting it by one limb.
17586 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17589 under [__USE_EXTERN_INLINES].
17591 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17594 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17596 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17598 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17599 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17601 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17602 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17603 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17604 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17605 for strncasecmp/strncasecmp_l compilation.
17606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17607 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17609 2011-12-08 Marek Polacek <mpolacek@redhat.com>
17612 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17615 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17618 * time/tzfile.c (__tzfile_read): Check values from file header.
17620 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17622 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17623 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17624 * powerpc/powerpc32/dl-start.S: Likewise.
17625 * powerpc/powerpc32/elf/start.S: Likewise.
17626 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17627 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17628 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17629 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17630 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17631 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17632 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17633 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17634 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17635 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17636 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17637 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17638 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17639 * powerpc/powerpc32/memset.S: Likewise.
17640 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17641 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17642 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17643 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17644 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17645 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17646 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17647 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17648 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17649 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17650 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17651 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17652 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17654 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17656 * math/libm-test.inc: Added more nearbyint tests.
17657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17662 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17664 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17667 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17669 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17670 Add wcscpy-ssse3 wcscpy-c.
17671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17672 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17673 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17674 * sysdeps/x86_64/wcschr.S: New file.
17675 * sysdeps/x86_64/wcsrchr.S: New file.
17676 * string/test-strcmp.c: Remove checking of wcscmp function for
17678 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17679 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17680 wcsrchr-sse2 wcsrchr-c.
17681 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17682 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17683 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17684 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17685 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17686 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17687 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17688 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17690 * wcsmbc/wcschr.c (WCSCHR): New macro.
17692 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17694 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17695 * wcsmbs/test-wcsrchr.c: New file.
17696 * string/test-strrchr.c: Add wcsrchr support.
17698 * wcsmbs/test-wcscpy.c: New file.
17699 * string/test-strcpy.c: Add wcscpy support.
17702 2011-12-10 Ulrich Drepper <drepper@gmail.com>
17704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17707 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17710 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17712 2011-12-04 Ulrich Drepper <drepper@gmail.com>
17714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17715 Minor optimizations.
17717 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17718 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17721 2011-12-03 Ulrich Drepper <drepper@gmail.com>
17723 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17724 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17725 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17726 for gcc to avoid warnings.
17727 * inet/Makefile (tests): Add tst-checks.
17728 * inet/tst-checks.c: New file.
17730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17733 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17736 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17737 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17739 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17741 2011-12-02 Ulrich Drepper <drepper@gmail.com>
17743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17746 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17748 2011-11-29 Joseph Myers <joseph@codesourcery.com>
17750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17751 conditional on GCC version.
17752 (__arch_compare_and_exchange_val_8_acq)
17753 (__arch_compare_and_exchange_val_16_acq)
17754 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17755 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17756 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17758 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17760 * sysdeps/sh/backtrace.c: New file.
17762 2011-12-02 Andreas Schwab <schwab@redhat.com>
17764 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17767 2011-12-01 Andreas Schwab <schwab@redhat.com>
17769 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17770 falling back to utime.
17772 2011-11-30 Andreas Schwab <schwab@redhat.com>
17774 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17775 expectations for float.
17777 2011-11-29 Andreas Schwab <schwab@redhat.com>
17779 * locale/weight.h (findidx): Add parameter len.
17780 * locale/weightwc.h (findidx): Likewise.
17781 * posix/fnmatch_loop.c (FCT): Adjust caller.
17782 * posix/regcomp.c (build_equiv_class): Likewise.
17783 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17784 * posix/regexec.c (check_node_accept_bytes): Likewise.
17785 * string/strcoll_l.c (STRCOLL): Likewise.
17786 * string/strxfrm_l.c (STRXFRM): Likewise.
17788 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17790 * Makefile.in: Remove CVSOPT handling.
17791 * configure.in: Remove use of AC_REVISION.
17792 * iconvdata/Makefile (distribute): No need to filter out CVS.
17793 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17796 2011-11-16 Andreas Schwab <schwab@redhat.com>
17798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17799 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17800 [USE_AS_STRNCASECMP_L]: Likewise.
17801 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17802 NO_TLS_DIRECT_SEG_REFS.
17803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17804 Fix argument offsets for non-PIC.
17805 [USE_AS_STRNCASECMP_L]: Likewise.
17806 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17807 NO_TLS_DIRECT_SEG_REFS.
17809 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17811 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17813 * locale/loadlocale.c (_nl_load_locale): Likewise.
17815 2011-11-15 Andreas Schwab <schwab@redhat.com>
17817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17818 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17820 (SYSCALL_GETTIME): Set errno on error.
17822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17823 count references to noai6ai_cached.
17825 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17827 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17829 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17830 FD_CLOEXEC for /proc/self/maps.
17832 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17833 FD_CLOEXEC for /proc/meminfo.
17835 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17838 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17839 FD_CLOEXEC for given file.
17841 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17843 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17844 FD_CLOEXEC for /etc/hosts.
17845 (_gethtent): Likewise.
17847 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17850 cancellation and set FD_CLOEXEC for /etc/netgroup.
17852 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17853 reading /etc/publickey.
17855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17856 allow cancellation when reading /etc/group.
17858 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17860 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17862 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17863 when using data file.
17865 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17867 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17868 (write_nis_obj): Use "c" and "e" in fopen.
17870 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17872 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17874 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17876 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17878 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17881 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17883 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17885 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17887 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17888 file parsing and set FD_CLOEXEC.
17890 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17892 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17894 2011-11-14 Andreas Schwab <schwab@redhat.com>
17896 * malloc/arena.c (arena_get2): Don't call reused_arena when
17897 _int_new_arena failed.
17899 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17902 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17907 to compile strcasecmp and strncasecmp.
17908 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17909 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17913 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17916 locale-defines.sym to gen-as-const-headers.
17917 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17918 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17920 to compile strcasecmp and strncasecmp.
17921 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17922 strcasecmp_l and strncasecmp_l.
17923 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17924 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17925 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17927 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17928 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17929 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17930 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17931 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17932 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17933 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17935 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17937 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17938 result of SYSDEP_GETTIME_CPU to retval.
17939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17940 parameter list to macro. Remove trailing semicolon. Adjust users.
17942 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17950 from unused variable.
17952 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17954 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17957 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17960 * sunrpc/rpc_prot.c (rejected): Fix case value.
17962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17963 unsigned long long int to avoid warnings in shift.
17965 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17967 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17971 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17974 * nis/nis_table.c (nis_list): Use variable of correct type for
17975 result of __follow_path call.
17977 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17979 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17980 of math functions ceil, trunc, floor, round, and sqrt, when
17981 avaliable on the platform.
17982 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17988 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17990 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17993 2011-11-11 Roland McGrath <roland@hack.frob.com>
17995 * include/unistd.h: Fix __readlink return type.
17996 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17998 2011-11-11 Ulrich Drepper <drepper@gmail.com>
18000 * stdlib/ucontext.h: Undo last change for makecontext.
18002 2011-11-11 Andreas Schwab <schwab@redhat.com>
18004 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18006 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18007 * setjmp/setjmp.h: Mark functions as non-leaf.
18008 * setjmp/bits/setjmp2.h: Likewise.
18009 * stdlib/ucontext.h: Likewise.
18011 2011-11-10 Andreas Schwab <schwab@redhat.com>
18013 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18014 (reused_arena): Don't check arena limit.
18015 (arena_get2): Atomically check arena limit.
18017 2011-11-08 Ulrich Drepper <drepper@gmail.com>
18019 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18020 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18025 2011-11-07 Andreas Schwab <schwab@redhat.com>
18027 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18028 handler when locking.
18030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18031 Fix size of allocated buffer.
18033 2011-11-04 Andreas Schwab <schwab@redhat.com>
18036 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18037 declarations for long double functions.
18038 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18040 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18042 2011-11-03 Andreas Schwab <schwab@redhat.com>
18044 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18047 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18050 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18054 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18056 * include/alloca.h (stackinfo_alloca_round): Define.
18057 (extend_alloca): Use it.
18058 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18059 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18062 * scripts/check-local-headers.sh: Ignore libaudit.h.
18064 * nscd/Makefile (extra-objs): Make recursively expanded.
18066 2011-11-01 Ulrich Drepper <drepper@gmail.com>
18068 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18071 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18072 * posix/tst-rfc3484-2.c: Likewise.
18073 * posix/tst-rfc3484-3.c: Likewise.
18075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18077 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18079 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18080 process_vm_writev from libc using GLIBC_2.15 version.
18082 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18084 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18086 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18089 2011-10-31 Ulrich Drepper <drepper@gmail.com>
18092 * nss/getent.c (initgroups_keys): Show error message in case no group
18095 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18096 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18097 __bump_nl_timestamp.
18098 * nscd/connections (nscd_init): When host database is served open
18099 netlink socket and request notification about configuration changes.
18100 (main_loop_poll): Track netlink file descriptor and bump timestamp
18101 in case data becomes available.
18102 (main_loop_epoll): Likewise.
18103 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18104 (database_pers_head): Add extra_data fileds.
18105 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18107 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18110 in6ai data, call __free_in6ai.
18111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18112 Add -DHAVE_NETLINK.
18113 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18114 interface information. Reuse previous data if netlink timestamp
18116 (__bump_nl_timestamp): New function.
18117 (__free_in6ai): New function.
18119 2011-10-30 Ulrich Drepper <drepper@gmail.com>
18121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18122 close_not_cancel_no_status here.
18123 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18125 2011-10-29 Ulrich Drepper <drepper@gmail.com>
18128 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18131 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18132 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18133 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18135 2011-07-03 Andreas Jaeger <aj@suse.de>
18138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18139 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18140 * math/libm-test.inc (sin_test): Add test case.
18142 2011-10-29 Ulrich Drepper <drepper@gmail.com>
18145 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18148 * elf/chroot_canon.c (chroot_canon): Cleanups.
18150 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18153 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18156 * string/test-strchr.c: Make usable for strchrnul testing.
18157 * string/test-strchrnul.c: New file.
18158 * string/Makefile (strop-tests): Add strchrnul.
18160 * po/it.po: Update from translation team.
18161 * po/es.po: Likewise.
18163 2011-10-28 Ulrich Drepper <drepper@gmail.com>
18165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18166 the three constants needed as parameters. Drop the others.
18167 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18168 __m128i_strloadu_tolower.
18169 Create and initialize variable zero and use it in all the places
18170 where _mm_setzero_si128 was used.
18172 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18173 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18174 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18180 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18182 __mpranred, __mptan.
18183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18193 2011-10-28 Andreas Schwab <schwab@redhat.com>
18195 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18196 redefine if SHARED.
18197 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18200 wide char related routines to wcsmbs subdir.
18202 2011-10-27 Andreas Schwab <schwab@redhat.com>
18205 * misc/sys/cdefs.h (__THROWNL): Define.
18206 * posix/unistd.h: Use __THREADNL instead of __THREAD
18207 for memory synchronization functions.
18209 2011-10-26 Roland McGrath <roland@hack.frob.com>
18212 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18214 * manual/stdio.texi (Obstack Streams): Node removed.
18216 2011-10-26 Andreas Schwab <schwab@redhat.com>
18218 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18222 * math/math_private.h (math_force_eval): Allow non-addressable
18224 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18226 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18229 file is not needed.
18231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18238 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18250 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18251 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18254 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18255 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18258 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18260 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18261 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18264 place. Use VEX encoding when compiling for AVX.
18266 2011-10-25 Andreas Schwab <schwab@redhat.com>
18268 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18269 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18271 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18273 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18275 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18276 useless if() expression.
18277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18297 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18299 2011-10-25 Andreas Schwab <schwab@redhat.com>
18301 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18305 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18307 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18308 .text section. Avoid duplicate constants.
18309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18339 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18355 2011-10-24 Ulrich Drepper <drepper@gmail.com>
18357 * sysdeps/x86_64/dla.h: Move to ...
18358 * sysdeps/x86_64/fpu/dla.h: ...here.
18359 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18360 situations. Use __builtin_fma only for gcc 4.6 and up.
18362 * config.make.in: Add have-mfma4 entry.
18363 * configure.in: Substitute libc_cv_cc_fma4.
18364 * math/Makefile (dbl-only-routines): Add sincostab.
18365 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18366 Use __sincostab not sincos.
18367 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18374 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18375 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18376 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18377 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18380 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18382 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18383 define aliases when function name is a macro.
18384 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18385 sysdeps/ieee754/dbl-64/sincos.tbl.
18386 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18387 fma4-enabled routines.
18388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18389 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18390 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18391 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18398 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18419 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18430 2011-10-24 Andreas Schwab <schwab@redhat.com>
18432 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18434 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18438 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18442 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18443 Remove unused variable magic_bits.
18444 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18446 * string/strnlen.c: Define and use STRNLEN macro.
18447 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18448 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18450 * wcsmbs/wcslen.c: Define and use WCSLEN.
18451 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18452 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18453 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18454 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18455 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18456 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18459 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18462 strnlen-sse2-no-bsf.
18463 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18465 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18466 Add strnlen support.
18467 (USE_AS_STRNLEN): New macro.
18468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18470 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18471 * sysdeps/x86_64/wcslen.S: New file.
18473 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18476 XMM-moves are used for copying on small sizes.
18478 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18480 * wcsmbs/Makefile (strop-tests): Add wcschr.
18481 * wcsmbs/test-wcschr.c: New file.
18482 * string/test-strchr.c: Update.
18483 Add wcschr support.
18486 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18488 * wcsmbs/Makefile (strop-tests): Add wcslen.
18489 * wcsmbs/test-wcslen.c: New file.
18490 * string/test-strlen.c: Update.
18491 Add wcslen support.
18494 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18496 * po/it.po: Update from translation team.
18498 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18500 * sysdeps/x86_64/wcscmp.S: Update.
18501 Fix wrong comparison semantics.
18502 wcscmp shall use signed comparison not unsigned.
18503 Don't use substraction to avoid overflow bug.
18504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18505 * wcsmbc/wcscmp.c: Likewise.
18506 * string/test-strcmp.c: Likewise.
18507 Add new tests to check cases with negative values.
18509 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18511 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18512 * sysdeps/x86_64/dla.h: ...here. New file.
18513 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18523 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18526 __ynl_finite aliases.
18528 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18532 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18534 [DLA_FMA] (EMULV): Use DLA_FMA.
18535 [DLA_FMA] (MUL12): Use EMULV.
18536 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18537 that are not needed.
18538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18546 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18548 * math/s_nan.c: Undef __nan.
18549 * math/s_nanf.c: Undef __nanf.
18550 * math/s_nanl.c: Undef __nanl.
18551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18554 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18556 * math/s_catan.c: Add branch predictions.
18557 * math/s_catanf.c: Likewise.
18558 * math/s_catanh.c: Likewise.
18559 * math/s_catanhf.c: Likewise.
18560 * math/s_catanhl.c: Likewise.
18561 * math/s_catanl.c: Likewise.
18562 * math/s_cexp.c: Likewise.
18563 * math/s_cexpf.c: Likewise.
18564 * math/s_cexpl.c: Likewise.
18565 * math/s_clog.c: Likewise.
18566 * math/s_clog10.c: Likewise.
18567 * math/s_clog10f.c: Likewise.
18568 * math/s_clog10l.c: Likewise.
18569 * math/s_clogf.c: Likewise.
18570 * math/s_clogl.c: Likewise.
18571 * math/s_csqrt.c: Likewise.
18572 * math/s_csqrtf.c: Likewise.
18573 * math/s_csqrtl.c: Likewise.
18574 * math/s_ctanf.c: Likewise.
18575 * math/s_ctanh.c: Likewise.
18576 * math/s_ctanhf.c: Likewise.
18577 * math/s_ctanhl.c: Likewise.
18578 * math/s_ctanl.c: Likewise.
18580 * math/math_private.h: Define __nan, __nanf, __nanl.
18581 * math/s_cacosh.c: Include <math_private.h>.
18582 * math/s_cacoshl.c: Likewise.
18583 * math/s_casinh.c: Likewise.
18584 * math/s_casinhf.c: Likewise.
18585 * math/s_casinhl.c: Likewise.
18586 * math/s_ccos.c: Rely entire on ccosh.
18587 * math/s_ccosf.c: Rely entire on ccoshf.
18588 * math/s_ccosl.c: Rely entirely on ccoshl.
18589 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18590 Remove tests for FE_INVALID.
18591 * math/s_ccoshf.c: Likewise.
18592 * math/s_ccoshl.c: Likewise.
18593 * math/s_csin.c: Likewise.
18594 * math/s_csinf.c: Likewise.
18595 * math/s_csinh.c Likewise.
18596 * math/s_csinhf.c: Likewise.
18597 * math/s_csinhl.c: Likewise.
18598 * math/s_csinl.c: Likewise.
18599 * math/s_ctan.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18601 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18604 2011-10-21 Ulrich Drepper <drepper@gmail.com>
18606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18607 compilation problems.
18609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18612 2011-10-20 Ulrich Drepper <drepper@gmail.com>
18614 * sysdeps/i386/configure.in: Test for -mfma4 option.
18615 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18616 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18617 COMMON_CPUID_INDEX_80000001.
18618 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18619 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18620 use it if FMA3 is not supported.
18621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18623 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18626 2011-10-20 Andreas Schwab <schwab@redhat.com>
18629 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18630 it would create a cycle with a link time dependency.
18632 2011-10-19 Ulrich Drepper <drepper@gmail.com>
18634 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18636 * string/Makefile (strop-tests): Add rawmemchr.
18637 * string/test-rawmemchr.c: New file.
18639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18641 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18642 when compiling str{,n}casecmp and when AVX is available. Hook up
18643 new optimized code in initializers.
18645 2011-10-19 Andreas Schwab <schwab@redhat.com>
18647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18648 __feraiseexcept instead of feraiseexcept.
18650 2011-10-18 Ulrich Drepper <drepper@gmail.com>
18652 * math/math_private.h: Define defaults for libc_fetestexcept and
18654 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18660 libc_fetestexcept and libc_feupdateenv.
18662 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18663 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18664 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18665 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18666 libc_feholdexcept_setround.
18668 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18669 Add s_nearbyint-c and s_nearbyintf-c.
18670 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18671 nearbyintf inlines.
18672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18677 * math/math_private.h: Define defaults for libc_fegetround,
18678 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18679 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18680 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18682 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18683 standard functions.
18684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18685 Remove comments and hacks for old compiler versions.
18686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18687 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18688 libc_feholdexceptl.
18690 2011-10-18 Andreas Schwab <schwab@redhat.com>
18692 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18693 (__feraiseexcept_renamed): Add __NTH.
18694 (feraiseexcept): Add __NTH. Rename local variables to fix
18695 namespace violations.
18697 2011-10-17 Ulrich Drepper <drepper@gmail.com>
18699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18703 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18704 recently added interfaces.
18705 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18707 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18708 about macro parameter expansion.
18710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18711 __NO_MATH_INLINES is defined. Cleanups.
18713 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18714 and __floorf is target has SSE4.1.
18715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18720 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18722 (floorf): Likewise.
18724 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18726 2011-10-17 Andreas Schwab <schwab@redhat.com>
18728 * misc/sys/cdefs.h: Fix last change.
18730 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18733 2011-10-16 Ulrich Drepper <drepper@gmail.com>
18735 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18737 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18746 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18747 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18749 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18752 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18754 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18761 ceil, ceilf, floor, floorf.
18763 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18764 Perform IRELATIVE relocations last.
18766 * elf/do-rel.h: Add another parameter nrelative, replacing the
18767 local variable with the same name. Change name of the function
18768 to end in Rel or Rela (uppercase).
18769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18770 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18771 elf_dynamic_do_##reloc function.
18773 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18775 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18776 is sufficient, at least on modern CPUs.
18778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18780 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18781 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18783 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18785 * math/bits/math-finite.h: Add entries for exp.
18786 * math/e_expl.c: Add __*_finite alias.
18787 * sysdeps/i386/fpu/e_exp.S: Likewise.
18788 * sysdeps/i386/fpu/e_expf.S: Likewise.
18789 * sysdeps/i386/fpu/e_expl.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18798 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18799 is sufficient, at least on modern CPUs.
18801 * ctype/ctype-info.c (__ctype_init): Define.
18802 * include/ctype.h (__ctype_init): Declare.
18803 (__ctype_b_loc): The variable is always initialized.
18804 (__ctype_toupper_loc): Likewise.
18805 (__ctype_tolower_loc): Likewise.
18806 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18807 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18809 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18811 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18813 * configure.in: Also look in $cxxmachine/include for C++ system
18816 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18818 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18819 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18820 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18821 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18823 (USE_AS_WMEMCMP): New macro.
18825 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18826 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18827 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18828 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18830 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18831 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18833 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18834 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18836 (USE_AS_WMEMCMP): New macro.
18837 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18838 * sysdeps/string/test-memcmp.c: Update.
18839 Fix simple_wmemcmp.
18841 * wcsmbs/wmemcmp.c: Update.
18842 (WMEMCMP): New macro.
18845 2011-10-12 Andreas Jaeger <aj@suse.de>
18848 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18850 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18852 * libio/iofwide.c (do_length): Avoid warning.
18854 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18856 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18858 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18860 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18861 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18862 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18863 * sysdeps/i386/i686/fpu/e_log.S: New file.
18864 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18865 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18867 * ctype/ctype.h: Add support for inlined isXXX functions when
18868 compiling C++ code.
18870 2011-10-14 Andreas Schwab <schwab@redhat.com>
18872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18876 2011-10-13 Roland McGrath <roland@hack.frob.com>
18879 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18881 2011-10-13 Andreas Schwab <schwab@redhat.com>
18883 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18884 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18887 * sysdeps/x86_64/memrchr.S: Check for zero size.
18889 * string/stratcliff.c: Add memrchr tests.
18891 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18894 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18895 rawmemchr-sse2 rawmemchr-sse2-bsf.
18896 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18897 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18898 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18899 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18900 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18902 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18903 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18904 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18906 * string/memrchr.c (MEMRCHR): New macro.
18908 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18910 Add integration with gcc's -ffinite-math-only and optimize wrapper
18912 * Versions.def: Define GLIBC_2.15 version for libm.
18913 * math/Makefile (headers): Add bits/math-finite.h.
18914 * math/bits/math-finite.h: New file.
18915 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18916 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18917 * math/e_acoshl.c: Add __*_finite alias.
18918 * math/e_acosl.c: Likewise.
18919 * math/e_asinl.c: Likewise.
18920 * math/e_atan2l.c: Likewise.
18921 * math/e_atanhl.c: Likewise.
18922 * math/e_coshl.c: Likewise.
18923 * math/e_exp10.c: Likewise.
18924 * math/e_exp10f.c: Likewise.
18925 * math/e_exp10l.c: Likewise.
18926 * math/e_exp2l.c: Likewise.
18927 * math/e_fmodl.c: Likewise.
18928 * math/e_gammal_r.c: Likewise.
18929 * math/e_hypotl.c: Likewise.
18930 * math/e_j0l.c: Likewise.
18931 * math/e_j1l.c: Likewise.
18932 * math/e_jnl.c: Likewise.
18933 * math/e_lgammal_r.c: Likewise.
18934 * math/e_log10l.c: Likewise.
18935 * math/e_log2l.c: Likewise.
18936 * math/e_logl.c: Likewise.
18937 * math/e_powl.c: Likewise.
18938 * math/e_sinhl.c: Likewise.
18939 * math/e_sqrtl.c: Likewise.
18940 * math/e_scalb.c: Completely rewritten and optimized.
18941 * math/e_scalbf.c: Likewise.
18942 * math/e_scalbl.c: Likewise.
18943 * math/w_acos.c: Likewise.
18944 * math/w_acosf.c: Likewise.
18945 * math/w_acosl.c: Likewise.
18946 * math/w_acosh.c: Likewise.
18947 * math/w_acoshf.c: Likewise.
18948 * math/w_acoshl.c: Likewise.
18949 * math/w_asin.c: Likewise.
18950 * math/w_asinf.c: Likewise.
18951 * math/w_asinl.c: Likewise.
18952 * math/w_atan2.c: Likewise.
18953 * math/w_atan2f.c: Likewise.
18954 * math/w_atan2l.c: Likewise.
18955 * math/w_atanh.c: Likewise.
18956 * math/w_atanhf.c: Likewise.
18957 * math/w_atanhl.c: Likewise.
18958 * math/w_exp10.c: Likewise.
18959 * math/w_exp10f.c: Likewise.
18960 * math/w_exp10l.c: Likewise.
18961 * math/w_fmod.c: Likewise.
18962 * math/w_fmodf.c: Likewise.
18963 * math/w_fmodl.c: Likewise.
18964 * math/w_j0.c: Likewise.
18965 * math/w_j0f.c: Likewise.
18966 * math/w_j0l.c: Likewise.
18967 * math/w_j1.c: Likewise.
18968 * math/w_j1f.c: Likewise.
18969 * math/w_j1l.c: Likewise.
18970 * math/w_jn.c: Likewise.
18971 * math/w_jnf.c: Likewise.
18972 * math/w_log.c: Likewise.
18973 * math/w_logf.c: Likewise.
18974 * math/w_logl.c: Likewise.
18975 * math/w_log10.c: Likewise.
18976 * math/w_log10f.c: Likewise.
18977 * math/w_log10l.c: Likewise.
18978 * math/w_log2.c: Likewise.
18979 * math/w_log2f.c: Likewise.
18980 * math/w_log2l.c: Likewise.
18981 * math/w_pow.c: Likewise.
18982 * math/w_powf.c: Likewise.
18983 * math/w_powl.c: Likewise.
18984 * math/w_remainder.c: Likewise.
18985 * math/w_remainderf.c: Likewise.
18986 * math/w_remainderl.c: Likewise.
18987 * math/w_scalb.c: Likewise.
18988 * math/w_scalbf.c: Likewise.
18989 * math/w_scalbl.c: Likewise.
18990 * math/w_sqrt.c: Likewise.
18991 * math/w_sqrtf.c: Likewise.
18992 * math/w_sqrtl.c: Likewise.
18993 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18994 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18996 * math/math_private.h: Declare __kernel_standard_f.
18997 * math/w_cosh.c: Remove cruft and optimize a bit.
18998 * math/w_coshf.c: Likewise.
18999 * math/w_coshl.c: Likewise.
19000 * math/w_exp2.c: Likewise.
19001 * math/w_exp2f.c: Likewise.
19002 * math/w_exp2l.c: Likewise.
19003 * math/w_hypot.c: Likewise.
19004 * math/w_hypotf.c: Likewise.
19005 * math/w_hypotl.c: Likewise.
19006 * math/w_lgamma.c: Likewise.
19007 * math/w_lgamma_r.c: Likewise.
19008 * math/w_lgammaf.c: Likewise.
19009 * math/w_lgammaf_r.c: Likewise.
19010 * math/w_lgammal.c: Likewise.
19011 * math/w_lgammal_r.c: Likewise.
19012 * math/w_sinh.c: Likewise.
19013 * math/w_sinhf.c: Likewise.
19014 * math/w_sinhl.c: Likewise.
19015 * math/w_tgamma.c: Likewise.
19016 * math/w_tgammaf.c: Likewise.
19017 * math/w_tgammal.c: Likewise.
19018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19020 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19021 Minor optimizations. Pretty printing. Remove cruft.
19022 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19025 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19026 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19027 * sysdeps/i386/fpu/e_asin.S: Likewise.
19028 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19029 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19030 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19031 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19032 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19033 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19035 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19036 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19037 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19038 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19039 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19040 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19041 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19042 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19043 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19044 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19045 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19046 * sysdeps/i386/fpu/e_log.S: Likewise.
19047 * sysdeps/i386/fpu/e_log10.S: Likewise.
19048 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19050 * sysdeps/i386/fpu/e_log2.S: Likewise.
19051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19053 * sysdeps/i386/fpu/e_logf.S: Likewise.
19054 * sysdeps/i386/fpu/e_logl.S: Likewise.
19055 * sysdeps/i386/fpu/e_pow.S: Likewise.
19056 * sysdeps/i386/fpu/e_powf.S: Likewise.
19057 * sysdeps/i386/fpu/e_powl.S: Likewise.
19058 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19059 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19060 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19061 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19064 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19065 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19066 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19072 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19084 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19164 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19165 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19166 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19167 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19169 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19170 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19175 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19176 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19177 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19178 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19179 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19180 (__isnanf): Likewise.
19181 (__isinf_ns): Likewise.
19182 (__isinf_nsf): Likewise.
19183 (__finite): Likewise.
19184 (__finitef): Likewise.
19185 (__ieee754_sqrt): Define as macro.
19186 (__ieee754_sqrtf): Define as macro.
19187 (__ieee754_sqrtl): Define as macro.
19188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19190 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19191 __FINITE_MATH_ONLY__ consistent.
19192 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19194 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19196 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19201 2011-10-09 Ulrich Drepper <drepper@gmail.com>
19203 * po/ja.po: Update from translation team.
19205 2011-10-08 Roland McGrath <roland@hack.frob.com>
19207 * locale/programs/locarchive.c (prepare_address_space): New function.
19208 (create_archive, enlarge_archive, open_archive): Use it.
19210 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19211 inside [SHARED], where it is used.
19213 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19215 * nss/getent.c (netgroup_keys): Remove unused variable.
19216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19218 2011-10-08 Ulrich Drepper <drepper@gmail.com>
19220 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19225 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19226 * math/Makefile (libm-calls): Add s_isinf_ns.
19227 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19228 * math/multc3.c: Likewise.
19229 * math/s_casin.c: Likewise.
19230 * math/s_casinf.c: Likewise.
19231 * math/s_casinl.c: Likewise.
19232 * math/s_ccos.c: Likewise.
19233 * math/s_ccosf.c: Likewise.
19234 * math/s_ccosl.c: Likewise.
19235 * math/s_ctan.c: Likewise.
19236 * math/s_ctanf.c: Likewise.
19237 * math/s_ctanh.c: Likewise.
19238 * math/s_ctanhf.c: Likewise.
19239 * math/s_ctanhl.c: Likewise.
19240 * math/s_ctanl.c: Likewise.
19241 * math/w_fmod.c: Likewise.
19242 * math/w_fmodf.c: Likewise.
19243 * math/w_fmodl.c: Likewise.
19244 * math/w_remainder.c: Likewise.
19245 * math/w_remainderf.c: Likewise.
19246 * math/w_remainderl.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19248 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19251 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19252 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19253 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19254 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19256 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19258 * stdio-common/printf_fphex.c: Likewise.
19259 * stdio-common/printf_size.c: Likewise.
19261 * math/e_exp10.c: Include math_private.h using <...> not "...".
19262 * math/e_exp10f.c: Likewise.
19263 * math/e_exp10l.c: Likewise.
19264 * math/e_exp2l.c: Likewise.
19265 * math/e_j0l.c: Likewise.
19266 * math/e_j1l.c: Likewise.
19267 * math/e_jnl.c: Likewise.
19268 * math/e_lgammal_r.c: Likewise.
19269 * math/e_rem_pio2l.c: Likewise.
19270 * math/e_scalb.c: Likewise.
19271 * math/e_scalbf.c: Likewise.
19272 * math/e_scalbl.c: Likewise.
19273 * math/k_cosl.c: Likewise.
19274 * math/k_sinl.c: Likewise.
19275 * math/k_tanl.c: Likewise.
19276 * math/s_cacoshf.c: Likewise.
19277 * math/s_catan.c: Likewise.
19278 * math/s_catanf.c: Likewise.
19279 * math/s_catanh.c: Likewise.
19280 * math/s_catanhf.c: Likewise.
19281 * math/s_catanhl.c: Likewise.
19282 * math/s_catanl.c: Likewise.
19283 * math/s_ccosh.c: Likewise.
19284 * math/s_ccoshf.c: Likewise.
19285 * math/s_ccoshl.c: Likewise.
19286 * math/s_cexp.c: Likewise.
19287 * math/s_cexpf.c: Likewise.
19288 * math/s_cexpl.c: Likewise.
19289 * math/s_clog.c: Likewise.
19290 * math/s_clog10.c: Likewise.
19291 * math/s_clog10f.c: Likewise.
19292 * math/s_clog10l.c: Likewise.
19293 * math/s_clogf.c: Likewise.
19294 * math/s_clogl.c: Likewise.
19295 * math/s_csin.c: Likewise.
19296 * math/s_csinf.c: Likewise.
19297 * math/s_csinh.c: Likewise.
19298 * math/s_csinhf.c: Likewise.
19299 * math/s_csinhl.c: Likewise.
19300 * math/s_csinl.c: Likewise.
19301 * math/s_csqrt.c: Likewise.
19302 * math/s_csqrtf.c: Likewise.
19303 * math/s_csqrtl.c: Likewise.
19304 * math/s_ctan.c: Likewise.
19305 * math/s_ctanf.c: Likewise.
19306 * math/s_ctanh.c: Likewise.
19307 * math/s_ctanhf.c: Likewise.
19308 * math/s_ctanhl.c: Likewise.
19309 * math/s_ctanl.c: Likewise.
19310 * math/s_ldexp.c: Likewise.
19311 * math/s_ldexpf.c: Likewise.
19312 * math/s_ldexpl.c: Likewise.
19313 * math/s_significand.c: Likewise.
19314 * math/s_significandf.c: Likewise.
19315 * math/s_significandl.c: Likewise.
19316 * math/w_acos.c: Likewise.
19317 * math/w_acosf.c: Likewise.
19318 * math/w_acosh.c: Likewise.
19319 * math/w_acoshf.c: Likewise.
19320 * math/w_acoshl.c: Likewise.
19321 * math/w_acosl.c: Likewise.
19322 * math/w_asin.c: Likewise.
19323 * math/w_asinf.c: Likewise.
19324 * math/w_asinl.c: Likewise.
19325 * math/w_atan2.c: Likewise.
19326 * math/w_atan2f.c: Likewise.
19327 * math/w_atan2l.c: Likewise.
19328 * math/w_atanh.c: Likewise.
19329 * math/w_atanhf.c: Likewise.
19330 * math/w_atanhl.c: Likewise.
19331 * math/w_cosh.c: Likewise.
19332 * math/w_coshf.c: Likewise.
19333 * math/w_coshl.c: Likewise.
19334 * math/w_dremf.c: Likewise.
19335 * math/w_exp10.c: Likewise.
19336 * math/w_exp10f.c: Likewise.
19337 * math/w_exp10l.c: Likewise.
19338 * math/w_exp2.c: Likewise.
19339 * math/w_exp2f.c: Likewise.
19340 * math/w_fmod.c: Likewise.
19341 * math/w_fmodf.c: Likewise.
19342 * math/w_fmodl.c: Likewise.
19343 * math/w_hypot.c: Likewise.
19344 * math/w_hypotf.c: Likewise.
19345 * math/w_hypotl.c: Likewise.
19346 * math/w_j0.c: Likewise.
19347 * math/w_j0f.c: Likewise.
19348 * math/w_j0l.c: Likewise.
19349 * math/w_j1.c: Likewise.
19350 * math/w_j1f.c: Likewise.
19351 * math/w_j1l.c: Likewise.
19352 * math/w_jn.c: Likewise.
19353 * math/w_jnf.c: Likewise.
19354 * math/w_jnl.c: Likewise.
19355 * math/w_lgamma.c: Likewise.
19356 * math/w_lgamma_r.c: Likewise.
19357 * math/w_lgammaf.c: Likewise.
19358 * math/w_lgammaf_r.c: Likewise.
19359 * math/w_lgammal.c: Likewise.
19360 * math/w_lgammal_r.c: Likewise.
19361 * math/w_log.c: Likewise.
19362 * math/w_log10.c: Likewise.
19363 * math/w_log10f.c: Likewise.
19364 * math/w_log10l.c: Likewise.
19365 * math/w_log2.c: Likewise.
19366 * math/w_log2f.c: Likewise.
19367 * math/w_log2l.c: Likewise.
19368 * math/w_logf.c: Likewise.
19369 * math/w_logl.c: Likewise.
19370 * math/w_pow.c: Likewise.
19371 * math/w_powf.c: Likewise.
19372 * math/w_powl.c: Likewise.
19373 * math/w_remainder.c: Likewise.
19374 * math/w_remainderf.c: Likewise.
19375 * math/w_remainderl.c: Likewise.
19376 * math/w_scalb.c: Likewise.
19377 * math/w_scalbf.c: Likewise.
19378 * math/w_scalbl.c: Likewise.
19379 * math/w_sinh.c: Likewise.
19380 * math/w_sinhf.c: Likewise.
19381 * math/w_sinhl.c: Likewise.
19382 * math/w_sqrt.c: Likewise.
19383 * math/w_sqrtf.c: Likewise.
19384 * math/w_sqrtl.c: Likewise.
19385 * math/w_tgamma.c: Likewise.
19386 * math/w_tgammaf.c: Likewise.
19387 * math/w_tgammal.c: Likewise.
19389 * po/ja.po: Update from translation team.
19391 2011-09-29 Andreas Jaeger <aj@suse.de>
19394 * sunrpc/netname.c (netname2host): Fix logic.
19398 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19400 * math/w_remainder.c (__remainder): Likewise.
19401 * math/w_remainderf.c (__remainderf): Likewise.
19402 * math/libm-test.inc (remainder_test): Add test cases.
19404 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19406 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19409 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19411 * string/test-memcmp.c: Avoid unncessary #defines.
19412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19414 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19416 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19417 Use new sse2 version for core i3 - i7 as it's faster
19418 than sse42 version.
19419 (bit_Prefer_PMINUB_for_stringop): New.
19420 * sysdeps/x86_64/rawmemchr.S: Update.
19421 Replace with faster SSE2 version.
19422 * sysdeps/x86_64/memrchr.S: New file.
19423 * sysdeps/x86_64/memchr.S: Update.
19424 Replace with faster SSE2 version.
19426 2011-09-12 Marek Polacek <mpolacek@redhat.com>
19428 * elf/dl-load.c (lose): Add cast to avoid warning.
19430 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19432 * po/ca.po: Update from translation team.
19434 * inet/getnetgrent_r.c: Hook up nscd.
19435 * nscd/Makefile (routines): Add nscd_netgroup.
19436 (nscd-modules): Add netgroupcache.
19437 (CFLAGS-netgroupcache.c): Define.
19438 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19439 (cache_search): Add const to second parameter.
19440 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19442 (dbs): Add netgrdb entry.
19443 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19444 (verify_persistent_db): Handle netgrdb.
19445 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19446 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19448 (netgroup_response_header): Define.
19449 (innetgroup_response_header): Define.
19450 (datahead): Add netgroup_response_header and innetgroup_response_header
19452 * nscd/nscd.conf: Add entries for netgroup cache.
19453 * nscd/nscd.h (dbtype): Add netgrdb.
19454 (_PATH_NSCD_NETGROUP_DB): Define.
19455 (netgroup_iov_disabled): Declare.
19456 (xmalloc, xcalloc, xrealloc): Move declarations here.
19457 (cache_search): Adjust prototype.
19458 Add netgroup-related prototypes.
19459 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19460 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19461 (__nscd_innetgr): Declare.
19462 * nscd/selinux.c (perms): Use access_vector_t as element type and
19463 add netgroup-related initializers.
19464 * nscd/netgroupcache.c: New file.
19465 * nscd/nscd_netgroup.c: New file.
19466 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19467 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19468 For four parameters use innetgr.
19469 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19470 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19471 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19472 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19474 * nscd/connections.c (register_traced_file): Don't register file
19475 for disabled databases.
19477 2011-10-06 Ulrich Drepper <drepper@gmail.com>
19479 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19481 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19482 from tree and freeing node.
19484 2011-09-25 Jiri Olsa <jolsa@redhat.com>
19486 * nss/nsswitch.c (__nss_database_lookup): Handle
19487 nss_parse_service_list out of memory case.
19489 2011-09-15 Jiri Olsa <jolsa@redhat.com>
19491 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19492 out of memory case.
19494 2011-10-04 Andreas Schwab <schwab@redhat.com>
19496 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19497 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19499 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19500 elf_machine_rela, elf_machine_lazy_rel.
19501 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19502 (ELF_DYNAMIC_DO_REL): Likewise.
19503 (ELF_DYNAMIC_DO_RELA): Likewise.
19504 (ELF_DYNAMIC_RELOCATE): Likewise.
19505 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19506 to ELF_DYNAMIC_DO_REL.
19507 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19508 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19509 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19512 skip_ifunc, don't call ifunc function if non-zero.
19513 (elf_machine_rela): Likewise.
19514 (elf_machine_lazy_rel): Likewise.
19515 (elf_machine_lazy_rela): Likewise.
19516 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19517 (elf_machine_lazy_rel): Likewise.
19518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19520 (elf_machine_lazy_rel): Likewise.
19521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19523 (elf_machine_lazy_rel): Likewise.
19524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19525 (elf_machine_lazy_rel): Likewise.
19526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19527 (elf_machine_lazy_rel): Likewise.
19528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19529 (elf_machine_lazy_rel): Likewise.
19530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19531 (elf_machine_lazy_rel): Likewise.
19532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19533 (elf_machine_lazy_rel): Likewise.
19534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19535 (elf_machine_lazy_rel): Likewise.
19537 2011-09-28 Ulrich Drepper <drepper@gmail.com>
19539 * nss/nss_files/files-init.c (_nss_files_init): Use static
19540 initialization for all the *_traced_file variables.
19542 2011-09-28 Andreas Schwab <schwab@redhat.com>
19544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19546 2011-09-27 Roland McGrath <roland@hack.frob.com>
19549 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19551 2011-09-27 Andreas Schwab <schwab@redhat.com>
19553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19554 Reread the line before reparsing it.
19556 2011-09-26 Andreas Schwab <schwab@redhat.com>
19558 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19560 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19561 Maxim Kuvyrkov <maxim@codesourcery.com>
19562 Joseph Myers <joseph@codesourcery.com>
19564 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19565 if needed for __stack_chk_guard.
19567 2011-09-19 Roland McGrath <roland@hack.frob.com>
19569 * sysdeps/posix/spawni.c (script_execute): Always define it.
19570 It will be optimized away if unused.
19571 (maybe_script_execute): New function.
19572 (__spawni): Call it.
19574 * Makerules: Don't include tls.make.
19575 (config-tls): Always set to thread.
19576 * tls.make.c: File removed.
19578 2011-09-19 Mike Frysinger <vapier@gentoo.org>
19580 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19581 * config.make.in (CPPFLAGS-config): New substituted variable.
19583 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19588 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19589 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19591 2011-09-15 Roland McGrath <roland@hack.frob.com>
19593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19594 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19596 (CALL_FAIL): Likewise.
19597 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19598 (CALL_FAIL): Macro removed.
19599 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19601 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19604 for __FINITE_MATH_ONLY__ == 1.
19606 2011-09-15 Andreas Schwab <schwab@redhat.com>
19608 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19609 __ieee754_sqrt instead of sqrt.
19610 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19611 __ieee754_sqrtf instead of sqrtf.
19612 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19613 __floorf instead of floorf.
19614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19615 __floorf, __truncf instead of floorf, truncf.
19617 2011-09-14 Ulrich Drepper <drepper@gmail.com>
19619 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19621 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19622 __extern_always_inline.
19623 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19626 2011-09-14 Andreas Schwab <schwab@redhat.com>
19628 * elf/rtld.c (dl_main): Also relocate in dependency order when
19629 doing symbol dependency testing.
19631 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19634 Always define `refsym'.
19636 2011-09-13 Andreas Schwab <schwab@redhat.com>
19638 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19639 (__FD_ELT): Renamed from __FDELT.
19640 * misc/bits/select2.h (__FD_ELT): Likewise.
19641 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19642 __FD_MASK instead of __FDELT, __FDMASK.
19643 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19645 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19648 * elf/Makefile (gen-ldd): Fix pattern.
19650 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19651 (init_tls): Likewise.
19653 2011-09-12 Ulrich Drepper <drepper@gmail.com>
19655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19657 2011-09-12 Andreas Schwab <schwab@redhat.com>
19659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19660 `struct cmsghdr *' instead of `void *'.
19661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19664 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19666 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19668 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19669 ldd_rewrite_script.
19671 2011-09-11 Ulrich Drepper <drepper@gmail.com>
19673 * configure.in: Remove --with-tls option.
19674 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19675 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19676 out in case it is missing.
19677 * sysdeps/ia64/elf/configure.in: Likewise.
19678 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19679 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19680 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19681 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19682 * sysdeps/sh/elf/configure.in: Likewise.
19683 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19685 * sysdeps/x86_64/elf/configure.in: Likewise.
19686 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19687 * sysdeps/mach/hurd/tls.h: Likewise.
19690 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19693 * configure.in: Fix use of AC_INIT.
19695 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19697 2011-09-10 Ulrich Drepper <drepper@gmail.com>
19699 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19701 * malloc/hooks.c: Likewise.
19704 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19705 variables statically.
19706 (narenas): Initialize.
19707 (list_lock): Initialize.
19708 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19709 initializtion of main_arena and list_lock. Small cleanups.
19710 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19711 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19712 Add initializers to main_arena and mp_.
19713 (malloc_state): Remove pagesize member. Change all users to use
19716 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19717 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19718 is always initialized.
19720 * malloc/malloc.c: Removed unused configurations and dead code.
19721 * malloc/arena.c: Likewise.
19722 * malloc/hooks.c: Likewise.
19723 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19725 * include/tls.h: Removed. USE___THREAD must always be defined.
19726 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19727 * elf/dl-libc.c: Likewise.
19728 * elf/dl-tsd.c: Likewise.
19729 * include/errno.h: Likewise.
19730 * include/netdb.h: Likewise.
19731 * include/resolv.h: Likewise.
19732 * inet/herrno-loc.c: Likewise.
19733 * inet/herrno.c: Likewise.
19734 * malloc/arena.c: Likewise.
19735 * malloc/hooks.c: Likewise.
19736 * malloc/malloc.c: Likewise.
19737 * resolv/res-state.c: Likewise.
19738 * resolv/res_libc.c: Likewise.
19739 * sysdeps/i386/dl-machine.h: Likewise.
19740 * sysdeps/ia64/dl-machine.h: Likewise.
19741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19745 * sysdeps/sh/dl-machine.h: Likewise.
19746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19748 * sysdeps/unix/i386/sysdep.S: Likewise.
19749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19750 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19755 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19760 * sysdeps/x86_64/dl-machine.h: Likewise.
19761 * tls.make.c: Likewise.
19763 * configure.in: Remove --with-__thread option. Make tests for
19764 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19765 tls_model attribute fail if no support is available. Remove
19767 * Makeconfig: Adjust for dropped configure option. All features are
19769 * Makerules: Likewise.
19770 * Versions.def: Likewise.
19771 * argp/argp-fmtstream.c: Likewise.
19772 * argp/argp-fmtstream.h: Likewise.
19773 * argp/argp-help.c: Likewise.
19774 * assert/assert.c: Likewise.
19775 * config.h.in: Likewise.
19776 * config.make.in: Likewise.
19777 * configure: Likewise.
19778 * configure.in: Likewise.
19779 * csu/Versions: Likewise.
19780 * csu/init.c: Likewise.
19781 * elf/tst-audit2.c: Likewise.
19782 * elf/tst-tls10.c: Likewise.
19783 * elf/tst-tls10.h: Likewise.
19784 * elf/tst-tls11.c: Likewise.
19785 * elf/tst-tls12.c: Likewise.
19786 * elf/tst-tls14.c: Likewise.
19787 * elf/tst-tlsmod11.c: Likewise.
19788 * elf/tst-tlsmod12.c: Likewise.
19789 * elf/tst-tlsmod13.c: Likewise.
19790 * elf/tst-tlsmod13a.c: Likewise.
19791 * elf/tst-tlsmod14a.c: Likewise.
19792 * elf/tst-tlsmod15b.c: Likewise.
19793 * elf/tst-tlsmod16a.c: Likewise.
19794 * elf/tst-tlsmod16b.c: Likewise.
19795 * elf/tst-tlsmod7.c: Likewise.
19796 * elf/tst-tlsmod8.c: Likewise.
19797 * elf/tst-tlsmod9.c: Likewise.
19798 * gmon/gmon.c: Likewise.
19799 * grp/fgetgrent_r.c: Likewise.
19800 * grp/putgrent.c: Likewise.
19801 * hurd/fopenport.c: Likewise.
19802 * include/libc-symbols.h: Likewise.
19803 * include/tls.h: Likewise.
19804 * intl/gettextP.h: Likewise.
19805 * intl/loadinfo.h: Likewise.
19806 * locale/global-locale.c: Likewise.
19807 * locale/localeinfo.h: Likewise.
19808 * mach/devstream.c: Likewise.
19809 * malloc/arena.c: Likewise.
19810 * malloc/set-freeres.c: Likewise.
19811 * misc/err.c: Likewise.
19812 * misc/getttyent.c: Likewise.
19813 * misc/mntent_r.c: Likewise.
19814 * posix/getopt.c: Likewise.
19815 * posix/wordexp.c: Likewise.
19816 * pwd/fgetpwent_r.c: Likewise.
19817 * resolv/Versions: Likewise.
19818 * resolv/res_hconf.c: Likewise.
19819 * shadow/fgetspent_r.c: Likewise.
19820 * shadow/putspent.c: Likewise.
19821 * stdio-common/printf_fphex.c: Likewise.
19822 * stdio-common/tmpfile.c: Likewise.
19823 * stdlib/abort.c: Likewise.
19824 * stdlib/fmtmsg.c: Likewise.
19825 * sunrpc/auth_unix.c: Likewise.
19826 * sunrpc/clnt_perr.c: Likewise.
19827 * sunrpc/clnt_tcp.c: Likewise.
19828 * sunrpc/clnt_udp.c: Likewise.
19829 * sunrpc/clnt_unix.c: Likewise.
19830 * sunrpc/openchild.c: Likewise.
19831 * sunrpc/svc_simple.c: Likewise.
19832 * sunrpc/svc_tcp.c: Likewise.
19833 * sunrpc/svc_udp.c: Likewise.
19834 * sunrpc/svc_unix.c: Likewise.
19835 * sunrpc/xdr.c: Likewise.
19836 * sunrpc/xdr_array.c: Likewise.
19837 * sunrpc/xdr_rec.c: Likewise.
19838 * sunrpc/xdr_ref.c: Likewise.
19839 * sunrpc/xdr_stdio.c: Likewise.
19841 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19843 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19845 2011-07-03 Andreas Jaeger <aj@suse.de>
19847 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19848 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19849 regenerate with gen-libm-tests.pl.
19851 2010-05-12 Petr Baudis <pasky@suse.cz>
19854 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19855 around j0() zero points by switching to j1().
19856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19861 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19868 Patch in part by Pavel Roskin <proski@gnu.org>.
19871 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19873 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19874 Free memory block if necessary.
19877 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19878 be NULL. Don't lock in this case.
19880 2011-09-09 Roland McGrath <roland@hack.frob.com>
19882 * elf/elf.h (ELFOSABI_GNU): New macro.
19883 (ELFOSABI_LINUX): Define to that.
19885 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19887 * string/strncat.c (strncat): Undef the symbol in case it has been
19888 defined in bits/string.h.
19890 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19892 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19897 2011-08-17 Andreas Jaeger <aj@suse.de>
19899 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19901 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19902 Ian Lance Taylor <iant@google.com>
19904 * math/libm-test.inc (lround_test): New testcase.
19905 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19907 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19909 * Makefile: Remove support for automatic cvs check-ins.
19910 * Makerules: Likewise.
19911 * config.make.in: Likewise.
19912 * configure.in: Likewise.
19913 * intl/Makefile: Likewise.
19914 * locale/Makefile: Likewise.
19915 * po/Makefile: Likewise.
19916 * posix/Makefile: Likewise.
19917 * sysdeps/gnu/Makefile: Likewise.
19918 * sysdeps/mach/hurd/Makefile: Likewise.
19919 * sysdeps/sparc/sparc32/Makefile: Likewise.
19922 * posix/Makefile (bug-regex32-ENV): Define.
19923 Patch by John Stanley <jpsinthemix@verizon.net>.
19925 * misc/Makefile (headers): Add bits/select2.h.
19926 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19927 * misc/bits/select2.h: New file.
19928 * include/bits/select2.h: New file.
19929 * debug/Makefile (routines): Add fdelt_chk.
19930 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19931 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19933 * debug/fdelt_chk.c: New file.
19935 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19936 * wcsmbs/test-wmemcmp.c: Likewise.
19937 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19938 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19940 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19942 * string/Makefile (strop-tests): Add memcmp.
19943 * string/test-wmemcmp.c: New file.
19944 * string/test-memcmp.c: Add wmemcmp support.
19946 2011-09-08 Roland McGrath <roland@hack.frob.com>
19949 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19952 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19953 garbage value in a __mach_port_mod_refs call in the cases of the
19954 task-self and thread-self ports.
19956 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19958 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19960 2011-09-08 Andreas Schwab <schwab@redhat.com>
19962 * elf/dl-load.c (lose): Check for non-null L.
19964 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19966 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19968 * elf/dl-libc.c (dlerror_run): Pass back error code from
19972 * elf/dl-load.c (lose): Free l_origin if it is valid.
19974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19981 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19983 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19985 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19986 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19989 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19990 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19991 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19992 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19993 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19994 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19996 2011-08-15 Alan Modra <amodra@gmail.com>
19999 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20000 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20001 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20002 ppc_mcount to static-only-routines.
20003 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20005 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20006 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20008 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20011 for finite and infinity parameters.
20013 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20016 and add nop instructions for throughput optimization.
20017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20019 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20022 aligned copy for power7 with vector-scalar instructions.
20023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20025 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20030 2011-09-07 Andreas Schwab <schwab@redhat.com>
20033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20036 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20039 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20040 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20041 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20044 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20047 Forgot to demangle the pointer.
20049 * sysdeps/i386/sysdep.h: Define atom_text_section.
20050 * sysdeps/x86_64/sysdep.h: Likewise.
20051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20052 section with atom_text_section.
20053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20061 already be defined. Change to take two parameters and don't assign
20062 result to variable. Adjust all users.
20063 Define INTERNAL_GETTIME if not already defined.
20064 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20067 HAVE_CLOCK_GETTIME_VSYSCALL.
20068 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20071 gettimeofday vsyscall, just use time.
20073 2011-09-06 Andreas Schwab <schwab@redhat.com>
20075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20078 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20080 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20084 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20086 syscall if possible.
20088 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20090 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20091 e_ident. Don't pass to find_mapsXX.
20092 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20094 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20097 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20098 * sysdeps/x86_64/multiarch/strchr.S: Update.
20099 Check bit_slow_BSF bit.
20100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20104 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20107 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20109 (tryshell): Define.
20110 (__spawni): Change last parameter to be flag. Test
20111 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20112 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20113 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20114 * posix/spawni.c: Likewise.
20115 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20116 * posix/spawnp.c: Likewise. Change normal version to use
20117 SPAWN_XFLAGS_USE_PATH.
20118 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20119 SPAWN_XFLAGS_TRY_SHELL.
20122 * posix/glob.h: Remove gcc 1.x support.
20125 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20127 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20130 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20132 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20133 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20139 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20141 * sysdeps/x86_64/wcscmp.S: New file.
20143 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20144 wcscmp-c wcscmp-sse2
20145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20146 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20147 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20148 * wcsmbs/wcscmp.c: Allow renaming.
20150 2011-09-05 David S. Miller <davem@davemloft.net>
20152 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20153 stack slot, rather than the struct return pointer slot.
20154 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20155 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20157 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20159 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20161 * po/ja.po: Update from translation team.
20164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20165 kernel in 64-bit binaries.
20167 2011-09-01 David S. Miller <davem@davemloft.net>
20169 * elf/elf.h (HWCAP_SPARC_*): Move to..
20170 * sysdeps/sparc/sysdep.h: this new file and add new values.
20171 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20172 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20173 _DL_HWCAP_COUNT to 24.
20174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20176 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20177 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20178 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20180 instead of magic constants.
20181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20183 2011-08-31 David S. Miller <davem@davemloft.net>
20185 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20187 Reimplement to do errno handling inline.
20188 (SYSCALL_ERROR_HANDLER): New macro.
20189 (__SYSCALL_STRING): Do not do errno handling in asm.
20190 (__CLONE_SYSCALL_STRING): Delete.
20191 (__INTERNAL_SYSCALL_STRING): Delete.
20192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20193 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20194 (PSEUDO): Reimplement to do errno handling inline.
20195 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20196 (SYSCALL_ERROR_HANDLER): New macro.
20197 (__SYSCALL_STRING): Do not do errno handling in asm.
20198 (__CLONE_SYSCALL_STRING): Delete.
20199 (__INTERNAL_SYSCALL_STRING): Delete.
20200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20201 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20203 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20204 (inline_syscall*): Add 'err' argument.
20205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20206 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20207 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20208 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20210 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20213 2011-08-30 Andreas Schwab <schwab@redhat.com>
20215 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20217 2011-08-29 Jiri Olsa <jolsa@redhat.com>
20219 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20222 2011-08-24 David S. Miller <davem@davemloft.net>
20224 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20226 2011-08-24 Andreas Schwab <schwab@redhat.com>
20228 * elf/Makefile: Add rules to build and run unload8 test.
20229 * elf/unload8.c: New file.
20230 * elf/unload8mod1.c: New file.
20231 * elf/unload8mod1x.c: New file.
20232 * elf/unload8mod2.c: New file.
20233 * elf/unload8mod3.c: New file.
20235 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20238 2011-08-23 David S. Miller <davem@davemloft.net>
20240 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20241 subtract stack bias.
20242 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20243 %sp not %fp in calculations.
20244 (_JMPBUF_UNWINDS_ADJ): Likewise.
20246 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20247 (aio_suspend): Call it to force an exception region around the
20248 AIO_MISC_WAIT() invocation.
20250 2011-08-23 Andreas Schwab <schwab@redhat.com>
20252 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20255 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20257 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20259 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20260 and <dl-machine.h>.
20261 (Elf64_FuncDesc): Remove.
20263 2011-08-22 David S. Miller <davem@davemloft.net>
20265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20266 sigaltstack check, add missing cfi directives.
20267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20268 missing cfi directives, and sigaltstack handling.
20270 2011-08-16 Andreas Schwab <schwab@redhat.com>
20273 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20274 object is seen twice.
20275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20277 * elf/Makefile (distribute): Add tst-initorder2.c.
20278 (tests): Add tst-initorder2.
20279 (modules-names): Add tst-initorder2a tst-initorder2b
20280 tst-initorder2c tst-initorder2d. Add rules to build them.
20281 ($(objpfx)tst-initorder2.out): New rule.
20282 * elf/tst-initorder2.c: New file.
20283 * elf/tst-initorder2.exp: New file.
20285 2011-08-22 Andreas Schwab <schwab@redhat.com>
20287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20289 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20290 dependencies back to end of function.
20292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20293 $(elfobjdir)/ld.so.
20295 2011-08-21 Ulrich Drepper <drepper@gmail.com>
20297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20298 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20300 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20301 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20302 of __vdso_gettimeofday.
20303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20304 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20306 (_libc_vdso_platform_setup): Remove initialization of
20307 __vdso_gettimeofday and __vdso_time.
20309 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20311 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20312 and fgetc_unlocked.
20313 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20316 * elf/dl-open.c (add_to_global): Report additions to the global scope
20317 for LD_DEBUG=scopes.
20318 (dl_open_worker): Also print scope of newly loaded dependencies.
20319 (_dl_show_scope): Indicate if there is no scope.
20322 * stdio-common/Makefile (tests): Add bug24.
20323 * stdio-common/bug24.c: New file.
20325 2011-08-19 Andreas Jaeger <aj@suse.de>
20328 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20329 non-existant file when using close-on-exec mode.
20331 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20334 the very first instruction.
20336 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20337 the CFI state in the end.
20338 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20339 inclusion of dl-trampoline.h.
20340 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20342 2011-08-19 Andreas Schwab <schwab@redhat.com>
20344 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20345 expectations for long double.
20347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20348 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20350 2011-08-14 David S. Miller <davem@davemloft.net>
20352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20353 artificual limit depends upon the system page size.
20355 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20357 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20358 * resolv/Makefile: Define CFLAGS-libresolv.
20360 2011-08-17 Andreas Schwab <schwab@redhat.com>
20362 * nss/makedb.c (compute_tables): Make variables used in nested
20365 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20367 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20368 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20369 if buffer was too small.
20371 * elf/pldd.c (main): Attach to all threads in the process.
20372 Rewrite /proc handling to use *at functions.
20374 2011-08-16 Ulrich Drepper <drepper@gmail.com>
20376 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20377 specifies first scope to show.
20378 (dl_open_worker): Update callers. Move printing scope of new
20379 object to before the relocation.
20380 * elf/rtld.c (dl_main): Update _dl_show_scope call.
20381 * sysdeps/generic/ldsodefs.h: Update declaration.
20383 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20384 string for the scope number.
20386 2011-08-14 Ulrich Drepper <drepper@gmail.com>
20388 * nscd/servicescache.c (cache_addserv): Make sure written is always
20391 2011-08-14 Roland McGrath <roland@hack.frob.com>
20393 * sysdeps/i386/i486/bits/atomic.h
20394 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20395 statement expression, so as to suppress "set but not used" warning.
20396 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20398 * string/strncat.c (STRNCAT): Use prototype definition.
20400 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20401 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20403 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20404 (localedef-modules): Add localedef.
20405 (locale-modules): Add locale.
20407 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20408 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20409 to avoid a warning.
20411 2011-08-14 David S. Miller <davem@davemloft.net>
20413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20414 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20416 2011-08-13 Ulrich Drepper <drepper@gmail.com>
20418 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20419 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20420 * elf/rtld.c (dl_main): Set l_name of vDSO.
20421 Call _dl_show_scope when DL_DEBUG_SCOPES.
20422 (process_dl_debug): Recognize scopes flag and also set it for all.
20423 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20424 Declare _dl_show_scope.
20426 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20427 (do_dlopen): Pass caller_dlopen to dl_open.
20428 (__libc_dlopen_mode): Initialize caller_dlopen.
20430 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20431 of libc. Make tolower call locale-independent. Optimize a bit by
20432 using isdigit instead of isalnum.
20433 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20435 2011-08-12 Ulrich Drepper <drepper@gmail.com>
20437 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20438 was a dependency or dynamically loaded.
20440 2011-08-11 Ulrich Drepper <drepper@gmail.com>
20442 * intl/l10nflist.c: Allow architecture-specific pop function.
20443 * sysdeps/x86_64/l10nflist.c: New file.
20445 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20448 2011-08-10 Andreas Schwab <schwab@redhat.com>
20450 * include/dirent.h: Add libc_hidden_proto for scandirat and
20451 scandirat64. Don't declare __scandirat64.
20452 * dirent/scandirat.c: Add libc_hidden_def.
20453 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20454 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20456 2011-08-10 David S. Miller <davem@davemloft.net>
20458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20464 2011-08-09 Ulrich Drepper <drepper@gmail.com>
20466 * Versions.def [libc]: Add GLIBC_2.15.
20467 * dirent/Makefile (routines): Add scandirat and scandirat64.
20468 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20470 * dirent/dirent.h: Declare scandirat and scandirat64.
20471 * dirent/scandirat.c: New file.
20472 * dirent/scandirat64.c: New file.
20473 * sysdeps/wordsize-64/scandirat.c: New file.
20474 * sysdeps/wordsize-64/scandirat64.c: New file.
20475 * dirent/opendir.c: Define opendirat.
20476 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20478 * dirent/scandir64.c: Adjust for scandir.c change.
20479 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20480 __scandirat64, and __scandir_cancel_handler.
20481 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20482 additional parameter and use openat instead of open (outside of ld.so).
20483 Add new __opendir as wrapper around __opendirat.
20484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20485 here without requiring old scandirat implementation.
20487 2011-08-08 Ulrich Drepper <drepper@gmail.com>
20489 * dirent/scandir.c (cancel_handler): Renamed to
20490 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20491 defined. Adjust users.
20492 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20495 2011-08-04 Ulrich Drepper <drepper@gmail.com>
20497 * string/test-string.h (IMPL): Use __STRING to expand name and then
20500 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20503 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20505 * string/Makefile: Update.
20506 (strop-tests): Append strncat.
20507 * string/test-wcscmp.c: New file.
20508 New comprehensive test for wcscmp.
20509 * string/test-strcmp.c: Update.
20510 (WIDE): New define.
20512 2011-07-22 Andreas Schwab <schwab@redhat.com>
20514 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20517 2011-07-26 Andreas Schwab <schwab@redhat.com>
20519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20520 encoding to ACE if AI_IDN.
20522 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20525 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20527 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20530 Fix overflow bug in strncat.
20531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20533 * string/test-strncat.c: Update.
20534 Add new tests for checking overflow bugs.
20536 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20539 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20540 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20541 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20543 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20544 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20545 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20546 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20549 (USE_AS_STRCAT): Define.
20550 Add strcat and strncat support.
20551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20553 2011-07-25 Andreas Schwab <schwab@redhat.com>
20555 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20556 __n bigger than INT_MAX+1.
20557 (__strncmp_g): Likewise.
20559 2011-07-23 Ulrich Drepper <drepper@gmail.com>
20561 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20562 * libio/stido.h: Likewise.
20564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20576 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20581 (_dl_x86_64_save_sse): Likewise.
20583 2011-07-22 Ulrich Drepper <drepper@gmail.com>
20585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20587 (_dl_x86_64_save_sse): Likewise.
20589 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20591 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20593 2011-07-21 Andreas Schwab <schwab@redhat.com>
20595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20597 (_dl_x86_64_save_sse): Use correct AVX check.
20599 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20602 bug in strncpy/strncat.
20603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20605 2011-07-21 Ulrich Drepper <drepper@gmail.com>
20607 * string/tester.c (test_strcat): Add tests for different alignments
20608 of source and destination.
20609 (test_strncat): Likewise.
20611 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20614 * posix/glob.c (glob): Check passed in values before using them in
20615 expressions to avoid some overflows.
20616 (glob_in_dir): Likewise.
20619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20620 check for AVX enablement so that we don't crash with old kernels and
20622 * elf/tst-audit4.c: Add same checks here.
20623 * elf/tst-audit6.c: Likewise.
20625 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20627 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20629 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20631 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20633 * po/cs.po: Update from translation team.
20634 * po/bg.po: Likewise.
20636 2011-07-12 Marek Polacek <mpolacek@redhat.com>
20638 * misc/sys/cdefs.h: Add support for const attribute.
20639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20640 to gnu_dev_{major,minor,makedev} functions.
20642 2011-07-20 Marek Polacek <mpolacek@redhat.com>
20644 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20646 2011-07-20 Andreas Schwab <schwab@redhat.com>
20648 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20651 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20654 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20655 register in order to avoid conflicts with the soft frame pointer
20656 being held in r11 when necessary.
20657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20658 (INTERNAL_VSYSCALL_NCS): Likewise.
20660 2011-07-14 Marek Polacek <mpolacek@redhat.com>
20662 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20663 * elf/dl-fini.c (_dl_fini): Adjust caller.
20664 * elf/dl-close.c (_dl_close_worker): Likewise.
20665 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20667 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20669 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20670 "aux_cache->nlibs < 0".
20672 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20673 in the reload-count case.
20675 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20678 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20679 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20681 * sysdeps/x86_64/multiarch/strcat.S: New file.
20682 * sysdeps/x86_64/multiarch/strncat.S: New file.
20683 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20685 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20686 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20688 (USE_AS_STRCAT): Define.
20689 Add strcat and strncat support.
20690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20692 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20693 * string/strncat.c: Update.
20694 (USE_AS_STRNCAT): Define.
20695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20696 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20698 * sysdeps/x86_64/multiarch/init-arch.h
20699 (bit_Prefer_PMINUB_for_stringop): New.
20700 (index_Prefer_PMINUB_for_stringop): Likewise.
20701 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20702 bit_Prefer_PMINUB_for_stringop.
20704 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20706 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20708 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20709 of casting of buffer.
20710 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20711 buffer32 and buffer64.
20712 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20713 writes instead of casting of buffer.
20714 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20716 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20719 2011-07-19 Andreas Schwab <schwab@redhat.com>
20721 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20723 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20725 * nscd/nscd.c (termination_handler): Don't do anything for a database
20726 if it has not yet been initialized.
20728 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20732 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20734 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20736 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20738 * po/nl.po: Update from translation team.
20739 * po/sv.po: Likewise.
20741 2011-07-16 Roland McGrath <roland@hack.frob.com>
20743 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20744 now disallowed by GCC.
20746 * configure.in (use-default-link): Default to yes if a test -shared
20747 link meets our qualifications.
20748 * configure: Regenerated.
20750 * config.make.in (output-format): New variable.
20751 * configure.in: Check for ld --print-output-format support.
20752 * configure: Regenerated.
20753 * Makerules ($(common-objpfx)format.lds)
20754 [$(output-format) != unknown]: Just use $(output-format),
20755 instead of the linker-script munging.
20757 2011-07-14 Roland McGrath <roland@hack.frob.com>
20759 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20760 of $(common-objpfx)shlib.lds.
20761 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20763 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20764 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20766 * configure.in (-z relro check): Adjust test code to add a large
20767 writable data section after it.
20768 * configure: Regenerated.
20770 2011-07-11 Roland McGrath <roland@hack.frob.com>
20772 * configure.in (-z relro check): Fix test code to make the variable
20774 * configure: Regenerated.
20776 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20778 * nscd/nscd.h (struct traced_file): Define.
20779 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20780 elements. Add traced_files.
20781 (inotify_fd): Declare.
20782 (register_traced_file): Declare.
20783 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20784 (inotify_fd): Export.
20785 (resolv_conf_descr): Remove.
20786 (nscd_init): Move inotify descriptor creation to main.
20787 Don't register files for notification here.
20788 (register_traced_file): New function.
20789 (invalidate_cache): Don't use reset_res to determine whether to call
20790 res_init, go through the list of registered files.
20791 (main_loop_poll): The inotify descriptors are now stored in the
20792 structures for the traced files.
20793 (main_loop_epoll): Likewise
20794 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20795 to __nss_disable_nscd.
20796 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20797 for a database anymore. Check the records for all the registered
20799 * nss/Makefile (libnss_files-routines): Add files-init.
20800 (libnss_db-routines): Add db-init.
20801 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20802 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20803 * nss/nss_db/db-init.c: New file.
20804 * nss/nss_files/files-init.c: New file.
20805 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20806 __nss_lookup_function.
20807 (__nss_lookup_function): Call nss_load_library.
20808 (nss_load_all_libraries): New function.
20809 (__nss_disable_nscd): Take parameter with callback function for files
20810 to register. Set is_nscd. Load all the DSOs for the NSS modules
20811 used for the cached services.
20812 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20814 options for features to all the files in nscd.
20816 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20818 2011-07-10 Roland McGrath <roland@hack.frob.com>
20820 * csu/elf-init.c (__libc_csu_init): Comment typo.
20822 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20824 * po/pl.po: Update from translation team.
20825 * po/ja.po: Likewise.
20826 * po/ru.po: Likewise.
20827 * po/ko.po: Likewise.
20828 * po/fr.po: Likewise.
20830 2011-07-09 Roland McGrath <roland@hack.frob.com>
20832 * configure.in (.ctors/.dtors header and trailer check):
20833 Use an empirical test on a built program.
20834 * configure: Regenerated.
20836 * configure.in (-z relro check): Use an empirical test on a built DSO.
20837 Detect, but do not require, on ia64.
20838 * configure: Regenerated.
20840 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20841 Update tests that use readelf to use $READELF instead.
20842 * configure: Regenerated.
20844 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20846 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20847 if the result is not used.
20849 2011-07-05 Andreas Jaeger <aj@suse.de>
20852 * stdlib/tst-strtod.c: Add testcase.
20854 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20856 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20857 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20858 The latter has a higher limit. Take additional parameter to pass to
20860 (__pathconf): Pass file to __statfs_link_max.
20861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20863 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20867 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20871 (__statfs_filesize_max): Likewise.
20872 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20874 2011-07-05 Andreas Jaeger <aj@suse.de>
20876 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20878 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20880 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20885 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20887 * Makefile (strop-tests): Add strncat.
20888 * string/test-strncat.c: New file.
20890 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20892 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20894 2011-06-21 Andreas Jaeger <aj@suse.de>
20896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20897 Copy rule from iconvdata/Makefile.
20899 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20902 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20903 but no long options are defined, just return 'W'.
20905 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20908 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20910 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20912 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20914 (innetgr): Likewise.
20916 2011-07-05 Roland McGrath <roland@hack.frob.com>
20918 * config.make.in (install_root): Default to $(DESTDIR).
20920 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20924 2011-07-02 Roland McGrath <roland@hack.frob.com>
20926 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20928 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20929 containing directory rather than embedding absolute directory names.
20931 * scripts/check-local-headers.sh: Rewritten using awk.
20932 Match by word, not by line. Print error messages for matches.
20933 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20935 * Makerules [shlib-lds-flags empty]:
20936 ($(common-objpfx)libc_pic.opts): New target.
20937 ($(common-objpfx)libc_pic.os.clean): New target.
20938 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20940 * config.make.in (OBJCOPY): New variable.
20941 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20942 * configure: Regenerated.
20944 * config.make.in (use-default-link): New variable.
20945 * configure.in (use_default_link): Grok --with-default-link to set it.
20946 * configure: Regenerated.
20947 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20948 (shlib-lds, shlib-lds-flags): Define to empty.
20950 * Makerules (shlib-lds): New variable.
20951 (shlib-lds-flags): New variable.
20952 (build-shlib, build-moduile, build-module-asneeded): Use it.
20953 ($(common-objpfx)libc.so): Use $(shlib-lds).
20954 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20957 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20958 DT_FLAGS/DT_FLAGS_1 with zero flags.
20960 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20961 linker script munging.
20963 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20965 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20967 * crypt/sha512.c (sha512_process_block): Perform total addition using
20968 128-bit if possible.
20969 (__sha512_finish_ctx): Likewise.
20970 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20972 * crypt/sha256.c (SWAP64): Define.
20973 (sha256_process_block): Perform total addition using 64-bit if
20975 (__sha256_finish_ctx): Likewise.
20977 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20979 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20981 * nscd/hstcache.c (cache_addhst): Likewise.
20982 * nscd/grpcache.c (cache_addgr): Likewise.
20983 * nscd/aicache.c (addhstaiX): Likewise
20984 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20986 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20988 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20990 * nscd/hstcache.c (cache_addhst): Likewise.
20991 * nscd/grpcache.c (cache_addgr): Likewise.
20992 * nscd/aicache.c (addhstaiX): Likewise
20994 2011-07-01 Andreas Schwab <schwab@redhat.com>
20996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20997 domain only when needed.
20999 2011-06-30 Andreas Schwab <schwab@redhat.com>
21001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21002 is always restored.
21004 2011-06-29 Ulrich Drepper <drepper@gmail.com>
21006 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21007 are re-adding the entry.
21008 * nscd/servicescache.c (cache_addserv): Likewise.
21010 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21012 * sysdeps/generic/dl-irel.h: fix protection against multiple
21014 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21016 2011-06-28 Ulrich Drepper <drepper@gmail.com>
21019 * malloc/memusage.sh: Fix quoting in message.
21020 * debug/xtrace.sh: Likewise.
21022 * configure.in: Remove support for --experimental-malloc option, make
21024 * config.make.in: Likewise.
21025 * malloc/Makefile: Likewise.
21027 2011-06-27 Andreas Schwab <schwab@redhat.com>
21029 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21030 two-byte characters.
21032 2011-06-27 Roland McGrath <roland@hack.frob.com>
21034 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21035 AC_CACHE_CHECK invocation.
21036 * configure: Regenerated.
21038 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21040 2011-06-27 Ulrich Drepper <drepper@gmail.com>
21043 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21044 bit from old_res_options.
21046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21048 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21049 value type for setfct.
21051 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21054 __gettimeofday instead of gettimeofday.
21056 2011-06-26 Ulrich Drepper <drepper@gmail.com>
21058 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21060 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21067 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21070 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21071 strcpy-sse2-unaligned strncpy-sse2-unaligned
21072 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21073 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21074 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21075 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21076 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21079 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21080 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21081 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21082 (STRCPY): Support SSE2 and SSSE3 versions.
21084 2011-06-24 Ulrich Drepper <drepper@gmail.com>
21087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21088 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21089 kernels which artificially limit size of requests.
21091 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21094 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21095 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21096 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21097 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21098 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21099 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21100 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21103 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21104 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21105 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21106 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21107 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21109 Enable unaligned load optimization for Intel Core i3, i5 and i7
21111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21113 (index_Fast_Unaligned_Load): Define.
21114 (HAS_FAST_UNALIGNED_LOAD): Define.
21116 2011-06-23 Marek Polacek <mpolacek@redhat.com>
21118 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21120 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21124 until it is clear that the information is realy needed.
21125 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21127 2011-06-22 Andreas Schwab <schwab@redhat.com>
21129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21131 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21134 /sys/devices/system/cpu/online if it is usable.
21136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21137 reading the information from the /proc filesystem to once a second.
21139 2011-06-21 Andreas Jaeger <aj@suse.de>
21141 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21142 NULL after inclusion of kernel headers.
21144 2011-06-21 Ulrich Drepper <drepper@gmail.com>
21146 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21147 calls to internal_setent.
21150 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21151 addresses using gethostbyname4_r ignore IPv4 addresses.
21153 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21154 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21156 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21158 2011-06-20 David S. Miller <davem@davemloft.net>
21160 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21162 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21164 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21165 (elf_irel): Use it.
21166 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21167 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21168 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21169 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21170 * sysdeps/x86_64/dl-irel.h: Likewise.
21172 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21173 * elf/dl-sym.c: Likewise.
21175 2011-06-15 Ulrich Drepper <drepper@gmail.com>
21177 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21178 need to dereference resplen2.
21180 2011-06-14 Andreas Schwab <schwab@redhat.com>
21182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21184 2011-06-15 Ulrich Drepper <drepper@gmail.com>
21186 * Makeconfig: Define vardbdir and inst_vardbdir.
21187 * nss/Makefile: Add rules to install db-Makefile.
21189 * nss/nss_db/db-XXX.c: Cleanup.
21191 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21192 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21194 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21195 * nss/makedb.c: Implement -g option to specify that value strings
21196 are generated and should not be added to table iterated over for
21198 * nss/nss_db/db-initgroups.c: New file.
21200 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21203 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21204 (internal_getgrouplist): Adjust to name change.
21205 Update use_initgroups_entry if this is not the first call.
21206 * nss/databases.def: Add initgroups entry.
21208 * nss/makedb.c (compute_tables): Check result of multiple hash table
21209 sizes to minimize maximum chain length.
21211 2011-06-14 Ulrich Drepper <drepper@gmail.com>
21213 * Versions.def: Add entry for libnss_db.
21214 * shlib-versions: Likewise.
21215 * nss/Makefile: Add rules to build libnss_db.
21216 * nss/Versions: Add libnss_db information. Organize libnss_files
21218 * nss/db-Makefile: Add gshadow support. Change rules for the new
21219 makedb progra. Some minor improvements to generate smaller files.
21220 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21222 * nss/makedb.c: ...here.
21223 Improve database format to be smaller and require less memory at
21225 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21227 * nss/nss_db/db-netgrp.c: Likewise.
21228 * nss/nss_db/db-open.c: Likewise.
21229 * nss/nss_files/flies-XXX.x: Adjust comments.
21230 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21231 * nss/nss_files/files-grp.c: Likewise.
21232 * nss/nss_files/files-hosts.c: Likewise.
21233 * nss/nss_files/files-network.c: Likewise.
21234 * nss/nss_files/files-proto.c: Likewise.
21235 * nss/nss_files/files-pwd.c: Likewise.
21236 * nss/nss_files/files-rpc.c: Likewise.
21237 * nss/nss_files/files-service.c: Likewise.
21238 * nss/nss_files/files-sgrp.c: Likewise.
21239 * nss/nss_files/files-spwd.c: Likewise.
21240 * nss/nss_db/db-alias.c: Removed.
21241 * nss/nss_db/dummy-db.h: Removed.
21243 2011-06-02 Ulrich Drepper <drepper@gmail.com>
21245 * nss/makedb.c: Rewritten to not use database library.
21246 * nss/Makefile: Update to build new makedb program.
21248 2011-06-14 Andreas Jaeger <aj@suse.de>
21250 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21251 memset declaration.
21253 2011-06-10 Andreas Schwab <schwab@redhat.com>
21255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21258 2011-06-10 Roland McGrath <roland@hack.frob.com>
21260 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21261 * elf/Makefile ($(objpfx)ld.so): Likewise.
21263 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21264 Don't list ld.so twice in dependencies.
21266 * posix/bug-regex31.c: Include <stdlib.h>.
21268 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21270 * nis/nss_compat/compat-spwd.c
21271 (getspent_next_nss_netgr): Remove unused variable.
21272 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21274 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21275 nonmembers" output to use the right array.
21277 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21279 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21281 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21282 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21283 * catgets/gencat.c (read_input_file): Likewise.
21284 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21287 variable definition inside #if's controlling its use.
21289 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21291 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21293 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21295 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21298 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21300 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21301 * configure: Regenerated.
21303 * Makerules: Revert last change.
21304 * elf/Makefile: Likewise.
21306 2011-06-09 Roland McGrath <roland@hack.frob.com>
21308 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21309 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21310 (reloc-link): Likewise.
21312 2011-06-09 Ulrich Drepper <drepper@gmail.com>
21314 * elf/Makefile: Add rules to build pldd.
21315 * elf/pldd.c: New file.
21316 * elf/pldd-xx.c: New file.
21318 2011-06-07 Ulrich Drepper <drepper@gmail.com>
21320 * version.h: Update for 2.15 development version.
21322 2011-06-07 David S. Miller <davem@davemloft.net>
21324 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21327 elf_machine_lazy_rel): Likewise.
21328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21330 elf_machine_lazy_rel): Likewise.
21331 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21332 dl_hwcap via passed in argument.
21333 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21336 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21338 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21340 2011-06-06 Roland McGrath <roland@hack.frob.com>
21343 * manual/fdl-1.1.texi: New file, verbatim from:
21344 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21345 * manual/lgpl-2.1.texi: New file, verbatim from:
21346 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21347 * manual/Makefile (licenses): New variable, list those new file names.
21349 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21351 * manual/fdl.texi: File removed.
21352 * manual/lesser.texi: File removed.
21353 * manual/libc.texinfo (Copying, Documentation License):
21354 Use new @include file names, put @appendix directive before @include.
21356 2011-06-04 Jakub Jelinek <jakub@redhat.com>
21359 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21360 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21361 (mq_open): Add __NTH.
21363 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21366 Assume Intel Core i3/i5/i7 processor if AVX is available.
21368 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21373 2011-05-31 Andreas Schwab <schwab@redhat.com>
21375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21376 memory. Use alloca_account. Fix memory leak when retrying.
21378 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21380 * version.h (RELEASE): Bump for 2.14 release.
21381 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21383 * config.make.in (RANLIB): Remove entry.
21385 2011-05-30 Ulrich Drepper <drepper@gmail.com>
21387 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21388 (libc.pot): Work around missing support for .ksh extension in xgettext.
21391 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21392 if both request failed.
21393 (send_dg): In case of server errors clear resplen or *resplen2.
21396 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21397 when there are multiple maps.
21398 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21399 (_dl_fini): Remove test here.
21401 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21403 2011-05-29 Ulrich Drepper <drepper@gmail.com>
21406 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21407 bit from old_res_options.
21408 (gaih_inet): Likewise.
21411 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21414 * resolv/res_init.c (res_setoptions): Make the code more compact.
21417 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21421 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21423 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21426 * malloc/malloc.h: Declare malloc hook variables as volatile.
21428 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21432 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21433 raise in the comment.
21434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21438 2011-05-28 Ulrich Drepper <drepper@gmail.com>
21441 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21442 grow the buffers more if it already has to be sufficient.
21443 (build_wcs_upper_buffer): Likewise.
21444 * posix/regexec.c (check_matching): Likewise.
21445 (clean_state_log_if_needed): Likewise.
21446 (extend_buffers): Don't enlarge buffers beyond size of the input
21448 Patches mostly by Emil Wojak <emil@wojak.eu>.
21449 * posix/bug-regex32.c: New file.
21450 * posix/Makefile (tests): Add bug-regex32.
21452 * locale/findlocale.c (_nl_find_locale): Return right away if
21453 _nl_explode_name failed.
21454 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21456 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21458 * debug/xtrace.sh: Unify messages.
21459 * malloc/memusage.sh: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21463 time symbol from vDSO. Substitute with vsyscall if not available.
21464 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21468 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21470 Add sendmmsg and internal_sendmmsg.
21471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21475 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21476 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21479 2011-05-27 Ulrich Drepper <drepper@gmail.com>
21482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21483 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21489 * iconvdata/Makefile (tests): Add bug-iconv9.
21490 * iconvdata/bug-iconv9.c: New file.
21492 2011-05-27 Andreas Schwab <schwab@redhat.com>
21495 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21497 2011-05-25 Jakub Jelinek <jakub@redhat.com>
21499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21500 (struct user_regs_struct): Change intcs field back to cs.
21502 2011-05-25 Ulrich Drepper <drepper@gmail.com>
21504 * po/ja.po: Update from translation team.
21506 2011-05-23 Ulrich Drepper <drepper@gmail.com>
21509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21512 2011-05-20 Andreas Schwab <schwab@redhat.com>
21514 * stdlib/longlong.h: Update from GCC.
21516 2011-05-23 Andreas Schwab <schwab@redhat.com>
21518 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21520 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21521 Add parameter name.
21522 (__sysconf): Pass it down.
21524 2011-05-22 Ulrich Drepper <drepper@gmail.com>
21527 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21530 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21531 add in in __libc_use_alloca calls. Adjust callers.
21532 (glob): Use malloc in some situations.
21534 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21535 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21538 2011-05-21 Ulrich Drepper <drepper@gmail.com>
21540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21541 and CLOCK_BOOTTIME_ALARM.
21544 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21547 * string/_strerror.c (__strerror_r): Print negative errors as signed
21551 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21552 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21553 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21555 * configure.in: Fix typo in redirection and correct removal of test
21556 files in two cases.
21559 * locale/setlocale.c (new_composite_name): Fix test to check for
21560 identical name of all categories.
21563 * libio/filedoalloc.c (local_isatty): New function.
21564 (_IO_file_doallocate): Use local_isatty.
21565 * stdio-common/perror.c (perror): In case a new stream is used
21566 forward the stream error.
21567 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21570 2011-05-20 Ulrich Drepper <drepper@gmail.com>
21573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21575 * include/alloca.h (extend_alloca_account): Define.
21578 * posix/regex.h: Fix comments with documentation of user-accessible
21579 fields after compilation and describe correct free'ing of pattern
21580 after re_compile_pattern.
21581 Patch by Reuben Thomas <rrt@sc3d.org>.
21583 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21585 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21586 and -mno-altivec to prevent the compiler from using Altivec and/or
21587 VSX instructions when the corresponding registers are not available.
21589 2011-05-19 Andreas Schwab <schwab@redhat.com>
21591 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21593 2011-05-19 Ulrich Drepper <drepper@gmail.com>
21595 * libio/freopen.c (freopen): Use __dup2, not dup2.
21596 * libio/freopen64.c (freopen64): Likewise.
21598 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21601 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21602 * math/Makefile (tests): Add test-powl.
21603 (CFLAGS-test-powl.c): Define.
21604 * math/test-powl.c: New file.
21606 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21608 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21610 2011-05-17 Ulrich Drepper <drepper@gmail.com>
21613 * iconvdata/gb18030.c: Update to GB18020-2005.
21615 2011-05-16 Ulrich Drepper <drepper@gmail.com>
21617 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21618 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21619 Patch by Aharon Robbins <arnold@skeeve.com>.
21622 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21626 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21627 through underflows.
21630 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21631 point to strings before performing equality test for error_one_per_line
21635 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21639 (struct user_fpregs_struct): Avoid __uint*_t types.
21642 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21643 symbol info. Use it instead of calling _dl_addr locally.
21644 (lock_and_info): New function.
21645 (tr_freehook): Call lock_and_info and pass symbol info as additional
21646 parameter to tr_where.
21647 (tr_mallochook): Likewise.
21648 (tr_reallochook): Likewise.
21649 (tr_memalignhook): Likewise.
21651 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21652 used and couldn't be at all thread-safe.
21654 2011-05-15 Ulrich Drepper <drepper@gmail.com>
21656 * libio/freopen.c (freopen): Don't close old file descriptor
21657 before the new one is opened. Instead dup the new file descriptor
21658 to the old one after the new stream is created.
21659 * libio/freopen64.c (freopen64): Likewise.
21660 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21661 * libio/fileops.c (_IO_new_file_close_it): Handle new
21662 _IO_FLAGS2_NOCLOSE flag.
21663 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21664 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21665 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21666 _IO_FLAGS2_NOCLOSE flag.
21667 * include/unistd.h: Add hidden_proto for dup3.
21668 Define __have_dup3.
21669 * io/dup3.c: Define hidden symbol.
21670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21673 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21674 when an incomplete long option is used.
21675 * posix/tst-getopt_long1.c: New file.
21676 * posix/Makefile (tests): Add tst-getopt_long1.
21679 * scripts/config.guess: Update from autoconf-2.68.
21680 * scripts/config.sub: Likewise.
21683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21685 (has_cpuclock): ...this. New function.
21686 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21687 macro here based on has_cpuclock code.
21690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21691 First byte (not low byte) is now always NUL.
21692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21695 Use non-cancelable interfaces.
21698 * locale/iso-639.def: Add entry for Sorani.
21701 * include/stdlib.h: Move include protection to the right place.
21702 Define abort_msg_s. Declare __abort_msg with it.
21703 * stdlib/abort.c (__abort_msg): Adjust type.
21704 * assert/assert.c (__assert_fail_base): New function. Majority
21705 of code from __assert_fail. Allocate memory for __abort_msg with
21707 (__assert_fail): Now call __assert_fail_base.
21708 * assert/assert-perr.c: Remove bulk of implementation. Use
21709 __assert_fail_base.
21710 * include/assert.hL Declare __assert_fail_base.
21711 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21713 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21715 2011-05-14 Ulrich Drepper <drepper@gmail.com>
21719 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21720 until all modules are registered in the DTV.
21721 * elf/Makefile: Add rules to build and run tst-tls19.
21722 * elf/tst-tls19.c: New file.
21723 * elf/tst-tls19mod1.c: New file.
21724 * elf/tst-tls19mod2.c: New file.
21725 * elf/tst-tls19mod3.c: New file.
21726 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21729 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21733 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21734 two-byte sequence errors.
21735 * iconvdata/Makefile (tests): Add bug-iconv8.
21736 * iconvdata/bug-iconv8.c: New file.
21739 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21742 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21745 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21746 (dummy_getcfa): New function.
21747 (init): Get _Unwind_GetCFA address, use dummy if not found.
21748 (backtrace_helper): In recursion check, also check whether CFA changes.
21749 (__backtrace): Completely initialize arg.
21751 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21752 storing incomplete byte sequence in state object. Avoid testing for
21753 guaranteed too small input if we know there is enough data available.
21755 2011-05-11 Andreas Schwab <schwab@redhat.com>
21757 * Makeconfig (+link-pie): Indent.
21758 * Rules (binaries-pie): Define if $(have-fpie) and
21760 (binaries-shared): Also filter out $(binaries-pie).
21761 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21762 * nscd/Makefile (others-pie): Add nscd.
21763 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21764 ($(objpfx)nscd): Remove command override.
21765 * login/Makefile (others-pie): Add pt_chown.
21766 ($(objpfx)pt_chown): Remove command override.
21767 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21768 remove command overrides.
21770 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21772 * libio/tst_putwc.c: Fix error messages.
21775 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21776 currently writing and seek to current position when not.
21777 * libio/Makefile (tests): Add bug-fclose1.
21778 * libio/bug-fclose1.c: New file.
21780 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21783 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21784 don't set DF_1_NODELETE here.
21785 (do_lookup_x): When entering new entry test for copy relocation
21786 and if necessary set DF_1_NODELETE flag.
21787 * elf/tst-unique4.cc: New file.
21788 * elf/tst-unique4.h: New file.
21789 * elf/tst-unique4lib.cc: New file.
21790 * elf/Makefile: Add rules to build and run tst-unique4.
21791 Patch by Piotr Bury <pbury@goahead.com>.
21793 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21796 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21799 * misc/mntent_r.c (addmntent): Flush the stream after the output
21802 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21803 (is_trusted_path_normalize): Skip initial colon. Append slash
21804 to empty buffer. Duplicate is_trusted_path code but allow
21805 constructed patch to be prefix.
21806 (is_dst): Allow $ORIGIN followed by /.
21807 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21808 Correct testing of result of is_trusted_path_normalize
21809 (decompose_rpath): Fix warning.
21811 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21814 * grp/initgroups.c (internal_getgrouplist): When we found the service
21815 list through the initgroups entry in nsswitch.conf do not always
21816 continue on a successful lookup. Don't always use the
21817 __nss_group_database value if it is set.
21818 * nss/nsswitch.conf (initgroups): Change action for successful db
21819 lookup to continue for compatibility.
21821 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21824 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21826 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21828 * iconvdata/tst-tables.sh: Likewise.
21829 * iconvdata/cp770.c: New file.
21830 * iconvdata/cp771.c: New file.
21831 * iconvdata/cp772.c: New file.
21832 * iconvdata/cp773.c: New file.
21833 * iconvdata/cp774.c: New file.
21834 * iconvdata/testdata/CP770: New file.
21835 * iconvdata/testdata/CP770..UTF8: New file.
21836 * iconvdata/testdata/CP771: New file.
21837 * iconvdata/testdata/CP771..UTF8: New file.
21838 * iconvdata/testdata/CP772: New file.
21839 * iconvdata/testdata/CP772..UTF8: New file.
21840 * iconvdata/testdata/CP773: New file.
21841 * iconvdata/testdata/CP773..UTF8: New file.
21842 * iconvdata/testdata/CP774: New file.
21843 * iconvdata/testdata/CP774..UTF8: New file.
21845 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21847 * iconvdata/gen-8bit-gap.sh: Likewise.
21848 * iconvdata/gen-8bit.sh: Likewise.
21850 * locale/iso-639.def: Add ary entry.
21853 * locale/C-translit.h.in: Add U20A1 transliteration.
21856 * locale/iso-639.def: Add wae entry.
21857 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21860 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21864 * locale/C-translit.h.in: Add entry for U20B9.
21865 Patch by pravin.d.s@gmail.com.
21867 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21870 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21871 ENAMETOOLONG use generic getcwd.
21872 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21873 in rtld. Use *stat64.
21874 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21875 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21876 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21877 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21878 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21879 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21880 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21881 __fstatat64 macros.
21882 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21883 * dirent/rewinddir.c: Add libc_hidden_def.
21884 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21885 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21887 * include/dirent.h (__alloc_dir): Add flags parameter.
21888 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21889 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21891 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21892 from fdopendir if O_CLOEXEC is already set.
21894 2011-03-15 Alan Modra <amodra@gmail.com>
21896 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21897 l_tls_firstbyte_offset non-zero. Save padding offset in
21898 l_tls_firstbyte_offset for later use.
21899 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21900 freeing static tls block.
21902 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21904 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21905 where #ifdef was intended. The intent is to prevent ARG_MAX from
21906 being defined by the kernel headers.
21908 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21911 * resolv/resolv.h: Define RES_NOTLDQUERY.
21912 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21913 no-tld-query and set RES_NOTLDQUERY.
21914 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21915 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21916 modern BIND to search name as TLD unless forbidden.
21918 2011-05-07 Petr Baudis <pasky@suse.cz>
21919 Ulrich Drepper <drepper@gmail.com>
21922 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21923 (is_trusted_path): ...to here.
21924 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21925 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21926 using is_trusted_path_normalize() in setuid scripts.
21928 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21931 __BEGIN/__END_DECLS.
21933 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21936 NSS_STATUS_NOTFOUND if no record was found.
21938 2011-05-05 Andreas Schwab <schwab@redhat.com>
21940 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21941 (headers-not-in-tirpc): Remove rpc/netdb.h
21942 * resolv/netdb.h: Revert last change.
21944 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21946 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21947 circular dependency between libgcc.a and libc.a.
21949 2011-05-05 Andreas Schwab <schwab@redhat.com>
21951 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21952 * nis/Makefile: Don't install rpcsvc/*.
21953 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21954 instead of <rpc/types.h>.
21955 (MAXHOSTNAMELEN): Define.
21957 2011-05-03 Andreas Schwab <schwab@redhat.com>
21959 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21961 2011-04-28 Maciej Babinski <mbabinski@google.com>
21964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21965 gethostbyname4_r when IPv6 results are possible.
21967 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21970 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21971 _PC_PIPE_BUF handling.
21973 2011-04-30 Bruno Haible <bruno@clisp.org>
21976 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21977 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21979 * inet/getnameinfo.c (getnameinfo): Likewise.
21981 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21983 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21984 to groups setting in database lookup.
21985 * nss/nsswitch.conf: Add initgroups entry.
21987 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21990 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21992 Patch by Eric Blake <eblake@redhat.com>.
21994 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21996 * sunrpc/Makefile (need-export-routines): Add svc_run.
21997 (routines): Remove svc_run.
21998 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21999 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22000 * sunrpc/svc_run.c (svc_run): Likewise.
22001 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22003 2011-04-21 Ulrich Drepper <drepper@gmail.com>
22005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22006 problem in reallocation in last patch.
22008 2011-04-20 Ulrich Drepper <drepper@gmail.com>
22010 * sunrpc/Makefile: Move inclusion of Rules.
22012 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22014 * nss/nss_files/files-initgroups.c: New file.
22015 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22016 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22017 _nss_files_initgroups_dyn.
22019 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22021 * elf/elf.h (R_ARM_IRELATIVE): Define.
22023 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22025 * po/ru.po: Update from translation team.
22027 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22029 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22032 2011-02-06 Mike Frysinger <vapier@gentoo.org>
22035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22036 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22041 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22049 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22054 * stdlib/bug-getcontext.c: New file.
22055 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22057 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22059 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22060 instructions into .machine "z9-109".
22061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22064 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22066 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22067 between environment variables and auxiliary vector.
22069 2011-04-16 Ulrich Drepper <drepper@gmail.com>
22071 * Makefile: Add rules to build linkobj/libc.so.
22072 * include/libc-symbols.h: Define libc_hidden_nolink.
22073 * include/rpc/auth.h: Mark functions which are to be hidden.
22074 * include/rpc/auth_des.h: Likewise.
22075 * include/rpc/auth_unix.h: Likewise.
22076 * include/rpc/clnt.h: Likewise.
22077 * include/rpc/des_crypt.h: Likewise.
22078 * include/rpc/key_prot.h: Likewise.
22079 * include/rpc/pmap_clnt.h: Likewise.
22080 * include/rpc/pmap_prot.h: Likewise.
22081 * include/rpc/pmap_rmt.h: Likewise.
22082 * include/rpc/rpc_msg.h: Likewise.
22083 * include/rpc/svc.h: Likewise.
22084 * include/rpc/svc_auth.h: Likewise.
22085 * include/rpc/xdr.h: Likewise.
22086 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22087 * nss/Makefile: Likewise.
22088 * sunrpc/Makefile: Don't install headers. Build library with normal
22089 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22090 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22091 for the compat linking library. Remove use of INTDEF/INTUSE.
22092 * sunrpc/auth_none.c: Likewise.
22093 * sunrpc/auth_unix.c: Likewise.
22094 * sunrpc/authdes_prot.c: Likewise.
22095 * sunrpc/authuxprot.c: Likewise.
22096 * sunrpc/clnt_gen.c: Likewise.
22097 * sunrpc/clnt_perr.c: Likewise.
22098 * sunrpc/clnt_raw.c: Likewise.
22099 * sunrpc/clnt_simp.c: Likewise.
22100 * sunrpc/clnt_tcp.c: Likewise.
22101 * sunrpc/clnt_udp.c: Likewise.
22102 * sunrpc/clnt_unix.c: Likewise.
22103 * sunrpc/des_crypt.c: Likewise.
22104 * sunrpc/des_soft.c: Likewise.
22105 * sunrpc/get_myaddr.c: Likewise.
22106 * sunrpc/key_call.c: Likewise.
22107 * sunrpc/key_prot.c: Likewise.
22108 * sunrpc/netname.c: Likewise.
22109 * sunrpc/pm_getmaps.c: Likewise.
22110 * sunrpc/pm_getport.c: Likewise.
22111 * sunrpc/pmap_clnt.c: Likewise.
22112 * sunrpc/pmap_prot.c: Likewise.
22113 * sunrpc/pmap_prot2.c: Likewise.
22114 * sunrpc/pmap_rmt.c: Likewise.
22115 * sunrpc/publickey.c: Likewise.
22116 * sunrpc/rpc_cmsg.c: Likewise.
22117 * sunrpc/rpc_common.c: Likewise.
22118 * sunrpc/rpc_dtable.c: Likewise.
22119 * sunrpc/rpc_prot.c: Likewise.
22120 * sunrpc/rpc_thread.c: Likewise.
22121 * sunrpc/rtime.c: Likewise.
22122 * sunrpc/svc.c: Likewise.
22123 * sunrpc/svc_auth.c: Likewise.
22124 * sunrpc/svc_authux.c: Likewise.
22125 * sunrpc/svc_raw.c: Likewise.
22126 * sunrpc/svc_run.c: Likewise.
22127 * sunrpc/svc_simple.c: Likewise.
22128 * sunrpc/svc_tcp.c: Likewise.
22129 * sunrpc/svc_udp.c: Likewise.
22130 * sunrpc/svc_unix.c: Likewise.
22131 * sunrpc/svcauth_des.c: Likewise.
22132 * sunrpc/xcrypt.c: Likewise.
22133 * sunrpc/xdr.c: Likewise.
22134 * sunrpc/xdr_array.c: Likewise.
22135 * sunrpc/xdr_float.c: Likewise.
22136 * sunrpc/xdr_intXX_t.c: Likewise.
22137 * sunrpc/xdr_mem.c: Likewise.
22138 * sunrpc/xdr_rec.c: Likewise.
22139 * sunrpc/xdr_ref.c: Likewise.
22140 * sunrpc/xdr_sizeof.c: Likewise.
22141 * sunrpc/xdr_stdio.c: Likewise.
22143 2011-04-10 Ulrich Drepper <drepper@gmail.com>
22146 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22147 * sysdeps/ia64/dl-tls.h: Likewise.
22148 * sysdeps/powerpc/dl-tls.h: Likewise.
22149 * sysdeps/s390/dl-tls.h: Likewise.
22150 * sysdeps/sh/dl-tls.h: Likewise.
22151 * sysdeps/sparc/dl-tls.h: Likewise.
22152 * sysdeps/x86_64/dl-tls.h: Likewise.
22153 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22155 2011-03-14 Andreas Schwab <schwab@redhat.com>
22157 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22158 rpath element also skip the following colon.
22159 (expand_dynamic_string_token): Add is_path parameter and pass
22160 down to DL_DST_REQUIRED and _dl_dst_substitute.
22161 (decompose_rpath): Call expand_dynamic_string_token with
22162 non-zero is_path. Ignore empty rpaths.
22163 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22166 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22171 2011-04-09 Ulrich Drepper <drepper@gmail.com>
22174 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22175 Patch by Filipe David Manana <fdmanana@apache.org>.
22177 2011-04-07 Andreas Schwab <schwab@redhat.com>
22179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22180 Maintain aligned stack.
22181 (CHECK_RSP): Remove unused macro.
22183 2011-04-03 Ulrich Drepper <drepper@gmail.com>
22185 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22188 2011-04-02 Ulrich Drepper <drepper@gmail.com>
22190 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22192 * include/features.h: Mention __USE_XOPEN2K8 in comment.
22194 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22197 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22198 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22199 * sysdeps/x86_64/memmove.c: New file.
22200 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22201 (memcpy): Renamed to ...
22202 (__new_memcpy): This.
22203 (memcpy): Provide GLIBC_2_14 memcpy.
22204 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22205 (memcpy): Provide GLIBC_2_2_5 memcpy.
22207 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22210 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22212 2011-03-30 Andreas Schwab <schwab@redhat.com>
22214 * misc/syncfs.c: New file.
22215 * misc/Makefile (routines): Add syncfs.
22216 * posix/unistd.h: Declare syncfs.
22217 * sysdeps/unix/syscalls.list: Add syncfs.
22219 2011-04-01 Andreas Schwab <schwab@redhat.com>
22221 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22231 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22241 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22242 sync_file_range.c with -fexceptions.
22243 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22244 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22245 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22246 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22247 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22250 sync_file_range as cancellation point
22251 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22252 now a wrapper around __call_sync_file_range with cancellation handling.
22253 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22254 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22255 function name to __call_sync_file_range.
22256 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22257 Add call_sync_file_range.
22259 2011-04-01 Andreas Schwab <schwab@redhat.com>
22261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22264 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22266 * iconv/iconv.h: Fix typo in comment.
22267 * io/fcntl.h: Likewise.
22268 * libio/stdio.h: Likewise.
22269 * posix/spawn.h: Likewise.
22270 * posix/unistd.h: Likewise.
22271 * stdlib/stdlib.h: Likewise.
22272 * time/time.h: Likewise.
22273 * wcsmbs/wchar.h: Likewise.
22275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22276 open_by_handle): Add.
22277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22278 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22279 Augment a few comments.
22280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22285 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22288 * io/fcntl.h (AT_EMPTY_PATH): Define.
22290 2011-03-30 Ulrich Drepper <drepper@gmail.com>
22292 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22293 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22294 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22296 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
22297 * Versions.def: Add GLIBC_2.14.
22298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22301 2011-03-22 Ulrich Drepper <drepper@gmail.com>
22303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22307 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22310 * string/test-strncmp.c (do_page_test): New function.
22311 (check2): Likewise.
22312 (test_main): Call check2.
22313 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22315 2011-03-20 Ulrich Drepper <drepper@gmail.com>
22318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22319 Handle cache information in CPU leaf 4.
22320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22322 2011-03-18 Ulrich Drepper <drepper@gmail.com>
22325 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22326 character representation.
22327 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22329 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22332 END(__isnan) to END(__isnanf) to match function entry point/label
22333 EALIGN(__isnanf,...).
22335 2011-03-10 Jakub Jelinek <jakub@redhat.com>
22337 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22339 2011-03-10 Ulrich Drepper <drepper@gmail.com>
22342 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22343 copy from the symbol referenced in the relocation to initialize the
22345 Patch by Piotr Bury <pbury@goahead.com>.
22346 * elf/Makefile: Add rules to build and tst-unique3.
22347 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22348 * elf/tst-unique3.cc: New file.
22349 * elf/tst-unique3.h: New file.
22350 * elf/tst-unique3lib.cc: New file.
22351 * elf/tst-unique3lib2.cc: New file.
22353 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22355 2011-03-10 Mike Frysinger <vapier@gentoo.org>
22357 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22358 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22361 2011-03-06 Ulrich Drepper <drepper@gmail.com>
22363 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22364 to-be-loaded object along a path to loader is ld.so.
22366 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22367 Ulrich Drepper <drepper@gmail.com>
22369 * sysdeps/x86_64/memset.S: After aligning destination, code
22370 branches to different locations depending on the value of
22371 misalignment, when multiarch is enabled. Fix this.
22373 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22375 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22376 Set _x86_64_preferred_memory_instruction for AMD processsors.
22377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22378 Set bit_Prefer_SSE_for_memop for AMD processors.
22380 2011-03-04 Ulrich Drepper <drepper@gmail.com>
22382 * libio/fmemopen.c (fmemopen): Optimize a bit.
22384 2011-03-03 Andreas Schwab <schwab@redhat.com>
22386 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22388 2011-03-03 Roland McGrath <roland@redhat.com>
22390 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22392 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22394 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22395 __bzero_ultra1 instead of __memset_ultra1.
22397 2011-02-23 Andreas Schwab <schwab@redhat.com>
22398 Ulrich Drepper <drepper@gmail.com>
22401 * include/link.h (struct link_map): Add l_orig_initfini.
22402 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22403 returning unsuccessfully.
22404 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22405 close of a file loaded at startup, restore the original l_initfini
22407 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22408 list, store the pointer.
22409 * elf/Makefile ($(objpfx)noload-mem): New rule.
22410 (noload-ENV): Define.
22411 (tests): Add $(objpfx)noload-mem.
22412 * elf/noload.c: Include <memcheck.h>.
22413 (main): Call mtrace. Close all opened handles.
22415 2011-02-17 Andreas Schwab <schwab@redhat.com>
22418 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22419 dependencies are missing.
22421 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22423 Fix __if_freereq crash: Unlike the generic version which uses free,
22425 * sysdeps/mach/hurd/ifreq.h: New file.
22427 2011-01-27 Petr Baudis <pasky@suse.cz>
22428 Ulrich Drepper <drepper@gmail.com>
22431 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22432 to extend_alloca().
22433 * stdio-common/bug23.c: New file.
22434 * stdio-common/Makefile (tests): Add bug23.
22436 2010-09-28 Andreas Schwab <schwab@redhat.com>
22437 Ulrich Drepper <drepper@gmail.com>
22440 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22441 before performing relro protection. At old place add assertion
22442 to make sure nothing changed.
22444 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22445 Glauber de Oliveira Costa <glommer@gmail.com>
22447 * elf/elf.h: Add new ARM TLS relocs.
22449 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22452 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22454 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22456 * sysdeps/wordsize-64/tst-writev.c: New file.
22458 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22460 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22461 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22462 insns in _dl_start to prevent a TOC reference before relocs are
22465 2011-02-15 Ulrich Drepper <drepper@gmail.com>
22468 * Makeconfig: Remove RANLIB definition.
22469 * Makerules: Don't use RANLIB.
22470 * aclocal.m4: Remove ranlib test.
22471 * configure.in: No need to check for ranlib.
22472 * elf/rtld-Rules: Don't use RANLIB.
22474 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22476 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22478 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22479 inclusion protection macro.
22481 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22482 SIGRTMIN and SIGRTMAX and print information in that case only when
22483 SIGRTMIN is defined.
22485 2011-02-11 Jakub Jelinek <jakub@redhat.com>
22487 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22488 arginfo fn returning -1.
22490 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22491 and thousands string is zero terminated.
22493 2011-02-03 Andreas Schwab <schwab@redhat.com>
22495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22496 sysdeps/unix/sysv/linux/bits/socket.h.
22498 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22500 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22501 (__CPU_COUNT): Remove old macros.
22502 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22503 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22504 (__CPU_ALLOC, __CPU_FREE): Add macros.
22505 (__sched_cpualloc, __sched_cpufree): Add declarations.
22507 2011-02-05 Ulrich Drepper <drepper@gmail.com>
22509 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22510 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22511 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22512 (readdhstai): Return value of addhstaiX call.
22513 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22514 (addgrbyX): Return value returned by cache_addgr.
22515 (readdgrbyname): Return value returned by addgrbyX.
22516 (readdgrbygid): Likewise.
22517 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22518 (addpwbyX): Return value returned by cache_addpw.
22519 (readdpwbyname): Return value returned by addhstbyX.
22520 (readdpwbyuid): Likewise.
22521 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22522 (addservbyX): Return value returned by cache_addserv.
22523 (readdservbyname): Return value returned by addservbyX:
22524 (readdservbyport): Likewise.
22525 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22526 (addhstbyX): Return value returned by cache_addhst.
22527 (readdhstbyname): Return value returned by addhstbyX.
22528 (readdhstbyaddr): Likewise.
22529 (readdhstbynamev6): Likewise.
22530 (readdhstbyaddrv6): Likewise.
22531 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22532 (readdinitgroups): Return value returned by addinitgroupsX.
22533 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22534 (prune_cache): Keep track of timeout value of re-added entries.
22535 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22536 * nscd/nscd.h: Adjust prototypes of readd* functions.
22538 2011-02-04 Roland McGrath <roland@redhat.com>
22540 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22541 (nis_stats): Likewise.
22542 * nis/nis_modify.c (nis_modify): Likewise.
22543 * nis/nis_remove.c (nis_remove): Likewise.
22544 * nis/nis_add.c (nis_add): Likewise.
22546 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22548 * posix/fnmatch_loop.c: Add some consts.
22550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22552 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22555 * config.make.in (config-cflags-novzeroupper): Define.
22556 * configure.in: Substitute libc_cv_cc_novzeroupper.
22557 * elf/Makefile (AVX-CFLAGS): Define.
22558 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22559 (CFLAGS-tst-auditmod4a.c): Likewise.
22560 (CFLAGS-tst-auditmod4b.c): Likewise.
22561 (CFLAGS-tst-auditmod6b.c): Likewise.
22562 (CFLAGS-tst-auditmod6c.c): Likewise.
22563 (CFLAGS-tst-auditmod7b.c): Likewise.
22564 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22566 2011-02-02 Ulrich Drepper <drepper@gmail.com>
22568 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22569 function to the callback.
22570 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22572 2011-02-02 Andreas Schwab <schwab@redhat.com>
22574 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22577 2011-01-19 Ulrich Drepper <drepper@gmail.com>
22580 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22582 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22584 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22587 * elf/Makefile: Add rules to build and run new test.
22588 * elf/tst-initorder.c: New file.
22589 * elf/tst-initorder.exp: New file.
22590 * elf/tst-initordera1.c: New file.
22591 * elf/tst-initordera2.c: New file.
22592 * elf/tst-initordera3.c: New file.
22593 * elf/tst-initordera4.c: New file.
22594 * elf/tst-initorderb1.c: New file.
22595 * elf/tst-initorderb2.c: New file.
22596 * elf/tst-order-a1.c: New file.
22597 * elf/tst-order-a2.c: New file.
22598 * elf/tst-order-a3.c: New file.
22599 * elf/tst-order-a4.c: New file.
22600 * elf/tst-order-b1.c: New file.
22601 * elf/tst-order-b2.c: New file.
22602 * elf/tst-order-main.c: New file.
22603 New test case by George Gensure <werkt0@gmail.com>.
22605 2010-10-01 Andreas Schwab <schwab@redhat.com>
22607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22608 decoding ACE if AI_CANONIDN.
22610 2011-01-18 Ulrich Drepper <drepper@gmail.com>
22612 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22614 2011-01-17 Ulrich Drepper <drepper@gmail.com>
22616 * version.h (RELEASE): Bump for 2.13 release.
22617 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22619 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22630 * posix/getconf.c: Update copyright year.
22631 * catgets/gencat.c: Likewise.
22632 * csu/version.c: Likewise.
22633 * debug/catchsegv.sh: Likewise.
22634 * debug/xtrace.sh: Likewise.
22635 * elf/ldconfig.c: Likewise.
22636 * elf/ldd.bash.in: Likewise.
22637 * elf/sprof.c (print_version): Likewise.
22638 * iconv/iconv_prog.c: Likewise.
22639 * iconv/iconvconfig.c: Likewise.
22640 * locale/programs/locale.c: Likewise.
22641 * locale/programs/localedef.c: Likewise.
22642 * malloc/memusage.sh: Likewise.
22643 * malloc/mtrace.pl: Likewise.
22644 * nscd/nscd.c (print_version): Likewise.
22645 * nss/getent.c: Likewise.
22647 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22648 PF_CAIF, and PF_ALG.
22649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22651 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22653 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22654 (modules-names): Use them.
22655 (ifunc-test-modules, ifunc-pie-tests): Define.
22656 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22657 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22658 (test-extras): Likewise.
22659 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22660 $(compile-command.c).
22661 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22662 (all-built-dso): Define.
22663 (check-textrel.out, check-execstack.out): Depend on it.
22665 * configure.in: Don't override --enable-multi-arch.
22667 2011-01-15 Ulrich Drepper <drepper@gmail.com>
22670 * nscd/hstcache.c (tryagain): Define.
22671 (cache_addhst): Return tryagain not notfound for temporary errors.
22672 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22675 2011-01-14 Ulrich Drepper <drepper@gmail.com>
22678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22679 to make the syscall.
22680 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22683 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22684 and fall back to matching as normal character if the string ends before
22685 the matching ']' is found. This is what POSIX requires.
22686 * posix/testfnm.c: Adjust test result.
22687 * posix/globtest.sh: Adjust test result. Add new test.
22688 * posix/tst-fnmatch.input: Likewise.
22689 * posix/tst-fnmatch2.c: Add new test.
22691 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22693 * elf/Makefile (check-execstack): Revert last change. Depend on
22695 (check-execstack.h): New target.
22696 (generated): Add check-execstack.h.
22697 * elf/check-execstack.c: Include "check-execstack.h".
22698 (main): Revert last change.
22699 (handle_file): Return zero if GNU_STACK is absent and
22700 DEFAULT_STACK_PERMS doesn't include PF_X.
22702 2011-01-13 Ulrich Drepper <drepper@gmail.com>
22704 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22705 in child fails because the descriptor is already closed.
22706 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22707 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22708 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22711 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22715 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22716 temporary buffer used to handle multi lookups locally.
22717 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22719 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22721 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22724 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22726 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22727 alignment for SSE2.
22729 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22732 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22733 characters. When rounding increased number of integer digits recompute
22735 * stdio-common/tst-grouping.c: New file.
22736 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22738 2011-01-09 Ulrich Drepper <drepper@gmail.com>
22740 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22741 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22743 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22745 * bits/select.h: Likewise.
22747 2011-01-08 Ulrich Drepper <drepper@gmail.com>
22749 * po/ja.po: Update from translation team.
22751 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
22754 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22755 implementation just like for lxstat, fxstatat, et al.
22757 2010-12-27 Jim Meyering <meyering@redhat.com>
22760 * posix/regexec.c (build_trtable): Return failure indication upon
22761 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22763 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22766 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22767 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22772 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22775 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22776 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22778 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22780 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22781 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22782 script has SORT_BY_INIT_PRIORITY.
22783 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22784 NO_CTORS_DTORS_SECTIONS is defined.
22785 * elf/soinit.c: Likewise.
22786 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22787 NO_CTORS_DTORS_SECTIONS is defined.
22788 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22789 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22790 * sysdeps/sh/init-first.c: Likewise.
22791 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22793 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22795 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22796 always use the slow path.
22798 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22800 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22801 similar rule which adds the sysdep directories to the header search in
22802 order to pick up the correct platform stackinfo.h.
22803 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22804 perform test if it is, otherwise return successfully without testing.
22805 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22806 DEFAULT_STACK_PERMS define in stackinfo.h.
22807 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22808 defined in stackinfo.h.
22809 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22810 DEFAULT_STACK_PERMS defined in stackinfo.h.
22811 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22812 * sysdeps/ia64/stackinfo.h: Likewise.
22813 * sysdeps/s390/stackinfo.h: Likewise.
22814 * sysdeps/sh/stackinfo.h: Likewise.
22815 * sysdeps/sparc/stackinfo.h: Likewise.
22816 * sysdeps/x86_64/stackinfo.h: Likewise.
22817 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22818 PF_X for powerpc64. Retain PF_X for powerpc32.
22820 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22822 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22824 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22825 GETDENTS_64BIT_ALIGNED.
22827 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22829 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22831 2010-12-10 Andreas Schwab <schwab@redhat.com>
22833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22837 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22839 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22840 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22842 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22845 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22848 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22850 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22852 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22854 * po/it.po: Update from translation team.
22856 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22861 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22863 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22865 2010-11-24 Andreas Schwab <schwab@redhat.com>
22867 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22869 (gaih_getanswer_slice): Likewise.
22871 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22875 2010-05-31 Petr Baudis <pasky@suse.cz>
22878 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22879 silently even in the chroot mode.
22881 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22884 last patch a bit. Pretty printing
22886 2010-05-31 Petr Baudis <pasky@suse.cz>
22889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22890 initialization of skip_initgroups_dyn.
22892 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22897 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22899 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22901 2010-11-11 Andreas Schwab <schwab@redhat.com>
22903 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22904 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22905 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22906 ($(objpfx)tst-fnmatch-mem): New rule.
22907 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22908 * posix/tst-fnmatch.c (main): Call mtrace.
22910 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22913 Support Intel processor model 6 and model 0x2c.
22915 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22920 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22923 * string/test-strncasecmp.c (check_result): New function.
22924 (do_one_test): Use it.
22925 (check1): New function.
22926 (test_main): Use it.
22927 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22928 Support strcasecmp and strncasecmp.
22930 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22933 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22936 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22938 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22942 * sysdeps/x86_64/multiarch/bzero.S: New file.
22943 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22944 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22945 * sysdeps/x86_64/multiarch/memset.S: New file.
22946 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22948 Set bit_Prefer_SSE_for_memop for Intel processors.
22949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22951 (index_Prefer_SSE_for_memop): Define.
22952 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22954 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22956 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22957 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22959 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22963 (__x86_64_raw_data_cache_size_half): Likewise.
22964 (__x86_64_raw_shared_cache_size): Likewise.
22965 (__x86_64_raw_shared_cache_size_half): Likewise.
22967 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22968 (__x86_64_raw_data_cache_size_half): Likewise.
22969 (__x86_64_raw_shared_cache_size): Likewise.
22970 (__x86_64_raw_shared_cache_size_half): Likewise.
22971 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22972 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22973 and __x86_64_raw_shared_cache_size_half. Round
22974 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22975 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22976 to multiple of 256 bytes.
22978 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22982 of inacessible symlinks. Verify result of symlink before returning it.
22983 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22984 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22986 2010-10-28 Erich Ritz <erichritz@gmail.com>
22988 * math/math.h (isinf): Fix typo in comment.
22990 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22992 * po/da.po: Update from translation team.
22994 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22996 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22997 is added to the list.
22999 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23000 Ulrich Drepper <drepper@gmail.com>
23002 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23003 the global list here. Move code to...
23004 (_dl_add_to_namespace_list): ...here. New function.
23005 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23006 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23007 * elf/dl-load.c (lose): Don't remove the element from the list.
23008 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23009 (_dl_map_object): Likewise.
23011 2010-10-25 Ulrich Drepper <drepper@gmail.com>
23014 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23015 into all bytes of SSE register.
23016 Patch by Richard Li <richardpku@gmail.com>.
23018 2010-10-24 Ulrich Drepper <drepper@gmail.com>
23021 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23024 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23026 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23027 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23034 2010-10-22 Andreas Schwab <schwab@redhat.com>
23036 * include/dlfcn.h (__RTLD_SECURE): Define.
23037 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23038 mode & __RTLD_SECURE instead.
23039 (open_path): Rename preloaded parameter to secure.
23040 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23041 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23042 * elf/dl-deps.c (openaux): Likewise.
23043 * elf/rtld.c (struct map_args): Remove is_preloaded.
23044 (map_doit): Don't use it.
23045 (dl_main): Likewise.
23046 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23047 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23049 2010-09-09 Andreas Schwab <schwab@redhat.com>
23051 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23052 (sysd-rules-targets): Remove duplicates.
23053 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23054 rtld-%.$o dependency.
23056 2010-10-18 Andreas Schwab <schwab@redhat.com>
23058 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23059 _dl_map_object do it.
23061 2010-10-19 Ulrich Drepper <drepper@gmail.com>
23063 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23064 fast fma builtins, define the macros in the C99 standard.
23065 (FP_FAST_FMAF): Likewise.
23066 (FP_FAST_FMAL): Likewise.
23067 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23069 * bits/mathdef.h: Update copyright year.
23070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23072 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23074 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23075 builtins, define the macros in the C99 standard.
23076 (FP_FAST_FMAF): Likewise.
23077 (FP_FAST_FMAL): Likewise.
23078 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23080 (FP_FAST_FMAF): Likewise.
23082 2010-10-15 Jakub Jelinek <jakub@redhat.com>
23085 * math/libm-test.inc (fma_test): Some new testcases.
23086 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23088 y and infinite z. Do multiplication by C already in long double.
23089 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23091 y and infinite z. Do bitwise or of inexact bit into u.d.
23092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23093 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23094 * sysdeps/i386/fpu/s_fma.S: Removed.
23095 * sysdeps/i386/fpu/s_fmal.S: Removed.
23097 2010-10-16 Jakub Jelinek <jakub@redhat.com>
23100 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23102 computation is not scheduled after fetestexcept. Fix value
23103 of minimum denormal long double.
23105 2010-10-14 Jakub Jelinek <jakub@redhat.com>
23108 * math/libm-test.inc (fma_test): Add some more tests.
23109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23112 2010-10-15 Andreas Schwab <schwab@redhat.com>
23114 * scripts/data/localplt-s390-linux-gnu.data: New file.
23115 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23117 2010-10-13 Jakub Jelinek <jakub@redhat.com>
23120 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23121 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23123 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23125 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23127 if one of x and y is very large and the other is subnormal.
23128 * sysdeps/s390/fpu/s_fmaf.c: New file.
23129 * sysdeps/s390/fpu/s_fma.c: New file.
23130 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23131 * sysdeps/powerpc/fpu/s_fma.S: New file.
23132 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23133 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23134 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23136 2010-10-12 Jakub Jelinek <jakub@redhat.com>
23139 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23142 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23143 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23144 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23145 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23149 2010-10-12 Ulrich Drepper <drepper@redhat.com>
23152 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23153 * posix/bug-regex31.input: Add test case.
23155 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23157 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23158 * posix/bug-regex31.input: New file.
23161 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23162 (parse_sub_exp): Fix last change, use postorder.
23164 * posix/bug-regex31.c: New file.
23165 * posix/Makefile: Add rules to build and run bug-regex31.
23167 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23170 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23173 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23174 to have entries in sys_siglist.
23177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23180 2010-10-07 Jakub Jelinek <jakub@redhat.com>
23183 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23184 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23186 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23188 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23189 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23190 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23191 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23192 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23193 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23195 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23196 * math/ftestexcept.c (fetestexcept): Likewise.
23197 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23198 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23199 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23200 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23201 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23202 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23205 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23208 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23211 2010-10-06 Ulrich Drepper <drepper@gmail.com>
23213 * string/bug-strstr1.c: New file.
23214 * string/Makefile: Add rules to build and run bug-strstr1.
23216 2010-10-05 Eric Blake <eblake@redhat.com>
23219 * string/str-two-way.h (two_way_long_needle): Always clear memory
23220 when skipping input due to the shift table.
23222 2010-10-03 Ulrich Drepper <drepper@gmail.com>
23225 * malloc/mcheck.c: Handle large requests.
23228 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23229 for strncmp and strncasecmp.
23230 * string/stratcliff.c: Add tests for strcmp and strncmp.
23231 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23233 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23235 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23238 2010-09-30 Andreas Jaeger <aj@suse.de>
23240 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23241 (CGROUP_SUPER_MAGIC): Define.
23242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23243 Handle btrfs and cgroup file systems.
23244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23247 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
23249 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23250 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23252 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23255 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23256 trying to locate the ELF header.
23258 2010-09-27 Andreas Schwab <schwab@redhat.com>
23261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23262 Mask out sign-bit copies when constructing f_fsid.
23264 2010-09-24 Petr Baudis <pasky@suse.cz>
23266 * debug/stack_chk_fail_local.c: Add missing licence exception.
23267 * debug/warning-nop.c: Likewise.
23269 2010-09-15 Joseph Myers <joseph@codesourcery.com>
23271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23272 implementing getdents64 using getdents syscall, set d_type if
23273 __ASSUME_GETDENTS32_D_TYPE.
23275 2010-09-16 Andreas Schwab <schwab@redhat.com>
23277 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23278 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23280 2010-09-21 Ulrich Drepper <drepper@redhat.com>
23283 * posix/unistd.h: Undo change of feature selection for ftruncate from
23286 2010-09-20 Ulrich Drepper <drepper@redhat.com>
23288 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23291 2010-09-20 Andreas Schwab <schwab@redhat.com>
23293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23297 2010-09-14 Andreas Schwab <schwab@redhat.com>
23299 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23300 variables after CHECK_SP call.
23301 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23303 2010-09-13 Andreas Schwab <schwab@redhat.com>
23304 Ulrich Drepper <drepper@redhat.com>
23306 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23307 re-relocationg ld.so.
23308 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23309 _dl_init_paths call.
23310 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23313 2010-09-14 Ulrich Drepper <drepper@redhat.com>
23315 * resolv/res_init.c (__res_vinit): Count the default server we added.
23317 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23318 Ulrich Drepper <drepper@redhat.com>
23321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23322 (____longjmp_chk): Use %ebx for saving value across system call.
23325 2010-09-06 Andreas Schwab <schwab@redhat.com>
23327 * manual/Makefile: Don't mix pattern rules with normal rules.
23329 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23331 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23333 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23334 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23336 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23340 2010-09-04 Ulrich Drepper <drepper@redhat.com>
23343 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23344 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23346 2010-09-02 Ulrich Drepper <drepper@redhat.com>
23348 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23349 * sysdeps/x86_64/addmul_1.S: Likewise.
23350 * sysdeps/x86_64/lshift.S: Likewise.
23351 * sysdeps/x86_64/mul_1.S: Likewise.
23352 * sysdeps/x86_64/rshift.S: Likewise.
23353 * sysdeps/x86_64/sub_n.S: Likewise.
23354 * sysdeps/x86_64/submul_1.S: Likewise.
23356 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23358 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23359 Define __sched_param instead of SCHED_* and sched_param when
23360 <bits/sched.h> is included with __need_schedparam defined.
23361 * bits/sched.h [__need_schedparam]
23362 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23363 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23364 (__defined_schedparam): Define to 1.
23365 (__sched_param): New structure, identical to sched_param.
23366 (__need_schedparam): Undefine.
23368 2010-08-31 Mike Frysinger <vapier@gentoo.org>
23370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23371 (epoll_create1): Declare.
23373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23375 2010-08-31 Andreas Schwab <schwab@redhat.com>
23378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23379 shifting retval into place.
23381 2010-09-01 Ulrich Drepper <drepper@redhat.com>
23383 * nis/rpcsvc/nis.h: Update copyright notice.
23384 * nis/rpcsvc/nis.x: Likewise.
23385 * nis/rpcsvc/nis_callback.h: Likewise.
23386 * nis/rpcsvc/nis_callback.x: Likewise.
23387 * nis/rpcsvc/nis_object.x: Likewise.
23388 * nis/rpcsvc/nis_tags.h: Likewise.
23389 * nis/rpcsvc/yp.h: Likewise.
23390 * nis/rpcsvc/yp.x: Likewise.
23391 * nis/rpcsvc/ypupd.h: Likewise.
23392 * nis/yp_xdr.c: Likewise.
23393 * nis/ypupdate_xdr.c: Likewise.
23395 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23396 mainly the body of pmap_getport. Add parameters to specify timeouts.
23397 (pmap_getport): Use __libc_rpc_getport.
23398 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23399 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23400 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23402 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23407 2010-08-27 Roland McGrath <roland@redhat.com>
23409 * sysdeps/i386/i686/multiarch/Makefile
23410 (CFLAGS-varshift.c): New variable.
23412 2010-08-27 Ulrich Drepper <drepper@redhat.com>
23414 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23415 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23419 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23421 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23423 * sysdeps/x86_64/strlen.S: Unroll the loop.
23424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23425 strlen-sse2 strlen-sse2-bsf.
23426 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23427 __strlen_no_bsf if bit_Slow_BSF is set.
23428 (__strlen_sse42): Removed.
23429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23430 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23432 2010-08-25 Roland McGrath <roland@redhat.com>
23434 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23435 * sysdeps/x86_64/multiarch/varshift.c: New file.
23436 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23437 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23438 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23441 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23444 strlen-sse2 strlen-sse2-bsf.
23445 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23446 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23447 (__strlen_sse2): Removed.
23448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23451 bit_Slow_BSF for Atom.
23452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23453 (index_Slow_BSF): Define.
23454 (HAS_SLOW_BSF): Define.
23456 2010-08-25 Ulrich Drepper <drepper@redhat.com>
23459 * resolv/res_init.c (__res_vinit): When no server address at all
23460 is given default to loopback.
23462 2010-08-24 Roland McGrath <roland@redhat.com>
23464 * configure.in: Remove config-name.h generation.
23465 * configure: Regenerated.
23466 * config-name.in: File removed.
23467 * scripts/config-uname.sh: New file.
23468 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23469 ($(objdir)config-name.h): New target.
23471 * sunrpc/rpc_parse.h: Avoid nested comment.
23473 2010-08-24 Richard Henderson <rth@redhat.com>
23474 Ulrich Drepper <drepper@redhat.com>
23475 H.J. Lu <hongjiu.lu@intel.com>
23477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23479 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23480 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23481 _mm_alignr_epi8 with _mm_loadu_si128.
23482 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23483 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23484 (__m128i_shift_right): Removed.
23485 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23486 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23487 * sysdeps/x86_64/multiarch/varshift.h: New file.
23488 * sysdeps/x86_64/multiarch/varshift.S: New file.
23490 2010-08-21 Mike Frysinger <vapier@gentoo.org>
23492 * configure.in: Move assembler checks to before sysdep dir checking.
23494 2010-08-20 Petr Baudis <pasky@suse.cz>
23496 * LICENSES: Sync the sunrpc license.
23498 2010-08-19 Ulrich Drepper <drepper@redhat.com>
23500 * sunrpc/auth_des.c: Update copyright notice once again.
23501 * sunrpc/auth_none.c: Likewise.
23502 * sunrpc/auth_unix.c: Likewise.
23503 * sunrpc/authdes_prot.c: Likewise.
23504 * sunrpc/authuxprot.c: Likewise.
23505 * sunrpc/bindrsvprt.c: Likewise.
23506 * sunrpc/clnt_gen.c: Likewise.
23507 * sunrpc/clnt_perr.c: Likewise.
23508 * sunrpc/clnt_raw.c: Likewise.
23509 * sunrpc/clnt_simp.c: Likewise.
23510 * sunrpc/clnt_tcp.c: Likewise.
23511 * sunrpc/clnt_udp.c: Likewise.
23512 * sunrpc/clnt_unix.c: Likewise.
23513 * sunrpc/des_crypt.c: Likewise.
23514 * sunrpc/des_soft.c: Likewise.
23515 * sunrpc/get_myaddr.c: Likewise.
23516 * sunrpc/getrpcport.c: Likewise.
23517 * sunrpc/key_call.c: Likewise.
23518 * sunrpc/key_prot.c: Likewise.
23519 * sunrpc/openchild.c: Likewise.
23520 * sunrpc/pm_getmaps.c: Likewise.
23521 * sunrpc/pm_getport.c: Likewise.
23522 * sunrpc/pmap_clnt.c: Likewise.
23523 * sunrpc/pmap_prot.c: Likewise.
23524 * sunrpc/pmap_prot2.c: Likewise.
23525 * sunrpc/pmap_rmt.c: Likewise.
23526 * sunrpc/rpc/auth.h: Likewise.
23527 * sunrpc/rpc/auth_unix.h: Likewise.
23528 * sunrpc/rpc/clnt.h: Likewise.
23529 * sunrpc/rpc/des_crypt.h: Likewise.
23530 * sunrpc/rpc/key_prot.h: Likewise.
23531 * sunrpc/rpc/netdb.h: Likewise.
23532 * sunrpc/rpc/pmap_clnt.h: Likewise.
23533 * sunrpc/rpc/pmap_prot.h: Likewise.
23534 * sunrpc/rpc/pmap_rmt.h: Likewise.
23535 * sunrpc/rpc/rpc.h: Likewise.
23536 * sunrpc/rpc/rpc_des.h: Likewise.
23537 * sunrpc/rpc/rpc_msg.h: Likewise.
23538 * sunrpc/rpc/svc.h: Likewise.
23539 * sunrpc/rpc/svc_auth.h: Likewise.
23540 * sunrpc/rpc/types.h: Likewise.
23541 * sunrpc/rpc/xdr.h: Likewise.
23542 * sunrpc/rpc_clntout.c: Likewise.
23543 * sunrpc/rpc_cmsg.c: Likewise.
23544 * sunrpc/rpc_common.c: Likewise.
23545 * sunrpc/rpc_cout.c: Likewise.
23546 * sunrpc/rpc_dtable.c: Likewise.
23547 * sunrpc/rpc_hout.c: Likewise.
23548 * sunrpc/rpc_main.c: Likewise.
23549 * sunrpc/rpc_parse.c: Likewise.
23550 * sunrpc/rpc_parse.h: Likewise.
23551 * sunrpc/rpc_prot.c: Likewise.
23552 * sunrpc/rpc_sample.c: Likewise.
23553 * sunrpc/rpc_scan.c: Likewise.
23554 * sunrpc/rpc_scan.h: Likewise.
23555 * sunrpc/rpc_svcout.c: Likewise.
23556 * sunrpc/rpc_tblout.c: Likewise.
23557 * sunrpc/rpc_util.c: Likewise.
23558 * sunrpc/rpc_util.h: Likewise.
23559 * sunrpc/rpcinfo.c: Likewise.
23560 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23561 * sunrpc/rpcsvc/key_prot.x: Likewise.
23562 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23563 * sunrpc/rpcsvc/mount.x: Likewise.
23564 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23565 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23566 * sunrpc/rpcsvc/rex.x: Likewise.
23567 * sunrpc/rpcsvc/rstat.x: Likewise.
23568 * sunrpc/rpcsvc/rusers.x: Likewise.
23569 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23570 * sunrpc/rpcsvc/spray.x: Likewise.
23571 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23572 * sunrpc/rtime.c: Likewise.
23573 * sunrpc/svc.c: Likewise.
23574 * sunrpc/svc_auth.c: Likewise.
23575 * sunrpc/svc_authux.c: Likewise.
23576 * sunrpc/svc_raw.c: Likewise.
23577 * sunrpc/svc_run.c: Likewise.
23578 * sunrpc/svc_simple.c: Likewise.
23579 * sunrpc/svc_tcp.c: Likewise.
23580 * sunrpc/svc_udp.c: Likewise.
23581 * sunrpc/svc_unix.c: Likewise.
23582 * sunrpc/svcauth_des.c: Likewise.
23583 * sunrpc/xcrypt.c: Likewise.
23584 * sunrpc/xdr.c: Likewise.
23585 * sunrpc/xdr_array.c: Likewise.
23586 * sunrpc/xdr_float.c: Likewise.
23587 * sunrpc/xdr_mem.c: Likewise.
23588 * sunrpc/xdr_rec.c: Likewise.
23589 * sunrpc/xdr_ref.c: Likewise.
23590 * sunrpc/xdr_sizeof.c: Likewise.
23591 * sunrpc/xdr_stdio.c: Likewise.
23593 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23596 2010-08-19 Andreas Schwab <schwab@redhat.com>
23598 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23600 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
23602 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23605 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23607 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23609 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23612 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23614 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23617 2010-07-26 Anton Blanchard <anton@samba.org>
23619 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23620 * malloc/arena.c (heap_trim): Likewise.
23622 2010-08-16 Ulrich Drepper <drepper@redhat.com>
23624 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23627 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23629 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23631 * sysdeps/i386/elf/Makefile: New file.
23633 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23635 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23636 from fanotify_init.
23637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23640 2010-08-15 Ulrich Drepper <drepper@redhat.com>
23642 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23644 * sysdeps/multiarch/strcmp.S: Likewise.
23646 2010-08-14 Ulrich Drepper <drepper@redhat.com>
23648 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23649 strncase_l-nonascii.
23650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23651 Add strncase_l-ssse3.
23652 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23653 * sysdeps/x86_64/strcmp.S: Likewise.
23654 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23655 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23656 * sysdeps/x86_64/strncase.S: New file.
23657 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23658 * sysdeps/x86_64/strncase_l.S: New file.
23659 * string/Makefile (strop-tests): Add strncasecmp.
23660 * string/test-strncasecmp.c: New file.
23662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23665 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23668 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23670 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23672 2010-08-12 Ulrich Drepper <drepper@redhat.com>
23674 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23678 2010-05-01 Alan Modra <amodra@gmail.com>
23680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23681 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23682 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23683 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23684 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23685 tidying. Don't tail-call __sigjmp_save for static lib.
23686 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23688 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23689 (CALL_MCOUNT): Add eh info, and nop after bl.
23690 (TAIL_CALL_SYSCALL_ERROR): New macro.
23691 (PSEUDO_RET): Use it.
23692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23693 Correct save location of integer regs and cr.
23694 (_dl_profile_resolve): Correct cr save location. Delete nops
23695 after bl when SHARED. Reduce cfi size a little by better
23696 placement of cfi directives.
23697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23698 make a stack frame. Instead use parm save area as a temp.
23699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23700 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23702 Don't make a stack frame for parent, use parm save area.
23703 Increase child stack frame to 112 bytes. Don't save unused reg,
23704 and adjust reg usage. Set up cfi on error recovery and
23705 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23707 (__makecontext): Add dummy nop after jump to exit.
23708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23709 Use correct parm save area and cr save, reduce stack frame.
23710 Correct cfi for possible PSEUDO_RET frame setup.
23711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23712 Branch to local label emitted by PSEUDO_RET rather than
23715 2010-08-12 Andreas Schwab <schwab@redhat.com>
23718 * locale/programs/locale.c (print_assignment): New function.
23719 (show_locale_vars): Use it.
23721 2010-08-11 Ulrich Drepper <drepper@redhat.com>
23723 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23725 (struct statfs64): Likewise.
23726 (_STATFS_F_FLAGS): Define.
23727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23729 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23730 (ST_VALID): Define locally.
23731 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23732 __statvfs_getflags, use the provided value.
23733 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23734 __ASSUME_STATFS_F_FLAGS.
23736 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23739 Add sys/fanotify.h.
23740 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23741 fanotify_mask for GLIBC_2.13.
23742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23743 fanotify_init and fanotify_mark.
23744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23745 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23747 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23749 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23750 prlimit64 for GLIBC_2.13.
23751 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23761 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23764 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23765 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23767 * nss/Makefile: Add rules to build and run tst-nss-test1.
23768 * shlib-versions: Add entry for libnss_test1.
23769 * nss/nss_test1.c: New file.
23770 * nss/tst-nss-test1.c: New file.
23772 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23773 (__nss_configure_lookup): Set appropriate entry in
23774 __nss_configure_lookup to true.
23775 * nss/nsswitch.h: Define enum with indeces of databases in
23776 databases and __nss_database_custom arrays. Declare
23777 __nss_database_custom.
23778 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23779 to avoid using nscd when custom rules are installed.
23780 * nss/getXXbyYY_r.c: Likewise.
23781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23783 * nss/nss_files/files-parse.c: Whitespace fixes.
23785 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23788 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23789 * posix/fnmatch_loop.c: Likewise.
23791 2010-07-17 Andi Kleen <ak@linux.intel.com>
23793 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23794 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23795 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23796 * Versions.def [GLIBC_2.13]: Add.
23798 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23801 Also fail if tpwd after pwuid call is NULL.
23803 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23805 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23806 when converting to ms.
23808 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23810 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23811 EOPNOTSUPP errors with ENOTTY.
23812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23813 EOPNOTSUPP errors with ENOTTY.
23815 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23818 Add strcasecmp_l-ssse3.
23819 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23821 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23825 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23827 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23829 * string/Makefile (strop-tests): Add strcasecmp.
23830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23831 strcasecmp_l-nonascii.
23832 (gen-as-const-headers): Add locale-defines.sym.
23833 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23834 * sysdeps/x86_64/strcasecmp.S: New file.
23835 * sysdeps/x86_64/strcasecmp_l.S: New file.
23836 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23837 * sysdeps/x86_64/locale-defines.sym: New file.
23838 * string/test-strcasecmp.c: New file.
23840 * string/test-strcasestr.c: Test both ends of the range of characters.
23841 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23843 2010-07-29 Roland McGrath <roland@redhat.com>
23846 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23848 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23850 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23853 2010-07-27 Andreas Schwab <schwab@redhat.com>
23855 * manual/memory.texi (Malloc Tunable Parameters): Document
23858 2010-07-26 Roland McGrath <roland@redhat.com>
23861 * configure.in (-fgnu89-inline check): Set and substitute
23862 gnu89_inline, not libc_cv_gnu89_inline.
23863 * configure: Regenerated.
23864 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23866 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23868 * string/test-strnlen.c: New file.
23869 * string/Makefile (strop-tests): Add strnlen.
23870 * string/tester.c (test_strnlen): Add a few more test cases.
23871 * string/tst-strlen.c: Better error reporting.
23873 * sysdeps/x86_64/strnlen.S: New file.
23875 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23878 lower-latency instructions.
23880 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23882 * string/test-strcasestr.c: New file.
23883 * string/test-strstr.c: New file.
23884 * string/Makefile (strop-tests): Add strstr and strcasestr.
23885 * string/str-two-way.h: Don't undefine MAX.
23886 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23888 2010-07-21 Andreas Schwab <schwab@redhat.com>
23890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23891 strcasestr-nonascii.
23892 (CFLAGS-strcasestr-nonascii.c): Define.
23893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23895 Remove unused attribute.
23897 2010-07-20 Roland McGrath <roland@redhat.com>
23899 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23900 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23901 ld.so.cache was broken. With it, there is no way to disable dsocaps
23902 like LD_HWCAP_MASK can disable hwcaps.
23904 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23906 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23908 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23910 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23911 call in strcasestr.
23912 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23913 __strcasestr_sse42_nonascii.
23914 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23915 strcasestr-nonascii.c.
23916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23918 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23925 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23930 2010-07-06 Andreas Schwab <schwab@redhat.com>
23933 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23936 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23939 _PC_PIPE_BUF using F_GETPIPE_SZ.
23941 2010-07-05 Roland McGrath <roland@redhat.com>
23943 * manual/arith.texi (Rounding Functions): Fix rint description
23944 implicit in round description.
23946 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23948 * elf/Makefile: Fix linking for a few tests to make recent linker
23951 2010-06-30 Andreas Schwab <schwab@redhat.com>
23953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23954 $(common-objpfx)libc_nonshared.a.
23956 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23958 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23959 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23960 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23962 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23963 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23965 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23980 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23981 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23982 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23983 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23984 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23985 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23986 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23987 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23988 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23989 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23990 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23991 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24007 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24009 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24010 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24011 * string/memmove.c (memmove): Renamed to ...
24012 (MEMMOVE): ...this. Default to memmove.
24013 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24014 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24017 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24018 mempcpy-ssse3-back memmove-ssse3-back.
24019 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24022 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24023 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24024 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24025 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24026 * sysdeps/x86_64/multiarch/memmove.c: New file.
24027 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24028 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24029 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24030 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24034 (index_Fast_Copy_Backward): Define.
24035 (HAS_ARCH_FEATURE): Define.
24036 (HAS_FAST_REP_STRING): Define.
24037 (HAS_FAST_COPY_BACKWARD): Define.
24039 2010-06-21 Andreas Schwab <schwab@redhat.com>
24041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24042 Restore proper fallback handling.
24044 2010-06-19 Ulrich Drepper <drepper@redhat.com>
24047 * posix/group_member.c (__group_member): Correct checking loop.
24049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24050 OOM in getpwuid_r correctly. Return error number when the caller
24051 should return, otherwise -1.
24052 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24053 call returning > 0 value.
24054 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24056 2010-06-07 Andreas Schwab <schwab@redhat.com>
24058 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24059 libc_nonshared.a from targets in modules-names.
24061 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24063 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24066 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
24068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24073 2010-06-02 Andreas Schwab <schwab@redhat.com>
24075 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24077 2010-06-14 Ulrich Drepper <drepper@redhat.com>
24079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24088 2010-06-14 Roland McGrath <roland@redhat.com>
24090 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24092 2010-06-07 Jakub Jelinek <jakub@redhat.com>
24094 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24095 __REDIRECT followed by __THROW.
24096 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24097 * posix/getopt.h (getopt): Likewise.
24099 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24101 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24102 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24103 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24105 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24106 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24108 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
24110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24112 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24116 Properly check family and model.
24118 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24122 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
24124 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24126 2010-05-21 Ulrich Drepper <drepper@redhat.com>
24128 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24131 2010-05-19 Andreas Schwab <schwab@redhat.com>
24133 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24136 2010-05-21 Andreas Schwab <schwab@redhat.com>
24138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24139 and internal_recvmmsg.
24140 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24143 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24145 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24149 2010-05-20 Andreas Schwab <schwab@redhat.com>
24151 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24153 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
24155 POWER7 optimizations.
24156 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24157 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24159 2010-05-19 Ulrich Drepper <drepper@redhat.com>
24161 * version.h: Update for 2.13 development version.
24163 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
24165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24166 exceptions. Return 0.
24168 2010-05-07 Roland McGrath <roland@redhat.com>
24170 * elf/ldconfig.c (main): Add a const.
24172 2010-05-06 Ulrich Drepper <drepper@redhat.com>
24174 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24175 (args_options): Add no-idn option.
24176 (ahosts_keys_int): Add idn_flags to ai_flags.
24177 (parse_option): Handle 'i' option to clear idn_flags.
24179 * malloc/malloc.c (_int_free): Possible race in the most recently
24180 added check. Only act on the data if no current modification
24183 See ChangeLog.17 for earlier changes.