1 2013-01-13 Mike Frysinger <vapier@gentoo.org>
3 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12 * manual/pattern.texi (glob_t): Document gl_flags.
15 2013-01-11 David S. Miller <davem@davemloft.net>
17 * math/Makefile: Recognize gmp-sysdep_routines.
18 * sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines
20 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32 sparc V9 rather than using V8 code.
33 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41 2013-01-11 Roland McGrath <roland@hack.frob.com>
43 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45 * configure: Regenerated.
47 2013-01-11 Joseph Myers <joseph@codesourcery.com>
49 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
52 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
53 [!__GLIBC_HAVE_LONG_LONG] case.
54 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55 condition to just #else.
56 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
62 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
63 #elif condition to just #else.
64 * sysdeps/unix/sysv/linux/sys/sysmacros.h
65 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
67 #elif condition to just #else.
69 2013-01-11 Steve Ellcey <sellcey@mips.com>
71 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72 (EF_MIPS_ARCH_64): Fix value.
73 (EF_MIPS_ARCH_32R2): New.
74 (EF_MIPS_ARCH_64R2): New.
76 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
78 * Makeconfig (+link-pie-before-libc): New.
79 (+link-pie-after-libc): Likewise.
80 (+link-pie-tests): Likewise.
81 (+link-pie): Rewritten.
82 (link-before-libc): Remove $(config-LDFLAGS).
83 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
84 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
85 (config-LDFLAGS): Renamed to ...
87 (rtld-tests-LDFLAGS): New macro.
88 (link-libc-rpath-link): Likewise.
89 (link-libc-tests-rpath-link): Likewise.
90 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
91 (link-libc): Prepand $(link-libc-rpath-link).
92 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
93 (test-program-prefix): New macro.
94 (test-via-rtld-prefix): Likewise.
95 (test-program-cmd): Likewise.
96 (host-test-program-cmd): Likewise.
97 * Makefile ($(common-objpfx)testrun.sh): Replace
98 $(run-program-prefix) with $(test-program-prefix).
99 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
101 ($(common-objpfx)shlib.lds): Likewise.
102 (build-module-helper): Likewise.
103 ($(common-objpfx)format.lds): Likewise.
104 * Rules (binaries-pie-tests): New.
105 (binaries-pie-notests): Likewise.
106 (binaries-pie): Rewritten.
107 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
108 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
109 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
110 (make-test-out): Replace $(host-built-program-cmd) with
111 $(host-test-program-cmd).
112 * config.make.in (build-hardcoded-path-in-tests): New variable.
113 * configure.in (--enable-hardcoded-path-in-tests): New configure
115 (hardcoded_path_in_tests): New AC_SUBST.
116 * configure: Regenerated.
117 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
118 $(built-program-cmd) with $(test-program-cmd).
119 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
120 (test_program_cmd): This.
121 * elf/Makefile ($(objpfx)order.out): Run test with
122 $(test-program-prefix).
123 ($(objpfx)order2.out): Likewise.
124 ($(objpfx)tst-initorder.out): Likewise.
125 ($(objpfx)tst-initorder2.out): Likewise.
126 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
128 ($(objpfx)tst-array1-static.out): Likewise.
129 ($(objpfx)tst-array2.out): Likewise.
130 ($(objpfx)tst-array3.out): Likewise.
131 ($(objpfx)tst-array4.out): Likewise.
132 ($(objpfx)tst-array5.out): Likewise.
133 ($(objpfx)tst-array5-static.out): Likewise.
134 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
136 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
137 $(run-program-prefix) with $(test-program-prefix).
138 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
139 (test_program_prefix): This.
140 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
141 $(run-program-prefix) with $(test-program-prefix).
142 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
143 (test_program_prefix): This.
144 * iconvdata/tst-tables.sh: Likewise.
145 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
146 $(run-program-prefix) with $(test-program-prefix).
147 ($(objpfx)tst-translit.out): Likewise.
148 ($(objpfx)tst-gettext2.out): Likewise.
149 ($(objpfx)tst-gettext4.out): Likewise.
150 ($(objpfx)tst-gettext6.out): Likewise.
151 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
152 (test_program_prefix): This.
153 * intl/tst-gettext2.sh: Likewise.
154 * intl/tst-gettext4.sh Likewise.
155 * intl/tst-gettext6.sh: Likewise.
156 * intl/tst-translit.sh: Likewise.
157 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
158 with $(test-program-cmd).
159 * libio/Makefile ($(objpfx)test-freopen.out): Replace
160 $(run-program-prefix) with $(test-program-prefix).
161 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
162 (test_program_prefix): This.
163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
164 $(run-program-prefix) with $(test-program-prefix).
165 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
166 (test_program_prefix): This.
167 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
168 * posix/Makefile ($(objpfx)globtest.out): Replace
169 $(run-via-rtld-prefix) and $(test-wrapper) with
170 $(test-program-prefix) and $(test-via-rtld-prefix).
171 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
172 $(test-program-prefix).
173 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
174 $(host-test-program-cmd).
175 (tst-spawn-ARGS): Likewise.
176 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
177 $(test-program-prefix).
178 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
179 (test_via_rtld_prefix): This.
180 (test_wrapper): Renamed to ...
181 (test_program_prefix): This.
182 (run_program_prefix): Replaced by test_program_prefix.
183 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
184 (test_program_prefix): This.
185 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
186 with $(host-test-program-cmd).
187 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
188 $(run-program-prefix) with $(test-program-prefix).
189 ($(objpfx)tst-printf.out): Likewise.
190 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
192 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
193 (test_program_prefix): This.
194 * stdio-common/tst-unbputc.sh: Likewise.
195 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
196 $(run-program-prefix) with $(test-program-prefix).
197 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
198 (test_program_prefix): This.
199 * string/Makefile ($(objpfx)tst-svc.out): Replace
200 $(built-program-cmd) with $(test-program-cmd).
202 2013-01-11 Andreas Jaeger <aj@suse.de>
205 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
206 value. Sync with Linux 3.7.
208 2013-01-10 David S. Miller <davem@davemloft.net>
210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
211 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
212 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
214 2013-01-10 Roland McGrath <roland@hack.frob.com>
216 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
218 * configure: Regenerated.
220 2013-01-10 David S. Miller <davem@davemloft.net>
222 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
223 sparc V9 rather than using V8 code.
224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
227 2013-01-10 Roland McGrath <roland@hack.frob.com>
229 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
230 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
231 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
232 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
233 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
234 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
235 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
236 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
237 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
238 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
239 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
240 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
241 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
242 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
243 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
244 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
245 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
246 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
247 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
248 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
249 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
250 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
251 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
252 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
253 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
254 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
255 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
257 2013-01-10 David S. Miller <davem@davemloft.net>
259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
261 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
263 * posix/Makefile (tests-static): New variable.
264 (tests): Add $(tests-static).
265 (tst-exec-static-ARGS): New variable.
266 (tst-spawn-static-ARGS): Likewise.
267 * posix/tst-exec-static.c: New file.
268 * posix/tst-spawn-static.c: Likewise.
269 * posix/tst-exec.c: Support run directly.
270 * posix/tst-spawn.c: Likewise.
272 2013-01-10 Joseph Myers <joseph@codesourcery.com>
274 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
276 * math/bits/mathcalls.h (llrint): Likewise.
278 * stdlib/stdlib.h (struct drand48_data): Likewise.
279 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
280 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
281 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
283 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
285 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
286 (elf_greg_t): Likewise.
287 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
288 (__jmp_buf): Likewise.
289 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
291 (llrint): Likewise, for all definitions.
294 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
295 Remove [__GNUC__] condition.
296 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
297 condition to just [__USE_ISOC99].
298 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
300 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
303 * sysdeps/unix/sysv/linux/x86/bits/environments.h
304 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
306 (_POSIX_V6_ILP32_OFF32): Likewise.
307 (_XBS5_ILP32_OFF32): Likewise.
308 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
309 (__ILP32_OFFBIG_LDFLAGS): Likewise.
311 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
313 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
316 doubles __mpexp_twomm1. Adjust usage.
317 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
320 2013-01-10 Andreas Schwab <schwab@suse.de>
323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
324 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
326 2013-01-09 David S. Miller <davem@davemloft.net>
329 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
330 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
331 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
332 TCP_FASTOPEN): Define.
333 (tcp_repair_opt): New structure.
334 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
336 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
337 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
338 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
339 (tcp_cookie_transactions): New structure.
341 2013-01-09 Anton Blanchard <anton@samba.org>
343 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
348 2013-01-09 Joseph Myers <joseph@codesourcery.com>
350 * include/features.h (__USE_ANSI): Remove.
352 2013-01-09 Roland McGrath <roland@hack.frob.com>
354 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
356 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
358 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
360 * sysdeps/s390/fpu/libm-test-ulps: Update.
362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
364 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
369 (__mp_dbl): Likewise.
370 (__dbl_mp): Likewise.
371 (add_magnitudes): Likewise.
372 (sub_magnitudes): Likewise.
378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
383 (__mp_dbl): Likewise.
384 (__dbl_mp): Likewise.
385 (add_magnitudes): Likewise.
386 (sub_magnitudes): Likewise.
392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
397 (__mp_dbl): Likewise.
398 (__dbl_mp): Likewise.
399 (add_magnitudes): Likewise.
400 (sub_magnitudes): Likewise.
407 2013-01-08 Joseph Myers <joseph@codesourcery.com>
409 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
410 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
411 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
412 2 && __USE_EXTERN_INLINES]: Likewise.
414 2013-01-08 Andreas Jaeger <aj@suse.de>
417 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
419 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
420 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
422 2013-01-07 Anton Blanchard <anton@samba.org>
424 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
425 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
426 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
427 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
428 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
429 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
430 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
431 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
433 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
436 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
438 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
442 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
443 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
445 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
447 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
448 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
449 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
450 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
451 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
452 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
453 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
454 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
456 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
457 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
458 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
459 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
463 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
464 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
466 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
468 2013-01-07 Joseph Myers <joseph@codesourcery.com>
470 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
471 (__MALLOC_PMT): Likewise.
472 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
473 [__GNUC__], only on [_LIBC].
474 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
475 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
476 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
477 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
479 (realloc_hook_ini): Likewise.
480 (memalign_hook_ini): Likewise.
481 (__libc_memalign): Do not use __MALLOC_PMT in variable
483 (__libc_valloc): Likewise.
484 (__libc_pvalloc): Likewise.
485 (__libc_calloc): Likewise.
486 (__posix_memalign): Likewise.
489 * math/s_casinh.c: Include <float.h>.
490 (__casinh): Do not do computation with squaring and square root
492 * math/s_casinhf.c: Include <float.h>.
493 (__casinhf): Do not do computation with squaring and square root
495 * math/s_casinhl.c: Include <float.h>.
496 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
497 (__casinhl): Do not do computation with squaring and square root
499 * math/libm-test.inc (casin_test): Add more tests.
500 (casinh_test): Likewise.
501 * sysdeps/i386/fpu/libm-test-ulps: Update.
502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
504 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
506 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
507 (__x86_64_raw_data_cache_size): Likewise.
508 (__x86_64_data_cache_size_half): Likewise.
509 (__x86_64_raw_data_cache_size_half): Likewise.
510 (__x86_64_shared_cache_size): Likewise.
511 (__x86_64_raw_shared_cache_size): Likewise.
512 (__x86_64_shared_cache_size_half): Likewise.
513 (__x86_64_raw_shared_cache_size_half): Likewise.
514 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
516 (__x86_data_cache_size): This.
517 (__x86_64_raw_data_cache_size): Renamed to ...
518 (__x86_raw_data_cache_size): This.
519 (__x86_64_data_cache_size_half): Renamed to ...
520 (__x86_data_cache_size_half): This.
521 (__x86_64_raw_data_cache_size_half): Renamed to ...
522 (__x86_raw_data_cache_size_half): This.
523 (__x86_64_shared_cache_size): Renamed to ...
524 (__x86_shared_cache_size): This.
525 (__x86_64_raw_shared_cache_size): Renamed to ...
526 (__x86_raw_shared_cache_size): This.
527 (__x86_64_shared_cache_size_half): Renamed to ...
528 (__x86_shared_cache_size_half): This.
529 (__x86_64_raw_shared_cache_size_half): Renamed to ...
530 (__x86_raw_shared_cache_size_half): This.
531 * sysdeps/x86_64/memcpy.S: Updated.
532 * sysdeps/x86_64/memset.S: Likewise.
533 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
537 2013-01-04 David S. Miller <davem@davemloft.net>
539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
541 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
544 1 to avoid redefinition warning.
545 (__USE_GNU): Don't define.
546 (init_signaling_nan): Protoize.
548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
550 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
552 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
555 (norm): Remove commented code.
557 (__mp_dbl): Likewise.
559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
561 (norm): Remove commented code.
563 (__mp_dbl): Likewise.
566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
567 mp_no value for 1.0 and 2.0.
568 (norm): Use RADIXI instead of radixi.d.
570 (__mul): Use 0.0 instead of zero.d.
571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
572 mp_no value for 1.0 and 2.0.
573 (norm): Use RADIXI instead of radixi.d.
575 (__mul): Use 0.0 instead of zero.d.
577 2013-01-04 Joseph Myers <joseph@codesourcery.com>
580 * math/s_casinh.c (__casinh): Reduce finite argument to first
581 quadrant then set signs of results at the end.
582 * math/s_casinhf.c (__casinhf): Likewise.
583 * math/s_casinhl.c (__casinhl): Likewise.
584 * math/libm-test.inc (casin_test): Add more tests.
585 (casinh_test): Likewise.
586 * sysdeps/i386/fpu/libm-test-ulps: Update.
587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
589 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
593 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
595 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
598 (__mp_dbl): Likewise.
601 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
602 and adjust the header comment.
604 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
605 variable name from declaration.
607 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
610 Initialize COMMON_CPUID_INDEX_7 element.
611 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
612 (CPUID_RTM): Likewise.
614 (COMMON_CPUID_INDEX_7): New enum.
616 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
619 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
620 size is zero, record memory as freed.
622 2013-01-03 Andreas Jaeger <aj@suse.de>
624 * po/ia.po: Add new Interlingua translation.
626 2012-01-03 Allan McRae <allan@archlinux.org>
628 * locale/programs/localedef.c: Fix description of '--posix' flag.
630 2013-01-02 Joseph Myers <joseph@codesourcery.com>
632 * NEWS: Update dates in second copyright notice.
633 * README: Update copyright dates in example.
634 * manual/libc.texinfo: Update copyright dates.
635 * scripts/test-installation.pl: Update copyright date in --version
638 * hurd/ctty-input.c: Fix copyright notice formatting.
639 * hurd/ctty-output.c: Likewise.
640 * hurd/dtable.c: Likewise.
641 * hurd/hurd-raise.c: Likewise.
642 * hurd/hurdprio.c: Likewise.
643 * hurd/msgportdemux.c: Likewise.
644 * misc/sys/file.h: Likewise.
645 * misc/sys/ioctl.h: Likewise.
646 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
647 * sysdeps/mach/hurd/chdir.c: Likewise.
648 * sysdeps/mach/hurd/fchdir.c: Likewise.
649 * sysdeps/mach/hurd/rename.c: Likewise.
650 * sysdeps/mach/hurd/rmdir.c: Likewise.
651 * sysdeps/mach/hurd/seekdir.c: Likewise.
652 * sysdeps/mach/hurd/setsid.c: Likewise.
653 * sysdeps/posix/wait3.c: Likewise.
655 * All files with FSF copyright notices: Update copyright dates
656 using scripts/update-copyrights.
657 * intl/plural.c: Regenerated.
658 * locale/programs/charmap-kw.h: Likewise.
659 * locale/programs/locfile-kw.h: Likewise.
661 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
666 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
667 calculation loop and add branch prediction.
669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
670 check access beyond bounds of m1np.
672 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
674 (__inv): Remove local variable MPTWO to use the global
676 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
679 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
680 MP3HALFS static const.
682 2013-01-01 David S. Miller <davem@davemloft.net>
684 * po/ca.po: Update from translation team.
686 2013-01-01 Joseph Myers <joseph@codesourcery.com>
688 * scripts/update-copyrights: New file.
689 * Makeconfig: Reformat copyright notice.
690 * ctype/ctype.h: Likewise.
691 * debug/swprintf_chk.c: Likewise.
692 * elf/dl-cache.c: Likewise.
693 * elf/dl-debug.c: Likewise.
694 * elf/dl-object.c: Likewise.
695 * grp/initgroups.c: Likewise.
696 * hurd/Makefile: Likewise.
697 * hurd/hurd/signal.h: Likewise.
698 * hurd/hurdfault.c: Likewise.
699 * hurd/hurdioctl.c: Likewise.
700 * hurd/hurdlookup.c: Likewise.
701 * hurd/intr-msg.c: Likewise.
702 * iconv/gconv_open.c: Likewise.
703 * libio/swprintf.c: Likewise.
704 * locale/lc-ctype.c: Likewise.
705 * locale/nl_langinfo.c: Likewise.
706 * mach/Machrules: Likewise.
707 * mach/Makefile: Likewise.
708 * malloc/obstack.h: Likewise.
709 * manual/Makefile: Likewise.
710 * manual/tsort.awk: Likewise.
711 * misc/bits/stab.def: Likewise.
712 * nis/nis_print_group_entry.c: Likewise.
713 * nis/nis_table.c: Likewise.
714 * nis/nss_compat/compat-pwd.c: Likewise.
715 * nis/nss_compat/compat-spwd.c: Likewise.
716 * po/Makefile: Likewise.
717 * posix/fnmatch.c: Likewise.
718 * posix/regex.h: Likewise.
719 * resolv/Makefile: Likewise.
720 * resolv/nss_dns/dns-network.c: Likewise.
721 * resolv/res_hconf.c: Likewise.
722 * scripts/gen-sorted.awk: Likewise.
723 * soft-fp/soft-fp.h: Likewise.
724 * stdio-common/printf.h: Likewise.
725 * stdlib/monetary.h: Likewise.
726 * stdlib/random.c: Likewise.
727 * stdlib/random_r.c: Likewise.
728 * sysdeps/generic/Makefile: Likewise.
729 * sysdeps/gnu/Makefile: Likewise.
730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
737 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
740 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
742 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
743 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
744 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
746 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
753 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
754 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
755 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
756 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
758 * sysdeps/mach/hurd/errnos.awk: Likewise.
759 * sysdeps/mach/hurd/fork.c: Likewise.
760 * sysdeps/mach/hurd/getcwd.c: Likewise.
761 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
762 * sysdeps/mach/hurd/mmap.c: Likewise.
763 * sysdeps/mach/hurd/utimes.c: Likewise.
764 * sysdeps/mach/hurd/xmknod.c: Likewise.
765 * sysdeps/posix/profil.c: Likewise.
766 * sysdeps/posix/readdir_r.c: Likewise.
767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
768 * sysdeps/powerpc/bits/setjmp.h: Likewise.
769 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
770 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
772 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
773 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
774 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
776 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
778 * sysdeps/pthread/lio_listio.c: Likewise.
779 * sysdeps/sparc/dl-procinfo.h: Likewise.
780 * sysdeps/unix/i386/sysdep.S: Likewise.
781 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
782 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
783 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
784 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
786 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
787 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
788 * sysdeps/unix/sysv/linux/speed.c: Likewise.
789 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
790 * sysdeps/wordsize-32/divdi3.c: Likewise.
791 * time/sys/time.h: Likewise.
792 * wcsmbs/Makefile: Likewise.
794 2013-01-01 David S. Miller <davem@davemloft.net>
796 * po/fr.po: Update from translation team.
798 * catgets/gencat.c: Update copyright year.
799 * csu/version.c: Likewise.
800 * debug/catchsegv.sh: Likewise.
801 * debug/pcprofiledump.c: Likewise.
802 * debug/xtrace.sh: Likewise.
803 * elf/ldconfig.c: Likewise.
804 * elf/ldd.bash.in: Likewise.
805 * elf/pldd.c: Likewise.
806 * elf/sotruss.ksh: Likewise.
807 * elf/sprof.c: Likewise.
808 * iconv/iconv_prog.c: Likewise.
809 * iconv/iconvconfig.c: Likewise.
810 * locale/programs/locale.c: Likewise.
811 * locale/programs/localedef.c: Likewise.
812 * login/programs/pt_chown.c: Likewise.
813 * malloc/memusage.sh: Likewise.
814 * malloc/memusagestat.c: Likewise.
815 * malloc/mtrace.pl: Likewise.
816 * nscd/nscd.c: Likewise.
817 * nss/getent.c: Likewise.
818 * nss/makedb.c: Likewise.
819 * posix/getconf.c: Likewise.
821 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
823 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
826 2012-12-30 Mike Frysinger <vapier@gentoo.org>
828 * math/bits/mathcalls.h (modf): Use __nonnull.
830 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
832 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
833 (split): Use macro CN instead of the bare value.
834 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
837 instead of the bare value.
840 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
846 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
848 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
850 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
851 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
853 2012-12-28 Andreas Jaeger <aj@suse.de>
855 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
856 values are from Linux 3.7.
858 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
859 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
861 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
863 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
866 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
868 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
869 variables with preprocessor constants.
870 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
871 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
872 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
874 2012-12-27 Bruno Haible <bruno@clisp.org>
877 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
880 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
883 and use variable directly.
884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
886 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
888 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
891 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
893 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
894 include directive. Remove local variable MPONE.
895 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
896 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
899 2012-12-25 David S. Miller <davem@davemloft.net>
901 * version.h (RELEASE): Set to "development".
902 (VERSION): Set to "2.17.90".
903 * NEWS: Add 2.18 section.
905 2012-12-21 David S. Miller <davem@davemloft.net>
907 * po/hr.po: Update from translation team.
909 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
911 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
913 2012-12-19 Steve Ellcey <sellcey@mips.com>
915 * NEWS: Mention new memcpy for MIPS.
917 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
919 * manual/contrib.texi (Contributors): Spelling correction.
921 2012-12-15 David S. Miller <davem@davemloft.net>
923 * po/ru.po: Update from translation team.
925 2012-12-13 David S. Miller <davem@davemloft.net>
927 * NEWS: Mention IFUNC testsuite enhancements.
929 * po/pl.po: Update from translation team.
930 * po/bg.po: Likewise.
932 * manual/contrib.texi (Contributors): Update entries for Hongjiu
933 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
935 2012-12-11 David S. Miller <davem@davemloft.net>
937 * po/sv.po: Update from translation team.
939 * po/vi.po: Update from translation team.
941 * po/cs.po: Update from translation team.
943 * po/de.po: Update from translation team.
944 * po/eo.po: Likewise.
945 * po/nl.po: Likewise.
947 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
950 * manual/argp.texi (Argp Helper Functions): Move node to follow
954 * manual/conf.texi (Limits on File System Capacity): Mention if
955 terminating null is included in the max size.
957 2012-12-10 Andreas Jaeger <aj@suse.de>
959 * po/cs.po: Update from translation team.
961 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
963 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
964 void pointer and cast to uintptr_t.
965 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
967 * sysdeps/s390/s390-64/memcpy.S: Likewise.
968 * sysdeps/s390/s390-64/memset.S: Likewise.
970 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
973 * menual/message.texi (Message Translation): Fix typos.
974 (Helper programs for gettext): Likewise.
976 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
979 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
982 2012-12-07 David S. Miller <davem@davemloft.net>
984 * po/libc.pot: Update.
986 2012-12-07 Richard Henderson <rth@redhat.com>
989 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
990 normal/normal case to before the switch.
993 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
994 Mike Frysinger <vapier@gentoo.org>
996 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
997 check for __NR_fadvise64_64.
999 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1001 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1002 0, not just to plain "0" as a statement.
1003 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1006 2012-12-06 Joseph Myers <joseph@codesourcery.com>
1008 * NEWS: Use sourceware.org in Bugzilla URL.
1010 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1013 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1015 * stdio-common/tst-put-error.c (do_test): Add newline to the
1016 padded test to ensure flush.
1018 2012-12-05 Jeff Law <law@redhat.com>
1020 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1022 2012-12-05 Joseph Myers <joseph@codesourcery.com>
1024 * README: Don't refer to ports add-on as distributed separately.
1025 Mention AArch64 in list of systems supported in the ports add-on.
1027 * LICENSES: Add more non-FSF copyright and license notices.
1029 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1032 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1034 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1035 10000 as width of padded output.
1037 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1039 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1042 variable LX with __attribute__ ((unused)).
1043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1045 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1048 with __attribute__ ((unused)).
1050 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
1052 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1054 2012-12-04 Joseph Myers <joseph@codesourcery.com>
1056 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1057 (CFLAGS-nldbl-acos.c): New variable.
1058 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1059 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1060 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1061 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1062 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1063 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1064 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1065 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1066 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1067 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1068 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1069 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1070 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1071 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1072 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1073 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1074 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1075 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1076 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1077 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1078 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1079 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1080 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1081 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1082 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1083 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1084 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1085 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1086 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1087 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1088 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1089 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1090 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1091 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1092 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1093 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1094 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1095 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1096 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1097 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1098 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1099 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1100 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1101 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1102 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1103 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1104 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1105 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1106 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1107 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1108 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1109 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1110 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1111 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1112 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1113 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1114 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1115 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1116 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1117 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1118 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1119 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1120 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1121 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1122 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1123 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1124 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1125 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1126 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1127 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1128 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1129 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1130 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1131 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1132 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1133 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1134 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1135 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1136 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1137 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1138 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1139 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1140 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1141 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1142 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1143 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1144 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1145 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1146 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1147 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1148 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1149 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1150 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1151 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1152 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1153 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1154 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1157 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1161 whole low double instead of just low 47 bits when splitting values
1164 2012-12-03 Allan McRae <allan@archlinux.org>
1166 * manual/stdio.texi (Predefined Printf Handlers): Remove
1167 @hsep and @vsep usage.
1169 2012-12-03 Mike Frysinger <vapier@gentoo.org>
1171 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1172 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1174 2012-12-03 Jeff Law <law@redhat.com>
1176 * time/sys/time.h (settimeofday): Do not mark TV argument
1179 2012-12-01 Mike Frysinger <vapier@gentoo.org>
1181 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1182 when currently writing and seek to current position when not.
1183 * libio/Makefile (tests): Remove bug-fclose1.
1184 * libio/bug-fclose1.c: Delete.
1186 2012-12-01 Joseph Myers <joseph@codesourcery.com>
1188 * manual/arith.texi (feenableexcept): Fix typo.
1189 (fedisableexcept): Likewise.
1191 2012-11-30 Roland McGrath <roland@hack.frob.com>
1193 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1194 second, differently-typed declaration, rather than a cast.
1196 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1198 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1199 * include/rpc/svc.h: ... here.
1201 2012-11-30 Aurelien Jarno <aurel32@debian.org>
1204 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1205 depending n and resplen2 to catch cases where answer
1208 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1210 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1211 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1213 2012-11-29 Mike Frysinger <vapier@gentoo.org>
1215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1217 2012-11-29 Roland McGrath <roland@hack.frob.com>
1219 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1221 2012-11-28 Jeff Law <law@redhat.com>
1224 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1225 dataset_temporary. Track alloca usage into alloca_used.
1226 If dataset is large allocate and release it via malloc/free.
1228 2012-06-04 Florian Weimer <fweimer@redhat.com>
1231 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1233 2012-11-28 David S. Miller <davem@davemloft.net>
1235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1237 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1240 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1241 of pi/2 rounded to nearest to 64 bits.
1242 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1244 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1247 2012-11-28 Jeff Law <law@redhat.com>
1248 Martin Osvald <mosvald@redhat.com>
1251 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1252 * sunrpc/svc.c: Include time.h.
1253 (__svc_accept_failed): New function.
1254 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1255 any reason other than EINTR, call __svc_accept_failed.
1256 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1257 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1259 2012-11-28 Andreas Schwab <schwab@suse.de>
1261 * scripts/abilist.awk: Also handle indirect functions in .opd
1264 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1267 * sysdeps/x86/fpu/powl_helper.c: New file.
1268 * sysdeps/x86/fpu/Makefile: Likewise.
1269 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1271 (__ieee754_powl): Use __powl_helper for finite arguments except
1272 integer exponents below 8.
1273 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1275 (__ieee754_powl): Use __powl_helper for finite arguments except
1276 integer exponents below 8.
1277 * math/libm-test.inc (pow_test): Add more tests and enable some
1278 previously disabled tests.
1279 * sysdeps/i386/fpu/libm-test-ulps: Update.
1280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1282 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1283 Carlos O'Donell <carlos_odonell@mentor.com>
1285 * nss/makedb.c (is_prime): Assert that input is odd and greater
1286 than 4. Note that fact in a comment too.
1287 (next_prime): Add 4 to input.
1289 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1292 * libio/Makefile (tests): Add test case tst-fwrite-error.
1293 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1294 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1295 * libio/tst-fwrite-error.c: New test case.
1297 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1299 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1300 before casting to void *.
1301 * include/libc-internal.h (__pointer_type): New macro.
1302 (__integer_if_pointer_type_sub): Likewise.
1303 (__integer_if_pointer_type): Likewise.
1304 (cast_to_integer): Likewise.
1305 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1306 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1307 before casting to atomic64_t.
1308 (atomic_exchange_acq): Likewise.
1309 (__arch_exchange_and_add_body): Likewise.
1310 (__arch_add_body): Likewise.
1311 (atomic_add_negative): Likewise.
1312 (atomic_add_zero): Likewise.
1314 2012-11-26 Joseph Myers <joseph@codesourcery.com>
1316 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1317 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1318 (add_fdes): Likewise.
1319 (linear_search_fdes): Likewise.
1320 (binary_search_unencoded_fdes): Likewise.
1322 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1324 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1326 2012-11-24 Adam Conrad <adconrad@0c3.net>
1328 * configure.in: Autodetect C++ header directories.
1329 * configure: Regenerated.
1331 2012-11-23 Mike Frysinger <vapier@gentoo.org>
1333 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1335 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1339 2012-11-22 Joseph Myers <joseph@codesourcery.com>
1341 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1342 LDBL_MANT_DIG == 106]: Disable some tests.
1343 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1345 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1350 input for small inputs. Return +/- pi/2 for large inputs.
1351 * math/libm-test.inc (atan_test): Add more tests.
1353 * sysdeps/generic/unwind-dw2-fde-glibc.c
1354 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1355 __attribute__ ((unused)).
1358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1359 x * y if x and y are nonzero and z is zero.
1362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1363 nonzero exponents with absolute value below 0x1p-117 to +/-
1367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1368 up arguments below 2**-450, not just those below 2**-500.
1369 * math/libm-test.inc (hypot_test): Add another test.
1372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1373 Return a+b for ratio over 2**120, not 2**60.
1374 * math/libm-test.inc (hypot_test): Add another test.
1376 * math/libm-test.inc (clog_test): Use
1377 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1378 (clog10_test): Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1383 2012-11-22 Andreas Schwab <schwab@suse.de>
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1387 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1389 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1390 printf output with newline.
1392 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1395 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1396 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1397 -z nodlopen, -z initfirst and -z execstack support.
1398 * configure: Regenerated.
1400 * elf/elf.h (DF_1_NODIRECT): New macro.
1401 (DF_1_IGNMULDEF): Likewise.
1402 (DF_1_NOKSYMS): Likewise.
1403 (DF_1_NOHDR): Likewise.
1404 (DF_1_EDITED): Likewise.
1405 (DF_1_NORELOC): Likewise.
1406 (DF_1_SYMINTPOSE): Likewise.
1407 (DF_1_GLOBAUDIT): Likewise.
1408 (DF_1_SINGLETON): Likewise.
1409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1410 DT_1_SUPPORTED_MASK bits.
1411 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1413 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1415 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1417 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1419 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1422 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1423 (sendmmsg): Move declarations...
1424 * socket/sys/socket.h: ... here.
1425 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1426 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1428 * socket/recvmmsg.c: ... this new file.
1429 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1430 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1431 definition of __sendmmsg hidden.
1432 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1433 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1434 Move ENOSYS stub into and include it from...
1435 * socket/sendmmsg.c: ... this new file.
1436 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1437 (sysdep_routines): Move recvmmsg and sendmmsg...
1438 * socket/Makefile (routines): ... here.
1439 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1440 (GLIBC_PRIVATE): Add __sendmmsg.
1441 * include/sys/socket.h (__sendmmsg): Add declarations.
1442 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1445 2012-11-20 Joseph Myers <joseph@codesourcery.com>
1447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1448 variable I1 with __attribute__ ((unused)).
1449 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1451 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1453 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1454 DUMMY variables with __attribute__ ((unused)).
1456 * bits/byteswap.h: Include <bits/types.h>.
1457 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1459 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1461 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1462 string_t. Do not manually set errno.
1463 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1464 length with __strnlen. Make sure to both set errno and return it on
1467 2012-11-19 David S. Miller <davem@davemloft.net>
1469 With help from Joseph Myers.
1470 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1471 very large arguments properly.
1472 * math/libm-test.inc (atan_test): New tests.
1473 (atan2_test): New tests.
1474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1477 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1480 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1483 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1484 [POSIX] (EADDRNOTAVAIL): Likewise.
1485 [POSIX] (EAFNOSUPPORT): Likewise.
1486 [POSIX] (EALREADY): Likewise.
1487 [POSIX] (ECONNABORTED): Likewise.
1488 [POSIX] (ECONNREFUSED): Likewise.
1489 [POSIX] (ECONNRESET): Likewise.
1490 [POSIX] (EDESTADDRREQ): Likewise.
1491 [POSIX] (EDQUOT): Likewise.
1492 [POSIX] (EHOSTUNREACH): Likewise.
1493 [POSIX] (EIDRM): Likewise.
1494 [POSIX] (EISCONN): Likewise.
1495 [POSIX] (ELOOP): Likewise.
1496 [POSIX] (EMULTIHOP): Likewise.
1497 [POSIX] (ENETDOWN): Likewise.
1498 [POSIX] (ENETUNREACH): Likewise.
1499 [POSIX] (ENOBUFS): Likewise.
1500 [POSIX] (ENODATA): Likewise.
1501 [POSIX] (ENOLINK): Likewise.
1502 [POSIX] (ENOMSG): Likewise.
1503 [POSIX] (ENOPROTOOPT): Likewise.
1504 [POSIX] (ENOSR): Likewise.
1505 [POSIX] (ENOSTR): Likewise.
1506 [POSIX] (ENOTCONN): Likewise.
1507 [POSIX] (ENOTSOCK): Likewise.
1508 [POSIX] (EOPNOTSUPP): Likewise.
1509 [POSIX] (EOVERFLOW): Likewise.
1510 [POSIX] (EPROTO): Likewise.
1511 [POSIX] (EPROTONOSUPPORT): Likewise.
1512 [POSIX] (EPROTOTYPE): Likewise.
1513 [POSIX] (ESTALE): Likewise.
1514 [POSIX] (ETIME): Likewise.
1515 [POSIX] (ETXTBSY): Likewise.
1516 [POSIX] (EWOULDBLOCK): Likewise.
1517 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1518 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1519 [POSIX] (SEEK_CUR): Likewise.
1520 [POSIX] (SEEK_END): Likewise.
1521 [POSIX || UNIX98] (mode_t): Do not require.
1522 [POSIX] (off_t): Likewise.
1523 [POSIX] (pid_t): Likewise.
1524 [POSIX] (sys/stat.h): Do not allow header.
1525 [POSIX] (unistd.h): Likewise.
1526 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1527 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1528 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1529 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1531 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1532 sigevent): Specify elements.
1533 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1535 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1536 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1538 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1539 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1540 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1541 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1542 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1543 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1544 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1545 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1546 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1547 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1548 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1550 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1555 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1559 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1560 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1561 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1563 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1564 Specify lower bound on value.
1565 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1566 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1567 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1571 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1572 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1574 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1576 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1579 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1580 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1581 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1582 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1588 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1589 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1590 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1591 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1593 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1595 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1596 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1597 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1598 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1599 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1600 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1602 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1603 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1604 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1605 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1606 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1607 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1611 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1613 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1614 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1615 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1616 specify as optional.
1617 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1618 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1619 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1620 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1621 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1622 [XPG3] (NL_LANGMAX): Likewise.
1623 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1624 [POSIX || XPG3] (NL_NMAX): Likewise.
1625 [POSIX || XPG3] (NL_SETMAX): Likewise.
1626 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1627 [XPG3] (NZERO): Likewise.
1628 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1629 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1630 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1631 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1632 (REG_ERANGE): Expect.
1633 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1635 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1636 Use (void) in prototype.
1637 [POSIX] (*_t): Allow.
1638 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1639 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1640 (WRDE_BADVAL): Expect.
1642 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1644 [XPG3 || XPG4] (O_RSYNC): Likewise.
1645 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1647 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1648 [XPG3 || XPG4] (sigqueue): Likewise.
1649 [XPG3 || XPG4] (sigtimedwait): Likewise.
1650 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1651 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1652 [XPG3 || XPG4] (vsnprintf): Likewise.
1653 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1655 [XPG3 || XPG4] (blksize_t): Likewise.
1656 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1658 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1659 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1660 [XPG3 || XPG4] (struct itimerspec): Likewise.
1661 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1662 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1663 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1664 [XPG3 || XPG4] (clockid_t): Likewise.
1665 [XPG3 || XPG4] (timer_t): Likewise.
1666 [XPG3 || XPG4] (clock_getres): Likewise.
1667 [XPG3 || XPG4] (clock_gettime): Likewise.
1668 [XPG3 || XPG4] (clock_settime): Likewise.
1669 [XPG3 || XPG4] (nanosleep): Likewise.
1670 [XPG3 || XPG4] (timer_create): Likewise.
1671 [XPG3 || XPG4] (timer_delete): Likewise.
1672 [XPG3 || XPG4] (timer_gettime): Likewise.
1673 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1674 [XPG3 || XPG4] (timer_settime): Likewise.
1675 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1676 [XPG3 || XPG4] (getlogin_r): Likewise.
1677 [XPG3 || XPG4] (pread): Likewise.
1678 [XPG3 || XPG4] (pthread_atfork): Likewise.
1679 [XPG3 || XPG4] (pwrite): Likewise.
1682 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1685 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1687 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1688 finalizing MALLSTREAM.
1690 * sysdeps/mach/hurd/syncfs.c: New file.
1692 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1696 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1698 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1699 (_nss_dns_gethostbyname4_r): Likewise.
1700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1701 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1703 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1706 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1708 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1710 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1711 * elf/cache.c (print_entry): Print ",AArch64" for
1714 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1715 * elf/cache.c (print_entry): Print ",hard-float" for
1718 2012-11-18 David S. Miller <davem@davemloft.net>
1720 With help from Joseph Myers.
1721 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1723 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1725 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1726 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1728 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1729 * math/libm-test.inc (y0_test): New tests.
1730 (y1_test): New tests.
1731 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1735 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1737 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1739 * configure: Regenerated.
1741 2012-11-17 David S. Miller <davem@davemloft.net>
1744 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1745 nonzero exponents with absolute value below 0x1p-128 to +/-
1748 2012-11-17 Joseph Myers <joseph@codesourcery.com>
1750 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1752 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1754 * posix/getconf-speclist.c: New file.
1755 * posix/posix-envs.def: Likewise.
1756 * posix/confstr.c (START_ENV_GROUP): New macro.
1757 (END_ENV_GROUP): Likewise.
1758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1759 (KNOWN_PRESENT_ENV_STRING): Likewise.
1760 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1761 (UNKNOWN_ENVIRONMENT): Likewise.
1762 (confstr): Include posix-envs.def instead of handling
1763 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1764 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1765 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1766 (END_ENV_GROUP): Likewise.
1767 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1768 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1769 (UNKNOWN_ENVIRONMENT): Likewise.
1770 (__sysconf): Include posix-envs.def instead of handling associated
1771 cases directly here.
1772 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1773 preprocessing getconf-speclist.c rather than running getconf or
1774 generating empty file.
1776 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1778 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1780 2012-11-16 Andrej Lajovic <natrij@gmail.com>
1783 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1785 2012-11-16 David S. Miller <davem@davemloft.net>
1787 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1788 smaller than LDBL_EPSILON/2.0L, just return xm1.
1790 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1792 * elf/tst-array1.c (init): Set constructor priority to 1000.
1793 (fini): Set destructor priority to 1000.
1794 * elf/tst-array2dep.c: Likewise.
1796 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1799 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1800 (_IO_new_file_xsputn): Also return EOF if none of the input
1801 data was written when overflow failed.
1802 * libio/iopadn.c (_IO_padn): Likewise.
1803 * libio/iowpadn.c (_IO_wpadn): Likewise.
1804 * stdio-common/tst-put-error.c: Add copyright notice.
1805 (do_test): Add case for printing padded string.
1806 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1807 _IO_padn returned error.
1808 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1809 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1812 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1814 * libio/libioP.h: Add comment note that the references to C++
1815 bits are now obsolete.
1817 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1819 * math/libm-test.inc (check_complex): Use asprintf.
1821 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1823 * debug/pcprofiledump.c (print_version): Update copyright year.
1824 * malloc/memusagestat.c (print_version): Likewise.
1826 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1829 * elf/Makefile (tests): Add tst-audit8.
1830 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1831 ($(objpfx)tst-audit8.out): New target.
1832 (tst-audit8-ENV): New variable.
1833 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1834 audit if l_reloc_result is NULL.
1835 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1836 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1837 * elf/tst-audit8.c: New file.
1839 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1841 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1842 * misc/Makefile (CFLAGS-select.c): Define.
1843 * posix/Makefile (CFLAGS-pause.c): Define.
1845 2012-11-13 David S. Miller <davem@davemloft.net>
1847 * crypt/Makefile: Move test targets after toplevel Rules
1848 inclusion. Grab any necessary sysdep routines when linking.
1849 * crypt/md5.c (md5_process_block): Remove define, we will always
1850 name it __md5_process_block.
1851 (md5_finish_ctx): Update md5_process_block call.
1852 (md5_stream): Likewise.
1853 (md5_process_bytes): Likewise.
1854 (md5_process_block): Rename to __md5_process_block and move to ...
1855 * crypt/md5-block.c: ... here.
1856 * crypt/sha256.c (sha256_process_block): Move to ...
1857 * crypt/sha256-block.c: ... here.
1858 * crypt/sha512.c (sha512_process_block): Move to ...
1859 * crypt/sha512-block.c: ... here.
1860 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1862 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1863 * sysdeps/sparc/sparc64/multiarch/Makefile
1864 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1866 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1867 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1869 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1870 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1871 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1872 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1873 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1874 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1875 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1876 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1877 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1880 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1882 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1884 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1886 * timezone/tzselect.ksh: Update from tzcode git revision
1887 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1888 * timezone/zdump.c: Likewise.
1889 * timezone/zic.c: Likewise.
1890 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1891 in TZVERSION setting, not $(PKGVERSION).
1892 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1893 REPORT_BUGS_TO settings.
1896 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1899 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1901 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1902 detection to immediately after _FP_ROUND().
1903 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1906 2012-11-11 David S. Miller <davem@davemloft.net>
1908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1910 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1911 __close rather than their public counterparts.
1913 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1915 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1917 [UNIX98] (sem_timedwait): Do not expect.
1918 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1919 [XPG4 || UNIX98] (sockatmark): Do not expect.
1920 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1921 (clock_getcpuclockid): Do not expect.
1922 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1923 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1925 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1926 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1927 [UNIX98] (vwscanf): Likewise.
1928 [UNIX98] (vswscanf): Likewise.
1930 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1932 * timezone/version.h: Remove file.
1933 * timezone/README: Do not refer to version.h.
1934 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1936 ($(objpfx)zdump.o): Likewise.
1937 ($(objpfx)version.h): New target.
1939 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1941 * timezone/README: Don't mention modification to tzselect.ksh.
1942 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1943 work on unmodified tzselect.ksh. Substitute version numbers in
1946 * Makefile (format-me): Remove.
1947 (INSTALL): Adjust indentation. Use commands directly instead of
1950 * aclocal.m4 (ACX_PKGVERSION): New macro.
1951 (ACX_BUGURL): Likewise.
1952 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1953 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1954 (REPORT_BUGS_TO): Likewise.
1955 * configure: Regenerated.
1956 * config.h.in (PKGVERSION): New macro.
1957 (REPORT_BUGS_TO): Likewise.
1958 * config.make.in (PKGVERSION): New variable.
1959 (PKGVERSION_TEXI): Likewise.
1960 (REPORT_BUGS_TO): Likewise.
1961 (REPORT_BUGS_TEXI): Likewise.
1962 * Makefile (format-me): Use -I$(common-objpfx)manual.
1963 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1964 ($(common-objpfx)manual/%): New target.
1965 (manual/%): Remove target.
1966 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1967 (print_version): Use PKGVERSION.
1968 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1969 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1971 ($(objpfx)xtrace): Likewise.
1972 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1973 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1974 (print_version): Use PKGVERSION.
1975 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1976 (do_version): Use PKGVERSION.
1977 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1979 (common-ldd-rewrite): Likewise.
1980 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1981 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1982 (print_version): Use PKGVERSION.
1983 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1984 * elf/pldd.c (argp_program_bug_address): Remove variable.
1985 (more_help): New function.
1986 (argp): Use more_help.
1987 (print_version): Use PKGVERSION.
1988 * elf/sln.c (main): Use PKGVERSION.
1989 (usage): Use REPORT_BUGS_TO.
1990 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1991 (top level): Use PKGVERSION.
1992 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1993 (print_version): Use PKGVERSION.
1994 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1995 (print_version): Use PKGVERSION.
1996 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1997 (print_version): Use PKGVERSION.
1998 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1999 (print_version): Use PKGVERSION.
2000 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2001 (print_version): Use PKGVERSION.
2002 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2003 (print_version): Use PKGVERSION.
2004 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2006 ($(objpfx)memusage): Likewise.
2007 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2008 (do_version): Use PKGVERSION.
2009 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2010 (print_version): Use PKGVERSION.
2011 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2012 ($PKGVERSION): New variable.
2013 ($REPORT_BUGS_TO): Likewise.
2014 (usage): Use $REPORT_BUGS_TO.
2015 (top level): Use $PKGVERSION.
2016 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2017 ($(objpfx)pkgvers.texi): New rule.
2018 ($(objpfx)stamp-pkgvers): Likewise.
2019 * manual/install.texi: Include pkgvers.texi.
2020 (--with-pkgversion): Document new configure option.
2021 (--with-bugurl): Likewise.
2022 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2023 than necessarily for this particular distribution. Use
2024 REPORT_BUGS_TO for where to report bugs.
2025 * INSTALL: Regenerated.
2026 * manual/libc.texinfo: Include pkgvers.texi.
2027 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2028 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2029 (print_version): Use PKGVERSION.
2030 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2031 (print_version): Use PKGVERSION.
2032 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2033 (print_version): Use PKGVERSION.
2034 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2035 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2037 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2038 (print_version): Use PKGVERSION.
2039 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2040 (print_version): Use PKGVERSION.
2041 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2044 * timezone/checktab.awk: Update from tzcode 2012i.
2045 * timezone/ialloc.c: Likewise.
2046 * timezone/private.h: Likewise.
2047 * timezone/scheck.c: Likewise.
2048 * timezone/tzfile.h: Likewise.
2049 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2050 (TZVERSION): Hardcode tzcode version number.
2051 * timezone/zdump.c: Update from tzcode 2012i.
2052 * timezone/zic.c: Likewise.
2053 * timezone/version.h: New file.
2054 * timezone/README: Describe version.h. Update upstream location.
2057 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2058 (mktemp): Enable declaration.
2059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2076 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2077 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2078 for copies of such integer values.
2079 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2080 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2082 2012-11-09 Andreas Jaeger <aj@suse.de>
2084 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2085 definitions and declarations that are provided by
2086 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2088 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2090 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
2091 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2092 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2095 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2097 * elf/elf.h: Update comment before AArch64 relocations.
2099 2012-11-07 David S. Miller <davem@davemloft.net>
2101 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2103 (__start_context): Declare.
2104 (__makecontext_ret): Delete.
2105 (__makecontext): Hook up __start_context instead of
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2108 (sysdep_routines): Add __start_context when in stdlib.
2110 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2112 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2113 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2114 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2116 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2117 (READELF): New variable. Use it instead of hardcoded "readelf".
2119 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2121 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2122 * sysdeps/x86/Makefile: Here.
2123 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2124 * sysdeps/x86/tst-xmmymm.sh: This.
2126 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2128 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2130 [UNIX98] (pthread_barrier_t): Do not expect.
2131 [UNIX98] (pthread_barrierattr_t): Likewise.
2132 [UNIX98] (pthread_spinlock_t): Likewise.
2133 [UNIX98] (pthread_barrier_destroy): Likewise.
2134 [UNIX98] (pthread_barrier_init): Likewise.
2135 [UNIX98] (pthread_barrier_wait): Likewise.
2136 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2137 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2138 [UNIX98] (pthread_barrierattr_init): Likewise.
2139 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2140 [UNIX98] (pthread_getcpuclockid): Likewise.
2141 [UNIX98] (pthread_mutex_timedlock): Likewise.
2142 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2143 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2144 [UNIX98] (pthread_sigmask): Likewise.
2145 [UNIX98] (pthread_spin_destroy): Likewise.
2146 [UNIX98] (pthread_spin_init): Likewise.
2147 [UNIX98] (pthread_spin_lock): Likewise.
2148 [UNIX98] (pthread_spin_trylock): Likewise.
2149 [UNIX98] (pthread_spin_unlock): Likewise.
2150 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2152 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2153 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2154 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2155 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2156 [XPG3 || XPG4] (pthread_key_t): Likewise.
2157 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2158 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2159 [XPG3 || XPG4] (pthread_once_t): Likewise.
2160 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2161 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2162 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2163 [XPG3 || XPG4] (pthread_t): Likewise.
2165 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2167 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2169 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2170 Change function return type to int.
2172 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2173 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2174 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2175 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2176 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2177 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2178 [!POSIX] (posix_madvise): Likewise.
2179 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2181 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2182 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2184 (posix_mem_offset): Likewise.
2185 (posix_typed_mem_get_info): Likewise.
2186 (posix_typed_mem_open): Likewise.
2188 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2189 Change condition to [XOPEN2K8].
2191 * conform/conformtest.pl: Preprocess allow-header data with -x c
2192 instead of from stdin.
2193 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2194 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2195 [C99-based standards] (cerfc): Likewise.
2196 [C99-based standards] (cexp2): Likewise.
2197 [C99-based standards] (cexpm1): Likewise.
2198 [C99-based standards] (clog10): Likewise.
2199 [C99-based standards] (clog1p): Likewise.
2200 [C99-based standards] (clog2): Likewise.
2201 [C99-based standards] (clgamma): Likewise.
2202 [C99-based standards] (ctgamma): Likewise.
2203 [C99-based standards] (cerff): Likewise.
2204 [C99-based standards] (cerfcf): Likewise.
2205 [C99-based standards] (cexp2f): Likewise.
2206 [C99-based standards] (cexpm1f): Likewise.
2207 [C99-based standards] (clog10f): Likewise.
2208 [C99-based standards] (clog1pf): Likewise.
2209 [C99-based standards] (clog2f): Likewise.
2210 [C99-based standards] (clgammaf): Likewise.
2211 [C99-based standards] (ctgammaf): Likewise.
2212 [C99-based standards] (cerfl): Likewise.
2213 [C99-based standards] (cerfcl): Likewise.
2214 [C99-based standards] (cexp2l): Likewise.
2215 [C99-based standards] (cexpm1l): Likewise.
2216 [C99-based standards] (clog10l): Likewise.
2217 [C99-based standards] (clog1pl): Likewise.
2218 [C99-based standards] (clog2l): Likewise.
2219 [C99-based standards] (clgammal): Likewise.
2220 [C99-based standards] (ctgammal): Likewise.
2221 * conform/data/inttypes.h-data [C99-based standards]: Include
2222 stdint.h-data. Remove all expectations for stdint.h contents.
2223 [C99-based standards] (PRI*): Do not allow.
2224 [C99-based standards] (SCN*): Likewise.
2225 [C99-based standards] (*_t): Likewise.
2226 [C99-based-standards] (PRId8): Expect macro.
2227 [C99-based-standards] (PRIi8): Likewise.
2228 [C99-based-standards] (PRIo8): Likewise.
2229 [C99-based-standards] (PRIu8): Likewise.
2230 [C99-based-standards] (PRIx8): Likewise.
2231 [C99-based-standards] (PRIX8): Likewise.
2232 [C99-based-standards] (SCNd8): Likewise.
2233 [C99-based-standards] (SCNi8): Likewise.
2234 [C99-based-standards] (SCNo8): Likewise.
2235 [C99-based-standards] (SCNu8): Likewise.
2236 [C99-based-standards] (SCNx8): Likewise.
2237 [C99-based-standards] (PRIdLEAST8): Likewise.
2238 [C99-based-standards] (PRIiLEAST8): Likewise.
2239 [C99-based-standards] (PRIoLEAST8): Likewise.
2240 [C99-based-standards] (PRIuLEAST8): Likewise.
2241 [C99-based-standards] (PRIxLEAST8): Likewise.
2242 [C99-based-standards] (PRIXLEAST8): Likewise.
2243 [C99-based-standards] (SCNdLEAST8): Likewise.
2244 [C99-based-standards] (SCNiLEAST8): Likewise.
2245 [C99-based-standards] (SCNoLEAST8): Likewise.
2246 [C99-based-standards] (SCNuLEAST8): Likewise.
2247 [C99-based-standards] (SCNxLEAST8): Likewise.
2248 [C99-based-standards] (PRIdFAST8): Likewise.
2249 [C99-based-standards] (PRIiFAST8): Likewise.
2250 [C99-based-standards] (PRIoFAST8): Likewise.
2251 [C99-based-standards] (PRIuFAST8): Likewise.
2252 [C99-based-standards] (PRIxFAST8): Likewise.
2253 [C99-based-standards] (PRIXFAST8): Likewise.
2254 [C99-based-standards] (SCNdFAST8): Likewise.
2255 [C99-based-standards] (SCNiFAST8): Likewise.
2256 [C99-based-standards] (SCNoFAST8): Likewise.
2257 [C99-based-standards] (SCNuFAST8): Likewise.
2258 [C99-based-standards] (SCNxFAST8): Likewise.
2259 [C99-based-standards] (PRId16): Likewise.
2260 [C99-based-standards] (PRIi16): Likewise.
2261 [C99-based-standards] (PRIo16): Likewise.
2262 [C99-based-standards] (PRIu16): Likewise.
2263 [C99-based-standards] (PRIx16): Likewise.
2264 [C99-based-standards] (PRIX16): Likewise.
2265 [C99-based-standards] (SCNd16): Likewise.
2266 [C99-based-standards] (SCNi16): Likewise.
2267 [C99-based-standards] (SCNo16): Likewise.
2268 [C99-based-standards] (SCNu16): Likewise.
2269 [C99-based-standards] (SCNx16): Likewise.
2270 [C99-based-standards] (PRIdLEAST16): Likewise.
2271 [C99-based-standards] (PRIiLEAST16): Likewise.
2272 [C99-based-standards] (PRIoLEAST16): Likewise.
2273 [C99-based-standards] (PRIuLEAST16): Likewise.
2274 [C99-based-standards] (PRIxLEAST16): Likewise.
2275 [C99-based-standards] (PRIXLEAST16): Likewise.
2276 [C99-based-standards] (SCNdLEAST16): Likewise.
2277 [C99-based-standards] (SCNiLEAST16): Likewise.
2278 [C99-based-standards] (SCNoLEAST16): Likewise.
2279 [C99-based-standards] (SCNuLEAST16): Likewise.
2280 [C99-based-standards] (SCNxLEAST16): Likewise.
2281 [C99-based-standards] (PRIdFAST16): Likewise.
2282 [C99-based-standards] (PRIiFAST16): Likewise.
2283 [C99-based-standards] (PRIoFAST16): Likewise.
2284 [C99-based-standards] (PRIuFAST16): Likewise.
2285 [C99-based-standards] (PRIxFAST16): Likewise.
2286 [C99-based-standards] (PRIXFAST16): Likewise.
2287 [C99-based-standards] (SCNdFAST16): Likewise.
2288 [C99-based-standards] (SCNiFAST16): Likewise.
2289 [C99-based-standards] (SCNoFAST16): Likewise.
2290 [C99-based-standards] (SCNuFAST16): Likewise.
2291 [C99-based-standards] (SCNxFAST16): Likewise.
2292 [C99-based-standards] (PRId32): Likewise.
2293 [C99-based-standards] (PRIi32): Likewise.
2294 [C99-based-standards] (PRIo32): Likewise.
2295 [C99-based-standards] (PRIu32): Likewise.
2296 [C99-based-standards] (PRIx32): Likewise.
2297 [C99-based-standards] (PRIX32): Likewise.
2298 [C99-based-standards] (SCNd32): Likewise.
2299 [C99-based-standards] (SCNi32): Likewise.
2300 [C99-based-standards] (SCNo32): Likewise.
2301 [C99-based-standards] (SCNu32): Likewise.
2302 [C99-based-standards] (SCNx32): Likewise.
2303 [C99-based-standards] (PRIdLEAST32): Likewise.
2304 [C99-based-standards] (PRIiLEAST32): Likewise.
2305 [C99-based-standards] (PRIoLEAST32): Likewise.
2306 [C99-based-standards] (PRIuLEAST32): Likewise.
2307 [C99-based-standards] (PRIxLEAST32): Likewise.
2308 [C99-based-standards] (PRIXLEAST32): Likewise.
2309 [C99-based-standards] (SCNdLEAST32): Likewise.
2310 [C99-based-standards] (SCNiLEAST32): Likewise.
2311 [C99-based-standards] (SCNoLEAST32): Likewise.
2312 [C99-based-standards] (SCNuLEAST32): Likewise.
2313 [C99-based-standards] (SCNxLEAST32): Likewise.
2314 [C99-based-standards] (PRIdFAST32): Likewise.
2315 [C99-based-standards] (PRIiFAST32): Likewise.
2316 [C99-based-standards] (PRIoFAST32): Likewise.
2317 [C99-based-standards] (PRIuFAST32): Likewise.
2318 [C99-based-standards] (PRIxFAST32): Likewise.
2319 [C99-based-standards] (PRIXFAST32): Likewise.
2320 [C99-based-standards] (SCNdFAST32): Likewise.
2321 [C99-based-standards] (SCNiFAST32): Likewise.
2322 [C99-based-standards] (SCNoFAST32): Likewise.
2323 [C99-based-standards] (SCNuFAST32): Likewise.
2324 [C99-based-standards] (SCNxFAST32): Likewise.
2325 [C99-based-standards] (PRId64): Likewise.
2326 [C99-based-standards] (PRIi64): Likewise.
2327 [C99-based-standards] (PRIo64): Likewise.
2328 [C99-based-standards] (PRIu64): Likewise.
2329 [C99-based-standards] (PRIx64): Likewise.
2330 [C99-based-standards] (PRIX64): Likewise.
2331 [C99-based-standards] (SCNd64): Likewise.
2332 [C99-based-standards] (SCNi64): Likewise.
2333 [C99-based-standards] (SCNo64): Likewise.
2334 [C99-based-standards] (SCNu64): Likewise.
2335 [C99-based-standards] (SCNx64): Likewise.
2336 [C99-based-standards] (PRIdLEAST64): Likewise.
2337 [C99-based-standards] (PRIiLEAST64): Likewise.
2338 [C99-based-standards] (PRIoLEAST64): Likewise.
2339 [C99-based-standards] (PRIuLEAST64): Likewise.
2340 [C99-based-standards] (PRIxLEAST64): Likewise.
2341 [C99-based-standards] (PRIXLEAST64): Likewise.
2342 [C99-based-standards] (SCNdLEAST64): Likewise.
2343 [C99-based-standards] (SCNiLEAST64): Likewise.
2344 [C99-based-standards] (SCNoLEAST64): Likewise.
2345 [C99-based-standards] (SCNuLEAST64): Likewise.
2346 [C99-based-standards] (SCNxLEAST64): Likewise.
2347 [C99-based-standards] (PRIdFAST64): Likewise.
2348 [C99-based-standards] (PRIiFAST64): Likewise.
2349 [C99-based-standards] (PRIoFAST64): Likewise.
2350 [C99-based-standards] (PRIuFAST64): Likewise.
2351 [C99-based-standards] (PRIxFAST64): Likewise.
2352 [C99-based-standards] (PRIXFAST64): Likewise.
2353 [C99-based-standards] (SCNdFAST64): Likewise.
2354 [C99-based-standards] (SCNiFAST64): Likewise.
2355 [C99-based-standards] (SCNoFAST64): Likewise.
2356 [C99-based-standards] (SCNuFAST64): Likewise.
2357 [C99-based-standards] (SCNxFAST64): Likewise.
2358 [C99-based-standards] (PRIdMAX): Likewise.
2359 [C99-based-standards] (PRIiMAX): Likewise.
2360 [C99-based-standards] (PRIoMAX): Likewise.
2361 [C99-based-standards] (PRIuMAX): Likewise.
2362 [C99-based-standards] (PRIxMAX): Likewise.
2363 [C99-based-standards] (PRIXMAX): Likewise.
2364 [C99-based-standards] (SCNdMAX): Likewise.
2365 [C99-based-standards] (SCNiMAX): Likewise.
2366 [C99-based-standards] (SCNoMAX): Likewise.
2367 [C99-based-standards] (SCNuMAX): Likewise.
2368 [C99-based-standards] (SCNxMAX): Likewise.
2369 [C99-based-standards] (PRIdPTR): Likewise.
2370 [C99-based-standards] (PRIiPTR): Likewise.
2371 [C99-based-standards] (PRIoPTR): Likewise.
2372 [C99-based-standards] (PRIuPTR): Likewise.
2373 [C99-based-standards] (PRIxPTR): Likewise.
2374 [C99-based-standards] (PRIXPTR): Likewise.
2375 [C99-based-standards] (SCNdPTR): Likewise.
2376 [C99-based-standards] (SCNiPTR): Likewise.
2377 [C99-based-standards] (SCNoPTR): Likewise.
2378 [C99-based-standards] (SCNuPTR): Likewise.
2379 [C99-based-standards] (SCNxPTR): Likewise.
2380 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2382 * conform/data/stdint.h-data: Update comments to clarify
2384 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2386 [C99-based standards] (INT8_MAX): Likewise.
2387 [C99-based standards] (INT16_MIN): Likewise.
2388 [C99-based standards] (INT16_MAX): Likewise.
2389 [C99-based standards] (INT32_MIN): Likewise.
2390 [C99-based standards] (INT32_MAX): Likewise.
2391 [C99-based standards] (INT64_MIN): Likewise.
2392 [C99-based standards] (INT64_MAX): Likewise.
2393 [C99-based standards] (UINT8_MAX): Likewise.
2394 [C99-based standards] (UINT16_MAX): Likewise.
2395 [C99-based standards] (UINT32_MAX): Likewise.
2396 [C99-based standards] (UINT64_MAX): Likewise.
2397 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2398 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2399 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2400 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2401 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2402 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2403 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2404 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2405 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2406 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2407 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2408 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2409 [C99-based standards] (INT_FAST8_MIN): Likewise.
2410 [C99-based standards] (INT_FAST8_MAX): Likewise.
2411 [C99-based standards] (INT_FAST16_MIN): Likewise.
2412 [C99-based standards] (INT_FAST16_MAX): Likewise.
2413 [C99-based standards] (INT_FAST32_MIN): Likewise.
2414 [C99-based standards] (INT_FAST32_MAX): Likewise.
2415 [C99-based standards] (INT_FAST64_MIN): Likewise.
2416 [C99-based standards] (INT_FAST64_MAX): Likewise.
2417 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2418 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2419 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2420 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2421 [C99-based standards] (INTPTR_MIN): Likewise.
2422 [C99-based standards] (INTPTR_MAX): Likewise.
2423 [C99-based standards] (UINTPTR_MAX): Likewise.
2424 [C99-based standards] (INTMAX_MIN): Likewise.
2425 [C99-based standards] (INTMAX_MAX): Likewise.
2426 [C99-based standards] (UINTMAX_MAX): Likewise.
2427 [C99-based standards] (PTRDIFF_MIN): Likewise.
2428 [C99-based standards] (PTRDIFF_MAX): Likewise.
2429 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2430 [C99-based standards] (SIZE_MAX): Likewise.
2431 [C99-based standards] (WCHAR_MAX): Likewise.
2432 [C99-based standards] (WINT_MAX): Likewise.
2433 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2434 constraint on value.
2435 [C99-based standards] (WCHAR_MIN): Likewise.
2436 [C99-based standards] (WINT_MIN): Likewise.
2437 [C99-based standards] (*_t): Allow.
2438 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2439 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2440 Include math.h-data and complex.h-data. Remove all expectations
2441 of math.h and complex.h contents.
2442 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2444 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2445 (struct tm): Expect tag.
2446 [C99-based-standards] (wcstof): Expect function.
2447 [C99-based-standards] (wcstold): Likewise.
2448 [C99-based-standards] (wcstoll): Likewise.
2449 [C99-based-standards] (wcstoull): Likewise.
2450 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2451 macro-int-constant. Specify type.
2452 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2453 constraint on value.
2454 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2456 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2458 [ISO C standards]: Do not allow headers.
2459 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2460 wcs[abcdefghijklmnopqrstuvwxyz]*.
2461 [ISO C standards] (*_t): Do not allow.
2462 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2464 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2465 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2467 [ISO C standards]: Do not allow headers.
2468 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2469 is[abcdefghijklmnopqrstuvwxyz]*.
2470 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2471 to[abcdefghijklmnopqrstuvwxyz]*.
2472 [ISO C standards] (*_t): Do not allow.
2473 * conform/data/stdalign.h-data: New file.
2474 * conform/data/stdbool.h-data: Likewise.
2475 * conform/data/stdnoreturn.h-data: Likewise.
2477 2012-11-07 Roland McGrath <roland@hack.frob.com>
2480 * manual/filesys.texi (Directory Entries): Typo fix.
2481 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2483 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2485 * elf/elf.h (EM_AARCH64): New macro.
2486 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2487 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2488 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2489 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2490 (R_AARCH64_TLSDESC): Likewise.
2491 (NT_ARM_TLS): Likewise.
2492 (NT_ARM_HW_BREAK): Likewise.
2493 (NT_ARM_HW_WATCH): Likewise.
2495 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2498 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2499 (__ieee754_powl): Saturate nonzero exponents with absolute value
2500 below 0x1p-79 to +/- 0x1p-79.
2501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2502 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2503 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2504 nonzero exponents with absolute value below 0x1p-32 to +/-
2506 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2507 (__ieee754_powl): Saturate nonzero exponents with absolute value
2508 below 0x1p-79 to +/- 0x1p-79.
2509 * math/libm-test.inc (pow_test): Add more tests.
2511 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2513 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2514 _dl_s390_cap_flags with kernel. Increase string length.
2515 (_dl_s390_platforms): Add z196 and zEC12.
2517 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2519 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2520 Change XOPEN21K to XOPEN2K.
2522 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2524 * string/memmove.c: Use memcpy when possible.
2526 2012-11-06 Andreas Jaeger <aj@suse.de>
2528 * po/eo.po: Update from translation team.
2530 2012-11-06 Joseph Myers <joseph@codesourcery.com>
2533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2534 exponent and small x and y exponents, scale x or y up. Increase
2535 by 2 the exponent used in scaling up.
2536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2538 * math/libm-test.inc (fma_test): Add more tests.
2539 (fma_test_towardzero): Likewise.
2540 (fma_test_downward): Likewise.
2541 (fma_test_upward): Likewise.
2543 2012-11-05 Joseph Myers <joseph@codesourcery.com>
2546 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2550 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2551 namespace for names of struct fields.
2552 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2554 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2555 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2557 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2560 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2562 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2564 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2568 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2571 2012-11-04 Joseph Myers <joseph@codesourcery.com>
2574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2575 definitely overflow as x * y not x * y + z.
2576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2578 * math/libm-test.inc (fma_test): Add more tests.
2579 (fma_test_towardzero): Likewise.
2580 (fma_test_downward): Likewise.
2581 (fma_test_upward): Likewise.
2583 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2587 * include/stub-tag.h: Remove file.
2588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2590 * manual/maint.texi (Porting): Don't reference it.
2591 * Makerules ($(objpfx)stubs): Likewise.
2592 * dirent/closedir.c: Don't include <stub-tag.h>.
2593 * dirent/dirfd.c: Likewise.
2594 * dirent/fdopendir.c: Likewise.
2595 * dirent/getdents.c: Likewise.
2596 * dirent/getdents64.c: Likewise.
2597 * dirent/opendir.c: Likewise.
2598 * dirent/readdir.c: Likewise.
2599 * dirent/readdir64.c: Likewise.
2600 * dirent/readdir64_r.c: Likewise.
2601 * dirent/readdir_r.c: Likewise.
2602 * dirent/rewinddir.c: Likewise.
2603 * dirent/seekdir.c: Likewise.
2604 * dirent/telldir.c: Likewise.
2605 * gmon/profil.c: Likewise.
2606 * grp/setgroups.c: Likewise.
2607 * inet/if_index.c: Likewise.
2608 * io/access.c: Likewise.
2609 * io/chdir.c: Likewise.
2610 * io/chmod.c: Likewise.
2611 * io/chown.c: Likewise.
2612 * io/close.c: Likewise.
2613 * io/dup.c: Likewise.
2614 * io/dup2.c: Likewise.
2615 * io/dup3.c: Likewise.
2616 * io/euidaccess.c: Likewise.
2617 * io/faccessat.c: Likewise.
2618 * io/fchdir.c: Likewise.
2619 * io/fchmod.c: Likewise.
2620 * io/fchmodat.c: Likewise.
2621 * io/fchown.c: Likewise.
2622 * io/fchownat.c: Likewise.
2623 * io/fcntl.c: Likewise.
2624 * io/flock.c: Likewise.
2625 * io/fstatfs.c: Likewise.
2626 * io/fstatfs64.c: Likewise.
2627 * io/fstatvfs.c: Likewise.
2628 * io/fstatvfs64.c: Likewise.
2629 * io/futimens.c: Likewise.
2630 * io/fxstat.c: Likewise.
2631 * io/fxstat64.c: Likewise.
2632 * io/fxstatat.c: Likewise.
2633 * io/fxstatat64.c: Likewise.
2634 * io/getcwd.c: Likewise.
2635 * io/isatty.c: Likewise.
2636 * io/lchmod.c: Likewise.
2637 * io/lchown.c: Likewise.
2638 * io/link.c: Likewise.
2639 * io/linkat.c: Likewise.
2640 * io/lseek.c: Likewise.
2641 * io/lseek64.c: Likewise.
2642 * io/lxstat64.c: Likewise.
2643 * io/mkdir.c: Likewise.
2644 * io/mkdirat.c: Likewise.
2645 * io/mkfifo.c: Likewise.
2646 * io/mkfifoat.c: Likewise.
2647 * io/open.c: Likewise.
2648 * io/open64.c: Likewise.
2649 * io/openat.c: Likewise.
2650 * io/openat64.c: Likewise.
2651 * io/pipe.c: Likewise.
2652 * io/pipe2.c: Likewise.
2653 * io/poll.c: Likewise.
2654 * io/posix_fadvise.c: Likewise.
2655 * io/posix_fadvise64.c: Likewise.
2656 * io/posix_fallocate.c: Likewise.
2657 * io/posix_fallocate64.c: Likewise.
2658 * io/read.c: Likewise.
2659 * io/readlink.c: Likewise.
2660 * io/readlinkat.c: Likewise.
2661 * io/rmdir.c: Likewise.
2662 * io/sendfile.c: Likewise.
2663 * io/sendfile64.c: Likewise.
2664 * io/statfs.c: Likewise.
2665 * io/statfs64.c: Likewise.
2666 * io/statvfs.c: Likewise.
2667 * io/statvfs64.c: Likewise.
2668 * io/symlink.c: Likewise.
2669 * io/symlinkat.c: Likewise.
2670 * io/ttyname.c: Likewise.
2671 * io/ttyname_r.c: Likewise.
2672 * io/umask.c: Likewise.
2673 * io/unlink.c: Likewise.
2674 * io/unlinkat.c: Likewise.
2675 * io/utime.c: Likewise.
2676 * io/utimensat.c: Likewise.
2677 * io/write.c: Likewise.
2678 * io/xmknod.c: Likewise.
2679 * io/xmknodat.c: Likewise.
2680 * io/xstat.c: Likewise.
2681 * io/xstat64.c: Likewise.
2682 * login/getpt.c: Likewise.
2683 * login/grantpt.c: Likewise.
2684 * login/unlockpt.c: Likewise.
2685 * math/e_acoshl.c: Likewise.
2686 * math/e_acosl.c: Likewise.
2687 * math/e_asinl.c: Likewise.
2688 * math/e_atan2l.c: Likewise.
2689 * math/e_atanhl.c: Likewise.
2690 * math/e_coshl.c: Likewise.
2691 * math/e_expl.c: Likewise.
2692 * math/e_fmodl.c: Likewise.
2693 * math/e_gammal_r.c: Likewise.
2694 * math/e_hypotl.c: Likewise.
2695 * math/e_j0l.c: Likewise.
2696 * math/e_j1l.c: Likewise.
2697 * math/e_jnl.c: Likewise.
2698 * math/e_lgammal_r.c: Likewise.
2699 * math/e_log10l.c: Likewise.
2700 * math/e_log2l.c: Likewise.
2701 * math/e_logl.c: Likewise.
2702 * math/e_powl.c: Likewise.
2703 * math/e_rem_pio2l.c: Likewise.
2704 * math/e_sinhl.c: Likewise.
2705 * math/e_sqrtl.c: Likewise.
2706 * math/fclrexcpt.c: Likewise.
2707 * math/fedisblxcpt.c: Likewise.
2708 * math/feenablxcpt.c: Likewise.
2709 * math/fegetenv.c: Likewise.
2710 * math/fegetexcept.c: Likewise.
2711 * math/fegetround.c: Likewise.
2712 * math/feholdexcpt.c: Likewise.
2713 * math/fesetenv.c: Likewise.
2714 * math/fesetround.c: Likewise.
2715 * math/feupdateenv.c: Likewise.
2716 * math/fgetexcptflg.c: Likewise.
2717 * math/fraiseexcpt.c: Likewise.
2718 * math/fsetexcptflg.c: Likewise.
2719 * math/ftestexcept.c: Likewise.
2720 * math/k_cosl.c: Likewise.
2721 * math/k_rem_pio2l.c: Likewise.
2722 * math/k_sinl.c: Likewise.
2723 * math/k_tanl.c: Likewise.
2724 * math/s_asinhl.c: Likewise.
2725 * math/s_atanl.c: Likewise.
2726 * math/s_cbrtl.c: Likewise.
2727 * math/s_erfl.c: Likewise.
2728 * math/s_expm1l.c: Likewise.
2729 * math/s_log1pl.c: Likewise.
2730 * math/s_tanhl.c: Likewise.
2731 * misc/acct.c: Likewise.
2732 * misc/brk.c: Likewise.
2733 * misc/chflags.c: Likewise.
2734 * misc/chroot.c: Likewise.
2735 * misc/fchflags.c: Likewise.
2736 * misc/fgetxattr.c: Likewise.
2737 * misc/flistxattr.c: Likewise.
2738 * misc/fremovexattr.c: Likewise.
2739 * misc/fsetxattr.c: Likewise.
2740 * misc/fsync.c: Likewise.
2741 * misc/ftruncate.c: Likewise.
2742 * misc/futimes.c: Likewise.
2743 * misc/futimesat.c: Likewise.
2744 * misc/getdomain.c: Likewise.
2745 * misc/getdtsz.c: Likewise.
2746 * misc/gethostid.c: Likewise.
2747 * misc/gethostname.c: Likewise.
2748 * misc/getloadavg.c: Likewise.
2749 * misc/getpagesize.c: Likewise.
2750 * misc/getsysstats.c: Likewise.
2751 * misc/getxattr.c: Likewise.
2752 * misc/gtty.c: Likewise.
2753 * misc/ioctl.c: Likewise.
2754 * misc/lgetxattr.c: Likewise.
2755 * misc/listxattr.c: Likewise.
2756 * misc/llistxattr.c: Likewise.
2757 * misc/lremovexattr.c: Likewise.
2758 * misc/lsetxattr.c: Likewise.
2759 * misc/lutimes.c: Likewise.
2760 * misc/madvise.c: Likewise.
2761 * misc/mincore.c: Likewise.
2762 * misc/mlock.c: Likewise.
2763 * misc/mlockall.c: Likewise.
2764 * misc/mmap.c: Likewise.
2765 * misc/mprotect.c: Likewise.
2766 * misc/msync.c: Likewise.
2767 * misc/munlock.c: Likewise.
2768 * misc/munlockall.c: Likewise.
2769 * misc/munmap.c: Likewise.
2770 * misc/preadv.c: Likewise.
2771 * misc/preadv64.c: Likewise.
2772 * misc/ptrace.c: Likewise.
2773 * misc/pwritev.c: Likewise.
2774 * misc/pwritev64.c: Likewise.
2775 * misc/readv.c: Likewise.
2776 * misc/reboot.c: Likewise.
2777 * misc/remap_file_pages.c: Likewise.
2778 * misc/removexattr.c: Likewise.
2779 * misc/revoke.c: Likewise.
2780 * misc/select.c: Likewise.
2781 * misc/setdomain.c: Likewise.
2782 * misc/setegid.c: Likewise.
2783 * misc/seteuid.c: Likewise.
2784 * misc/sethostid.c: Likewise.
2785 * misc/sethostname.c: Likewise.
2786 * misc/setregid.c: Likewise.
2787 * misc/setreuid.c: Likewise.
2788 * misc/setxattr.c: Likewise.
2789 * misc/sstk.c: Likewise.
2790 * misc/stty.c: Likewise.
2791 * misc/swapoff.c: Likewise.
2792 * misc/swapon.c: Likewise.
2793 * misc/sync.c: Likewise.
2794 * misc/syncfs.c: Likewise.
2795 * misc/syscall.c: Likewise.
2796 * misc/truncate.c: Likewise.
2797 * misc/ualarm.c: Likewise.
2798 * misc/usleep.c: Likewise.
2799 * misc/ustat.c: Likewise.
2800 * misc/utimes.c: Likewise.
2801 * misc/vhangup.c: Likewise.
2802 * misc/writev.c: Likewise.
2803 * posix/_exit.c: Likewise.
2804 * posix/alarm.c: Likewise.
2805 * posix/execve.c: Likewise.
2806 * posix/fexecve.c: Likewise.
2807 * posix/fork.c: Likewise.
2808 * posix/fpathconf.c: Likewise.
2809 * posix/getaddrinfo.c: Likewise.
2810 * posix/getegid.c: Likewise.
2811 * posix/geteuid.c: Likewise.
2812 * posix/getgid.c: Likewise.
2813 * posix/getgroups.c: Likewise.
2814 * posix/getlogin.c: Likewise.
2815 * posix/getlogin_r.c: Likewise.
2816 * posix/getpgid.c: Likewise.
2817 * posix/getpid.c: Likewise.
2818 * posix/getppid.c: Likewise.
2819 * posix/getresgid.c: Likewise.
2820 * posix/getresuid.c: Likewise.
2821 * posix/getsid.c: Likewise.
2822 * posix/getuid.c: Likewise.
2823 * posix/glob64.c: Likewise.
2824 * posix/nanosleep.c: Likewise.
2825 * posix/pathconf.c: Likewise.
2826 * posix/pause.c: Likewise.
2827 * posix/posix_madvise.c: Likewise.
2828 * posix/pread.c: Likewise.
2829 * posix/pread64.c: Likewise.
2830 * posix/pwrite.c: Likewise.
2831 * posix/pwrite64.c: Likewise.
2832 * posix/sched_getaffinity.c: Likewise.
2833 * posix/sched_getp.c: Likewise.
2834 * posix/sched_gets.c: Likewise.
2835 * posix/sched_primax.c: Likewise.
2836 * posix/sched_primin.c: Likewise.
2837 * posix/sched_rr_gi.c: Likewise.
2838 * posix/sched_setaffinity.c: Likewise.
2839 * posix/sched_setp.c: Likewise.
2840 * posix/sched_sets.c: Likewise.
2841 * posix/sched_yield.c: Likewise.
2842 * posix/setgid.c: Likewise.
2843 * posix/setlogin.c: Likewise.
2844 * posix/setpgid.c: Likewise.
2845 * posix/setresgid.c: Likewise.
2846 * posix/setresuid.c: Likewise.
2847 * posix/setsid.c: Likewise.
2848 * posix/setuid.c: Likewise.
2849 * posix/sleep.c: Likewise.
2850 * posix/spawni.c: Likewise.
2851 * posix/sysconf.c: Likewise.
2852 * posix/times.c: Likewise.
2853 * posix/wait.c: Likewise.
2854 * posix/wait3.c: Likewise.
2855 * posix/wait4.c: Likewise.
2856 * posix/waitpid.c: Likewise.
2857 * resolv/gai_sigqueue.c: Likewise.
2858 * resource/getpriority.c: Likewise.
2859 * resource/getrlimit.c: Likewise.
2860 * resource/getrusage.c: Likewise.
2861 * resource/nice.c: Likewise.
2862 * resource/setpriority.c: Likewise.
2863 * resource/setrlimit.c: Likewise.
2864 * resource/ulimit.c: Likewise.
2865 * rt/aio_cancel.c: Likewise.
2866 * rt/aio_fsync.c: Likewise.
2867 * rt/aio_read.c: Likewise.
2868 * rt/aio_sigqueue.c: Likewise.
2869 * rt/aio_suspend.c: Likewise.
2870 * rt/aio_write.c: Likewise.
2871 * rt/clock_getres.c: Likewise.
2872 * rt/clock_gettime.c: Likewise.
2873 * rt/clock_nanosleep.c: Likewise.
2874 * rt/clock_settime.c: Likewise.
2875 * rt/lio_listio.c: Likewise.
2876 * rt/mq_close.c: Likewise.
2877 * rt/mq_getattr.c: Likewise.
2878 * rt/mq_notify.c: Likewise.
2879 * rt/mq_open.c: Likewise.
2880 * rt/mq_receive.c: Likewise.
2881 * rt/mq_send.c: Likewise.
2882 * rt/mq_setattr.c: Likewise.
2883 * rt/mq_timedreceive.c: Likewise.
2884 * rt/mq_timedsend.c: Likewise.
2885 * rt/mq_unlink.c: Likewise.
2886 * rt/shm_open.c: Likewise.
2887 * rt/shm_unlink.c: Likewise.
2888 * rt/timer_create.c: Likewise.
2889 * rt/timer_delete.c: Likewise.
2890 * rt/timer_getoverr.c: Likewise.
2891 * rt/timer_gettime.c: Likewise.
2892 * rt/timer_settime.c: Likewise.
2893 * setjmp/__longjmp.c: Likewise.
2894 * setjmp/setjmp.c: Likewise.
2895 * signal/kill.c: Likewise.
2896 * signal/killpg.c: Likewise.
2897 * signal/raise.c: Likewise.
2898 * signal/sigaction.c: Likewise.
2899 * signal/sigaltstack.c: Likewise.
2900 * signal/sigblock.c: Likewise.
2901 * signal/sigignore.c: Likewise.
2902 * signal/sigintr.c: Likewise.
2903 * signal/signal.c: Likewise.
2904 * signal/sigpause.c: Likewise.
2905 * signal/sigpending.c: Likewise.
2906 * signal/sigqueue.c: Likewise.
2907 * signal/sigreturn.c: Likewise.
2908 * signal/sigset.c: Likewise.
2909 * signal/sigsetmask.c: Likewise.
2910 * signal/sigstack.c: Likewise.
2911 * signal/sigsuspend.c: Likewise.
2912 * signal/sigtimedwait.c: Likewise.
2913 * signal/sigvec.c: Likewise.
2914 * signal/sigwait.c: Likewise.
2915 * signal/sigwaitinfo.c: Likewise.
2916 * signal/sysv_signal.c: Likewise.
2917 * socket/accept.c: Likewise.
2918 * socket/accept4.c: Likewise.
2919 * socket/bind.c: Likewise.
2920 * socket/connect.c: Likewise.
2921 * socket/getpeername.c: Likewise.
2922 * socket/getsockname.c: Likewise.
2923 * socket/getsockopt.c: Likewise.
2924 * socket/isfdtype.c: Likewise.
2925 * socket/listen.c: Likewise.
2926 * socket/recv.c: Likewise.
2927 * socket/recvfrom.c: Likewise.
2928 * socket/recvmsg.c: Likewise.
2929 * socket/send.c: Likewise.
2930 * socket/sendmsg.c: Likewise.
2931 * socket/sendto.c: Likewise.
2932 * socket/setsockopt.c: Likewise.
2933 * socket/shutdown.c: Likewise.
2934 * socket/sockatmark.c: Likewise.
2935 * socket/socket.c: Likewise.
2936 * socket/socketpair.c: Likewise.
2937 * stdio-common/ctermid.c: Likewise.
2938 * stdio-common/cuserid.c: Likewise.
2939 * stdio-common/remove.c: Likewise.
2940 * stdio-common/rename.c: Likewise.
2941 * stdio-common/renameat.c: Likewise.
2942 * stdio-common/tempname.c: Likewise.
2943 * stdlib/getcontext.c: Likewise.
2944 * stdlib/makecontext.c: Likewise.
2945 * stdlib/setcontext.c: Likewise.
2946 * stdlib/swapcontext.c: Likewise.
2947 * stdlib/system.c: Likewise.
2948 * streams/fattach.c: Likewise.
2949 * streams/fdetach.c: Likewise.
2950 * streams/getmsg.c: Likewise.
2951 * streams/getpmsg.c: Likewise.
2952 * streams/putmsg.c: Likewise.
2953 * streams/putpmsg.c: Likewise.
2954 * sysdeps/unix/bsd/getpt.c: Likewise.
2955 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2956 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2957 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2960 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2961 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2962 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2963 * sysvipc/msgctl.c: Likewise.
2964 * sysvipc/msgget.c: Likewise.
2965 * sysvipc/msgrcv.c: Likewise.
2966 * sysvipc/msgsnd.c: Likewise.
2967 * sysvipc/semctl.c: Likewise.
2968 * sysvipc/semget.c: Likewise.
2969 * sysvipc/semop.c: Likewise.
2970 * sysvipc/semtimedop.c: Likewise.
2971 * sysvipc/shmat.c: Likewise.
2972 * sysvipc/shmctl.c: Likewise.
2973 * sysvipc/shmdt.c: Likewise.
2974 * sysvipc/shmget.c: Likewise.
2975 * termios/tcdrain.c: Likewise.
2976 * termios/tcflow.c: Likewise.
2977 * termios/tcflush.c: Likewise.
2978 * termios/tcgetattr.c: Likewise.
2979 * termios/tcgetpgrp.c: Likewise.
2980 * termios/tcsendbrk.c: Likewise.
2981 * termios/tcsetattr.c: Likewise.
2982 * termios/tcsetpgrp.c: Likewise.
2983 * time/adjtime.c: Likewise.
2984 * time/clock.c: Likewise.
2985 * time/getitimer.c: Likewise.
2986 * time/gettimeofday.c: Likewise.
2987 * time/setitimer.c: Likewise.
2988 * time/settimeofday.c: Likewise.
2989 * time/stime.c: Likewise.
2990 * time/time.c: Likewise.
2992 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2994 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2997 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2999 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3001 2012-11-03 Joseph Myers <joseph@codesourcery.com>
3004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3005 FE_TONEAREST before applying Dekker multiplication and Knuth
3006 addition. Clear inexact exceptions and check for exact zero
3008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3011 * math/libm-test.inc (fma_test): Add more tests.
3012 (fma_test_towardzero): Likewise.
3013 (fma_test_downward): Likewise.
3014 (fma_test_upward): Likewise.
3015 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3017 (libc_fesetround): New macro.
3018 (libc_fesetroundf): Likewise.
3019 (libc_fesetroundl): Likewise.
3020 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3022 (libc_fesetround_387): Likewise.
3023 (libc_fesetroundf): New macro.
3024 (libc_fesetround): Likewise.
3025 (libc_fesetroundl): Likewise.
3026 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3028 (libc_fesetroundf): New macro.
3029 (libc_fesetround): Likewise.
3030 (libc_fesetroundl): Likewise.
3031 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3032 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3033 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3035 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3036 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3038 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3039 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3041 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3045 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3046 integer constant usable in #if and use that to give value to enum
3048 (FE_DIVBYZERO): Likewise.
3049 (FE_UNDERFLOW): Likewise.
3050 (FE_OVERFLOW): Likewise.
3051 (FE_INVALID): Likewise.
3052 (FE_INVALID_SNAN): Likewise.
3053 (FE_INVALID_ISI): Likewise.
3054 (FE_INVALID_IDI): Likewise.
3055 (FE_INVALID_ZDZ): Likewise.
3056 (FE_INVALID_IMZ): Likewise.
3057 (FE_INVALID_COMPARE): Likewise.
3058 (FE_INVALID_SOFTWARE): Likewise.
3059 (FE_INVALID_SQRT): Likewise.
3060 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3061 (FE_TONEAREST): Likewise.
3062 (FE_TOWARDZERO): Likewise.
3063 (FE_UPWARD): Likewise.
3064 (FE_DOWNWARD): Likewise.
3065 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3066 (FE_DIVBYZERO): Likewise.
3067 (FE_OVERFLOW): Likewise.
3068 (FE_UNDERFLOW): Likewise.
3069 (FE_INEXACT): Likewise.
3070 (FE_TONEAREST): Likewise.
3071 (FE_DOWNWARD): Likewise.
3072 (FE_UPWARD): Likewise.
3073 (FE_TOWARDZERO): Likewise.
3074 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3075 (FE_UNDERFLOW): Likewise.
3076 (FE_OVERFLOW): Likewise.
3077 (FE_DIVBYZERO): Likewise.
3078 (FE_INVALID): Likewise.
3079 (FE_TONEAREST): Likewise.
3080 (FE_TOWARDZERO): Likewise.
3081 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3082 (FE_OVERFLOW): Likewise.
3083 (FE_UNDERFLOW): Likewise.
3084 (FE_DIVBYZERO): Likewise.
3085 (FE_INEXACT): Likewise.
3086 (FE_TONEAREST): Likewise.
3087 (FE_TOWARDZERO): Likewise.
3088 (FE_UPWARD): Likewise.
3089 (FE_DOWNWARD): Likewise.
3090 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3091 (FE_DIVBYZERO): Likewise.
3092 (FE_OVERFLOW): Likewise.
3093 (FE_UNDERFLOW): Likewise.
3094 (FE_INEXACT): Likewise.
3095 (FE_TONEAREST): Likewise.
3096 (FE_DOWNWARD): Likewise.
3097 (FE_UPWARD): Likewise.
3098 (FE_TOWARDZERO): Likewise.
3100 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3102 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3104 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3106 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3107 commands. Quote $PWD.
3108 (blacklist_exports): Don't use remove_newlines. Replace "declare
3110 (remove_newlines): Remove.
3112 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3114 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3115 * stdlib/stdlib.h (atof): Moved to ...
3116 * include/bits/stdlib-float.h: Here. New file.
3117 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3118 * stdlib/bits/stdlib-float.h: New file.
3119 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3124 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3126 * conform/conformtest.pl (@headers): Add fenv.h.
3127 * conform/data/fenv.h-data: New file.
3128 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3129 include of <math/fenv.h>.
3131 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3132 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3133 && !UNIX98]. Enables tests for XOPEN2K8.
3134 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3135 POSIX2008]: Likewise.
3137 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3138 (struct rusage): Do not expect type or its members.
3141 * math/math.h (FP_NAN): Define macro to integer constant usable in
3142 #if and use that to give value to enum constant.
3143 (FP_INFINITE): Likewise.
3144 (FP_ZERO): Likewise.
3145 (FP_SUBNORMAL): Likewise.
3146 (FP_NORMAL): Likewise.
3148 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3150 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3151 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3154 2012-11-02 Roland McGrath <roland@hack.frob.com>
3156 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3157 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3158 autoconf-time if not.
3159 * configure.in: Remove AC_PREREQ.
3161 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3163 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3164 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3165 of the internal implementation.
3167 2012-11-02 Joseph Myers <joseph@codesourcery.com>
3169 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3170 except include of <misc/sys/syslog.h>.
3172 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3175 function returns with a NULL context exit with zero.
3177 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3179 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3181 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3183 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3184 (run_program_cmd): This.
3185 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3186 (tst_langinfo): New variable. Use it.
3188 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3190 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3191 floating point opcodes.
3193 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3195 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3198 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3200 * sysdeps/mach/hurd/powerpc: Remove directory.
3201 * sysdeps/mach/powerpc: Likewise.
3203 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3205 * scripts/check-local-headers.sh: Ignore c++ headers.
3207 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3209 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3210 __libc_cleanup_region_start argument.
3212 2012-11-01 Joseph Myers <joseph@codesourcery.com>
3216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3217 x * y using scaling, not as x * y + z.
3218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3220 * math/libm-test.inc (fma_test): Add more tests.
3221 (fma_test_towardzero): Likewise.
3222 (fma_test_downward): Likewise.
3223 (fma_test_upward): Likewise.
3225 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3227 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3229 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3231 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3234 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3236 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3238 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3245 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3248 Fix the order of the list for glibc 2.17.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3252 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3256 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3260 for low part of x being zero before using __atanl (y).
3261 * math/libm-test.inc (atan2_test): Add another test.
3263 * manual/install.texi (Configuring and compiling): Document
3264 general use of test-wrapper and test-wrapper-env.
3265 * INSTALL: Regenerated.
3267 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3268 (__fma): Do not extract and scale down low bits on after-rounding
3269 systems when result rounded to normal precision would have normal
3271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3272 (__fmal): Do not extract and scale down low bits on after-rounding
3273 systems when result rounded to normal precision would have normal
3275 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3276 (__fmal): Do not extract and scale down low bits on after-rounding
3277 systems when result rounded to normal precision would have normal
3279 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3281 (fma_test): Add more tests.
3282 (fma_test_towardzero): Likewise.
3283 (fma_test_downward): Likewise.
3284 (fma_test_upward): Likewise.
3286 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3288 * sysdeps/i386/tininess.h: Renamed to ...
3289 * sysdeps/x86/tininess.h: This.
3290 * sysdeps/x86_64/tininess.h: Removed.
3292 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3294 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3295 input. Use $(build-program-cmd).
3296 ($(objpfx)tst-array1-static.out): Likewise.
3297 ($(objpfx)tst-array2.out): Likewise.
3298 ($(objpfx)tst-array3.out): Likewise.
3299 ($(objpfx)tst-array4.out): Likewise.
3300 ($(objpfx)tst-array5.out): Likewise.
3301 ($(objpfx)tst-array5-static.out): Likewise.
3303 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3305 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3308 * nss/nsswitch.h (nss_interface_function): Provide new
3309 macro for use with NSS functions.
3310 * grp/initgroups.c: Use new macro.
3311 * nss/getXXbyYY.c: Likewise.
3312 * nss/getXXbyYY_r.c: Likewise.
3313 * nss/getXXent.c: Likewise.
3314 * nss/getXXent_r.c: Likewise.
3315 * sysdeps/posix/getaddrinfo.c: Likewise.
3317 2012-10-30 Andreas Jaeger <aj@suse.de>
3319 * po/ru.po: Update Russion translation from translation project.
3321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3326 result and shift together with sticky bit instead of replicating
3327 round-to-nearest rounding.
3328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3330 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3331 missing underflow exceptions.
3332 (fma_test_towardzero): Add more tests.
3333 (fma_test_downward): Likewise.
3334 (fma_test_upward): Likewise.
3337 * sysdeps/generic/tininess.h: New file.
3338 * sysdeps/i386/tininess.h: Likewise.
3339 * sysdeps/sh/tininess.h: Likewise.
3340 * sysdeps/x86_64/tininess.h: Likewise.
3341 * stdlib/tst-strtod-underflow.c: Likewise.
3342 * stdlib/tst-tininess.c: Likewise.
3343 * stdlib/strtod_l.c: Include <tininess.h>.
3344 (round_and_return): Do not set errno for exact underflow cases.
3345 Force an underflow exception when setting errno for underflow.
3346 Determine underflow based on rounding to normal precision if
3347 TININESS_AFTER_ROUNDING.
3348 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3349 ERANGE for exact underflow cases.
3350 * stdlib/Makefile (tests): Add tst-tininess and
3351 tst-strtod-underflow.
3352 ($(objpfx)tst-tininess): Use $(link-libm).
3353 ($(objpfx)tst-strtod-underflow): Likewise.
3355 2012-10-30 Andreas Jaeger <aj@suse.de>
3358 * elf/Makefile (tests): Remove conditional for have-initfini-array
3359 since this is now always required and the variable does not exist
3361 (tests-static): Likewise.
3362 (modules-names): Likewise.
3364 * po/eo.po: Add Esperanto translation from translation project.
3366 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3367 merged with constructor/destructor.
3368 (init_array): Likewise.
3369 * elf/tst-array2dep.c (fini_array): Likewise.
3370 (init_array): Likewise.
3372 2012-10-29 Mike Frysinger <vapier@gentoo.org>
3374 * manual/message.texi: Delete @cartouche tags.
3376 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3378 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3380 * sysdeps/mach/hurd/fsync.c: Likewise.
3382 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3383 [_POSIX_REALTIME_SIGNALS]: Change condition to
3384 [_POSIX_REALTIME_SIGNALS > 0].
3386 2012-10-27 Andreas Jaeger <aj@suse.de>
3388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3389 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3391 [__WORDSIZE != 64]: Likewise.
3393 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3395 * iconvdata/tst-table.sh: Remove ${SHELL}.
3396 * iconvdata/tst-tables.sh: Likewise.
3398 2012-10-25 David S. Miller <davem@davemloft.net>
3400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3401 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3407 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3408 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3411 2012-10-25 Roland McGrath <roland@hack.frob.com>
3413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3414 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3417 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3418 Jim Blandy <jimb@codesourcery.com>
3420 * scripts/cross-test-ssh.sh: New file.
3421 * manual/install.texi (Configuring and compiling): Document use of
3423 * INSTALL: Regenerated.
3425 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3427 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3430 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3432 * Makeconfig (run-program-prefix): Fix comment.
3434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3435 Jim Blandy <jimb@codesourcery.com>
3437 * Makeconfig (test-wrapper): New variable,
3438 (test-wrapper-env): Likewise.
3439 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3440 (run-built-tests): Define to yes.
3441 (run-program-prefix): Use $(test-wrapper).
3442 (built-program-cmd): Likewise.
3443 * Rules (make-test-out): Use $(test-wrapper-env) and
3444 $(host-built-program-cmd).
3445 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3446 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3448 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3449 $(test-wrapper-env) to tst-rtld-load-self.sh.
3450 ($(objpfx)order2.out): Use $(test-wrapper).
3451 ($(objpfx)tst-initorder.out): Likewise.
3452 ($(objpfx)tst-initorder2.out): Likewise.
3453 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3454 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3455 (test_wrapper_env): New variable. Use it to run ld.so.
3456 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3457 Use it to run ld.so.
3458 (test_wrapper_env): Likewise.
3459 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3460 $(test-wrapper) to run-iconv-test.sh.
3461 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3462 (ICONV): Use $test_wrapper.
3463 * posix/Makefile ($(objpfx)globtest.out): Pass
3464 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3465 globtest.sh, not $(run-program-prefix).
3466 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3467 (test_wrapper): Likewise.
3468 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3469 set together with run_via_rtld_prefix.
3470 (run_program_prefix): Define in terms of test_wrapper and
3471 run_via_rtld_prefix.
3473 2012-10-24 Roland McGrath <roland@hack.frob.com>
3475 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3476 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3480 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3481 Declare __clock_getres, __clock_gettime, __clock_settime,
3482 __clock_nanosleep, and __clock_getcpuclockid.
3483 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3484 Remove librt_hidden_def (clock_gettime).
3485 * sysdeps/unix/clock_gettime.c: Likewise.
3486 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3488 * rt/clock_getres.c: Define __clock_getres as an alias.
3489 * sysdeps/posix/clock_getres.c: Likewise.
3490 * rt/clock_settime.c: Define __clock_settime as an alias.
3491 * sysdeps/unix/clock_settime.c: Likewise.
3492 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3493 * sysdeps/unix/clock_nanosleep.c: Likewise.
3494 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3495 * rt/clock-compat.c: New file.
3496 * rt/Makefile (librt-routines): Add clock-compat and move
3497 $(clock-routines) to ...
3498 (routines): ... here, new variable.
3499 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3500 Don't add get_clockfreq here.
3501 * rt/Versions (libc: GLIBC_2.17): New version set.
3502 Add clock_* symbols here.
3503 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3505 (GLIBC_2.17): Add clock_* symbols.
3506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3517 * NEWS: Mention the move.
3519 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3520 Use __open, __read, __close rather than their public counterparts.
3521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3522 (__get_clockfreq_via_cpuinfo): Likewise.
3523 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3524 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3526 * config.h.in (HAVE_IFUNC): New #undef.
3527 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3529 * configure: Regenerated.
3531 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3533 * configure.in: Move READELF check to start of file.
3534 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3535 libc_cv_asm_gnu_indirect_function in the process.
3536 * configure: Regenerated.
3538 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3540 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3541 send the output to /dev/null.
3542 (libc_cv_cc_with_libunwind): Likewise.
3543 (libc_cv_as_noexecstack): Likewise.
3544 * configure: Regenerate.
3546 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3548 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3550 * posix/globtest.sh (TMPDIR): Do not set.
3551 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3552 (testout): Likewise.
3554 2012-10-24 Andreas Jaeger <aj@suse.de>
3556 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3557 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3558 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3559 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3560 posix_fadvise64, posix_fallocate64.
3562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3563 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3564 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3566 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3568 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3571 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3572 <bits/fcntl-linux.h>.
3573 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3576 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3577 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3578 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3579 [__WORDSIZE != 64]: Likewise.
3581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3583 * Makeconfig (run-built-tests): New variable.
3584 * Rules [$(cross-compiling) = yes]: Change condition to
3585 [$(run-built-tests) = no].
3586 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3587 to [$(run-built-tests) = yes].
3588 * elf/Makefile [$(cross-compiling) = no]: Likewise
3589 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3590 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3591 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3592 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3593 * io/Makefile [$(cross-compiling) = no]: Likewise.
3594 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3595 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3596 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3597 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3598 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3599 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3600 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3601 * string/Makefile [$(cross-compiling) = no]: Likewise.
3603 * posix/Makefile ($(objpfx)globtest.out): Pass
3604 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3605 $(rtld-installed-name).
3606 * posix/globtest.sh (elf_objpfx): Remove variable.
3607 (rtld_installed_name): Likewise.
3608 (library_path): Likewise.
3609 (run_program_prefix): New variable. Use for running globtest
3612 2012-10-23 Jim Blandy <jimb@codesourcery.com>
3613 Joseph Myers <joseph@codesourcery.com>
3615 * Makeconfig (host-built-program-cmd): New variable.
3616 * elf/Makefile (tst-stackguard1-ARGS): Use
3617 $(host-built-program-cmd).
3618 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3619 (tst-spawn-ARGS): Likewise.
3620 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3622 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3623 Jim Blandy <jimb@codesourcery.com>
3625 * Makeconfig (run-via-rtld-prefix): New variable.
3626 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3627 (built-program-cmd): Likewise.
3629 2012-10-22 Andreas Jaeger <aj@suse.de>
3631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3632 __O_RSYNC if it exists, otherwise to O_SYNC.
3634 2012-10-22 Jim Blandy <jimb@codesourcery.com>
3635 Joseph Myers <joseph@codesourcery.com>
3637 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3639 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3641 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3644 2012-10-22 Andreas Jaeger <aj@suse.de>
3646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3654 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3661 2012-10-21 Jim Blandy <jimb@codesourcery.com>
3662 Joseph Myers <joseph@codesourcery.com>
3664 * config.make.in (NM): New variable.
3666 2012-10-21 Andreas Jaeger <aj@suse.de>
3668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3669 definitions and declarations that are provided by
3670 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3672 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3675 * elf/Makefile (tests-static): Add tst-leaks1-static.
3676 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3677 ($(objpfx)tst-leaks1-static): New rule.
3678 ($(objpfx)tst-leaks1-static-mem): Likewise.
3679 (tst-leaks1-static-ENV): New macro.
3680 * elf/dl-open.c (dl_open_worker): Check the main application
3681 only if SHARED is defined.
3682 * elf/tst-leaks1-static.c: New file.
3684 2012-10-20 Andreas Jaeger <aj@suse.de>
3686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3687 generic values for Linux.
3688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3689 and declarations that are provided by <bits/fcntl-linux.h> and
3690 include <bits/fcntl-linux.h>.
3691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3694 2012-10-20 Roland McGrath <roland@hack.frob.com>
3696 * io/fcntl.h: Move include of <bits/types.h> to the top and
3697 include it unconditionally.
3699 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3701 * wcsmbs/Makefile (tests-ifunc): New variable.
3702 (tests): Add $(tests-ifunc).
3703 * wcsmbs/test-wcschr-ifunc.c: New file.
3704 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3705 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3706 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3707 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3708 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3710 * string/Makefile (tests-ifunc): New variable.
3711 (tests): Add $(tests-ifunc).
3712 * string/test-memccpy.c (TEST_NAME): New macro.
3713 * string/test-memchr.c (TEST_NAME): Likewise.
3714 * string/test-memcmp.c (TEST_NAME): Likewise.
3715 * string/test-memcpy.c (TEST_NAME): Likewise.
3716 * string/test-memmem.c (TEST_NAME): Likewise.
3717 * string/test-memmove.c (TEST_NAME): Likewise.
3718 * string/test-memset.c (TEST_NAME): Likewise.
3719 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3720 * string/test-stpcpy.c (TEST_NAME): Likewise.
3721 * string/test-stpncpy.c (TEST_NAME): Likewise.
3722 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3723 * string/test-strcasestr.c (TEST_NAME): Likewise.
3724 * string/test-strcat.c (TEST_NAME): Likewise.
3725 * string/test-strchr.c (TEST_NAME): Likewise.
3726 * string/test-strcmp.c(TEST_NAME): Likewise.
3727 * string/test-strcpy.c (TEST_NAME): Likewise.
3728 * string/test-strcspn.c (TEST_NAME): Likewise.
3729 * string/test-strlen.c (TEST_NAME): Likewise.
3730 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3731 * string/test-strncmp.c (TEST_NAME): Likewise.
3732 * string/test-strncpy.c (TEST_NAME): Likewise.
3733 * string/test-strnlen.c (TEST_NAME): Likewise.
3734 * string/test-strpbrk.c (TEST_NAME): Likewise.
3735 * string/test-strrchr.c (TEST_NAME): Likewise.
3736 * string/test-strspn.c (TEST_NAME): Likewise.
3737 * string/test-strstr.c (TEST_NAME): Likewise.
3738 * string/test-bcopy-ifunc.c: New file.
3739 * string/test-bzero-ifunc.c: Likewise.
3740 * string/test-memccpy-ifunc.c: Likewise.
3741 * string/test-memchr-ifunc.c: Likewise.
3742 * string/test-memcmp-ifunc.c: Likewise.
3743 * string/test-memcpy-ifunc.c: Likewise.
3744 * string/test-memmem-ifunc.c: Likewise.
3745 * string/test-memmove-ifunc.c: Likewise.
3746 * string/test-mempcpy-ifunc.c: Likewise.
3747 * string/test-memset-ifunc.c: Likewise.
3748 * string/test-rawmemchr-ifunc.c: Likewise.
3749 * string/test-stpcpy-ifunc.c: Likewise.
3750 * string/test-stpncpy-ifunc.c: Likewise.
3751 * string/test-strcasecmp-ifunc.c: Likewise.
3752 * string/test-strcasestr-ifunc.c: Likewise.
3753 * string/test-strcat-ifunc.c: Likewise.
3754 * string/test-strchr-ifunc.c: Likewise.
3755 * string/test-strchrnul-ifunc.c: Likewise.
3756 * string/test-strcmp-ifunc.c: Likewise.
3757 * string/test-strcpy-ifunc.c: Likewise.
3758 * string/test-strcspn-ifunc.c: Likewise.
3759 * string/test-strlen-ifunc.c: Likewise.
3760 * string/test-strncasecmp-ifunc.c: Likewise.
3761 * string/test-strncat-ifunc.c: Likewise.
3762 * string/test-strncmp-ifunc.c: Likewise.
3763 * string/test-strncpy-ifunc.c: Likewise.
3764 * string/test-strnlen-ifunc.c: Likewise.
3765 * string/test-strpbrk-ifunc.c: Likewise.
3766 * string/test-strrchr-ifunc.c: Likewise.
3767 * string/test-strspn-ifunc.c: Likewise.
3768 * string/test-strstr-ifunc.c: Likewise.
3770 * debug/Makefile (tests-ifunc): New variable.
3771 (tests): Add $(tests-ifunc).
3772 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3773 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3774 * debug/test-stpcpy_chk-ifunc.c: New file.
3775 * debug/test-strcpy_chk-ifunc.c: Likewise.
3777 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3780 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3781 header is not read in.
3783 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3785 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3786 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3787 directly. Pass built executable to script as
3788 $(built-program-cmd).
3789 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3790 $testprogram without using LD_LIBRARY_PATH and $ldso.
3792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3793 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3794 $(rtld-installed-name).
3795 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3796 (rtld_installed_name): Likewise.
3797 (library_path): Likewise.
3798 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3799 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3800 $(run-program-prefix) to tst-tables.sh.
3801 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3802 it to run tst-table-from and tst-table-to.
3803 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3804 Pass it to tst-table.sh.
3805 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3806 $(run-program-prefix) to tst-gettext.sh.
3807 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3809 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3811 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3813 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3814 to run tst-gettext2.
3815 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3816 to run tst-translit.
3817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3818 $(run-program-prefix) to tst-mtrace.sh.
3819 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3821 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3822 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3823 $(rtld-installed-name).
3824 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3825 (rtld_installed_name): Likewise.
3826 (run_program_prefix): New variable. Use it to run wordexp-test.
3828 * Makeconfig (ARCH): Remove all definitions.
3829 (machine): Likewise.
3830 [ARCH]: Remove conditional code.
3831 [!objdir]: Give error.
3832 [!objdir] (objpfx): Remove.
3833 [!objdir] (common-objpfx): Likewise.
3834 [!objdir] (common-objdir): Likewise.
3835 * configure.in (config_makefile): Remove. Hardcode Makefile in
3836 AC_CONFIG_FILES call.
3837 * configure: Regenerated.
3840 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3842 (testout): Likewise.
3844 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3845 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3846 $(rtld-installed-name).
3847 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3848 (rtld_installed_name): Likwise.
3849 (runit): Remove function.
3850 (run_getconf): New variable, Use it for running getconf binary.
3852 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3855 * string/test-memmem.c (check_result): New function.
3856 (do_one_test): Use it.
3857 (check1): New function.
3858 (test_main): Use it.
3860 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3862 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3864 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3866 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3867 (_G_LSEEK64): Likewise.
3868 (_G_MMAP64): Likewise.
3869 (_G_FSTAT64): Likewise.
3870 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3871 (_G_LSEEK64): Likewise.
3872 (_G_MMAP64): Likewise.
3873 (_G_FSTAT64): Likewise.
3874 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3875 unconditional. Call __mmap64 directly.
3876 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3877 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3879 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3880 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3882 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3883 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3885 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3886 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3888 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3889 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3891 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3892 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3893 __fxstat64 directly.
3894 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3895 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3897 (freopen64) [!_G_OPEN64]: Remove conditional code.
3898 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3900 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3901 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3903 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3904 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3906 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3907 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3909 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3910 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3912 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3913 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3915 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3916 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3918 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3920 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3923 * manual/memory.texi (Malloc Tunable Parameters): Add note
3924 about free list pointers overwriting some perturb bytes.
3925 Wording suggested by Roland McGrath.
3927 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3929 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3930 (lgamma_test): Likewise.
3931 (tgamma_test): Likewise.
3933 2012-10-16 Florian Weimer <fweimer@redhat.com>
3936 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3937 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3939 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3941 * NEWS: Mention BZ #14716.
3942 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3943 when removing AVAILABLE1_USES_J macro.
3945 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3947 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3948 (__bswap_64): __uint64_t for unsigned 64-bit int.
3950 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3952 * include/string.h (memmem): Declare libc hidden alias.
3953 * string/memmem.c (memmem): Define libc hidden alias.
3954 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3955 __read, __close instead of open, read, close.
3957 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3960 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3962 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3963 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3964 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3966 (__rawmemchr_sse2): Likewise.
3967 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3968 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3969 (__strchr_sse2): Likewise.
3970 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3971 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3972 (__strcasecmp_sse2): Likewise.
3973 (__strncasecmp_sse2): Likewise.
3974 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3975 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3976 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3977 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3978 (__strrchr_sse2): Likewise.
3979 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3981 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3982 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3983 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3984 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3985 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3986 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3987 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3988 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3989 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3990 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3991 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3993 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3994 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3995 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3996 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3997 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3998 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3999 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4000 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4001 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4002 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4003 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4004 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4005 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4007 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4009 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4010 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4014 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4015 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4016 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4017 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4019 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4021 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4022 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4023 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4024 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4028 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4039 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4040 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4042 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4043 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4045 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4051 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4052 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4053 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4054 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4055 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4056 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4060 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4068 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4069 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4070 * include/ifunc-impl-list.h: New file.
4071 * misc/ifunc-impl-list.c: Likewise.
4072 * misc/Makefile (routines): Add ifunc-impl-list.
4073 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4074 * string/test-string.h: Include <ifunc-impl-list.h>.
4075 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4076 impl_array): New variables.
4077 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4079 (test_init): Call __libc_ifunc_impl_list to initialize
4080 func_list if TEST_IFUNC and TEST_NAME are defined.
4082 * string/Makefile (strop-tests): Add bcopy and bzero.
4083 * string/test-bcopy.c: New file.
4084 * string/test-bzero.c: Likewise.
4085 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4087 * string/test-memset.c: Support bzero test if TEST_BZERO is
4089 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4091 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4093 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4096 2012-10-10 Joseph Myers <joseph@codesourcery.com>
4098 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4099 * configure: Regenerated.
4101 * Makeconfig (+link-static-before-libc): Don't include
4102 $(link-static-libc).
4104 * libio/libio.h (_IO_pos_t): Remove.
4106 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4108 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4111 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4113 * crypt/crypt-entry.c: Include fips-private.h.
4114 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4115 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4116 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4117 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
4121 * crypt/crypt-private.h: Include stdbool.h.
4122 (_ufc_setup_salt_r): Return bool.
4123 * crypt/crypt-entry.c: Include errno.h.
4124 (__crypt_r): Return NULL with EINVAL for bad salt.
4125 * crypt/crypt_util.c (bad_for_salt): New.
4126 (_ufc_setup_salt_r): Check that salt is long enough and within
4127 the specified alphabet.
4128 * crypt/badsalttest.c: New file.
4129 * crypt/Makefile (tests): Add it.
4130 ($(objpfx)badsalttest): New.
4132 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4134 * NEWS: Add entry for BZ #14602.
4136 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4138 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4140 * math/libm-test.inc: Update comment listing what functions and
4142 (isgreater_test): New function.
4143 (isgreaterequal_test): Likewise.
4144 (isless_test): Likewise.
4145 (islessequal_test): Likewise.
4146 (islessgreater_test): Likewise.
4147 (isunordered_test): Likewise.
4148 (main): Call the new functions.
4150 2012-10-09 Roland McGrath <roland@hack.frob.com>
4152 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4153 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4154 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4155 * sysdeps/i386/configure: Regenerated.
4156 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4157 * sysdeps/mach/configure: Regenerated.
4158 * sysdeps/mach/hurd/configure: Regenerated.
4159 * sysdeps/powerpc/configure: Regenerated.
4160 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4161 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4162 * sysdeps/s390/s390-32/configure: Regenerated.
4163 * sysdeps/s390/s390-64/configure: Regenerated.
4164 * sysdeps/sh/configure: Regenerated.
4165 * sysdeps/sparc/configure: Regenerated.
4166 * sysdeps/unix/sysv/linux/configure: Regenerated.
4167 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4168 * sysdeps/x86_64/configure: Regenerated.
4170 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4171 defined. Don't check if MAP is NULL.
4173 2012-10-09 Joseph Myers <joseph@codesourcery.com>
4175 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4176 (_G_stat64): Likewise.
4177 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4178 (_G_stat64): Likewise.
4179 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4180 instead of struct _G_stat64.
4181 * libio/fileops.c (mmap_remap_check): Likewise.
4182 (decide_maybe_mmap): Likewise.
4183 (_IO_new_file_seekoff): Likewise.
4184 (_IO_file_stat): Likewise.
4185 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4187 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4188 instead of struct _G_stat64.
4189 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4191 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4196 (CHECK_EOL): New macro.
4197 (two_way_short_needle): Check beginning of haystack for EOL. Use
4199 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4200 Replace with CHECK_EOL.
4201 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4202 Replace with CHECK_EOL.
4204 2012-10-08 Joseph Myers <joseph@codesourcery.com>
4206 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4208 * math/libm-test.inc: Update comment listing what functions and
4210 (finite_test): New function.
4211 (isinf_test): Likewise.
4212 (isnan_test): Likewise.
4213 (fpclassify_test): Test subnormal input.
4214 (isfinite_test): Likewise.
4215 (isnormal_test): Likewise.
4216 (main): Call the new functions.
4218 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4221 * Makerules (%.dynsym): Force C locale when running
4222 $(OBJDUMP) --dynamic-syms.
4224 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4229 2012-10-06 David S. Miller <davem@davemloft.net>
4231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4232 upper 32-bits of the length value in %o2 since we use branch-on-register
4233 tests which consider the entire 64-bit register.
4235 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4237 * string/test-strstr.c (check2): Add a test for page boundary.
4239 2012-10-05 David S. Miller <davem@davemloft.net>
4241 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4244 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4246 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4247 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4248 and bzero when HWCAP_SPARC_CRYPTO is present.
4250 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4253 * string/test-strstr.c (check2): New function.
4254 (test_main): Call check2.
4256 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4258 * string/bug-strcasestr1.c (do_test): Moved to ...
4259 * string/test-strcasestr.c (check1): Here. New function.
4260 (do_one_test): Break out result checking code into ...
4261 (check_result): This. New function.
4262 (do_one_test): Call check_result.
4263 (test_main): Call check1.
4264 * string/bug-strchr1.c (do_test): Moved to ...
4265 * string/test-strchr.c (check1): Here. New function.
4266 (do_one_test): Break out result checking code into ...
4267 (check_result): This. New function.
4268 (do_one_test): Call check_result.
4269 (test_main): Call check1.
4270 * string/bug-strstr1.c (main): Moved to ...
4271 * string/test-strchr.c (check1): Here. New function.
4272 (do_one_test): Break out result checking code into ...
4273 (check_result): This. New function.
4274 (do_one_test): Call check_result.
4275 (test_main): Call check1.
4276 * string/bug-strcasestr1.c: Removed.
4277 * string/bug-strchr1.c: Likewise.
4278 * string/bug-strstr1.c: Likewise.
4280 * elf/Makefile (dl-routines): Add hwcaps.
4281 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4282 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4283 (_dl_important_hwcaps): Moved to ...
4284 * elf/dl-hwcaps.c: Here. New file.
4285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4288 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4289 if IS_IN_rtld isn't defined.
4291 * elf/dl-support.c (_dl_sysinfo_map): New.
4292 Include "get-dynamic-info.h" and "setup-vdso.h".
4293 (_dl_non_dynamic_init): Call setup_vdso.
4294 * elf/dynamic-link.h: Don't include <assert.h>.
4295 (elf_get_dynamic_info): Moved to ...
4296 * elf/get-dynamic-info.h: Here. New file.
4297 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4298 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4299 * elf/setup-vdso.h: Here. New file.
4300 * elf/rtld.c: Include "setup-vdso.h".
4301 (dl_main): Call setup_vdso.
4303 2012-10-05 Joseph Myers <joseph@codesourcery.com>
4305 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4306 creal in comment listing functions tested. List finite, isinf,
4307 isnan, isless, islessequal, isgreater, isgreaterequal,
4308 islessgreater, isunordered, lgamma_r and pow10 as functions and
4309 macros not tested. Mention which functions not tested are aliases
4310 for other functions. Fix typo. Note that signs of NaNs are not
4313 * scripts/config.guess: Update from config.git.
4314 * scripts/config.sub: Likewise.
4316 2012-10-04 Roland McGrath <roland@hack.frob.com>
4318 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4319 * misc/madvise.c (madvise): Renamed to __madvise.
4320 Make madvise a weak alias.
4321 * include/sys/mman.h: Declare __madvise.
4322 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4323 * sysdeps/unix/syscalls.list
4324 (madvise): Make __madvise the strong name, and madvise a weak alias.
4325 * sysdeps/unix/sysv/linux/syscalls.list
4326 (madvise, mmap): Remove redundant entries.
4327 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4328 * malloc/malloc.c (mtrim): Likewise.
4329 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4331 2012-10-03 Roland McGrath <roland@hack.frob.com>
4333 * sysdeps/mach/hurd/dl-cache.c: File removed.
4334 * config.h.in (USE_LDCONFIG): New #undef.
4335 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4336 * configure: Regenerated.
4337 * elf/Makefile (dl-routines): Add dl-cache only under
4338 [$(use-ldconfig) = yes].
4339 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4340 cache on [USE_LDCONFIG].
4341 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4343 * elf/rtld.c (dl_main): Likewise.
4345 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4347 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4348 _SC_LEVEL4_CACHE_LINESIZE.
4350 2012-10-03 Roland McGrath <roland@hack.frob.com>
4352 * sysdeps/unix/bsd/confstr.h: File removed.
4354 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
4356 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4359 2012-10-02 Roland McGrath <roland@hack.frob.com>
4361 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4362 Make 'mapoff' field ElfW(Off) rather than off_t.
4364 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4366 * nscd/Makefile: Remove nscd-cflags and all its users.
4367 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4368 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4371 * malloc.c (malloc_printerr): Clarify error message.
4373 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4377 Set bit_FMA_Usable if FMA is supported.
4378 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4380 (bit_FMA4_Usable): Updated.
4381 (index_FMA_Usable): New macro.
4382 (CPUID_FMA): Likewise
4383 (HAS_FMA): Defined with bit_FMA_Usable.
4385 2012-10-01 Roland McGrath <roland@hack.frob.com>
4387 * bits/types.h (__swblk_t): Type removed.
4388 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4389 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4391 (__SWBLK_T_TYPE): Likewise.
4392 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4393 (__SWBLK_T_TYPE): Likewise.
4394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4395 (__SWBLK_T_TYPE): Likewise.
4396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4397 (__SWBLK_T_TYPE): Likewise.
4399 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
4400 Honza Horak <hhorak@redhat.com>
4402 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4403 (xdr_mapname): Use YPMAXMAP as maxsize.
4404 (xdr_peername): Use YPMAXPEER as maxsize.
4405 (xdr_keydat): Use YPAXRECORD as maxsize.
4406 (xdr_valdat): Use YPMAXRECORD as maxsize.
4408 2012-10-01 Roland McGrath <roland@hack.frob.com>
4410 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4412 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4413 * csu/init-first.c: ... here.
4414 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4415 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4418 * sysdeps/i386/init-first.c: File removed.
4419 * sysdeps/sh/init-first.c: File removed.
4421 2012-10-01 Joseph Myers <joseph@codesourcery.com>
4424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4425 if x * y might underflow to zero and z is zero.
4426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4428 * math/libm-test.inc (min_subnorm_value): New variable.
4429 (fma_test): Add more tests.
4430 (fma_test_towardzero): Likewise.
4431 (fma_test_downward): Likewise
4432 (fma_test_upward): Likewise.
4433 (initialize): Set min_subnorm_value.
4435 2012-09-29 Joseph Myers <joseph@codesourcery.com>
4438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4441 mode for addition resulting in exact zero.
4442 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4447 * math/libm-test.inc (fma_test): Add more tests.
4448 (fma_test_towardzero): New function.
4449 (fma_test_downward): Likewise.
4450 (fma_test_upward): Likewise.
4451 (main): Call the new functions.
4453 2012-09-28 David S. Miller <davem@davemloft.net>
4455 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4457 2012-09-28 Roland McGrath <roland@hack.frob.com>
4459 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4462 * sysdeps/gnu/_G_config.h: Moved to ...
4463 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4464 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4465 * sysdeps/generic/_G_config.h: ... here.
4467 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4469 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4471 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4472 Conditionalize target on [libnss_test1.so-version].
4474 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4476 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4477 (elfobjdir): Move out of conditionals.
4479 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4480 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4481 (__nss_lookup_function): Conditionalize label remove_from_tree on
4482 [!DO_STATIC_NSS || SHARED], matching its only use.
4484 2012-09-28 David S. Miller <davem@davemloft.net>
4486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4487 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4489 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4491 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4493 when HWCAP_SPARC_CRYPTO is present.
4495 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4497 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4499 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4502 * stdio-common/vfprintf.c (process_string_arg): Revert
4505 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4507 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4509 * stdio-common/tst-sprintf.c: Include <locale.h>
4510 (main): Test sprintf's handling of incomplete multibyte
4513 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4515 * elf/dl-runtime.c (VERSYMIDX): Removed.
4516 * elf/dl-version.c (VERSYMIDX): Likewise.
4517 * elf/do-rel.h (VERSYMIDX): Likewise.
4519 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4520 * elf/rtld.c (VALIDX): Likewise.
4521 (ADDRIDX): Likewise.
4522 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4523 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4524 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4525 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4527 (ADDRIDX): Likewise.
4529 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4531 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4533 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4536 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4538 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4539 addresses are in the same scope as 192.0.2/24.
4540 * posix/gai.conf: Document new scope table defaults.
4542 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4545 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4546 for ftell. Compute offsets from write pointers instead.
4547 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4549 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4552 * libio/Makefile (tests): New test case tst-fseek.
4553 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4554 combination works in wide mode.
4555 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4556 state when the external buffer state changes.
4558 2012-09-27 David S. Miller <davem@davemloft.net>
4561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4562 pass reloc->r_addend in as the 'high' argument to
4563 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4567 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4569 * rt/tst-aio2.c: Include <pthread.h>.
4570 * rt/tst-aio3.c: Likewise.
4572 2012-09-27 Steve Ellcey <sellcey@mips.com>
4574 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4576 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4578 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4579 contents on [SHARED].
4581 2012-09-26 Marek Polacek <polacek@redhat.com>
4585 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4586 for C++ and GCC <4.3 as well as for non GCC compilers.
4588 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4592 2012-09-25 Roland McGrath <roland@hack.frob.com>
4594 * Makefile.in (all, install): Declare with .PHONY.
4595 Reported by Michael Hope <michael.hope@linaro.org>.
4597 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4599 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4600 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4602 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4604 (sydep_routines): Add the new and the internal functions.
4605 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4606 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4608 (GLIBC_2.17): Add the new function.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4610 (GLIBC_2.17): Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4612 (GLIBC_2.17): Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4614 (GLIBC_2.17): Likewise.
4615 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4617 2012-09-25 Alan Modra <amodra@gmail.com>
4619 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4620 Add release barrier before setting once_control to say
4621 initialisation is done. Add hints on lwarx. Use macro in
4623 (clear_once_control): Add release barrier.
4625 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4628 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4630 * math/s_clog10.c (__clog10): Likewise.
4631 * math/s_clog10f.c (__clog10f): Likewise.
4632 * math/s_clog10l.c (__clog10l): Likewise.
4633 * math/s_clogf.c (__clogf): Likewise.
4634 * math/s_clogl.c (__clogl): Likewise.
4635 * math/Makefile (libm-calls): Add x2y2m1.
4636 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4637 (__x2y2m1): Likewise.
4638 (__x2y2m1l): Likewise.
4639 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4640 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4643 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4644 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4645 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4646 * sysdeps/i386/fpu/libm-test-ulps: Update.
4647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4650 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4651 int as type of variable DEPTH.
4652 (glob): Use size_t instead of int as type of variables NEWCOUNT
4655 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4657 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4659 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4660 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4661 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4662 macros for using routine as __sincosf_ia32.
4663 Use macro for function declaration and weak_alias.
4664 * sysdeps/i386/fpu/libm-test-ulps: Update.
4666 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4669 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4671 * math/s_cexpf.c (__cexpf): Likewise.
4672 * math/s_csinf.c (__csinf): Likewise.
4673 * math/s_csinhf.c (__csinhf): Likewise.
4674 * math/s_ctanf.c (__ctanf): Likewise.
4675 * math/s_ctanhf.c (__ctanhf): Likewise.
4676 * math/s_ccosh.c (__ccoshf): Likewise.
4677 * math/s_cexp.c (__cexpl): Likewise.
4678 * math/s_csin.c (__csin): Likewise.
4679 * math/s_csinh.c (__csinh): Likewise.
4680 * math/s_ctan.c (__ctan): Likewise.
4681 * math/s_ctanh.c (ctanh): Likewise.
4682 * math/s_ccoshl.c (__ccoshl): Likewise.
4683 * math/s_cexpl.c (__cexpl): Likewise.
4684 * math/s_csinl.c (__csinl): Likewise.
4685 * math/s_csinhl.c (__csinhl): Likewise.
4686 * math/s_ctanl.c (__ctanl): Likewise.
4687 * math/s_ctanhl.c (__ctanhl): Likewise.
4689 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4691 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4692 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4693 (_IO_off_t): Define to __off_t, not _G_off_t.
4694 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4695 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4696 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4697 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4698 type of __dummy and __dummy2 fields.
4699 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4700 (_G_ssize_t): Likewise.
4701 (_G_off_t): Likewise.
4702 (_G_pid_t): Likewise.
4703 (_G_uid_t): Likewise.
4704 (_G_wchar_t): Likewise.
4705 (_G_wint_t): Likewise.
4706 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4707 (_G_ssize_t): Likewise.
4708 (_G_off_t): Likewise.
4709 (_G_pid_t): Likewise.
4710 (_G_uid_t): Likewise.
4711 (_G_wchar_t): Likewise.
4712 (_G_wint_t): Likewise.
4713 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4714 (_G_ssize_t): Likewise.
4715 (_G_off_t): Likewise.
4716 (_G_pid_t): Likewise.
4717 (_G_uid_t): Likewise.
4718 (_G_wchar_t): Likewise.
4719 (_G_wint_t): Likewise.
4721 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4723 * malloc/arena.c: Include malloc-sysdep.h.
4724 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4725 is sufficient to shrink the heap or an unmap is needed.
4726 * sysdeps/generic/malloc-sysdep.h: New file. Define
4727 new function check_may_shrink_heap.
4728 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4729 new function check_may_shrink_heap.
4731 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4733 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4736 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4738 * catgets/test-gencat.sh: Add "set -e".
4739 * elf/tst-pathopt.sh: Likewise.
4740 * grp/tst_fgetgrent.sh: Likewise.
4741 * iconvdata/run-iconv-test.sh: Likewise.
4742 * intl/tst-gettext.sh: Likewise.
4743 * intl/tst-gettext2.sh: Likewise.
4744 * intl/tst-gettext4.sh: Likewise.
4745 * intl/tst-gettext6.sh: Likewise.
4746 * intl/tst-translit.sh: Likewise.
4747 * io/ftwtest-sh: Likewise.
4748 * libio/test-freopen.sh: Likewise.
4749 * malloc/tst-mtrace.sh: Likewise.
4750 * posix/globtest.sh: Likewise.
4751 * posix/tst-getconf.sh: Likewise.
4752 * posix/wordexp-tst.sh: Likewise.
4753 * stdio-common/tst-printf.sh: Likewise.
4754 * stdio-common/tst-unbputc.sh: Likewise.
4755 * stdlib/tst-fmtmsg.sh: Likewise.
4756 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4757 * catgets/Makefile: Do not specify -e option when running
4758 testsuite shell scripts.
4759 * elf/Makefile: Likewise.
4760 * grp/Makefile: Likewise.
4761 * iconvdata/Makefile: Likewise.
4762 * intl/Makefile: Likewise.
4763 * io/Makefile: Likewise.
4764 * libio/Makefile: Likewise.
4765 * malloc/Makefile: Likewise.
4766 * posix/Makefile: Likewise.
4767 * stdio-common/Makefile: Likewise.
4768 * stdlib/Makefile: Likewise.
4769 * sysdeps/x86_64/Makefile: Likewise.
4771 * io/ftwtest-sh: Add copyright header.
4772 * posix/globtest.sh: Likewise.
4773 * posix/tst-getconf.sh: Likewise.
4774 * posix/wordexp-tst.sh: Likewise.
4775 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4777 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4780 * Makeconfig (+link): Defined as $(+link-static) if
4781 $(build-shared) isn't yes.
4782 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4784 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4786 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4789 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4790 new chunk size with MALLOC_ALIGN_MASK.
4792 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4795 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4797 (__printf_fphex): Determine rounding using get_rounding_mode and
4799 * stdio-common/tst-printf-round.c (struct hex_test): New
4801 (hex_tests): New variable.
4802 (test_hex_in_one_mode): New function.
4803 (do_test): Also run tests for hex float output.
4805 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4807 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4808 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4809 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4810 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4811 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4812 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4813 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4814 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4816 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4818 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4819 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4820 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4821 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4823 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4826 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4828 * elf/tst-rtld-load-self.sh: New test.
4829 * elf/Makefile: Run it.
4831 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4833 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4834 (tst-writev-ENV): Remove.
4835 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4837 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4839 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4841 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4843 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4845 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4847 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4848 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4849 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4852 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4855 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4856 * config.make.in (have-cpp-asm-debuginfo): Removed.
4857 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4858 * configure: Regenerated.
4860 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4863 * stdio-common/printf_fp.c: Include <stdbool.h> and
4865 (___printf_fp): Determine rounding using get_rounding_mode and
4867 * stdio-common/tst-printf-round.c: New file.
4868 * stdio-common/Makefile (tests): Add tst-printf-round.
4869 (link-libm): New variable.
4870 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4872 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4875 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4876 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4878 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4881 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4883 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4884 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4885 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4888 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4891 * include/rounding-mode.h: New file.
4892 * sysdeps/generic/get-rounding-mode.h: Likewise.
4893 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4894 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4895 (MAX_VALUE): New macro.
4896 (MIN_VALUE): Likewise.
4897 (overflow_value): New function.
4898 (underflow_value): Likewise.
4899 (round_and_return): Use overflow_value and underflow_value to
4900 determine return values in overflow and underflow cases. Use
4901 round_away to determine rounding depending on rounding mode.
4902 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4903 determine return values in overflow and underflow cases.
4904 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4905 (struct test_results): New structure.
4906 (struct test): Use struct test_results to store expected results
4907 for all rounding modes.
4908 (TEST): Include expected results for all rounding modes.
4909 (test_in_one_mode): New function.
4910 (do_test): Use test_in_one_mode to compute and check results.
4911 Check results for all rounding modes.
4912 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4915 2012-12-09 Allan McRae <allan@archlinux.org>
4917 * sysdeps/i386/fpu/libm-test-ulps: Update
4919 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4921 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4922 (_G_int32_t): Likewise.
4923 (_G_uint16_t): Likewise.
4924 (_G_uint32_t): Likewise.
4925 (_G_HAVE_BOOL): Likewise.
4926 (_G_HAVE_ATEXIT): Likewise.
4927 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4928 (_G_HAVE_IO_FILE_OPEN): Likewise.
4929 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4930 (_G_int32_t): Likewise.
4931 (_G_uint16_t): Likewise.
4932 (_G_uint32_t): Likewise.
4933 (_G_HAVE_BOOL): Likewise.
4934 (_G_HAVE_ATEXIT): Likewise.
4935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4936 (_G_HAVE_IO_FILE_OPEN): Likewise.
4937 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4938 (_G_int32_t): Likewise.
4939 (_G_uint16_t): Likewise.
4940 (_G_uint32_t): Likewise.
4941 (_G_HAVE_BOOL): Likewise.
4942 (_G_HAVE_ATEXIT): Likewise.
4943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4944 (_G_HAVE_IO_FILE_OPEN): Likewise.
4946 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4948 * csu/libc-tls.c: Update copyright years.
4950 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4952 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4953 [!_G_USING_THUNKS]: Remove conditional code.
4954 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4955 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4957 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4958 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4959 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4960 (_G_VTABLE_LABEL_PREFIX): Likewise.
4961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4962 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4964 (_G_VTABLE_LABEL_PREFIX): Likewise.
4965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4966 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4967 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4968 (_G_VTABLE_LABEL_PREFIX): Likewise.
4969 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4971 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4973 * libio/Makefile: Include ../Makeconfig before tests.
4974 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4975 only if $(build-shared) is yes.
4977 * iconv/gconv_db.c: Update copyright years.
4979 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4981 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4982 unwind info if defined PIC. Fix special cases description.
4983 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4985 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4987 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4989 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4991 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4993 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4996 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4997 (LDLIBS-tst-chk4): This.
4998 (LDFLAGS-tst-chk5): Renamed to ...
4999 (LDLIBS-tst-chk5): This.
5000 (LDFLAGS-tst-chk6): Renamed to ...
5001 (LDLIBS-tst-chk6): This.
5002 (LDFLAGS-tst-lfschk4): Renamed to ...
5003 (LDLIBS-tst-lfschk4): This.
5004 (LDFLAGS-tst-lfschk5): Renamed to ...
5005 (LDLIBS-tst-lfschk5): This.
5006 (LDFLAGS-tst-lfschk6): Renamed to ...
5007 (LDLIBS-tst-lfschk6): This.
5009 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5010 on $(common-objpfx)soversions.mk.
5012 2012-09-07 Joseph Myers <joseph@codesourcery.com>
5015 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5018 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5020 * malloc/arena.c (arena_get_retry): New function that gets
5021 another arena for the caller to try its request on.
5022 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5023 current arena cannot fulfill the request.
5024 (__libc_memalign): Likewise.
5025 (__libc_memalign): Likewise.
5026 (__libc_pvalloc): Likewise.
5027 (__libc_calloc): Likewise.
5029 2012-09-05 John Tobey <john.tobey@gmail.com>
5032 * manual/arith.texi (Operations on Complex): Fix description
5035 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5038 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5042 * manual/memory.texi (Memory): Make order of menu items match
5045 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5047 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5048 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5049 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5051 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5053 * csu/libc-tls.c (static_dtv): Renamed to ...
5054 (_dl_static_dtv): This. Make it global.
5055 (_dl_initial_dtv): Removed.
5056 (__libc_setup_tls): Updated.
5057 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5058 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5061 2012-09-06 Petr Machata <pmachata@redhat.com>
5063 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5064 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5065 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5066 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5068 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5071 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5072 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5075 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5078 * Makeconfig (link-static-before-libc): Replace $(+prector)
5080 (link-static-after-libc): Replace $(+postctor) with
5082 (link-bounded): Replace $(+prector)/$(+postctor) with
5083 $(+prectorT)/$(+postctorT).
5084 (+prectorT): New macro.
5085 (+postctorT): Likewise.
5087 2012-09-06 Joseph Myers <joseph@codesourcery.com>
5089 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5090 (round_str): Handle values above the maximum for IBM long double
5092 * stdlib/tst-strtod-round.c (tests): Regenerated.
5094 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5096 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5098 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5099 zarch_nohighgprs around the zarch optimized routines.
5100 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5101 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5105 2012-09-05 David S. Miller <davem@davemloft.net>
5107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5109 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5110 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5111 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5112 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5117 * malloc/arena.c: Fold copyright years.
5118 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5120 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5122 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5126 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5131 change internal state upon failure.
5133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
5135 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5136 * malloc/memusage.c (mmap): Likewise.
5137 (mmap64, mremap): Likewise. Adjust name in comment.
5139 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5141 * libio/fileops.c: Fix typos in comments.
5142 * libio/oldfileops.c: Likewise.
5143 * libio/wfileops.c: Likewise.
5145 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5148 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5149 (tst-malloc-usable-ENV): Set environment for test case.
5150 * malloc/hooks.c (malloc_check_get_size): New function to get
5152 * malloc/malloc.c (musable): Use malloc_check_get_size.
5153 * malloc/tst-malloc-usable.c: New test case.
5155 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5157 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5159 2012-09-05 Allan McRae <allan@archlinux.org>
5162 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5163 determine header location.
5164 * configure: Regenerated.
5166 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5168 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5170 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
5171 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5175 2012-09-04 David S. Miller <davem@davemloft.net>
5177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5181 2012-09-04 Florian Weimer <fweimer@redhat.com>
5183 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5186 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5188 2012-09-04 Joseph Myers <joseph@codesourcery.com>
5191 * libio/iogetdelim.c: Include <limits.h>.
5192 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5193 + len + 1 would overflow.
5195 2012-09-03 Andreas Jaeger <aj@suse.de>
5197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5198 * sysdeps/i386/fpu/libm-test-ulps: Update.
5200 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5202 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5203 Add s_sinf-sse2, s_conf-sse2.
5205 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5206 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5207 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5208 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5210 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5211 for using routine as __sinf_ia32.
5212 Use macro for function declaration and weak_alias.
5213 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5214 for using routine as __cosf_ia32.
5215 Use macro for function declaration and weak_alias.
5217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5218 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5220 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5221 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5224 * math/libm-test.inc (cos_test): Add more test cases.
5225 (sin_test): Likewise.
5226 (sincos_test): Likewise.
5228 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5230 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5231 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5233 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5235 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5238 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5239 first element of the GOT.
5240 (elf_machine_load_address): Return the difference between
5241 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5243 2012-09-01 Allan McRae <allan@archlinux.org>
5246 * configure.in (AWK): Require gawk version 3.0 or later.
5247 * configure: Regenerated.
5249 2012-09-01 Joseph Myers <joseph@codesourcery.com>
5251 * sysdeps/unix/sysv/linux/kernel-features.h
5252 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5254 [__NR_clock_getres]: Make code unconditional.
5255 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5256 (clock_getcpuclockid): Remove code left unreachable by removal of
5258 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5262 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5263 Make code unconditional.
5264 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5265 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5266 * sysdeps/unix/sysv/linux/clock_settime.c
5267 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5269 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5272 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5275 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5276 scripts/test-installation.pl.
5278 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5279 and $ld_so_version if it is set.
5281 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5285 failure if reading from procfs failed.
5286 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5288 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5290 * sysdeps/unix/sysv/linux/kernel-features.h
5291 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5292 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5293 Remove conditional code.
5294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5295 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5296 Remove conditional code.
5297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5298 * sysdeps/unix/sysv/linux/i386/fxstat.c
5299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5301 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5302 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5304 * sysdeps/unix/sysv/linux/i386/lxstat.c
5305 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5307 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5308 Remove conditional code.
5309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5310 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5311 Remove conditional code.
5312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5313 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5314 <kernel-features.h>.
5315 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5317 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5318 Remove conditional code.
5319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5320 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5323 2012-08-27 Mike Frysinger <vapier@gentoo.org>
5326 * NEWS: Add fixed bug number.
5328 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5331 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5332 underflowing exponent in case of negative sign.
5333 * stdlib/tst-strtod-round-data: Add more tests.
5334 * stdlib/tst-strtod-round.c (tests): Regenerated.
5337 * stdlib/strtod_l.c (NDIG): Remove.
5338 (HEXNDIG): Likewise.
5339 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5340 smallest representable value.
5341 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5342 lie within an exact representation of 1/2 ulp of the result.
5343 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5345 (TENS_P9_IDX): Define unconditionally.
5346 (TENS_P9_SIZE): Likewise.
5347 (TENS_P10_IDX): Likewise.
5348 (TENS_P10_SIZE): Likewise.
5349 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5350 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5351 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5352 entries for 10^2^13 and 10^2^14.
5353 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5354 (TENS_P13_IDX): Define.
5355 (TENS_P13_SIZE): Likewise.
5356 (TENS_P14_IDX): Likewise.
5357 (TENS_P14_SIZE): Likewise.
5358 (_fpioconst_pow10): Change array size to
5359 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5361 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5362 1024]: Add entries for 10^2^13 and 10^2^14.
5363 [LAST_POW10 > _LAST_POW10]: Remove #error.
5364 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5365 (_fpioconst_pow10): Change array size to
5366 FPIOCONST_POW10_ARRAY_SIZE.
5367 * stdlib/gen-fpioconst.c: New file.
5368 * stdlib/gen-tst-strtod-round.c: Likewise.
5369 * stdlib/tst-strtod-round-data: Likewise.
5370 * stdlib/tst-strtod-round.c: Likewise.
5371 * stdlib/Makefile (tests): Add tst-strtod-round.
5374 * stdlib/strtod_l.c: Include <stdint.h>.
5375 (NDEBUG): Do not define.
5376 (round_and_return): Change EXPONENT parameter to type intmax_t.
5377 Rearrange calculations to avoid internal overflow possibilities.
5378 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5379 Rearrange calculations to avoid internal overflow possibilities.
5380 Assert that number fits inside MPNSIZE limbs.
5381 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5382 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5383 calculations and add assertions to avoid internal overflow
5384 possibilities. Add casts to avoid signed/unsigned operations.
5385 * stdlib/tst-strtod-overflow.c: New file.
5386 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5388 2012-08-25 Marek Polacek <polacek@redhat.com>
5390 * time/time.h: Fix some typos in comments.
5392 2012-08-23 Roland McGrath <roland@hack.frob.com>
5394 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5395 * posix/tst-rfc3484-2.c: Likewise.
5396 * posix/tst-rfc3484-3.c: Likewise.
5398 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5400 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5401 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5403 2012-08-23 Joseph Myers <joseph@codesourcery.com>
5405 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5406 #include of fxstatat64.c.
5408 2012-08-22 Roland McGrath <roland@hack.frob.com>
5410 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5411 * shadow/getspent_r.c: Likewise.
5412 * shadow/getspnam.c: Likewise.
5413 * shadow/getspnam_r.c: Likewise.
5414 * gshadow/getsgent.c: Likewise.
5415 * gshadow/getsgent_r.c: Likewise.
5416 * gshadow/getsgnam.c: Likewise.
5417 * gshadow/getsgnam_r.c: Likewise.
5418 * inet/getnetbyad.c: Likewise.
5419 * inet/getnetbyad_r.c: Likewise.
5420 * inet/getnetbynm.c: Likewise.
5421 * inet/getnetbynm_r.c: Likewise.
5422 * inet/getnetent.c: Likewise.
5423 * inet/getnetent_r.c: Likewise.
5424 * inet/getproto.c: Likewise.
5425 * inet/getproto_r.c: Likewise.
5426 * inet/getprtent.c: Likewise.
5427 * inet/getprtent_r.c: Likewise.
5428 * inet/getprtname.c: Likewise.
5429 * inet/getprtname_r.c: Likewise.
5430 * inet/getrpcbyname.c: Likewise.
5431 * inet/getrpcbyname_r.c: Likewise.
5432 * inet/getrpcbynumber.c: Likewise.
5433 * inet/getrpcbynumber_r.c: Likewise.
5434 * inet/getrpcent.c: Likewise.
5435 * inet/getrpcent_r.c: Likewise.
5436 * inet/getaliasent.c: Likewise.
5437 * inet/getaliasent_r.c: Likewise.
5438 * inet/getaliasname.c: Likewise.
5439 * inet/getaliasname_r.c: Likewise.
5440 * nscd/getgrgid_r.c: Likewise.
5441 * nscd/getgrnam_r.c: Likewise.
5442 * nscd/gethstbyad_r.c: Likewise.
5443 * nscd/gethstbynm3_r.c: Likewise.
5444 * nscd/getpwnam_r.c: Likewise.
5445 * nscd/getpwuid_r.c: Likewise.
5446 * nscd/getsrvbynm_r.c: Likewise.
5447 * nscd/getsrvbypt_r.c: Likewise.
5448 * nscd/gai.c: Likewise.
5450 * configure.in (build_nscd): New substituted variable, set
5451 by --disable-build-nscd and defaults to $use_nscd.
5452 * configure: Regenerated.
5453 * config.make.in (build-nscd): New substituted variable.
5454 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5455 Change conditional to require [$(build-nscd) = yes] as well.
5456 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5459 * configure.in (use_nscd): New substituted variable, set by
5460 --disable-nscd. If enabled, define USE_NSCD.
5461 * configure: Regenerated.
5462 * config.h.in: Add USE_NSCD.
5463 * config.make.in (use-nscd): New substituted variable.
5464 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5465 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5466 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5467 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5468 (CFLAGS-getgrnam_r.c): Likewise.
5469 (CFLAGS-initgroups.c): Likewise.
5470 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5471 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5473 * inet/getnetgrent_r.c
5474 (nscd_setnetgrent): New function, broken out of ...
5475 (setnetgrent): ... here. Call it.
5476 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5477 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5478 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5479 * nscd/Makefile (routines, aux): Move definitions after include of
5480 Makeconfig. Conditionalize on [$(use-nscd) != no].
5481 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5482 Conditionalize on [USE_NSCD].
5483 (is_nscd, nscd_init_cb): Likewise.
5484 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5485 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5486 * nss/nss_db/db-init.c: Likewise.
5487 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5489 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5490 (make_request): Use it.
5491 (cache_valid_p): New function.
5492 (__check_pf): Use it.
5493 * NEWS: Add item for --disable-nscd.
5495 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5497 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5498 to support sed >= 4.2.1-20-ga9bf076.
5499 * configure: Regenerated.
5501 2012-08-22 Roland McGrath <roland@hack.frob.com>
5503 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5504 Conditionalize whole body on [IREL].
5506 2012-08-22 Jeff Law <law@redhat.com>
5509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5510 if the family is PF_UNSPEC.
5512 2012-08-22 Mike Frysinger <vapier@gentoo.org>
5514 * Makerules (lib-version): Rename from V.
5515 (install-lib-nosubdir): Change V to lib-version.
5517 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5520 * powerpc32/power6/wcschr.c: New file.
5521 * powerpc32/power6/wcscpy.c: New file.
5522 * powerpc32/power6/wcsrchr.c: New file.
5523 * powerpc64/power6/wcschr.c: New file.
5524 * powerpc64/power6/wcscpy.c: New file.
5525 * powerpc64/power6/wcsrchr.c: New file.
5527 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5529 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5530 (two_way_short_needle): Use it.
5531 * string/strstr.c (AVAILABLE1_USES_J): Define.
5532 * string/strcasestr.c: Likewise.
5534 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5536 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5539 * NEWS: Add an entry.
5540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5541 define their defaults.
5542 (two_way_short_needle): Detect end-of-string on-the-fly.
5543 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5544 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5545 * string/bug-strcasestr1.c: New test.
5546 * string/Makefile: Run it.
5548 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5551 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5552 the first character.
5554 2012-08-21 Roland McGrath <roland@hack.frob.com>
5556 * csu/elf-init.c (__libc_csu_irel): Function removed.
5557 * csu/libc-start.c (apply_irel): New function.
5558 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5560 2012-08-21 Joseph Myers <joseph@codesourcery.com>
5562 * sysdeps/unix/sysv/linux/kernel-features.h
5563 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5564 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5565 <kernel-features.h>.
5566 [__NR_fadvise64_64]: Make code unconditional.
5567 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5568 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5569 !__NR_fadvise64_64)]: Likewise.
5570 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5571 !__NR_fadvise64_64))]: Likewise.
5572 [__NR_fadvise64]: Make code unconditional.
5573 [!__NR_fadvise64]: Remove conditional code.
5574 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5575 <kernel-features.h>.
5576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5581 not include <kernel-features.h>.
5582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5586 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5587 include <kernel-features.h>.
5588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5593 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5596 slight instruction rearrangements per scrollpipe analysis.
5597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5599 2012-08-20 Roland McGrath <roland@hack.frob.com>
5601 * manual/syslog.texi (syslog; vsyslog, closelog):
5602 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5603 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5605 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5606 DSOCAPS to match condition on defining it.
5608 2012-08-20 Joseph Myers <joseph@codesourcery.com>
5610 * sysdeps/unix/sysv/linux/kernel-features.h
5611 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5616 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5617 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5619 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5620 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5622 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5623 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5625 * sysdeps/unix/sysv/linux/kernel-features.h
5626 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5627 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5629 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5630 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5631 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5632 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5633 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5634 Make code unconditional.
5635 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5636 (__mmap64) [!__NR_mmap2]: Likewise.
5637 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5638 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5639 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5640 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5641 [__NR_mmap2]: Make code unconditional.
5642 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5643 (__mmap64) [!__NR_mmap2]: Likewise.
5645 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5647 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5649 2012-08-18 Andreas Jaeger <aj@suse.de>
5651 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5653 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5655 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5656 * include/unistd.h (__have_sock_cloexec): Likewise.
5657 (__have_pipe2): Likewise.
5658 (__have_dup3): Likewise.
5660 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5663 * include/unistd.h (__have_pipe2): Change define into an extern int.
5664 (__have_dup3): Likewise.
5665 * socket/have_sock_cloexec.c: Include fcntl.h.
5666 (__have_pipe2): New variable.
5667 (__have_dup3): Likewise.
5669 2012-08-17 Mike Frysinger <vapier@gentoo.org>
5671 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5673 2012-08-17 Marek Polacek <polacek@redhat.com>
5675 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5676 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5678 2012-08-17 Roland McGrath <roland@hack.frob.com>
5680 * configure.in: Add AC_SUBST for sysheaders.
5681 * configure: Regenerated.
5682 * config.make.in (sysheaders): New substituted variable.
5684 * sysdeps/unix/mkfifo.c: Moved ...
5685 * sysdeps/posix/mkfifo.c: ... here.
5686 * sysdeps/unix/mkfifoat.c: Moved ...
5687 * sysdeps/posix/mkfifoat.c: ... here.
5689 * sysdeps/unix/utime.c: Moved ...
5690 * sysdeps/posix/utime.c: ... here.
5692 * sysdeps/unix/time.c: Moved ...
5693 * sysdeps/posix/time.c: ... here.
5694 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5695 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5697 * sysdeps/unix/nice.c: Moved ...
5698 * sysdeps/posix/nice.c: ... here.
5700 * sysdeps/unix/alarm.c: Moved ...
5701 * sysdeps/posix/alarm.c: ... here.
5703 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5705 2012-08-17 Jeff Law <law@redhat.com>
5707 * intl/Makefile (codeset_mo): New variable.
5708 ($(codeset_mo)): New target.
5709 (tst-codeset.out): Depend on that. Remove explicit rule.
5710 (tst-gettext3.out, tst-gettext5.out): Likewise.
5711 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5712 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5713 * intl/tst-codeset.sh: Remove.
5714 * intl/tst-gettext3.sh: Likewise.
5715 * intl/tst-gettext5.sh: Likewise.
5717 2012-08-17 Roland McGrath <roland@hack.frob.com>
5719 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5720 * sysdeps/unix/syscalls.list: ... here.
5722 * sysdeps/posix/getaddrinfo.c
5723 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5724 (gaiconf_init, gaiconf_reload): Use them.
5726 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5727 Define using time_t rather than struct timespec.
5729 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5730 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5732 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5734 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5735 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5739 __libc_cleanup_push argument.
5741 * bits/param.h: New file.
5742 * misc/sys/param.h: New file.
5743 * include/sys/param.h: New file.
5744 * misc/Makefile (headers): Add bits/param.h.
5745 * sysdeps/generic/sys/param.h: File removed.
5746 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5747 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5748 * sysdeps/mach/hurd/bits/param.h: New file.
5749 * sysdeps/mach/hurd/sys/param.h: File removed.
5751 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5754 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5756 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5757 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5760 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5761 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5762 rather than -D_IO_MTSAFE_IO conditionally.
5763 * stdio-common/Makefile (CPPFLAGS): Likewise.
5764 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5765 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5766 Use $(libio-mtsafe).
5767 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5769 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5770 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5771 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5772 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5773 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5774 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5775 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5776 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5777 (CFLAGS-fread_u_chk.c): Likewise.
5778 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5779 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5780 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5781 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5782 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5783 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5784 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5785 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5786 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5788 * libio/Makefile: Test [$(libc-reentrant) = yes]
5789 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5792 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5793 * sysdeps/pthread/configure: File removed.
5794 * sysdeps/pthread/Makeconfig: New file.
5795 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5796 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5798 2012-08-16 Gary Benson <gbenson@redhat.com>
5800 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5801 unmapping the first object in a namespace.
5803 2012-08-16 Roland McGrath <roland@hack.frob.com>
5805 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5806 (__internal_setnetgrent): ... this. Add internal_function to
5807 definition. Add libc_hidden_def.
5808 (setnetgrent): Update caller.
5809 (internal_endnetgrent): Renamed to ...
5810 (__internal_endnetgrent): ... this. Add internal_function to
5811 definition. Add libc_hidden_def.
5812 (endnetgrent): Update caller.
5813 (internal_getnetgrent_r): Renamed to ...
5814 (__internal_getnetgrent_r): ... this. Add internal_function to
5815 definition. Add libc_hidden_def.
5816 (__getnetgrent_r): Update caller.
5817 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5819 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5821 * stdlib/longlong.h: Update from GCC.
5823 2012-08-16 Roland McGrath <roland@hack.frob.com>
5825 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5826 on _QL, which is set by umul_ppmm but never used.
5827 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5828 variables, which are set by GMP macros but never used.
5829 * stdio-common/_itowa.c (_itowa): Likewise.
5830 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5831 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5833 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5835 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5836 struct La_sh_regs is not constant.
5837 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5838 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5839 and struct La_sparc64_regs are not constant.
5841 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5843 * sysdeps/unix/sysv/linux/kernel-features.h
5844 (__ASSUME_POSIX_TIMERS): Remove.
5845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5847 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5848 Make code unconditional.
5849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5850 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5851 Make code unconditional.
5852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5853 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5854 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5856 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5857 Make code unconditional.
5858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5859 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5860 (__libc_missing_posix_timers): Remove.
5862 2012-08-15 Roland McGrath <roland@hack.frob.com>
5864 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5865 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5867 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5869 * elf/dl-sym.c: Include <stdlib.h>.
5871 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5872 constants, which avoids warnings in 32-bit builds.
5874 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5875 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5877 * misc/lseek.c: File moved to ...
5878 * io/lseek.c: ... here.
5880 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5882 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5883 shifting LEN more than 31 bits at once.
5885 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5888 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5889 segmentation fault for a case of two empty input strings.
5890 * string/test-strncasecmp.c (check1): Renamed to...
5892 (bz14195): Add new testcase for two empty input strings and N > 0.
5893 (test_main): Call new testcase, adapt for renamed function.
5895 2012-08-15 Andreas Jaeger <aj@suse.de>
5898 * crypt/md5test2.c: New test, based on test supplied by Serge
5899 Belyshev <belyshev@depni.sinp.msu.ru>.
5900 * crypt/Makefile (xtests): Add md5test-giant..
5901 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5903 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5906 * crypt/md5.c (md5_process_block): Don't assume the buffer
5907 length is less than 2**32.
5908 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5909 length is less than 2**64.
5911 2012-08-15 Roland McGrath <roland@hack.frob.com>
5913 * string/str-two-way.h: Include <sys/param.h>.
5914 (MAX): Macro removed.
5916 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5917 Move #define and #undef of memmove to just before and after
5918 including <string.h>.
5920 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5921 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5922 and after including <string.h>. Move declarations of
5923 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5924 to before #include "string/memmove.c".
5926 * include/dirent.h: Declare __getdirentries.
5928 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5929 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5931 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5933 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5934 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5935 * sysdeps/i386/configure: Regenerated.
5936 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5937 STABS_CURRENT_FILE, and STABS_FUN.
5938 (END): Remove call to STABS_FUN_END.
5939 (STABS_CURRENT_FILE1): Delete.
5940 (STABS_CURRENT_FILE): Likewise.
5941 (STABS_FUN): Likewise.
5942 (STABS_FUN_END): Likewise.
5943 (STABS_FUN2): Likewise.
5944 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5945 * sysdeps/x86_64/configure: Regenerated.
5947 2012-08-14 Roland McGrath <roland@hack.frob.com>
5949 * elf/dl-open.c: Include <atomic.h>.
5950 * elf/dl-lookup.c: Likewise.
5952 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5954 * sysdeps/unix/sysv/linux/kernel-features.h
5955 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5956 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5958 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5960 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5961 condition on __ASSUME_CLONE_THREAD_FLAGS.
5963 2012-08-14 Andreas Jaeger <aj@suse.de>
5965 * sysdeps/i386/fpu/libm-test-ulps: Update.
5967 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5969 * include/atomic.h (atomic_exchange_and_add): Split into ...
5970 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5973 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5977 2012-08-13 Jeff Law <law@redhat.com>
5979 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5980 null byte in the output string.
5982 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5984 * sysdeps/unix/sysv/linux/kernel-features.h
5985 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5986 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5987 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5988 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5989 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5990 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5991 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5993 2012-08-09 Jeff Law <law@redhat.com>
5996 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5997 When avoid_arena is set, don't retry in the that arena. Pick the
5998 next one, whatever it might be.
5999 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6000 (arena_lock): Pass in new parameter to arena_get2.
6001 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6003 (__libc_malloc): Unify retrying after main arena failure with
6004 __libc_memalign version.
6005 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6007 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6010 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6011 to __redirect_strstr.
6012 (__strstr_sse42): Use typeof __redirect_strstr.
6013 (__strstr_ia32): Likewise.
6014 (__libc_strstr): New prototype.
6015 (strstr): Renamed to ...
6016 (__libc_strstr): This.
6017 (strstr): New strong alias of __libc_strstr.
6018 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6019 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6022 (__libc_time): New prototype.
6023 (time_ifunc): Replace time with __libc_time.
6024 (time): New strong alias and hidden definition of __libc_time.
6025 (__GI_time): Remove strong alias.
6026 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6028 (memmove): Redefined to __redirect_memmove.
6029 (__memmove_sse2): Use typeof __redirect_memmove.
6030 (__memmove_ssse3): Likewise.
6031 (__memmove_ssse3_back): Likewise.
6032 (__libc_memmove): New prototype.
6033 (memmove): Renamed to ...
6034 (__libc_memmove): This.
6035 (memmove): New strong alias of __libc_memmove.
6037 2012-08-08 Mark Salter <msalter@redhat.com>
6040 (R_MN10300_TLS_GD): Define.
6041 (R_MN10300_TLS_LD): Likewise.
6042 (R_MN10300_TLS_LDO): Likewise.
6043 (R_MN10300_TLS_GOTIE): Likewise.
6044 (R_MN10300_TLS_IE): Likewise.
6045 (R_MN10300_TLS_LE): Likewise.
6046 (R_MN10300_TLS_DTPMOD): Likewise.
6047 (R_MN10300_TLS_DTPOFF): Likewise.
6048 (R_MN10300_TLS_TPOFF): Likewise.
6049 (R_MN10300_SYM_DIFF): Likewise.
6050 (R_MN10300_ALIGN): Likewise.
6051 (R_MN10300_NUM): Update.
6053 2012-08-08 Joseph Myers <joseph@codesourcery.com>
6055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6058 2012-08-08 Roland McGrath <roland@hack.frob.com>
6060 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6062 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6063 sysdeps/unix -> sysdeps/posix move.
6064 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6066 2012-08-07 Allan McRae <allan@archlinux.org>
6069 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6070 (SUNOS_CPP): Likewise.
6071 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6073 (open_input): Call CPP using execvp.
6075 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/unix/sysv/linux/kernel-features.h
6078 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6079 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6080 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6081 (__ASSUME_WAITID_SYSCALL): Likewise.
6082 * sysdeps/unix/sysv/linux/dl-execstack.c
6083 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6085 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6087 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6088 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6089 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6091 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6093 [__ASSUME_WAITID_SYSCALL]: Likewise.
6094 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6096 2012-08-07 Roland McGrath <roland@hack.frob.com>
6098 * sysdeps/unix/closedir.c: Renamed to ...
6099 * sysdeps/posix/closedir.c: ... here.
6100 * sysdeps/unix/dirfd.c: Renamed to ...
6101 * sysdeps/posix/dirfd.c: ... here.
6102 * sysdeps/unix/dirstream.h: Renamed to ...
6103 * sysdeps/posix/dirstream.h: ... here.
6104 * sysdeps/unix/fdopendir.c: Renamed to ...
6105 * sysdeps/posix/fdopendir.c: ... here.
6106 * sysdeps/unix/opendir.c: Renamed to ...
6107 * sysdeps/posix/opendir.c: ... here.
6108 * sysdeps/unix/readdir.c: Renamed to ...
6109 * sysdeps/posix/readdir.c: ... here.
6110 * sysdeps/unix/readdir_r.c: Renamed to ...
6111 * sysdeps/posix/readdir_r.c: ... here.
6112 * sysdeps/unix/rewinddir.c: Renamed to ...
6113 * sysdeps/posix/rewinddir.c: ... here.
6114 * sysdeps/unix/seekdir.c: Renamed to ...
6115 * sysdeps/posix/seekdir.c: ... here.
6116 * sysdeps/unix/telldir.c: Renamed to ...
6117 * sysdeps/posix/telldir.c: ... here.
6118 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6119 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6120 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6121 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6123 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6124 * bits/fcntl.h: ... here.
6126 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6128 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6129 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6130 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6131 (struct flock): Move l_start, l_len to the beginning.
6132 Use __pid_t for l_pid.
6133 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6134 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6135 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6136 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6137 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6138 [__USE_LARGEFILE64] (struct flock64): New type.
6139 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6141 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6142 * bits/dirent.h: ... here.
6144 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6145 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6147 2012-08-07 Joseph Myers <joseph@codesourcery.com>
6149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6150 Change from 2.6.0 to 2.6.16.
6151 * sysdeps/unix/sysv/linux/configure: Regenerated.
6152 * sysdeps/unix/sysv/linux/kernel-features.h
6153 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6154 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6156 (__ASSUME_UTIMES): Likewise.
6157 (__ASSUME_CLONE_STOPPED): Remove.
6158 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6159 architectures, not kernel version.
6160 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6163 (__ASSUME_WAITID_SYSCALL): Likewise.
6164 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6165 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6166 * README: State 2.6.16 as minimum Linux kernel version. Do not
6167 refer to older versions.
6169 2012-08-06 Roland McGrath <roland@hack.frob.com>
6171 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6172 Define alphasort64 as an alias.
6173 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6174 Define versionsort64 as an alias.
6175 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6176 Define scandir64 as an alias.
6177 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6178 Define scandirat64 as an alias.
6179 * dirent/alphasort64.c (alphasort64):
6180 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6181 * dirent/versionsort64.c: Likewise.
6182 * dirent/scandir64.c: Likewise.
6183 * dirent/scandirat64.c: Likewise.
6184 * sysdeps/wordsize-64/alphasort.c: File removed.
6185 * sysdeps/wordsize-64/alphasort64.c: File removed.
6186 * sysdeps/wordsize-64/scandir.c: File removed.
6187 * sysdeps/wordsize-64/scandir64.c: File removed.
6188 * sysdeps/wordsize-64/scandirat.c: File removed.
6189 * sysdeps/wordsize-64/scandirat64.c: File removed.
6190 * sysdeps/wordsize-64/versionsort.c: File removed.
6191 * sysdeps/wordsize-64/versionsort64.c: File removed.
6192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6201 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6203 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6205 [defined __arch64__ || defined __sparcv9]
6206 (__INO_T_MATCHES_INO64_T): New macro.
6207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6208 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6209 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6210 * sysdeps/unix/sysv/linux/bits/dirent.h
6211 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6212 (_DIRENT_MATCHES_DIRENT64): New macro.
6214 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6215 Define lockf64 as an alias.
6216 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6217 Define fseeko64 as an alias.
6218 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6219 Define ftello64 as an alias.
6220 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6221 Define _IO_fgetpos64 and fgetpos64 as aliases.
6222 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6223 Define _IO_fsetpos64 and fsetpos64 as aliases.
6224 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6225 Conditionalize body on this.
6226 * libio/fseeko64.c: Likewise.
6227 * libio/ftello64.c: Likewise.
6228 * libio/iofgetpos64.c: Likewise.
6229 * libio/iofsetpos64.c: Likewise.
6230 * sysdeps/wordsize-64/lockf.c: File removed.
6231 * sysdeps/wordsize-64/lockf64.c: File removed.
6232 * sysdeps/wordsize-64/fseeko.c: File removed.
6233 * sysdeps/wordsize-64/fseeko64.c: File removed.
6234 * sysdeps/wordsize-64/ftello.c: File removed.
6235 * sysdeps/wordsize-64/ftello64.c: File removed.
6236 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6237 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6238 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6239 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6242 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6243 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6244 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6245 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6248 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6251 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6253 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6255 [defined __arch64__ || defined __sparcv9]
6256 (__OFF_T_MATCHES_OFF64_T): New macro.
6257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6258 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6260 (__OFF_T_MATCHES_OFF64_T): New macro.
6262 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6264 * stdlib/secure-getenv.c (__secure_getenv): Replace
6265 GLIBC_2_16 with GLIBC_2_17.
6267 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6272 2012-08-03 David S. Miller <davem@davemloft.net>
6274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6276 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6280 (__ASSUME_CORRECT_SI_PID): Likewise.
6281 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6282 (__ASSUME_TMPFS_NAME): Likewise.
6283 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6284 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6285 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6286 (HAVE_AUX_SECURE): Make definition unconditional.
6287 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6288 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6290 2012-08-03 Roland McGrath <roland@hack.frob.com>
6292 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6293 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6294 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6295 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6296 __eloop_threshold instead of SYMLOOP_MAX.
6298 * sysdeps/generic/eloop-threshold.h: New file.
6299 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6301 * elf/chroot_canon.c (chroot_canon): Likewise.
6303 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6307 Change to 2.6.0 everywhere.
6308 * sysdeps/unix/sysv/linux/configure: Regenerated.
6309 * sysdeps/unix/sysv/linux/kernel-features.h
6310 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6311 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6313 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6314 (__ASSUME_FUTEX_REQUEUE): Remove.
6315 (__ASSUME_STATFS64): Define unconditionally.
6316 (__ASSUME_AT_SECURE): Likewise.
6317 (__ASSUME_CORRECT_SI_PID): Likewise.
6318 (__ASSUME_TGKILL): Define without depending on kernel version for
6320 (__ASSUME_UTIMES): Likewise.
6321 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6323 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6324 (__ASSUME_TMPFS_NAME): Likewise.
6325 * README: Update reference to Linux kernel versions.
6327 2012-08-02 Marek Polacek <polacek@redhat.com>
6330 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6331 libc_cv_asm_type_prefix with %.
6332 * configure: Regenerated.
6333 * include/libc-symbols.h: Remove comment about
6334 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6335 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6336 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6337 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6338 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6339 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6340 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6341 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6342 * elf/tst-unique2mod1.c: Likewise.
6343 * elf/tst-unique1mod2.c: Likewise.
6344 * elf/tst-unique1mod1.c: Likewise.
6345 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6346 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6347 Replace ASM_TYPE_DIRECTIVE with .type.
6348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6349 * sysdeps/i386/sysdep.h: Likewise.
6350 * sysdeps/x86_64/sysdep.h: Likewise.
6351 * sysdeps/sh/sysdep.h: Likewise.
6352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6353 Do not define ASM_TYPE_DIRECTIVE.
6354 * sysdeps/powerpc/sysdep.h: Likewise.
6355 * sysdeps/powerpc/powerpc32/sysdep.h:
6356 Replace ASM_TYPE_DIRECTIVE with .type.
6357 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6358 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6359 * sysdeps/i386/fpu/e_powf.S: Likewise.
6360 * sysdeps/i386/fpu/e_expl.S: Likewise.
6361 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6362 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6363 * sysdeps/i386/fpu/e_pow.S: Likewise.
6364 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6366 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6367 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6368 * sysdeps/i386/fpu/e_log2.S: Likewise.
6369 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6371 * sysdeps/i386/fpu/e_powl.S: Likewise.
6372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6373 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6374 * sysdeps/i386/fpu/e_logl.S: Likewise.
6375 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6376 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6377 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6378 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6379 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6380 * sysdeps/i386/fpu/e_log.S: Likewise.
6381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6382 * sysdeps/i386/fpu/e_logf.S: Likewise.
6383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6386 * sysdeps/i386/fpu/e_log10.S: Likewise.
6387 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6388 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6389 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6390 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6392 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6394 * sysdeps/i386/i686/strtok.S: Likewise.
6395 * sysdeps/i386/i386-mcount.S: Likewise.
6396 * sysdeps/i386/strtok.S: Likewise.
6397 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6398 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6399 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6400 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6401 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6406 * sysdeps/x86_64/_mcount.S: Likewise.
6407 * sysdeps/x86_64/strtok.S: Likewise.
6408 * sysdeps/sh/_mcount.S: Likewise.
6410 2012-08-01 Roland McGrath <roland@hack.frob.com>
6412 * libio/iofopen.c: Include <fcntl.h>.
6413 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6414 (_IO_fopen64, fopen64): Define as aliases.
6415 * libio/iofopen64.c: Include <fcntl.h>.
6416 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6417 Conditionalize body on this.
6418 * sysdeps/wordsize-64/iofopen.c: File removed.
6419 * sysdeps/wordsize-64/iofopen64.c: File removed.
6421 2012-08-01 Marek Polacek <polacek@redhat.com>
6423 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6424 Use dlfcn directly instead of a variable.
6425 (binfmt-subdir): Do not define.
6428 2012-08-01 Joseph Myers <joseph@codesourcery.com>
6430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6431 Remove all definitions.
6432 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6433 <kernel-features.h>.
6434 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6435 (miss_F_GETOWN_EX): Remove all definitions.
6436 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6438 [!__ASSUME_FCNTL64]: Remove conditional code.
6439 [__ASSUME_FCNTL64]: Make code unconditional.
6440 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6441 <kernel-features.h>.
6442 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6443 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6444 (lockf64) [__NR_fcntl64]: Make code unconditional.
6445 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6447 * sysdeps/unix/sysv/linux/kernel-features.h
6448 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6449 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6450 Make code unconditional.
6451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6454 [__NR_vfork]: Make code unconditional.
6455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6458 [__NR_vfork]: Make code unconditional.
6459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6462 2012-08-01 Roland McGrath <roland@hack.frob.com>
6464 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6465 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6467 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6468 Define mkstemp64 as an alias.
6469 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6470 Define mkstemps64 as an alias.
6471 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6472 Define mkostemp64 as an alias.
6473 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6474 Define mkostemps64 as an alias.
6475 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6476 Conditionalize body on this.
6477 * misc/mkostemp64.c: Likewise.
6478 * misc/mkostemps64.c: Likewise.
6479 * misc/mkstemps64.c: Likewise.
6480 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6481 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6482 * sysdeps/wordsize-64/mkostemp.c: File removed.
6483 * sysdeps/wordsize-64/mkstemp.c: File removed.
6484 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6487 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6490 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6491 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6492 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6493 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6495 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6496 compat_symbol macros from <shlib-compat.h> rather than the underlying
6497 default_symbol_version and symbol_version macros, so that DEFAULT
6498 lines in shlib-versions are respected.
6499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6501 2012-08-01 Florian Weimer <fweimer@redhat.com>
6503 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6504 Declare with warn_unused_result.
6505 (setgid, setregid, setegid, setresgid): Likewise.
6506 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6508 * WUR-REPORT: Remove set*id functions.
6510 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6512 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6514 2012-07-31 Roland McGrath <roland@hack.frob.com>
6516 * include/sys/socket.h (__libc_accept, __libc_accept4):
6517 Add attribute_hidden.
6518 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6520 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6522 * inet/getnetgrent_r.c (setup): Likewise.
6524 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6526 2012-07-31 David S. Miller <davem@davemloft.net>
6528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6530 2012-07-31 Joseph Myers <joseph@codesourcery.com>
6533 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6534 value between 1.0 and 2.0 and smaller part has absolute value less
6536 * math/s_clog10.c (__clog10): Likewise.
6537 * math/s_clog10f.c (__clog10f): Likewise.
6538 * math/s_clog10l.c (__clog10l): Likewise.
6539 * math/s_clogf.c (__clogf): Likewise.
6540 * math/s_clogl.c (__clogl): Likewise.
6541 * math/libm-test.inc (clog_test): Add more tests.
6542 (clog10_test): Likewise.
6543 * sysdeps/i386/fpu/libm-test-ulps: Update.
6544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6546 2012-07-31 Florian Weimer <fweimer@redhat.com>
6548 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6549 Exit with zero in case no suitable GID is found, and write a
6550 message to standard error.
6552 2012-07-30 Roland McGrath <roland@hack.frob.com>
6554 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6556 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6557 (MAXPATHLEN): Removed.
6558 (NOGROUP, NODEV): New macros.
6559 (setbit, clrbit, isset, isclr): New macros.
6560 (howmany, roundup, powerof2): New macros.
6561 (DEV_BSIZE): New macro.
6563 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6564 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6566 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6567 definition on [!__NO_LONG_DOUBLE_MATH].
6569 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6570 PTR_MANGLE and PTR_DEMANGLE.
6572 * socket/accept4.c (accept4): Rename to __libc_accept4.
6573 Define accept4 as a weak alias.
6575 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6576 on [_DIRENT_HAVE_D_TYPE].
6577 * io/ftw.c (ftw_dir): Likewise.
6579 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6581 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6583 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6584 Use the BSD numbers rather than the arbitrary ones we had.
6585 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6586 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6587 (SIGXCPU, SIGXFSZ): New macros.
6590 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6591 initializer on [_LIBC_REENTRANT].
6593 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6594 definitions inside [_POSIX_MAPPED_FILES].
6596 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6598 * dirent/opendir.c: Include <fcntl.h>.
6600 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6601 (__libc_getspecific): Likewise.
6602 (__libc_key_create): Likewise.
6604 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6605 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6606 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6607 (tmpfile64): Define as alias.
6608 * sysdeps/wordsize-64/tmpfile.c: File removed.
6609 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6610 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6613 * stdio-common/vfscanf.c: Include <stdbool.h>.
6614 * nss/makedb.c: Likewise.
6615 * stdio-common/_i18n_number.h: Likewise.
6616 * argp/argp-help.c: Likewise.
6617 * posix/wordexp.c: Likewise.
6618 * sysdeps/posix/spawni.c: Likewise.
6619 * nss/nss_files/files-initgroups.c: Likewise.
6620 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6621 * nss/nss_files/files-initgroups.c: Likewise.
6622 * nss/nss_db/db-netgrp.c: Likewise.
6623 * nss/nss_db/db-initgroups.c: Likewise.
6624 * io/fchmodat.c: Include <sys/stat.h>.
6626 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6627 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6629 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6632 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6633 Add multiple inclusion protection.
6635 2012-07-27 David S. Miller <davem@davemloft.net>
6637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6639 2012-07-27 Gary Benson <gbenson@redhat.com>
6642 * elf/rtld.c: Include <stap-probe.h>.
6643 (dl_main): Added static probes "init_start" and "init_complete".
6644 * elf/dl-load.c: Include <stap-probe.h>.
6645 (lose): Take new parameter "nsid".
6646 Added static probe "map_failed".
6647 (_dl_map_object_from_fd): Pass namespace id to lose.
6648 Added static probe "map_start".
6649 (open_verify): Pass namespace id to lose.
6650 * elf/dl-open.c: Include <stap-probe.h>.
6651 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6652 and "reloc_complete".
6653 * elf/dl-close.c: Include <stap-probe.h>.
6654 (_dl_close_worker): Added static probes "unmap_start" and
6656 * elf/rtld-debugger-interface.txt: New file documenting the above.
6658 2012-07-26 Roland McGrath <roland@hack.frob.com>
6660 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6661 rather than a string variable.
6662 * sunrpc/rpc_main.c (h_output): Likewise.
6663 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6665 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6667 * inet/check_native.c: New file.
6669 2012-07-26 Joseph Myers <joseph@codesourcery.com>
6672 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6673 if larger part has absolute value 1.0.
6674 * math/s_clog10.c (__clog10): Likewise.
6675 * math/s_clog10f.c (__clog10f): Likewise.
6676 * math/s_clog10l.c (__clog10l): Likewise.
6677 * math/s_clogf.c (__clogf): Likewise.
6678 * math/s_clogl.c (__clogl): Likewise.
6679 * math/libm-test.inc (clog_test): Add more tests.
6680 (clog10_test): Likewise.
6681 * sysdeps/i386/fpu/libm-test-ulps: Update.
6682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6684 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6685 (pltexit): Likewise.
6686 (La_regs): Likewise.
6687 (La_retval): Likewise.
6688 (int_retval): Likewise.
6689 Update #error for removed macros to refer only to definitions in
6691 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6693 (pltexit): Likewise.
6694 (La_regs): Likewise.
6695 (La_retval): Likewise.
6696 (int_retval): Likewise.
6697 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6699 (pltexit): Likewise.
6700 (La_regs): Likewise.
6701 (La_retval): Likewise.
6702 (int_retval): Likewise.
6703 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6705 (pltexit): Likewise.
6706 (La_regs): Likewise.
6707 (La_retval): Likewise.
6708 (int_retval): Likewise.
6709 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6711 (pltexit): Likewise.
6712 (La_regs): Likewise.
6713 (La_retval): Likewise.
6714 (int_retval): Likewise.
6715 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6717 (pltexit): Likewise.
6718 (La_regs): Likewise.
6719 (La_retval): Likewise.
6720 (int_retval): Likewise.
6721 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6723 (pltexit): Likewise.
6724 (La_regs): Likewise.
6725 (La_retval): Likewise.
6726 (int_retval): Likewise.
6727 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6728 macro definitions in tst-audit.h.
6729 * sysdeps/i386/tst-audit.h: New file.
6730 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6731 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6732 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6733 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6734 * sysdeps/sh/tst-audit.h: Likewise.
6735 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6736 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6737 * sysdeps/x86_64/tst-audit.h: Likewise.
6739 2012-07-26 Andreas Jaeger <aj@suse.de>
6741 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6744 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6745 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6746 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6748 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6749 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6750 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6752 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6755 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6757 (si_call_addr, si_syscall, si_arch): Define new macro.
6758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6760 (si_call_addr, si_syscall, si_arch): Define new marcro.
6761 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6763 (si_call_addr, si_syscall, si_arch): Define new macro.
6764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6766 (si_call_addr, si_syscall, si_arch): Define new macro.
6768 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6771 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6772 Change to 2.4.21 where previously 2.4.1.
6773 * sysdeps/unix/sysv/linux/configure: Regenerated.
6774 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6775 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6776 Linux kernel version.
6777 (__ASSUME_STD_AUXV): Remove.
6778 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6780 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6781 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6782 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6783 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6784 (__ASSUME_NETLINK_SUPPORT): Likewise.
6785 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6786 (__no_netlink_support): Remove conditional definition.
6787 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6789 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6790 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6791 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6792 (if_nameindex_ioctl): Remove.
6793 (if_nameindex_netlink): Do not handle __no_netlink_support.
6794 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6796 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6797 Remove conditional code.
6798 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6800 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6802 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6803 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6804 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6806 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6807 [!__ASSUME_STD_AUXV]: Remove conditional code.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6809 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6810 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6812 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6815 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6817 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6818 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6820 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6825 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6828 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6830 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6832 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6834 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6837 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6839 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6842 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6844 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6846 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6848 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6851 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6853 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6855 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6857 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6860 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6862 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6863 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6864 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6865 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6866 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6867 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6868 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6869 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6870 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6871 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6872 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6873 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6874 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6875 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6876 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6877 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6878 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6879 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6880 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6882 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6883 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6886 2012-07-25 Florian Weimer <fweimer@redhat.com>
6888 * Versions.def: Add GLIBC_2.17.
6889 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6890 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6891 Introduce __libc_secure_getenv.
6892 * stdlib/Versions (2.17): Add secure_getenv
6893 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6894 * stdlib/secure-getenv.c: Rename __secure_getenv to
6895 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6896 symbol __secure_getenv for GLIBC_2.0.
6897 * stdlib/tst-secure-getenv.c: New.
6898 * stdlib/Makefile (tests): Add testcase.
6899 * manual/startup.texi (Environment Access): Document
6901 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6902 __libc_secure_getenv.
6903 * inet/ruserpass.c (ruserpass): Likewise.
6904 * malloc/mtrace.c (mtrace): Likewise.
6905 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6906 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6907 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6908 * sysdeps/posix/tempname.c: Likewise. Evaluate
6910 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6911 __secure_getenv to __libc_secure_getenv.
6912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6919 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6925 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6927 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6928 (struct La_i86_retval): Likewise.
6929 (struct La_x86_64_regs): Likewise.
6930 (struct La_x86_64_retval): Likewise.
6931 (struct La_x32_regs): Likewise.
6932 (struct La_x32_retval): Likewise.
6933 (struct La_ppc32_regs): Likewise.
6934 (struct La_ppc32_retval): Likewise.
6935 (struct La_ppc64_regs): Likewise.
6936 (struct La_ppc64_retval): Likewise.
6937 (struct La_sh_regs): Likewise.
6938 (struct La_sh_retval): Likewise.
6939 (struct La_s390_32_regs): Likewise.
6940 (struct La_s390_32_retval): Likewise.
6941 (struct La_s390_64_regs): Likewise.
6942 (struct La_s390_64_retval): Likewise.
6943 (struct La_sparc32_regs): Likewise.
6944 (struct La_sparc32_retval): Likewise.
6945 (struct La_sparc64_regs): Likewise.
6946 (struct La_sparc64_retval): Likewise.
6947 (struct audit_ifaces): Remove architecture-specific pltenter and
6949 * sysdeps/i386/ldsodefs.h: New file.
6950 * sysdeps/powerpc/ldsodefs.h: Likewise.
6951 * sysdeps/s390/ldsodefs.h: Likewise.
6952 * sysdeps/sh/ldsodefs.h: Likewise.
6953 * sysdeps/sparc/ldsodefs.h: Likewise.
6954 * sysdeps/x86_64/ldsodefs.h: Likewise.
6956 2012-07-25 Marek Polacek <polacek@redhat.com>
6959 * math/libm-test.inc (yn_test): Add another test.
6960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6961 to ERANGE when the result is +-Inf.
6962 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6963 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6964 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6965 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6967 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6969 * conform/data/time.h-data (NULL): Use macro-constant. Require
6971 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6973 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6975 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6977 * configure.in <sysdeps resolving>: Correct printing
6979 * configure: Regenerate.
6981 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6983 * math/w_ilogb.c: Include <limits.h>.
6984 * math/w_ilogbl.c: Likewise.
6986 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6988 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6989 va_copy. Document allowing for unavailable va_copy only as
6990 pre-C99 compatibility.
6991 * manual/string.texi (Copying and Concatenation): Use va_copy
6992 instead of __va_copy in concat example.
6994 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6996 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6997 (__sendto): Use create_address_port. Initialize APORT and deallocate
7000 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7001 with O_NOLINK passed to __file_name_lookup.
7003 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7004 with O_NOLINK passed to __file_name_lookup.
7006 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7007 negative N or less than NGIDS.
7009 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7010 type to string_t. Set ERANGE as errno and return it if NAME is not big
7011 enough. Use memcpy instead of strncpy.
7013 2012-07-20 Joseph Myers <joseph@codesourcery.com>
7015 * elf/Makefile (check-data): Remove.
7016 (localplt.data): New vpath directive.
7017 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7018 instead of $(check-data).
7019 * scripts/data/localplt-generic.data: Move to ...
7020 * sysdeps/generic/localplt.data: ... here.
7021 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7022 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7023 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7026 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7029 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7032 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7035 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7038 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7042 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7044 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7045 PPC32 and PPC64 files.
7046 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7047 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7049 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7051 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7052 __makecontext_ret to ...
7053 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7054 ... here and call exit if uc_link is NULL. New file.
7055 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7056 __makecontext_ret.S.
7057 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7058 __makecontext_ret to ...
7059 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7060 ... here and call exit if uc_link is NULL. New file.
7061 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7062 __makecontext_ret.S.
7064 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7066 * elf/elf.h (R_390_IRELATIVE): New definition.
7067 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7068 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7069 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7071 (elf_machine_lazy_rel): Likewise.
7072 * sysdeps/s390/dl-irel.h: New file.
7073 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7074 * sysdeps/s390/s390-64/memset.S: New asm code.
7075 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7076 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7077 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7078 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7079 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7080 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7082 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7083 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7084 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7085 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7086 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7087 * sysdeps/s390/s390-32/memset.S: New asm code.
7088 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7090 2012-07-17 Marek Polacek <polacek@redhat.com>
7093 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7094 * sysdeps/s390/s390-64/configure.in: Likewise.
7095 * sysdeps/sparc/configure.in: Likewise.
7096 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7097 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7098 * sysdeps/i386/configure.in: Likewise.
7099 * sysdeps/x86_64/configure.in: Likewise.
7100 * sysdeps/sh/configure.in: Likewise.
7101 * sysdeps/s390/s390-32/configure: Regenerated.
7102 * sysdeps/s390/s390-64/configure: Likewise.
7103 * sysdeps/x86_64/configure: Likewise.
7104 * sysdeps/sh/configure: Likewise.
7105 * sysdeps/powerpc/powerpc64/configure: Likewise.
7106 * sysdeps/powerpc/powerpc32/configure: Likewise.
7107 * sysdeps/sparc/configure: Likwise.
7108 * sysdeps/i386/configure: Likewise.
7110 * elf/dl-open.c: Comment fixes.
7112 2012-07-17 Joseph Myers <joseph@codesourcery.com>
7114 * Makefile [CXX] (check-data): Remove.
7115 [CXX] (c++-types.data): New vpath directive.
7116 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7117 vpath. Do not allow for C++ type data being missing.
7118 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7119 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7120 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7121 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7122 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7123 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7124 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7127 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7130 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7133 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7136 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7139 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7142 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7145 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7148 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7149 definitions to architecture-specific files.
7153 * sysdeps/i386/tls-macros.h: New file.
7154 * sysdeps/powerpc/tls-macros.h: Likewise.
7155 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7156 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7157 * sysdeps/sh/tls-macros.h: Likewise.
7158 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7159 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7160 * sysdeps/x86_64/tls-macros.h: Likewise.
7162 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7164 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7165 zero value for regular exit case.
7167 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7168 (__start_context): Preserve zero value for regular exit case.
7170 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7171 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7173 * manual/setjmp.texi (setcontext): Clarify normal process
7174 termination when uc_link is the null pointer.
7175 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7178 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7180 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7181 preprocessor. Test for each exception mask separately.
7183 2012-07-16 Andreas Jaeger <aj@suse.de>
7185 * po/ru.po: Update from translation team.
7187 2012-07-15 Joseph Myers <joseph@codesourcery.com>
7189 * conform/data/string.h-data (NULL): Use macro-constant. Require
7191 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7192 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7193 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7194 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7197 2012-07-13 Andreas Jaeger <aj@suse.de>
7199 * po/fr.po: Update from translation team.
7201 2012-07-12 Marek Polacek <polacek@redhat.com>
7204 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7205 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7208 2012-07-12 Joseph Myers <joseph@codesourcery.com>
7211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7212 Change to 2.4.1 where previously 2.4.0.
7213 * sysdeps/unix/sysv/linux/configure: Regenerated.
7214 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7215 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7217 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7218 (__ASSUME_AT_CLKTCK): Remove.
7219 (__ASSUME_AT_PAGESIZE): Likewise.
7220 (__ASSUME_AT_XID): Likewise.
7221 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7222 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7223 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7225 (HAVE_AUX_PAGESIZE): Likewise.
7226 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7227 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7228 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7230 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7234 the temporary buffer used to invoke __gethostbyname2_r,
7235 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7236 host_data / struct gaih_addrtuple.
7237 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7238 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7239 header file nss/nsswitch.h.
7240 * nss/nsswitch.h (global scope): Add definition of implementation
7241 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7242 resolv/nss_dns/dns-host.c).
7244 2012-07-11 Andreas Jaeger <aj@suse.de>
7246 * po/fr.po: Update from translation team.
7248 * po/sv.po: Update from translation team
7249 * po/fr.po: Another update from translation team.
7251 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7254 for subnormals or multiply small sinh result by itself.
7255 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7258 2012-07-11 David S. Miller <davem@davemloft.net>
7260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7262 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7265 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7266 (INTERNAL_MARK): Shift it here.
7268 2012-07-10 Marek Polacek <polacek@redhat.com>
7271 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7272 libc_cv_asm_global_directive with .globl.
7273 * configure: Regenerated.
7274 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7276 * sysdeps/i386/configure: Regenerated.
7277 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7279 * sysdeps/x86_64/configure: Regenerated.
7280 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7281 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7282 * elf/tst-unique2mod2.c: Likewise.
7283 * elf/tst-unique2mod1.c: Likewise.
7284 * elf/tst-unique1mod2.c: Likewise.
7285 * elf/tst-unique1mod1.c: Likewise.
7286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7287 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7288 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7289 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7290 * sysdeps/mach/sysdep.h: Likewise.
7291 * sysdeps/i386/sysdep.h: Likewise.
7292 * sysdeps/i386/i386-mcount.S: Likewise.
7293 * sysdeps/x86_64/_mcount.S: Likewise.
7294 * sysdeps/x86_64/sysdep.h: Likewise.
7295 * sysdeps/sh/_mcount.S: Likewise.
7296 * sysdeps/sh/sysdep.h: Likewise.
7297 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7298 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7299 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7300 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7301 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7302 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7303 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7304 * locale/localeinfo.h: Likewise.
7305 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7306 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7308 2012-07-09 Roland McGrath <roland@hack.frob.com>
7311 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7313 * manual/message.texi (The Uniforum approach): Likewise.
7314 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7315 (glibc iconv Implementation): Likewise.
7317 2012-07-09 Joseph Myers <joseph@codesourcery.com>
7320 * math/s_clog.c (__clog): Avoid scaling a value down where that
7321 could result in underflow.
7322 * math/s_clog10.c (__clog10): Likewise.
7323 * math/s_clog10f.c (__clog10f): Likewise.
7324 * math/s_clog10l.c (__clog10l): Likewise.
7325 * math/s_clogf.c (__clogf): Likewise.
7326 * math/s_clogl.c (__clogl): Likewise.
7327 * math/libm-test.inc (clog_test): Add more tests.
7328 (clog10_test): Likewise.
7329 * sysdeps/i386/fpu/libm-test-ulps: Update.
7330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7332 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7335 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7336 by 7 not 8 to examine high bit of fractional part.
7339 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7340 for call to __mcount_internal.
7341 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7342 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7343 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7345 2012-07-06 Joseph Myers <joseph@codesourcery.com>
7348 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7349 approximation for values within 0x1p-13f of an odd multiple of
7351 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7352 exception. Add more tests.
7353 * sysdeps/i386/fpu/libm-test-ulps: Update.
7356 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7357 inputs and return -1 for them. Do not check for +Inf in case not
7359 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7360 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7362 and return -1 for them. Do not check for +Inf in case not
7364 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7367 and return -1 for them. Do not check for +Inf in case not
7369 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7371 * sysdeps/i386/fpu/libm-test-ulps: Update.
7372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7374 2012-07-06 Mike Frysinger <vapier@gentoo.org>
7376 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7378 2012-07-05 Joseph Myers <joseph@codesourcery.com>
7382 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7383 could result in spurious underflow. Scale down values above
7384 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7385 * math/s_csqrtf.c (__csqrtf): Likewise.
7386 * math/s_csqrtl.c (__csqrtl): Likewise.
7387 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7389 * sysdeps/i386/fpu/libm-test-ulps: Update.
7390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7392 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7394 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7396 * catgets/xopen-msg.awk: New file.
7397 * catgets/xopen-msg.sed: Removed.
7399 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7401 * intl/po2test.awk: New file.
7402 * intl/po2test.sed: Removed.
7404 2012-07-04 Joseph Myers <joseph@codesourcery.com>
7407 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7408 or multiply small sinh result by itself.
7409 * math/s_ctanf.c (__ctanf): Likewise.
7410 * math/s_ctanh.c (__ctanh): Likewise.
7411 * math/s_ctanhf.c (__ctanhf): Likewise.
7412 * math/s_ctanhl.c (__ctanhl): Likewise.
7413 * math/s_ctanl.c (__ctanl): Likewise.
7414 * math/libm-test.inc (ctan_test_tonearest): New function.
7415 (ctan_test_towardzero): Likewise.
7416 (ctan_test_downward): Likewise.
7417 (ctan_test_upward): Likewise.
7418 (ctanh_test_tonearest): Likewise.
7419 (ctanh_test_towardzero): Likewise.
7420 (ctanh_test_downward): Likewise.
7421 (ctanh_test_upward): Likewise.
7422 (main): Call these new functions.
7423 * sysdeps/i386/fpu/libm-test-ulps: Update.
7424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7426 2012-07-03 Mike Frysinger <vapier@gentoo.org>
7428 * .gitignore: Delete /ports entry.
7430 2012-07-03 Andreas Jaeger <aj@suse.de>
7432 * po/bg.po: Update from translation team.
7433 * po/cs.po: Likewise.
7434 * po/de.po: Likewise.
7435 * po/hr.po: Likewise.
7436 * po/nl.pl: Likewise.
7437 * po/pl.po: Likewise.
7438 * po/vi.po: Likewise.
7440 2012-07-03 Joseph Myers <joseph@codesourcery.com>
7442 * Makeconfig [!+link] (+link-before-libc): New variable.
7443 [!+link] (+link-after-libc): Likewise.
7444 [!+link] (+link-tests): Likewise.
7445 [!+link] (+link): Define in terms of $(+link-before-libc) and
7446 $(+link-after-libc).
7447 [!+link-static] (+link-static-before-libc): New variable.
7448 [!+link-static] (+link-static-after-libc): Likewise.
7449 [!+link-static] (+link-static-tests): Likewise.
7450 [!+link-static] (+link-static): Define in terms of
7451 $(+link-static-before-libc) and $(+link-static-after-libc).
7452 [build-shared] (link-libc-before-gnulib): New variable.
7453 [build-shared] (link-libc-tests): Likewise.
7454 [build-shared] (link-libc): Define in terms of
7455 $(link-libc-before-gnulib).
7456 [!build-shared] (link-libc-tests): New variable.
7457 (link-libc-static-tests): New variable.
7458 [!gnulib] (gnulib-arch): New variable.
7459 [!gnulib] (gnulib-tests): Likewise.
7460 [!gnulib] (static-gnulib-arch): Likewise.
7461 [!gnulib] (static-gnulib-tests): Likewise.
7462 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7463 Define with "=" instead of ":=".
7464 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7465 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7466 * Rules (binaries-all-notests): New variable.
7467 (binaries-all-tests): Likewise.
7468 (binaries-static-notests): Likewise.
7469 (binaries-static-tests): Likewise.
7470 (binaries-all): Define using $(binaries-all-notests) and
7471 $(binaries-all-tests).
7472 (binaries-static): Define using $(binaries-static-notests) and
7473 $(binaries-static-tests).
7474 (binaries-shared-tests): New variable.
7475 (binaries-shared-notests): Likewise.
7476 (binaries-shared): Remove variable.
7477 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7478 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7479 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7480 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7481 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7482 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7483 * elf/Makefile (sln-modules): New variable.
7484 (extra-objs): Add $(sln-modules:=.o).
7485 (ldconfig-modules): Add static-stubs.
7486 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7487 * elf/static-stubs.c: New file.
7490 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7491 by 7 not 8 to examine high bit of fractional part. Use volatile
7492 variables when splitting into final array of floats if
7493 __FLT_EVAL_METHOD__ != 0.
7494 * math/libm-test.inc (cos_test): Add another test.
7495 (sin_test): Likewise.
7496 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 * math/libm-test.inc (cosh_test): Add more tests.
7501 * version.h (RELEASE): Set to "development".
7502 (VERSION): Set to "2.16.90".
7504 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7506 * NEWS: Update copyright. Remove last-updated date.
7507 Mention math library bug fixes and timezone data changes.
7508 * README: Mention GNU/Hurd, x32, and HPPA support status.
7510 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7512 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7514 2012-06-27 Andreas Jaeger <aj@suse.de>
7516 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7518 2012-06-25 Andreas Jaeger <aj@suse.de>
7520 * sysdeps/s390/fpu/libm-test-ulps: Update.
7522 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7523 Thomas Schwinge <thomas@codesourcery.com>
7525 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7526 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7530 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7532 * sysdeps/mach/start.c: Remove file.
7533 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7534 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7535 * sysdeps/sh/init-first.c: Likewise.
7537 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7538 registers for frame unwinding purposes, add CFI directives.
7539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7540 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7541 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7544 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7545 __fortify_fail returning.
7546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7549 sysdeps/sh/____longjmp_chk.S.
7550 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7551 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7552 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7553 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7555 * sysdeps/sh/abort-instr.h: New file.
7556 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7557 process in case exit returns.
7559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7560 initialize the GOT register before use.
7562 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7563 calculation of ARGC > 4.
7565 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7566 meaningful names to some local labels.
7568 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7569 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7571 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7572 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7573 (__arch_compare_and_exchange_val_16_acq): Likewise.
7574 (__arch_compare_and_exchange_val_32_acq): Likewise.
7575 (atomic_exchange_and_add): Fix gUSA sequence.
7576 (atomic_add): Likewise.
7577 (atomic_add_negative): Likewise.
7578 (atomic_add_zero): Likewise.
7579 (atomic_bit_test_set): Likewise.
7581 2012-06-22 Andreas Schwab <schwab@redhat.com>
7584 * include/link.h (struct link_map): Add l_free_initfini.
7585 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7587 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7588 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7589 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7592 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7594 * configure.in: Use AC_LANG_SOURCE.
7595 * configure: Regenerate.
7597 2012-06-22 Roland McGrath <roland@hack.frob.com>
7599 * configure.in (libc_cv_localstatedir): New substituted variable.
7600 * configure: Regenerated.
7601 * config.make.in (localstatedir): New variable, substituted from
7602 libc_cv_localstatedir.
7603 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7604 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7605 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7606 * sysdeps/gnu/configure: Regenerated.
7608 2012-06-21 Jeff Law <law@redhat.com>
7611 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7612 free. Simplify list management for _LIBC case.
7614 2012-06-21 Joseph Myers <joseph@codesourcery.com>
7617 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7618 Clear sign bit of 64-bit integer value before comparing against
7621 * sysdeps/mach/configure: Regenerated.
7623 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7626 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7628 2012-06-21 Jeff Law <law@redhat.com>
7631 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7632 uint16_t for elements in the "seen" array to avoid char overflows.
7633 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7634 * elf/dl-open.c (dl_open_worker): Likewise.
7636 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7638 * scripts/list-sources.sh: Scan PORTS for translations.
7639 * po/libc.pot: Regenerated.
7641 2012-06-21 Andreas Jaeger <aj@suse.de>
7644 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7646 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7647 * bits/byteswap-16.h (__bswap_16): Likewise.
7648 * bits/byteswap.h (__bswap_constant_16): Likewise.
7650 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7653 * sysdeps/i386/fpu_control.h: Removed.
7654 * sysdeps/x86_64/fpu_control.h: Moved to ...
7655 * sysdeps/x86/fpu_control.h: Here.
7657 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7658 (_FPU_SETCW): Likewise.
7660 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7663 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7664 * sysdeps/x86/fpu/bits/mathinline.h: This.
7665 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7669 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7670 functions if __x86_64__ is defined.
7672 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7674 * string/endian.h: Add !__ASSEMBLER__ condition for including
7675 conversion interfaces.
7677 2012-06-15 Joseph Myers <joseph@codesourcery.com>
7680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7681 of ABS(x) in calculating zero to negative powers other than odd
7683 * math/libm-test.inc (pow_test): Add more tests.
7685 2012-06-15 Andreas Jaeger <aj@suse.de>
7687 * manual/contrib.texi (Contributors): Update entry of Liubov
7688 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7691 2012-06-15 Cyril Hrubis <metan@ucw.cz>
7693 * string/string.h: Add __wur to GNU version of strerror_r.
7695 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7698 * string/Makefile (tests): Add tst-strtok_r.
7699 * string/tst-strtok_r.c: New file.
7700 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7701 RAX_LP/RDX_LP on SAVE_PTR.
7703 2012-06-14 Roland McGrath <roland@hack.frob.com>
7705 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7707 2012-06-14 Joseph Myers <joseph@codesourcery.com>
7709 * libm_test.inc (csqrt_test): Allow more spurious underflow
7711 (j0_test): Likewise.
7712 (j1_test): Likewise.
7713 (y0_test): Likewise.
7714 (y1_test): Likewise.
7716 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7718 * po/Makefile (libc.pot): Use UTF-8 charset.
7720 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7723 Suppress sign-conversion warning from FD_SET.
7724 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7725 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7726 not unsigned long int.
7727 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7729 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7733 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7734 __extern_always_inline instead of __extern_inline.
7735 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7736 (__signbit): Likewise.
7737 (__signbitl): Support C++ namespace.
7738 (lrintf): New inline function.
7740 (llrintf): Likewise.
7752 (nearbyint): Likewise.
7753 (nearbyintf): Likewise.
7755 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7757 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7758 non-default versions.
7760 2012-06-11 Roland McGrath <roland@hack.frob.com>
7763 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7765 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7767 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7768 (FE_UPWARD, FE_DOWNWARD): Don't define.
7769 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7770 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7772 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7774 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7777 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7779 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7781 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7782 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7784 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7787 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7788 * sysdeps/i386/fpu/Implies: New file.
7789 * sysdeps/x86_64/fpu/Implies: Likewise.
7790 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7791 * sysdeps/x86/fpu/bits/fenv.h: This.
7793 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7796 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7799 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7800 character 0xffff that matches the last element of the
7803 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7805 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7808 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7811 values higher than 25.6283.
7813 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7816 subnormal exponent extraction and add some __builtin_expect.
7817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7818 Fix for subnormal mantissa calculation.
7820 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7822 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7823 cpu2 is -1 and errno is not ENOSYS.
7825 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7828 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7829 * sysdeps/x86/bits/string.h: This.
7830 * sysdeps/x86_64/bits/string.h: Removed.
7832 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7833 if not compiling for x86-64, but compiling for >= i486.
7835 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7836 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7838 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7839 New macro from Linux kernel 3.4.0.
7840 (FP_XSTATE_MAGIC2): Likewise.
7841 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7842 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7843 (struct _fpx_sw_bytes): New struct.
7844 (struct _xsave_hdr): Likewise.
7845 (struct _ymmh_state): Likewise.
7846 (struct _xstate): Likewise.
7848 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7849 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7851 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7852 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7853 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7855 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7856 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7857 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7858 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7859 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7860 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7862 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7865 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7866 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7867 (sysdep_headers): Include sys/platform/ppc.h.
7868 * sysdeps/powerpc/test-gettimebase.c: Test for
7869 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7870 * manual/Makefile (appendices): Include platform.texi.
7871 * manual/contrib.texi (Contributors): Update @node pointers.
7872 * manual/maint.texi (Maintenance): Likewise.
7873 (Platform): New node.
7874 * manual/platform.texi: New file. Document the new features.
7876 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7877 Jakub Jelinek <jakub@redhat.com>
7880 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7881 where __builtin_expect is unavailable.
7883 2012-06-03 David S. Miller <davem@davemloft.net>
7885 * stdlib/longlong.h: Updated from GCC.
7887 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7890 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7891 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7894 (GLIBC_2.16): Likewise.
7896 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7898 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7900 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7903 (default-abi): New variable.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7905 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7907 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7909 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7911 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7914 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7915 definition. Document in comment.
7917 2012-06-01 David S. Miller <davem@davemloft.net>
7919 * stdlib/longlong.h: Updated from GCC.
7921 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7924 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7925 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7926 sys/debugreg.h sys/io.h here.
7927 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7928 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7930 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7931 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7932 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7933 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7934 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7935 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7938 Define only if __x86_64__ is defined.
7940 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7943 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7944 Use int64_t for variable i.
7945 * math/libm-test.inc (fmod_test): Add more tests.
7947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7948 z computation is not scheduled after fetestexcept.
7949 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7950 Use math_force_eval instead of asm to ensure calculation scheduled
7951 before exception test.
7952 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7953 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7955 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7958 computation is not scheduled after fetestexcept.
7960 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7963 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7964 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7966 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7969 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7971 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7974 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7976 (__WCHAR_MIN): Support __WORDSIZE == 64.
7977 (__WCHAR_MAX): Likewise.
7979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7980 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7983 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7984 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7987 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7988 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7990 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7991 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7994 Defined to 1 if __x86_64__ isn't defined.
7995 (_STAT_VER_LINUX_OLD): New.
7996 (st_atime): Remove duplicate.
7997 (st_mtime): Likewise.
7998 (st_ctime): Likewise.
8000 2012-05-31 David S. Miller <davem@davemloft.net>
8002 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8005 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8007 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8011 * elf/dl-reloc.c: Include <_itoa.h>.
8012 (_dl_reloc_bad_type): Remove use of INTUSE.
8013 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8014 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8015 * stdio-common/psiginfo.c (psiginfo): Likewise.
8016 * stdio-common/psignal.c (psignal): Likewise.
8017 * string/strsignal.c (strsignal): Likewise.
8018 * include/signal.h (_sys_siglist): Declare hidden proto.
8019 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8020 INTVARDEF with libc_hidden_data_def.
8021 * stdio-common/itoa-udigits.c: Likewise.
8022 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8023 (_itoa_lower_digits_internal): Remove declaration.
8024 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8025 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8026 (_sys_sigabbrev_internal): Remove aliases.
8027 (_sys_siglist): Define hidden alias.
8029 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8034 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8037 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8038 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8040 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8041 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8042 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8043 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8044 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8045 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8047 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8048 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8049 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8051 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8059 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8060 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8063 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8064 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8066 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8067 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8068 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8070 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8071 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8073 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8074 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8078 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8080 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8081 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8083 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8085 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8086 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8087 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8089 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8091 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8093 2012-05-31 Joseph Myers <joseph@codesourcery.com>
8095 * math/math.h (M_El): Use two more decimal places.
8096 (M_LOG2El): Likewise.
8097 (M_LOG10El): Likewise.
8099 (M_LN10l): Likewise.
8101 (M_PI_2l): Likewise.
8102 (M_PI_4l): Likewise.
8103 (M_1_PIl): Likewise.
8104 (M_2_PIl): Likewise.
8105 (M_2_SQRTPIl): Likewise.
8106 (M_SQRT2l): Likewise.
8107 (M_SQRT1_2l): Likewise.
8109 2012-05-31 David S. Miller <davem@davemloft.net>
8111 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8112 values between float registers.
8113 * sysdeps/sparc/sparc64/memset.S: Likewise.
8114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8116 2012-05-31 Mike Frysinger <vapier@gentoo.org>
8118 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8119 -D_FORTIFY_SOURCE=1.
8120 (CPPFLAGS-tst-longjmp_chk.c): Define.
8121 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8122 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8123 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8124 CFLAGS-tst-wchar-h.c.
8126 2012-05-31 Marek Polacek <polacek@redhat.com>
8129 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8130 __endmntent_internal): Remove declaration.
8131 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8132 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8133 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8135 2012-05-30 David S. Miller <davem@davemloft.net>
8137 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8138 (___Q_simulate_exceptions): Use real FP ops rather than writing
8140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8143 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8146 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8147 * sysdeps/x86/bits/xtitypes.h: This.
8149 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8150 * sysdeps/x86/bits/wordsize.h: This.
8152 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8153 * sysdeps/x86/bits/huge_vall.h: This.
8155 * sysdeps/i386/bits/select.h: Removed.
8156 * sysdeps/x86_64/bits/select.h: Renamed to ...
8157 * sysdeps/x86/bits/select.h: This.
8159 * sysdeps/i386/bits/setjmp.h: Removed.
8160 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8161 * sysdeps/x86/bits/setjmp.h: This.
8163 * sysdeps/i386/bits/mathdef.h: Removed.
8164 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8165 * sysdeps/x86/bits/mathdef.h: This.
8167 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8170 * include/sys/socket.h (__connect_internal)
8171 (__libc_sa_len_internal): Remove declaration.
8172 (__connect, __libc_sa_len): Declare hidden_proto.
8173 (SA_LEN): Remove use of INTUSE.
8174 * socket/connect.c: Add libc_hidden_def.
8175 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8176 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8177 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8179 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8180 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8181 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8182 of adding _internal alias.
8184 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8187 * sysdeps/i386/bits/link.h: Removed.
8188 * sysdeps/i386/bits/linkmap.h: Likewise.
8189 * sysdeps/x86_64/bits/link.h: Renamed to ...
8190 * sysdeps/x86/bits/link.h: This.
8191 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8192 * sysdeps/x86/bits/linkmap.h: This.
8194 * sysdeps/i386/bits/endian.h: Removed.
8195 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8196 * sysdeps/x86/bits/endian.h: This.
8198 * sysdeps/i386/bits/byteswap.h: Removed.
8199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8200 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8201 * sysdeps/x86/bits/byteswap.h: This.
8202 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8203 * sysdeps/x86/bits/byteswap-16.h: This.
8204 * sysdeps/i386/Implies: Add x86.
8205 * sysdeps/x86_64/Implies: Likewise.
8207 2012-05-30 David S. Miller <davem@davemloft.net>
8209 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8210 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8211 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8212 (FP_TRAPPING_EXCEPTIONS): Define.
8213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8214 (FP_TRAPPING_EXCEPTIONS): Define.
8215 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8216 subnormals only when inexact has been signalled or underflow
8217 exceptions are enabled.
8218 (_FP_PACK_CANONICAL): Likewise.
8220 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8224 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8226 2012-05-30 Richard Henderson <rth@twiddle.net>
8228 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8229 with #ifndef NOT_IN_libc.
8231 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8232 marked to avoid plt entry.
8234 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8237 * Makeconfig (default-abi): New macro.
8238 (abi-includes): Likewise.
8239 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8240 $(abi-$(default-abi)-lib-soname) for soname if defined.
8241 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8243 * Makefile (installed-stubs): Likewise.
8244 * include/stubs-biarch.h: Removed.
8245 * scripts/lib-names.awk: Only handle one library at a time.
8246 * scripts/soversions.awk: Remove WORDSIZE support.
8247 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8249 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8251 (syscall-list-default-condition): Likewise.
8252 (syscall-list-default-condition): Likewise.
8253 (syscall-list-includes): Likewise.
8254 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8255 syscall-list-* with abi-*. Handle undefined abi-variants.
8256 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8257 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8258 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8259 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8260 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8261 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8263 (syscall-list-32-options): Likewise.
8264 (syscall-list-32-condition): Likewise.
8265 (syscall-list-64-options): Likewise.
8266 (syscall-list-64-condition): Likewise.
8267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8269 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8272 (abi-64-ld-soname): New macro.
8273 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8274 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8277 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8278 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8280 2012-05-30 Joseph Myers <joseph@codesourcery.com>
8282 * sysdeps/unix/sysv/linux/kernel-features.h
8283 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8284 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8285 include <kernel-features.h>.
8286 [!__NR_ftruncate64]: Remove conditional code.
8287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8288 [__NR_ftruncate64]: Make code unconditional.
8289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8290 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8291 include <kernel-features.h>.
8292 [!__NR_ftruncate64]: Remove conditional code.
8293 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8294 [__NR_ftruncate64]: Make code unconditional.
8295 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8297 include <kernel-features.h>.
8298 [!__NR_ftruncate64]: Remove conditional code.
8299 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8300 [__NR_ftruncate64]: Make code unconditional.
8301 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8303 include <kernel-features.h>.
8304 [!__NR_ftruncate64]: Remove conditional code.
8305 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8306 [__NR_ftruncate64]: Make code unconditional.
8307 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8309 * configure.in (libc_cv_fpie): Weaken to a compile test using
8311 * configure: Regenerated.
8313 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8328 2012-05-27 David S. Miller <davem@davemloft.net>
8330 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8332 (__Q_simulate_exceptions): Return void. Change to simulate
8333 exceptions by writing into the %fsr.
8334 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8335 (__Qp_handle_exceptions): Likewise.
8337 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8338 __Qp_handle_exceptions.
8339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8340 __Qp_handle_exceptions.
8341 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8342 as unused and give dummy FP_RND_NEAREST initializer.
8343 (FP_INHIBIT_RESULTS): Define.
8344 (___Q_simulate_exceptions): Update declaration.
8345 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8347 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8348 as unused and give dummy FP_RND_NEAREST initializer.
8349 (__Qp_handle_exceptions): Update declaration.
8350 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8353 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8355 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8356 the temporary FPU control word.
8357 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8358 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8359 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8360 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8361 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8362 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8363 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8364 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8365 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8366 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8367 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8369 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8371 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8374 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8376 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8377 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8378 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8379 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8381 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8382 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8385 2012-05-27 Ulrich Drepper <drepper@gmail.com>
8387 * po/h.po: Update from translation team.
8389 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8391 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8393 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8394 handling of denormals.
8395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8396 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8398 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8404 2012-05-26 Marek Polacek <polacek@redhat.com>
8407 * math/libm-test.inc (fma_test): Don't always expect underflow
8410 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8413 * elf/tst-execstack.c: Include stackinfo.h.
8414 (do_test): Adjust test case to ensure that pthread_getattr_np
8415 behaviour remains the same after marking stack executable.
8417 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8419 * sysdeps/unix/sysv/linux/kernel-features.h
8420 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8421 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8423 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8424 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8425 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8427 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8428 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8430 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8432 * configure.in: Define the default includes to being none.
8433 * configure: Regenerated.
8435 2012-05-25 Roland McGrath <roland@hack.frob.com>
8437 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8438 * sysdeps/x86_64/setjmp.S: Likewise.
8439 * sysdeps/i386/bsd-setjmp.S: Likewise.
8440 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8441 * sysdeps/i386/setjmp.S: Likewise.
8442 * sysdeps/i386/__longjmp.S: Likewise.
8443 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8444 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8446 * include/stap-probe.h: New file.
8447 * configure.in: Handle --enable-systemtap.
8448 * configure: Regenerated.
8449 * config.h.in (USE_STAP_PROBE): New #undef.
8450 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8451 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8452 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8454 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8457 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8458 to 2.4.0 where earlier.
8459 * sysdeps/unix/sysv/linux/configure: Regenerated.
8460 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8461 <kernel-features.h>.
8462 [__ASSUME_32BITUIDS]: Make code unconditional.
8463 [!__ASSUME_32BITUIDS]: Remove conditional code.
8464 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8465 <kernel-features.h>.
8466 [__ASSUME_32BITUIDS]: Make code unconditional.
8467 [!__ASSUME_32BITUIDS]: Remove conditional code.
8468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8469 [__ASSUME_32BITUIDS]: Make code unconditional.
8470 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8471 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
8484 <kernel-features.h>.
8485 [__ASSUME_32BITUIDS]: Make code unconditional.
8486 [!__ASSUME_32BITUIDS]: Remove conditional code.
8487 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8488 <kernel-features.h>.
8489 [__ASSUME_32BITUIDS]: Make code unconditional.
8490 [!__ASSUME_32BITUIDS]: Remove conditional code.
8491 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8492 <kernel-features.h>.
8493 [__ASSUME_32BITUIDS]: Make code unconditional.
8494 [!__ASSUME_32BITUIDS]: Remove conditional code.
8495 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8496 <kernel-features.h>.
8497 [__ASSUME_32BITUIDS]: Make code unconditional.
8498 [!__ASSUME_32BITUIDS]: Remove conditional code.
8499 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8500 <kernel-features.h>.
8501 [__ASSUME_32BITUIDS]: Make code unconditional.
8502 [!__ASSUME_32BITUIDS]: Remove conditional code.
8503 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8504 <kernel-features.h>.
8505 [__ASSUME_32BITUIDS]: Make code unconditional.
8506 [!__ASSUME_32BITUIDS]: Remove conditional code.
8507 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8508 <kernel-features.h>.
8509 [__ASSUME_32BITUIDS]: Make code unconditional.
8510 [!__ASSUME_32BITUIDS]: Remove conditional code.
8511 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8512 <kernel-features.h>.
8513 [__NR_setresgid] (__setresgid): Do not declare.
8514 [__ASSUME_32BITUIDS]: Make code unconditional.
8515 [!__ASSUME_32BITUIDS]: Remove conditional code.
8516 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8517 <kernel-features.h>.
8518 [__NR_setresuid] (__setresuid): Do not declare.
8519 [__ASSUME_32BITUIDS]: Make code unconditional.
8520 [!__ASSUME_32BITUIDS]: Remove conditional code.
8521 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
8534 <kernel-features.h>.
8535 [__ASSUME_32BITUIDS]: Make code unconditional.
8536 [!__ASSUME_32BITUIDS]: Remove conditional code.
8537 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8538 <kernel-features.h>.
8539 [__ASSUME_32BITUIDS]: Make code unconditional.
8540 [!__ASSUME_32BITUIDS]: Remove conditional code.
8541 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8542 <kernel-features.h>.
8543 [__ASSUME_32BITUIDS]: Make code unconditional.
8544 [!__ASSUME_32BITUIDS]: Remove conditional code.
8545 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8546 <kernel-features.h>.
8547 [__ASSUME_32BITUIDS]: Make code unconditional.
8548 [!__ASSUME_32BITUIDS]: Remove conditional code.
8549 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8550 <kernel-features.h>.
8551 [__ASSUME_32BITUIDS]: Make code unconditional.
8552 [!__ASSUME_32BITUIDS]: Remove conditional code.
8553 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8554 <kernel-features.h>.
8555 [__ASSUME_32BITUIDS]: Make code unconditional.
8556 [!__ASSUME_32BITUIDS]: Remove conditional code.
8557 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8558 <kernel-features.h>.
8559 [__ASSUME_32BITUIDS]: Make code unconditional.
8560 [!__ASSUME_32BITUIDS]: Remove conditional code.
8561 * sysdeps/unix/sysv/linux/kernel-features.h
8562 (__ASSUME_SETRESUID_SYSCALL): Remove.
8563 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8564 (__ASSUME_32BITUIDS): Likewise.
8565 (__ASSUME_LDT_WORKS): Likewise.
8566 (__ASSUME_O_DIRECTORY): Likewise.
8567 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8568 architecture but not kernel version.
8569 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8570 (__ASSUME_MMAP2_SYSCALL): Likewise.
8571 (__ASSUME_STAT64_SYSCALL): Likewise.
8572 (__ASSUME_IPC64): Likewise.
8573 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8574 <kernel-features.h>.
8575 [__ASSUME_32BITUIDS]: Make code unconditional.
8576 [!__ASSUME_32BITUIDS]: Remove conditional code.
8577 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8578 <kernel-features.h>.
8579 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8580 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8581 132096]: Remove conditional code.
8582 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8584 <kernel-features.h>.
8585 [__ASSUME_32BITUIDS]: Make code unconditional.
8586 [!__ASSUME_32BITUIDS]: Remove conditional code.
8587 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8588 <kernel-features.h>.
8589 [__ASSUME_32BITUIDS]: Make code unconditional.
8590 [!__ASSUME_32BITUIDS]: Remove conditional code.
8591 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8592 <kernel-features.h>.
8593 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8595 (__setresgid): Do not declare.
8596 [__ASSUME_32BITUIDS]: Make code unconditional.
8597 [!__ASSUME_32BITUIDS]: Remove conditional code.
8598 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8599 <kernel-features.h>.
8600 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8602 (__setresuid): Do not declare.
8603 [__ASSUME_32BITUIDS]: Make code unconditional.
8604 [!__ASSUME_32BITUIDS]: Remove conditional code.
8605 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8606 <kernel-features.h>.
8607 [__ASSUME_32BITUIDS]: Make code unconditional.
8608 [!__ASSUME_32BITUIDS]: Remove conditional code.
8609 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8610 <kernel-features.h>.
8611 [__ASSUME_32BITUIDS]: Make code unconditional.
8612 [!__ASSUME_32BITUIDS]: Remove conditional code.
8614 2012-05-25 Richard Henderson <rth@twiddle.net>
8616 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8617 dl_hwcap to ifunc resolver.
8618 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8620 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8621 dl_hwcap to ifunc resolver.
8622 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8624 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8627 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8628 for |x| <= 2**-26, not 2**-57.
8629 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8632 2012-05-24 Jeff Law <law@redhat.com>
8634 * stdio-common/Makefile (tests): Add bug25.
8635 * stdio-common/bug25.c: New test.
8637 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8640 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8641 multiple of MALLOC_ALIGNMENT in size.
8642 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8644 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8646 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8648 (FILENAME_MAX): Use macro-int-constant.
8649 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8650 (_IOFBF): Use macro-int-constant.
8653 (SEEK_CUR): Likewise.
8654 (SEEK_END): Likewise.
8655 (SEEK_SET): Likewise.
8656 (TMP_MAX): Likewise.
8657 (EOF): Use macro-int-constant. Require < 0.
8658 (NULL): Use macro-constant. Require == 0.
8659 (stdin): Require type to be FILE *.
8662 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8664 (EXIT_SUCCESS): Likewise.
8665 (NULL): Use macro-constant. Require == 0.
8666 (RAND_MAX): Use macro-int-constant.
8667 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8668 [C99-based standards] (strtof): Require function.
8669 [C99-based standards] (strtold): Likewise.
8670 [C99-based standards] (strtoll): Likewise.
8671 [C99-based standards] (strtoull): Likewise.
8672 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8673 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8674 [ISO || ISO99 || ISO11] (math.h): Likewise.
8675 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8676 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8677 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8679 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8682 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8683 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8684 * intl/dgettext.c (DCGETTEXT): Likewise.
8685 * intl/gettext.c (DCGETTEXT): Likewise.
8686 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8687 * posix/regex_internal.h (gettext): Likewise.
8688 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8690 * include/argz.h (__argz_count_internal)
8691 (__argz_stringify_internal): Remove declaration.
8692 (__argz_count, __argz_stringify): Declare hidden proto.
8693 * intl/dcgettext.c: Remove use of INTDEF.
8694 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8695 * string/argz-stringify.c: Likewise.
8696 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8697 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8698 Declare hidden proto.
8699 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8700 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8701 Declare hidden proto.
8702 * include/stdio.h (__asprintf_internal): Don't declare.
8703 (__asprintf): Don't define as macro. Declare hidden proto.
8704 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8705 (__fsetlocking): Declare hidden proto.
8706 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8707 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8709 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8710 (_IO_setlinebuf): Remove use of INTUSE.
8711 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8712 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8713 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8715 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8716 (_IO_do_flush): Remove use of INTUSE.
8717 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8718 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8719 (_IO_adjust_column, _IO_least_wmarker)
8720 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8721 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8722 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8723 (_IO_default_doallocate, _IO_wdefault_doallocate)
8724 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8725 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8726 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8727 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8728 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8729 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8730 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8731 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8732 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8733 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8734 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8735 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8736 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8738 (_IO_flush_all_internal, _IO_adjust_column_internal)
8739 (_IO_default_uflow_internal, _IO_default_finish_internal)
8740 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8741 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8742 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8743 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8744 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8745 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8746 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8747 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8748 (_IO_file_close_internal, _IO_file_close_it_internal)
8749 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8750 (_IO_file_init_internal, _IO_file_attach_internal)
8751 (_IO_file_fopen_internal, _IO_file_read_internal)
8752 (_IO_file_sync_internal, _IO_file_seek_internal)
8753 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8754 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8755 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8756 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8757 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8758 (_IO_list_all_internal, _IO_link_in_internal)
8759 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8760 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8761 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8762 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8763 (_IO_do_write_internal, _IO_padn_internal)
8764 (_IO_getline_info_internal, _IO_getline_internal)
8765 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8766 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8767 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8768 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8769 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8770 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8771 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8772 with libc_hidden_ver, remove use of INTUSE.
8773 * libio/genops.c: Likewise.
8774 * libio/freopen.c: Likewise.
8775 * libio/freopen64.c: Likewise.
8776 * libio/iofclose.c: Likewise.
8777 * libio/iofdopen.c: Likewise.
8778 * libio/iofflush.c: Likewise.
8779 * libio/iofflush_u.c: Likewise.
8780 * libio/iofgets.c: Likewise.
8781 * libio/iofgets_u.c: Likewise.
8782 * libio/iofopen.c: Likewise.
8783 * libio/iofopncook.c: Likewise.
8784 * libio/iofread.c: Likewise.
8785 * libio/iofread_u.c: Likewise.
8786 * libio/ioftell.c: Likewise.
8787 * libio/iofwrite.c: Likewise.
8788 * libio/iogetline.c: Likewise.
8789 * libio/iogets.c: Likewise.
8790 * libio/iogetwline.c: Likewise.
8791 * libio/iopadn.c: Likewise.
8792 * libio/iopopen.c: Likewise.
8793 * libio/ioseekoff.c: Likewise.
8794 * libio/ioseekpos.c: Likewise.
8795 * libio/iosetbuffer.c: Likewise.
8796 * libio/iosetvbuf.c: Likewise.
8797 * libio/ioungetc.c: Likewise.
8798 * libio/ioungetwc.c: Likewise.
8799 * libio/iovdprintf.c: Likewise.
8800 * libio/iovsprintf.c: Likewise.
8801 * libio/iovsscanf.c: Likewise.
8802 * libio/memstream.c: Likewise.
8803 * libio/obprintf.c: Likewise.
8804 * libio/oldfileops.c: Likewise.
8805 * libio/oldiofclose.c: Likewise.
8806 * libio/oldiofdopen.c: Likewise.
8807 * libio/oldiofopen.c: Likewise.
8808 * libio/oldiopopen.c: Likewise.
8809 * libio/oldstdfiles.c: Likewise.
8810 * libio/putc.c: Likewise.
8811 * libio/setbuf.c: Likewise.
8812 * libio/setlinebuf.c: Likewise.
8813 * libio/stdfiles.c: Likewise.
8814 * libio/strops.c: Likewise.
8815 * libio/vasprintf.c: Likewise.
8816 * libio/vscanf.c: Likewise.
8817 * libio/vsnprintf.c: Likewise.
8818 * libio/vswprintf.c: Likewise.
8819 * libio/wfiledoalloc.c: Likewise.
8820 * libio/wfileops.c: Likewise.
8821 * libio/wgenops.c: Likewise.
8822 * libio/wmemstream.c: Likewise.
8823 * libio/wstrops.c: Likewise.
8824 * libio/__fpurge.c: Likewise.
8825 * libio/__fsetlocking.c: Likewise.
8826 * assert/assert.c: Likewise.
8827 * debug/fgets_chk.c: Likewise.
8828 * debug/fgets_u_chk.c: Likewise.
8829 * debug/fread_chk.c: Likewise.
8830 * debug/fread_u_chk.c: Likewise.
8831 * debug/gets_chk.c: Likewise.
8832 * debug/obprintf_chk.c: Likewise.
8833 * debug/vasprintf_chk.c: Likewise.
8834 * debug/vdprintf_chk.c: Likewise.
8835 * debug/vsnprintf_chk.c: Likewise.
8836 * debug/vsprintf_chk.c: Likewise.
8837 * malloc/mtrace.c: Likewise.
8838 * misc/error.c: Likewise.
8839 * misc/syslog.c: Likewise.
8840 * stdio-common/asprintf.c: Likewise.
8841 * stdio-common/fxprintf.c: Likewise.
8842 * stdio-common/getw.c: Likewise.
8843 * stdio-common/isoc99_fscanf.c: Likewise.
8844 * stdio-common/isoc99_scanf.c: Likewise.
8845 * stdio-common/isoc99_vfscanf.c: Likewise.
8846 * stdio-common/isoc99_vscanf.c: Likewise.
8847 * stdio-common/isoc99_vsscanf.c: Likewise.
8848 * stdio-common/printf-prs.c: Likewise.
8849 * stdio-common/printf_fp.c: Likewise.
8850 * stdio-common/printf_fphex.c: Likewise.
8851 * stdio-common/printf_size.c: Likewise.
8852 * stdio-common/putw.c: Likewise.
8853 * stdio-common/scanf.c: Likewise.
8854 * stdio-common/sprintf.c: Likewise.
8855 * stdio-common/tmpfile.c: Likewise.
8856 * stdio-common/vfprintf.c: Likewise.
8857 * stdio-common/vfscanf.c: Likewise.
8858 * stdlib/strfmon_l.c: Likewise.
8859 * sunrpc/openchild.c: Likewise.
8860 * sunrpc/xdr_stdio.c: Likewise.
8861 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8862 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8864 2012-05-24 Roland McGrath <roland@hack.frob.com>
8866 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8868 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8869 in the third column, to generate for the shared library an IFUNC
8870 that uses _dl_vdso_vsym.
8871 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8872 * Makeconfig (object-suffixes-noshared): New variable.
8874 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8875 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8876 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8877 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8880 * include/sys/time.h (__gettimeofday): Remove macro.
8881 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8882 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8884 (__gettimeofday): Add libc_hidden_def.
8885 (gettimeofday): Add libc_hidden_weak.
8886 * sysdeps/mach/gettimeofday.c: Likewise.
8887 * sysdeps/posix/gettimeofday.c: Likewise.
8888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8889 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8890 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8891 (__gettimeofday_internal): Remove strong_alias.
8892 (__gettimeofday): Add libc_hidden_def.
8893 (gettimeofday): Add libc_hidden_weak.
8894 * sysdeps/unix/syscalls.list (gettimeofday):
8895 Remove __gettimeofday_internal alias.
8897 2012-05-24 Daniel Jacobowitz <drow@false.org>
8898 H.J. Lu <hongjiu.lu@intel.com>
8901 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8902 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8903 (largebin_index_32_big): New.
8904 (largebin_index): Use it for 16-byte alignment.
8905 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8906 correction with front_misalign.
8908 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8936 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8937 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8939 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8943 * math/libm-test.inc (exp_test): Add test from bug 14036.
8944 (pow_test): Add test from bug 10846.
8946 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8948 (special_function): Do not include flags in test name.
8949 (parse_args): Likewise.
8950 * sysdeps/i386/fpu/libm-test-ulps: Update.
8951 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8952 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8953 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8956 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8958 * math/libm-test.inc ("Philosophy"): Update comment about
8960 (UNDERFLOW_EXCEPTION): New macro.
8961 (UNDERFLOW_EXCEPTION_OK): Likewise.
8962 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8963 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8964 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8965 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8966 (INVALID_EXCEPTION_OK): Update value.
8967 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8968 (OVERFLOW_EXCEPTION_OK): Likewise.
8969 (IGNORE_ZERO_INF_SIGN): Likewise.
8970 (test_exceptions): Handle underflow exceptions.
8971 (acos_test): Update for underflow exception expectations.
8972 (cexp_test): Likewise.
8973 (clog_test): Likewise.
8974 (clog10_test): Likewise.
8975 (csqrt_test): Likewise.
8976 (ctan_test): Likewise.
8977 (ctanh_test): Likewise.
8978 (exp_test): Likewise.
8979 (exp10_test): Likewise.
8980 (exp2_test): Likewise.
8981 (expm1_test): Likewise.
8982 (fma_test): Likewise.
8983 (j0_test): Likewise.
8984 (jn_test): Likewise.
8985 (nexttoward_test): Likewise.
8986 (pow_test): Likewise.
8987 (scalbn_test): Likewise.
8988 (scalbln_test): Likewise.
8989 (tan_test): Likewise.
8990 (y1_test): Likewise.
8991 * sysdeps/i386/fpu/libm-test-ulps: Update.
8992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994 2012-05-23 David S. Miller <davem@davemloft.net>
8996 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8997 (__libc_sigaction): Remove unused local variables.
8999 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9001 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9003 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9005 mktime: avoid signed integer overflow
9006 * time/mktime.c (__mktime_internal): Do not mishandle the case
9007 where diff == INT_MIN.
9009 mktime: simplify computation of average
9010 * time/mktime.c (ranged_convert): Use new time_t_avg function
9011 instead of rolling our own (probably-slower) code.
9013 mktime: do not assume signed right shift propagates sign bit
9014 * time/mktime.c (isdst_differ): New static function.
9015 (__mktime_internal): No need to normalize tm_isdst now.
9016 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9019 mktime: merge another wrapv change from gnulib
9020 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9021 from some compilers.
9023 mktime: remove incorrect attempt at unusual arithmetics
9024 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9025 The code didn't really work on such machines anyway.
9026 (TYPE_MINIMUM): Assume two's complement.
9027 (twos_complement_arithmetic): Verify that long_int and time_t
9028 are two's complement (or unsigned, in the latter case).
9030 mktime: check signed shifts on long_int and time_t, too
9031 * time/mktime.c (SHR): Check that shifts work as desired
9032 on the types long_int and time_t too, as SHR is used on
9035 mktime: do not assume 'long' is wide enough
9036 * time/mktime.c (verify): Move decl up.
9037 (long_int): New type.
9038 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9039 to remove assumption in the code that 'long' is wide enough to
9040 store year values. This assumption is not true on x32 and on
9041 some non-glibc platforms.
9043 mktime: merge wrapv change from gnulib
9044 * time/mktime.c (WRAPV): New macro.
9045 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9046 (guess_time_tm, __mktime_internal): Do not assume that signed
9047 integer overflow wraps around; modern compilers generate code
9048 where this assumption is no longer valid.
9050 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9052 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9053 Replace "jmp L(pseudo_end)" with "ret".
9054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9057 2012-05-23 Andreas Jaeger <aj@suse.de>
9059 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9060 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9062 2012-05-23 Andreas Jaeger <aj@suse.de>
9063 Maximilian Attems <max@stro.at>
9065 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9068 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9070 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9071 code so that pseudo_end is just ret and the stack pointer is
9072 correct also for static library in error case.
9074 2012-05-23 Joseph Myers <joseph@codesourcery.com>
9076 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9077 move to syscalls.list.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9083 * manual/install.texi (Running make install): Do not mention Linux
9084 kernel version for which pt_chown is not needed.
9085 (Linux): Do not mention problems with nscd with 2.0 kernels.
9086 * INSTALL: Regenerated.
9088 2012-05-23 Andreas Jaeger <aj@suse.de>
9090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9091 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9093 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9095 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9097 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9100 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9102 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9103 * sysdeps/unix/sysv/linux/bits/in.h
9104 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9106 2012-05-22 Roland McGrath <roland@hack.frob.com>
9108 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9109 (PREPARE_VERSION): Just use assert instead, it will be elided
9110 under [NDEBUG] anyway.
9112 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9114 * sysdeps/unix/sysv/linux/Makefile: Include
9115 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
9116 (sysdep_routines): Remove sysctl.
9117 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9118 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9120 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9121 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9123 2012-05-22 Andreas Jaeger <aj@suse.de>
9125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9126 that pseudo_end is just ret and the stack pointer is correct also
9127 for static library in error case.
9129 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9132 * nss/nsswitch.c (defconfig_entries): New variable.
9133 (__nss_database_lookup): Don't leak defconfig entries.
9134 (nss_parse_service_list): Don't leak on error paths.
9135 (free_database_entries): New function.
9136 (free_defconfig): New function.
9137 (free_mem): Move common code to free_database_entries.
9139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9141 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9143 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9145 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9146 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9147 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9149 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9150 (INTERNAL_SYSCALL_TYPES): Likewise.
9151 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9152 (LOAD_REGS_TYPES_[1-6]): Likewise.
9153 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9154 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9156 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9158 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9159 copysignl for GLIBC_2_0.
9160 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9161 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9162 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9163 logbl for GLIBC_2_0.
9164 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9165 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9167 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9169 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9170 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9172 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9175 * time/mktime.c: Update copyright years.
9177 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9179 mktime: merge comment-quoting-style change from gnulib
9180 * time/mktime.c: Quote 'like this' in comments.
9181 The GNU coding standards suggest that we no longer quote `like this',
9182 as "`" and "'" are typically rendered asymmetrically nowadays.
9183 The typical gnulib style is to quote 'like this' when quoting
9184 code, and "like this" when quoting English.
9186 * time/mktime.c (compile-command): Add "-I.".
9188 mktime: merge mktime-internal.h change from gnulib
9189 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9191 mktime: merge time_r change from gnulib
9192 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9194 mktime: merge DEBUG change from gnulib
9195 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9196 case system <time.h> has a #define.
9198 mktime: merge <sys/types.h> change from gnulib
9199 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9200 since <time.t> is now guaranteed to define time_t.
9202 mktime: merge HAVE_CONFIG_H change from gnulib
9203 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9205 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9207 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9210 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9212 (struct rusage): Use anonymous union to pad each field to
9215 2012-05-21 David S. Miller <davem@davemloft.net>
9217 * Makefules (o-iterator): Remove .s cases.
9218 (compile-command.s): Delete.
9219 (COMPILE.s): Delete.
9220 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9222 2012-05-21 Joseph Myers <joseph@codesourcery.com>
9224 * configure.in (libc_cv_predef_stack_protector): Only consider
9225 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9226 * configure: Regenerated.
9228 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9231 New macro. Use R*LP on int and pointer.
9232 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9233 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9234 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9235 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9237 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9238 [__WORDSIZE_TIME64_COMPAT32] instead of
9239 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9240 (struct utmp): Likewise.
9241 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9242 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9244 (__WORDSIZE_TIME64_COMPAT32): This.
9245 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9246 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9247 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9248 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9249 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9250 (__WORDSIZE_TIME64_COMPAT32): New macro.
9252 2012-05-21 Andreas Jaeger <aj@suse.de>
9254 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9255 only if [SHARED]. Add prototype for __wcschr_ia32.
9257 2012-05-21 Roland McGrath <roland@hack.frob.com>
9259 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9260 of %rbp unmolested in the jmp_buf while mangling the low bits.
9261 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9262 unmolested high bits of %rbp while demangling the low bits.
9263 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9265 2012-05-21 Andreas Jaeger <aj@suse.de>
9267 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9268 * sunrpc/svc_simple.c: Use it for registerrpc.
9269 * sunrpc/xcrypt.c: Use it for passwd2des.
9271 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9273 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9275 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9276 Don't define if [__SYSCALL_WORDSIZE != 32].
9277 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9280 2012-05-21 Bruno Haible <bruno@clisp.org>
9281 Andreas Jaeger <aj@suse.de>
9283 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9284 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9285 inptr and inend for must_buffer_ch.
9286 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9287 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9288 * stdio-common/Makefile (tests): Remove bug15.
9289 (bug15-ENV): Remove macro.
9290 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9293 2012-05-19 Andreas Jaeger <aj@suse.de>
9294 Roland McGrath <roland@hack.frob.com>
9296 * manual/contrib.texi: Completely rewritten. It contains now an
9297 alphabetical list of contributors and their contributions.
9299 2012-05-21 Richard Henderson <rth@twiddle.net>
9301 * misc/getauxval.c (__getauxval): Use unsigned long int.
9302 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9303 (getauxval): Use unsigned long int.
9305 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9307 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9309 2012-05-21 Roland McGrath <roland@hack.frob.com>
9311 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9312 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9313 __alignof__ (long double).
9315 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9319 2012-05-20 Richard Henderson <rth@twiddle.net>
9321 * misc/getauxval.c: New file.
9322 * misc/sys/auxv.h: New file.
9323 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9324 (routines): Add getauxval.
9325 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9327 * elf/dl-sysdep.c (_dl_auxv): Remove.
9328 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9329 * elf/dl-support.c (_dl_auxv): New variable.
9330 (_dl_aux_init): Initialize it.
9331 * manual/startup.texi (Auxiliary Vector): New node.
9332 * sysdeps/generic/bits/hwcap.h: New file.
9333 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9334 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9335 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9336 * sysdeps/sparc/sysdep.h: ... here. Include it.
9337 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9350 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9354 2012-05-19 David S. Miller <davem@davemloft.net>
9356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9361 * math/s_ccosh.c: Include <float.h>
9362 (__ccosh): Avoid internal overflow calculating sinh and cosh
9363 values before multiplying by sin and cos values.
9364 * math/s_ccoshf.c: Likewise.
9365 * math/s_ccoshl.c: Likewise.
9366 * math/s_csin.c: Likewise.
9367 * math/s_csinf.c: Likewise.
9368 * math/s_csinl.c: Likewise.
9369 * math/s_csinh.c: Likewise.
9370 * math/s_csinhf.c: Likewise.
9371 * math/s_csinhl.c: Likewise.
9372 * math/libm-test.inc (ccos_test): Add more tests.
9373 (ccosh_test): Likewise.
9374 (csin_test): Likewise.
9375 (csinh_test): Likewise.
9376 * sysdeps/i386/fpu/libm-test-ulps: Update.
9377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9379 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9381 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9382 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9384 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9386 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9388 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9389 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9390 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9391 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9392 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9393 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9394 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9395 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9396 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9397 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9398 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9399 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9400 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9401 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9402 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9403 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9404 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9405 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9406 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9407 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9408 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9409 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9410 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9411 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9412 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9413 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9414 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9415 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9416 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9417 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9418 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9420 2012-05-18 Andreas Jaeger <aj@suse.de>
9422 * csu/.gitignore: Delete.
9424 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9426 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9427 (timex): Use __syscall_slong_t.
9429 2012-05-18 Andreas Jaeger <aj@suse.de>
9430 Carlos O'Donell <carlos_odonell@mentor.com>
9432 * manual/install.texi (Configuring and compiling): Update
9433 description about files modified in the source directory.
9434 * INSTALL: Regenerated.
9436 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9438 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9439 value. Use "or" to set return value to -1.
9440 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9441 negate return value.
9443 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9445 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9446 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9447 failure if the compiler has Graphite support disabled.
9448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9450 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9451 CFLAGS-memmove.c): Likewise.
9452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9455 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9457 * sysdeps/x86_64/x32/_itoa.h: New file.
9459 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9460 getdents system call only if kernel and user dirents have the
9461 same d_ino and d_off.
9463 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9464 LLONG_MAX != LONG_MAX.
9465 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9466 (_fitoa_word): Likewise.
9468 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9470 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9471 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9472 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9474 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9475 include <bits/wordsize.h>. Check __x86_64__ instead of
9477 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9478 if __x86_64__ is defined. Use anonymous union on fpstate.
9480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9483 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9485 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9486 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9488 Refer to _rtld_local_ro instead of _rtld_global_ro.
9489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9491 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9493 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9495 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9496 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9497 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9499 * sysdeps/powerpc/powerpc32/dl-machine.c
9500 (__elf_machine_runtime_setup) [PROF]: Don't reference
9503 2012-05-18 Andreas Jaeger <aj@suse.de>
9505 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9506 function only available for GCCs before 3.4 since GCC 3.4
9507 introduced a builtin.
9509 (llrintf): Likewise.
9517 (nearbyint): Likewise.
9518 (nearbyintf): Likewise.
9524 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9526 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9527 on both fields and cast pointer to __syscall_ulong_t.
9529 * bits/types.h (__fsword_t): New type.
9530 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9531 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9532 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9533 (__FSWORD_T_TYPE): Likewise.
9534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9535 (__FSWORD_T_TYPE): Likewise.
9536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9537 (__FSWORD_T_TYPE): Likewise.
9538 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9539 (__FSWORD_T_TYPE): Likewise.
9540 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9541 __SWORD_TYPE with __fsword_t.
9542 (statfs64): Likewise.
9544 2012-05-17 David S. Miller <davem@davemloft.net>
9546 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9548 2012-05-17 Andreas Jaeger <aj@suse.de>
9550 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9553 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9555 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9557 2012-05-17 Andreas Jaeger <aj@suse.de>
9559 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9562 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9564 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9566 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9568 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9569 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9571 2012-05-17 Andreas Jaeger <aj@suse.de>
9572 Carlos O'Donell <carlos_odonell@mentor.com>
9575 * sysdeps/x86_64/multiarch/init-arch.h
9576 (bit_YMM_Usable): Rename to...
9577 (bit_AVX_Usable): ... this.
9578 (bit_FMA4_Usable): New macro.
9579 (bit_XMM_state): New macro.
9580 (bit_YMM_state): New macro.
9581 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9582 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9583 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9584 (CPUID_OSXSAVE): New macro.
9585 (CPUID_AVX): New macro.
9586 (CPUID_FMA4): New macro.
9587 (index_YMM_Usable): Rename to...
9588 (index_AVX_Usable): ... this.
9589 (HAS_AVX): Use HAS_ARCH_FEATURE.
9590 (HAS_FMA4): Likewise.
9591 (HAS_YMM_USABLE): Remove.
9592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9593 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9595 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9596 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9597 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9598 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9599 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9601 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9603 * math/libm-test.c: Support platforms without multiple rounding modes.
9604 * math/bug-nextafter.c: Support platforms without FP exceptions.
9605 * math/bug-nexttoward.c: Likewise.
9606 * math/test-fenv.c: Likewise.
9607 * math/test-misc.c: Likewise.
9608 * stdlib/bug-getcontext.c: Likewise.
9610 2012-05-17 Andreas Jaeger <aj@suse.de>
9612 * manual/examples/search.c (critter_cmp): Change signature to
9614 * manual/string.texi (Collation Functions): Likewise.
9616 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9618 * bits/types.h: Fold copyright years.
9619 * bits/typesizes.h: Likewise.
9620 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9624 * time/time.h: Likewise.
9626 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9629 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9630 in instead of returning them. Return void.
9631 (__libc_mallinfo): Accumulate over all arenas.
9632 (__malloc_stats): Adjust for change in int_mallinfo interface.
9634 2012-05-16 Roland McGrath <roland@hack.frob.com>
9637 * configure.in (NM): Add AC_CHECK_TOOL for it.
9638 (libc_extra_cflags): New substituted variable.
9639 Check for -fstack-protector being used implicitly.
9640 * configure: Regenerated.
9641 * config.make.in (config-extra-cflags): New variable,
9642 gets @libc_extra_cflags@.
9643 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9646 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9647 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9648 * configure: Regenerated.
9649 * config.make.in (CPPUNDEFS): New substituted variable.
9650 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9651 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9652 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9656 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9657 (mq_attr): Use __syscall_slong_t.
9659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9661 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9662 Check __x86_64__ instead of __WORDSIZE.
9663 (_STAT_VER_LINUX): Likewise.
9664 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9665 __syscall_ulong_t and __syscall_slong_t.
9668 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9670 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9672 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9674 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9676 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9678 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9681 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9682 include <bits/wordsize.h>. Check __x86_64__ instead of
9684 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9686 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9688 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9689 include <bits/wordsize.h>. Check __x86_64__ instead of
9691 (user_regs_struct): Use "__extension__ unsigned long long"
9692 instead of "unsigned long" if __x86_64__ is defined.
9693 (user): Likewise. Pad after pointer field if __ILP32__ is
9696 2012-05-16 Joseph Myers <joseph@codesourcery.com>
9698 * configure.in (makeinfo): Require version 4.5 or later. Allow
9700 * configure: Regenerated.
9701 * manual/install.texi (texinfo): Increase version requirement to
9703 * INSTALL: Regenerated.
9705 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9707 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9709 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9711 * sysdeps/x86_64/x32/ffs.c: New file.
9713 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9715 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9716 defined. Use __syscall_ulong_t.
9717 (shminfo): Use __syscall_ulong_t.
9718 (shm_info): Likewise.
9720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9723 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9725 (msgqnum_t): Use __syscall_ulong_t.
9726 (msglen_t): Likewise.
9727 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9730 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9731 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9733 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9735 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9736 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9738 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9742 include <bits/wordsize.h>. Check __x86_64__ instead of
9745 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9746 "unsigned long long int" if __x86_64__ is defined.
9747 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9751 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9753 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9755 (GET_PC): Cast to uintptr_t first.
9756 (GET_FRAME): Likewise.
9757 (GET_STACK): Likewise.
9759 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9761 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9762 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9763 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9764 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9765 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9766 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9767 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9772 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9774 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9778 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9780 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9782 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9784 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9786 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9789 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9791 * Makerules (+depfiles): Also collect depfiles from .oS in
9793 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9794 .oS, $(libnldbl-routines)).
9796 * Makerules (native-compile-mkdep-flags): Define.
9797 * sunrpc/Makefile (extra-objs): Add $(addprefix
9798 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9799 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9800 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9801 calling $(make-target-directory).
9803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9805 * bits/types.h (__snseconds_t): Removed.
9806 * time/time.h (struct timespec): Replace __snseconds_t with
9808 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9809 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9812 (__SNSECONDS_T_TYPE): Likewise.
9813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9814 (__SNSECONDS_T_TYPE): Likewise.
9815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9816 (__SNSECONDS_T_TYPE): Likewise.
9818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9820 * sysdeps/mach/hurd/bits/typesizes.h
9821 (__SYSCALL_SLONG_TYPE): New macro.
9822 (__SYSCALL_ULONG_TYPE): Likewise.
9824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9826 * bits/types.h (__syscall_slong_t): New type.
9827 (__syscall_ulong_t): Likewise.
9829 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9830 (__SYSCALL_ULONG_TYPE): Likewise.
9831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9832 (__SYSCALL_SLONG_TYPE): Likewise.
9833 (__SYSCALL_ULONG_TYPE): Likewise.
9834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9835 (__SYSCALL_SLONG_TYPE): Likewise.
9836 (__SYSCALL_ULONG_TYPE): Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9838 (__SYSCALL_SLONG_TYPE): Likewise.
9839 (__SYSCALL_ULONG_TYPE): Likewise.
9841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9843 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9844 Add sigaltstack-offsets.sym.
9845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9846 <sigaltstack-offsets.h>.
9847 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9848 longjmp_msg pointer.
9849 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9850 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9852 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9854 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9856 * elf/stackguard-macros.h: Remove file.
9857 * sysdeps/generic/stackguard-macros.h: New file.
9858 * sysdeps/i386/stackguard-macros.h: Likewise.
9859 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9860 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9861 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9862 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9863 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9864 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9865 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9866 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9867 <elf/stackguard-macros.h>.
9870 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9871 __aligned__ in attribute.
9872 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9873 (gregset_t): Likewise.
9875 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9877 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9878 * sysdeps/x86_64/64/Implies-after: Here. New file.
9879 * sysdeps/x86_64/x32/Implies-after: New file.
9881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9883 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9884 and access return value for _dl_profile_fixup. Use R10_LP to
9887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9889 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9893 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9894 * sysdeps/x86_64/x32/sysdep.h: New file.
9896 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9898 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9899 * sysdeps/x86_64/setjmp.S: Likewise.
9901 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9905 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9907 remove unused global constant.
9909 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9911 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9912 include of <not-cancel.h>.
9914 2012-05-15 Roland McGrath <roland@hack.frob.com>
9916 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9918 2012-05-15 Jeff Law <law@redhat.com>
9919 Andreas Jaeger <aj@suse.de>
9922 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9924 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9925 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9926 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9927 code changing __hst_map_handle.map.
9929 2012-05-15 Roland McGrath <roland@hack.frob.com>
9931 * configure.in (sysnames): Look for Implies-before and Implies-after
9933 * configure: Regenerated.
9935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9937 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9938 8-byte data alignment with LP_SIZE alignment.
9940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9947 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9952 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9959 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9960 (stackinfo_sub_sp): Likewise.
9962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9964 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9967 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9969 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9979 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9983 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9984 into R11_LP and load __x86_64_shared_cache_size_half into
9987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9989 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9992 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10001 powerpc32/power7/fpu/s_logb.c via #include.
10002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10003 powerpc32/power7/fpu/s_logbf.c via #include.
10004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10005 powerpc32/power7/fpu/s_logbl.c via #include.
10007 2012-05-15 Joseph Myers <joseph@codesourcery.com>
10009 * README.libm: Remove file.
10011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10013 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10014 count for x32. Use R*_LP and omit operand-size suffix.
10016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10018 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10019 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10020 * sysdeps/x86_64/x32/shlib-versions: New file.
10022 2012-05-14 Roland McGrath <roland@hack.frob.com>
10024 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10025 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10026 Use _dl_fatal_printf instead.
10028 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10030 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10031 set if not set by the user. Do not allow for being unset.
10032 * sysdeps/unix/sysv/linux/configure: Regenerated.
10034 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10036 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10037 the `q' suffix from lea and replace .quad with ASM_ADDR.
10039 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10042 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10044 (PTR_DEMANGLE): Likewise.
10046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10048 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10050 (ASM_ADDR): Likewise.
10051 (RAX_LP): Likewise.
10052 (RBP_LP): Likewise.
10053 (RBX_LP): Likewise.
10054 (RCX_LP): Likewise.
10055 (RDI_LP): Likewise.
10056 (RSI_LP): Likewise.
10057 (RSP_LP): Likewise.
10060 (R10_LP): Likewise.
10061 (R10_LP): Likewise.
10062 (R11_LP): Likewise.
10063 (R12_LP): Likewise.
10064 (R13_LP): Likewise.
10065 (R14_LP): Likewise.
10066 (R15_LP): Likewise.
10068 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10070 * sysdeps/x86_64/x32/dl-machine.h: New file.
10072 2012-05-14 Andreas Jaeger <aj@suse.de>
10074 * manual/Makefile (subdir): Remove export of subdir.
10075 (all): Remove target.
10076 (.PHONY): Remove all from list.
10077 (mkinstalldirs): Remove.
10078 (.PHONY): Remove installdirs from list.
10079 ($(inst_infodir)/libc.info): Use make-target-directory.
10080 (installdirs): Remove.
10081 (subdir_%): Remove.
10082 (glibc-targets): Remove.
10085 ($(objpfx)stubs ../po/manual.pot): Remove.
10086 ($(objpfx)stamp%): Remove.
10087 (make-target-directory): Remove.
10088 (subdir_install): Remove.
10089 (routines): Remove.
10096 * manual/.gitignore: Remove, it's not needed anymore.
10097 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10099 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10101 (texis): Renamed to $(objpfx)texis.
10102 (texis-path): New, contains path to generated files.
10103 (chapters.%): Use texis-path for complete path, add extra argument
10105 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10106 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10107 (summary,texi, stamp-summary): Use complete path of
10108 files. Generate files in build dir.
10109 (dir-add.texi): Build in build dir.
10110 (libm-err.texi,stamp-libm-err): Likewise.
10111 (version.texi, stamp-version): Likewise.
10112 (.%c.texi): Likewise.
10113 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10114 (mostlyclean): Remove target.
10115 (realclean): Remove target.
10116 (generated): Add new variable with contents from mostlyclean and
10117 realclean, remove entries duplicated in common-mostlyclean, add
10118 stamp-libm-err and stamp-version.
10119 (generated-dirs): Add libc directory.
10120 ($(inst_infodir)/libc.info): Install files from build dir.
10122 * manual/install.texi (Configuring and compiling): Adjust since
10123 the info files are not part of the tar ball anymore.
10125 2012-05-14 Andreas Jaeger <aj@suse.de>
10127 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10130 2012-05-14 Joseph Myers <joseph@codesourcery.com>
10133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10134 to 2.2.0 where earlier.
10135 * sysdeps/unix/sysv/linux/configure: Regenerated.
10136 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10137 Remove conditional code.
10138 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10139 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10140 Remove conditional code.
10141 [!__NR_lchown]: Likewise.
10142 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10143 [__NR_lchown]: Likewise.
10144 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10145 comment referencing __ASSUME_LCHOWN_SYSCALL.
10146 * sysdeps/unix/sysv/linux/i386/sigaction.c
10147 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10148 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10149 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10150 Remove conditional code.
10151 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10152 (__protocol_available): Remove #if 0 code.
10153 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10155 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10156 * sysdeps/unix/sysv/linux/kernel-features.h
10157 (__ASSUME_GETCWD_SYSCALL): Don't define.
10158 (__ASSUME_REALTIME_SIGNALS): Likewise.
10159 (__ASSUME_PREAD_SYSCALL): Likewise.
10160 (__ASSUME_PWRITE_SYSCALL): Likewise.
10161 (__ASSUME_POLL_SYSCALL): Likewise.
10162 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10163 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10165 (__ASSUME_SIOCGIFNAME): Don't define.
10166 (__ASSUME_MSG_NOSIGNAL): Likewise.
10167 (__ASSUME_SENDFILE): Define unconditionally.
10168 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10169 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10171 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10172 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10173 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10174 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10175 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10176 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10177 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10194 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10200 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10202 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10203 Remove conditional code.
10204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10205 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10206 Remove conditional code.
10207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10208 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10209 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10210 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10211 Remove conditional code.
10212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10213 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10214 Remove conditional code.
10215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10216 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10217 Remove conditional code.
10218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10219 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10220 Remove conditional code.
10221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10222 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10223 Remove conditional code.
10224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10225 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10228 * sysdeps/unix/sysv/linux/sigaction.c
10229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10231 * sysdeps/unix/sysv/linux/sigpending.c
10232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10234 * sysdeps/unix/sysv/linux/sigprocmask.c
10235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10237 * sysdeps/unix/sysv/linux/sigsuspend.c
10238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10240 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10241 (__libc_missing_rt_sigs): Remove.
10242 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10243 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10244 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10245 Remove conditional code.
10246 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10247 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10249 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10250 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10252 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10254 2012-05-14 Andreas Jaeger <aj@suse.de>
10256 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10257 it's not used in glibc.
10258 (__coshm1): Likewise.
10259 (__acosh1p): Likewise.
10262 * manual/string.texi (Copying and Concatenation): Add missing
10263 variable in concat example.
10264 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10266 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10270 __builtin_clzl with __builtin_clzll.
10272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10275 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10278 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10280 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10281 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10282 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10285 2012-05-14 Mike Frysinger <vapier@gentoo.org>
10287 * NEWS: Update ia64 info.
10289 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10291 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10294 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10296 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10297 * sysdeps/unix/syscalls.list (dup3): Likewise.
10298 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10299 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10301 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10303 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10304 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10306 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10308 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10310 (TLS_IE): Use mov/add instead of movq/addq to load thread
10312 (TLS_GD_PREFIX): New.
10315 2012-05-11 David S. Miller <davem@davemloft.net>
10317 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10318 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10319 (_FPU_SETCW): Likewise.
10321 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10323 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10324 is 32-byte aligned.
10326 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10329 * iconvdata/gb18030.c: Update tables.
10330 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10331 characters specially.
10332 (BODY for TO_LOOP): Add encoding of missing ranges.
10334 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10337 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10338 * sysdeps/mach/hurd/dup3.c: Likewise.
10339 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10340 * sysdeps/powerpc/memmove.c:: Likewise.
10342 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10345 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10347 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10349 * elf/elf.h (R_X86_64_RELATIVE64): New.
10350 (R_X86_64_NUM): Updated.
10351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10352 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10353 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10354 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10355 tst-quad1pie tst-quad2pie
10356 (modules-names): Add tst-quadmod1 tst-quadmod2.
10357 ($(objpfx)tst-quad1): New dependency.
10358 ($(objpfx)tst-quad2): Likewise.
10359 ($(objpfx)tst-quad1pie): Likewise.
10360 ($(objpfx)tst-quad2pie): Likewise.
10361 * sysdeps/x86_64/tst-quad1.c: New file.
10362 * sysdeps/x86_64/tst-quad1pie.c: New file.
10363 * sysdeps/x86_64/tst-quad2.c: Likewise.
10364 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10365 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10366 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10367 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10368 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10370 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10372 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10373 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10374 * streams/stropts.h (t_scalar_t): Define type.
10376 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10377 (_PATH_PRESERVE): Set to "/var/lib".
10378 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10380 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10383 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10384 if __dir_mkfile succeeded.
10386 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10387 checking for _hurd_dtablesize. Unlock it right after having
10388 finished _hurd_dtable allocation.
10390 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10392 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10393 * sysdeps/mach/hurd/configure: Regenerated.
10394 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10395 special-casing to...
10396 * sysdeps/gnu/configure.in: ... this new file.
10397 * sysdeps/unix/sysv/linux/configure: Regenerated.
10398 * sysdeps/gnu/configure: New generated file.
10400 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10401 for Linux: use nsec instead of usec, as well as:
10402 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10403 members of type struct timespec.
10404 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10406 (struct stat64): Likewise.
10407 (_STATBUF_ST_NSEC): New macro.
10408 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10410 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10411 __strtoul_internal rather than strtoul.
10413 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10415 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10420 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10421 which preserves existing values.
10422 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10424 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10426 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10427 TIMEOUT values. Return EINVAL for NFDS values either negative or
10428 greater than FD_SETSIZE.
10430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10432 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10433 allocated, call __vm_protect to finish enabling the existing space, and
10434 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10435 allocate the remainder.
10437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10439 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10440 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10444 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10445 sysdeps/mach/hurd/readlink.c.
10447 * posix/tst-sysconf.c (posix_options): Only use
10448 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10449 _POSIX_SYNCHRONIZED_IO when they are defined
10450 * sysdeps/mach/hurd/bits/posix_opt.h:
10451 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10452 (_XOPEN_REALTIME): Undefine macro.
10453 (_XOPEN_REALTIME_THREADS): Undefine macro.
10454 (_XOPEN_SHM): Undefine macro.
10455 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10457 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10459 (_POSIX_ASYNC_IO): Undefine macro.
10460 (_POSIX_PRIORITIZED_IO): Undefine macro.
10461 (_POSIX_SPIN_LOCKS): Define macro to -1.
10463 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10464 SA_NODEFER, SA_RESETHAND.
10465 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10466 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10469 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10471 * elf/Makefile (pldd-modules): Define unconditionally.
10473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10475 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10477 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10479 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10480 Return ENOENT when name is empty.
10481 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10483 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10485 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10487 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10491 Fix mlock in all cases except non-readable pages.
10492 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10493 instead of VM_PROT_ALL as parameter to __vm_wire function.
10495 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10496 (__mkdir): When path is `/', just fail with EEXIST.
10497 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10501 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10502 <sys/uio.h> (for writev).
10503 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10504 and <sys/param.h> (for MIN).
10506 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10508 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10509 REQUESTED_TIME. Properly set the remaining time and return EINTR
10512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10514 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10515 Depend on against $(link-rpcuserlibs).
10517 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10519 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10520 (__libc_stack_end): Do not use attribute_relro.
10521 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10522 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10523 to libthread-provided value.
10524 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10527 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10530 * bits/libc-lock.h (__libc_once_get): New macro.
10531 * sysdeps/mach/bits/libc-lock.h: Likewise.
10532 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10534 instead of using implementation details.
10536 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10537 * libio/freopen.c: Likewise.
10538 * libio/freopen64.c: Likewise.
10539 * misc/syslog.c: Likewise.
10540 * nscd/connections.c: Likewise.
10541 * nscd/netgroupcache.c: Likewise.
10542 * sysdeps/posix/getcwd.c: Likewise.
10544 2012-05-10 Roland McGrath <roland@hack.frob.com>
10546 * math/w_ilogbf.c: Add #include <limits.h>.
10548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10550 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10551 path instead of returning without unlocking.
10553 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10554 immediate-write ioctls.
10555 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10559 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10560 __builtin_frame_address instead of making assumptions about the
10561 location of the return address relative to DATA. Force early load of
10562 the return address.
10563 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10564 __builtin_frame_address.
10567 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10568 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10569 implement dup3 and do some further code clean-ups.
10570 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10571 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10575 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10577 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10578 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10579 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10580 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10581 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10584 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10585 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10586 when handler == SIG_ERR, not when handler != SIG_ERR.
10588 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10590 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10591 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10594 accept4 for GNU Hurd.
10595 * include/sys/socket.h (__libc_accept4): New prototype.
10596 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10597 to implement __libc_accept4.
10598 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10600 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10602 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10603 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10604 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10605 signal-defines.sym.
10607 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10609 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10613 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10614 assertion on O_CLOEXEC flag.
10615 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10616 * hurd/intern-fd.c: Likewise.
10617 * hurd/port2fd.c: Likewise.
10619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10622 * bits/in.h (IPV6_PKTINFO): Define new macro.
10623 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10625 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10630 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10632 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10633 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10634 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10635 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10636 * math/libm-test.inc (logb_test) : Additional logb tests.
10638 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10639 Andreas Jaeger <aj@suse.de>
10641 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10642 * configure: Regenerated.
10643 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10644 * config.make.in (link-obsolete-rpc): New substituted variable.
10645 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10646 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10647 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10648 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10649 so that libc.a contains the symbols.
10650 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10651 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10652 * sunrpc/auth_none.c: Likewise.
10653 * sunrpc/auth_unix.c: Likewise.
10654 * sunrpc/authdes_prot.c: Likewise.
10655 * sunrpc/authuxprot.c: Likewise.
10656 * sunrpc/clnt_gen.c: Likewise.
10657 * sunrpc/clnt_perr.c: Likewise.
10658 * sunrpc/clnt_raw.c: Likewise.
10659 * sunrpc/clnt_simp.c: Likewise.
10660 * sunrpc/clnt_tcp.c: Likewise.
10661 * sunrpc/clnt_udp.c: Likewise.
10662 * sunrpc/clnt_unix.c: Likewise.
10663 * sunrpc/des_crypt.c: Likewise.
10664 * sunrpc/des_soft.c: Likewise.
10665 * sunrpc/get_myaddr.c: Likewise.
10666 * sunrpc/key_call.c: Likewise.
10667 * sunrpc/key_prot.c: Likewise.
10668 * sunrpc/netname.c: Likewise.
10669 * sunrpc/pm_getmaps.c: Likewise.
10670 * sunrpc/pm_getport.c: Likewise.
10671 * sunrpc/pmap_clnt.c: Likewise.
10672 * sunrpc/pmap_prot.c: Likewise.
10673 * sunrpc/pmap_prot2.c: Likewise.
10674 * sunrpc/pmap_rmt.c: Likewise.
10675 * sunrpc/publickey.c: Likewise.
10676 * sunrpc/rpc_cmsg.c: Likewise.
10677 * sunrpc/rpc_common.c: Likewise.
10678 * sunrpc/rpc_dtable.c: Likewise.
10679 * sunrpc/rpc_prot.c: Likewise.
10680 * sunrpc/rpc_thread.c: Likewise.
10681 * sunrpc/rtime.c: Likewise.
10682 * sunrpc/svc.c: Likewise.
10683 * sunrpc/svc_auth.c: Likewise.
10684 * sunrpc/svc_raw.c: Likewise.
10685 * sunrpc/svc_run.c: Likewise.
10686 * sunrpc/svc_tcp.c: Likewise.
10687 * sunrpc/svc_udp.c: Likewise.
10688 * sunrpc/svc_unix.c: Likewise.
10689 * sunrpc/svcauth_des.c: Likewise.
10690 * sunrpc/xcrypt.c: Likewise.
10691 * sunrpc/xdr.c: Likewise.
10692 * sunrpc/xdr_array.c: Likewise.
10693 * sunrpc/xdr_float.c: Likewise.
10694 * sunrpc/xdr_intXX_t.c: Likewise.
10695 * sunrpc/xdr_mem.c: Likewise.
10696 * sunrpc/xdr_rec.c: Likewise.
10697 * sunrpc/xdr_ref.c: Likewise.
10698 * sunrpc/xdr_sizeof.c: Likewise.
10699 * sunrpc/xdr_stdio.c: Likewise.
10701 2012-05-10 Roland McGrath <roland@hack.frob.com>
10703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10704 change. Update copyright years.
10706 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10708 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10710 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10711 Joseph Myers <joseph@codesourcery.com>
10712 Paul Pluzhnikov <ppluzhnikov@google.com>
10715 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10717 [cross-compiling] (extra-libs): Likewise.
10718 [cross-compiling] (extra-libs-others): Likewise.
10719 [cross-compiling] (librpcsvc-routines): Likewise.
10720 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10721 [cross-compiling] (omit-deps): Likewise.
10722 (sunrpc-CPPFLAGS): New variable.
10723 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10724 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10725 (cross-rpcgen-objs): New variable.
10726 (extra-objs): Append $(cross-rpcgen-objs).
10727 ($(cross-rpcgen-objs)): New rule.
10728 ($(objpfx)cross-rpcgen): Likewise.
10729 (rpcgen-cmd): Define to use $(built-program-file). Expand
10731 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10732 ($(objpfx)x%.stmp): Likewise.
10733 * sunrpc/proto.h [IS_IN_build] (_): Define.
10734 [IS_IN_build] (_libc_intl_domainname): Likewise.
10736 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10738 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10739 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10740 and R_X86_64_TPOFF64.
10742 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10744 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10745 sysdeps/unix/sysv/syscalls.list.
10748 * sysdeps/unix/sysv/syscalls.list: Remove file.
10750 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10753 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10754 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10755 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10756 (__LC_IDENTIFICATION): Make these macros useful in #if
10757 expressions, as required by C99.
10759 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10761 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10762 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10765 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10767 * stdlib/longlong.h: Updated from GCC.
10769 2012-05-09 Andreas Jaeger <aj@suse.de>
10771 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10772 default is first entry.
10773 (run_mode): Set type.
10774 (main): Remove informal message about syslog.
10775 (options): Fix typo.
10778 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10781 (llrintf): Likewise.
10782 (llrint): Likewise.
10785 (nearbyint): Likewise.
10786 (nearbyintf): Likewise.
10788 2012-05-09 Andreas Jaeger <aj@suse.de>
10789 Pedro Alves <palves@redhat.com>
10791 * nscd/nscd.c (run_mode): Use enum.
10792 (main): Cleanup coding style issue.
10794 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10795 Andreas Jaeger <aj@suse.de>
10797 * nscd/nscd.c (go_background): Replaced with...
10798 (run_mode): ... this.
10799 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10800 (options): Add -F --foreground.
10801 (main): Implement it.
10802 (parse_opt): Parse it.
10804 2012-05-09 Andreas Jaeger <aj@suse.de>
10807 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10808 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10809 -Wconversion warning.
10810 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10813 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10815 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10817 (LC_ALL): Use macro-int-constant.
10818 (LC_COLLATE): Likewise.
10819 (LC_CTYPE): Likewise.
10820 (LC_MESSAGES): Likewise.
10821 (LC_MONETARY): Likewise.
10822 (LC_NUMERIC): Likewise.
10823 (LC_TIME): Likewise.
10824 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10825 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10826 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10827 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10829 [C99-based standards] (float_t): Expect type.
10830 [C99-based standards] (double_t): Expect type.
10831 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10833 [C99-based standards] (HUGE_VALL): Likewise.
10834 [C99-based standards] (INFINITY): Likewise.
10835 [C99-based standards] (NAN): Likewise.
10836 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10837 [C99-based standards] (FP_NAN): Likewise.
10838 [C99-based standards] (FP_NORMAL): Likewise.
10839 [C99-based standards] (FP_SUBNORMAL): Likewise.
10840 [C99-based standards] (FP_ZERO): Likewise.
10841 [C99-based standards] (FP_FAST_FMA): Use
10842 optional-macro-int-constant. Specify type. Require == 1.
10843 [C99-based standards] (FP_FAST_FMAF): Likewise.
10844 [C99-based standards] (FP_FAST_FMAL): Likewise.
10845 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10846 [C99-based standards] (FP_ILOGBNAN): Likewise.
10847 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10849 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10850 [C99-based standards] (math_errhandling): Specify type.
10851 [ISO99 || ISO11] (signgam): Do not allow.
10852 [non-C99-based standards] (copysignf): Do not allow.
10853 [non-C99-based standards] (exp2f): Likewise.
10854 [non-C99-based standards] (log2f): Likewise.
10855 [non-C99-based standards] (modff): Allow.
10856 [non-C99-based standards] (erff): Do not allow.
10857 [non-C99-based standards] (erfcf): Likewise.
10858 [non-C99-based standards] (gammaf): Likewise.
10859 [non-C99-based standards] (hypotf): Likewise.
10860 [non-C99-based standards] (j0f): Likewise.
10861 [non-C99-based standards] (j1f): Likewise.
10862 [non-C99-based standards] (jnf): Likewise.
10863 [non-C99-based standards] (lgammaf): Likewise.
10864 [non-C99-based standards] (tgammaf): Likewise.
10865 [non-C99-based standards] (y0f): Likewise.
10866 [non-C99-based standards] (y1f): Likewise.
10867 [non-C99-based standards] (ynf): Likewise.
10868 [non-C99-based standards] (isnanf): Likewise.
10869 [non-C99-based standards] (acoshf): Likewise.
10870 [non-C99-based standards] (asinhf): Likewise.
10871 [non-C99-based standards] (atanhf): Likewise.
10872 [non-C99-based standards] (cbrtf): Likewise.
10873 [non-C99-based standards] (expm1f): Likewise.
10874 [non-C99-based standards] (ilogbf): Likewise.
10875 [non-C99-based standards] (log1pf): Likewise.
10876 [non-C99-based standards] (logbf): Likewise.
10877 [non-C99-based standards] (nextafterf): Likewise.
10878 [non-C99-based standards] (remainderf): Likewise.
10879 [non-C99-based standards] (rintf): Likewise.
10880 [non-C99-based standards] (scalbf): Likewise.
10881 [non-C99-based standards] (copysignl): Likewise.
10882 [non-C99-based standards] (exp2l): Likewise.
10883 [non-C99-based standards] (log2l): Likewise.
10884 [non-C99-based standards] (modfl): Allow.
10885 [non-C99-based standards] (erfl): Do not allow.
10886 [non-C99-based standards] (erfcl): Likewise.
10887 [non-C99-based standards] (gammal): Likewise.
10888 [non-C99-based standards] (hypotl): Likewise.
10889 [non-C99-based standards] (j0l): Likewise.
10890 [non-C99-based standards] (j1l): Likewise.
10891 [non-C99-based standards] (jnl): Likewise.
10892 [non-C99-based standards] (lgammal): Likewise.
10893 [non-C99-based standards] (tgammal): Likewise.
10894 [non-C99-based standards] (y0l): Likewise.
10895 [non-C99-based standards] (y1l): Likewise.
10896 [non-C99-based standards] (ynl): Likewise.
10897 [non-C99-based standards] (isnanl): Likewise.
10898 [non-C99-based standards] (acoshl): Likewise.
10899 [non-C99-based standards] (asinhl): Likewise.
10900 [non-C99-based standards] (atanhl): Likewise.
10901 [non-C99-based standards] (cbrtl): Likewise.
10902 [non-C99-based standards] (expm1l): Likewise.
10903 [non-C99-based standards] (ilogbl): Likewise.
10904 [non-C99-based standards] (log1pl): Likewise.
10905 [non-C99-based standards] (logbl): Likewise.
10906 [non-C99-based standards] (nextafterl): Likewise.
10907 [non-C99-based standards] (remainderl): Likewise.
10908 [non-C99-based standards] (rintl): Likewise.
10909 [non-C99-based standards] (scalbl): Likewise.
10910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10911 [non-C99-based standards] (FP_*): Do not allow.
10912 [C99-based standards] (FP_*): Change to
10913 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10914 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10916 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10917 (SIG_ERR): Likewise.
10918 [X/Open-based standards] (SIG_HOLD): Likewise.
10919 (SIG_IGN): Likewise.
10920 (SIGABRT): Use macro-int-constant. Specify type. Require
10922 (SIGFPE): Likewise.
10923 (SIGILL): Likewise.
10924 (SIGINT): Likewise.
10925 (SIGSEGV): Likewise.
10926 (SIGTER): Likewise.
10927 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10928 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10929 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10930 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10931 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10932 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10933 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10934 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10935 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10936 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10937 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10938 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10939 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10940 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10941 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10942 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10943 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10944 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10945 [X/Open-based standards] (SIGTRAP): Likewise.
10946 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10947 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10948 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10950 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10953 2012-05-08 Ian Wienand <ianw@vmware.com>
10956 * time/tzset.c (__tzset_parse_tz): Update default rules for
10957 daylight time changes in the Energy Policy Act of 2005.
10959 2012-05-09 Andreas Jaeger <aj@suse.de>
10962 * elf/ldconfig.c (parse_conf): Change string to make clear that
10963 ldconfig only issued a warning if ld.so.conf does not exist.
10965 2012-05-08 David S. Miller <davem@davemloft.net>
10967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10968 movxtod instead of popping the value on the stack.
10970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10972 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10974 * config.h.in: Add HAVE_ARM_PCS_VFP.
10976 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10979 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10980 checking but the checks are disabled for any reason.
10982 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10984 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10985 and ELF64_R_TYPE with ELFW(R_TYPE).
10987 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10989 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10990 (ulimit): Likewise.
10992 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10993 (settimeofday): Likewise.
10995 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10997 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10998 a struct th_u2 inside the union, and move tu_block/tu_code into
10999 a new th_u3 union of tu_block/tu_code inside of that. Move
11000 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11001 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11002 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11003 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11004 (th_stuff): Change to th_u1.tu_stuff.
11006 (th_msg): Change to th_u1.th_u2.tu_data.
11008 2012-05-07 David S. Miller <davem@davemloft.net>
11010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11013 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11014 (SETUP_PIC_REG): Use it.
11015 (SETUP_PIC_REG_LEAF): Use it.
11017 2012-05-07 Joseph Myers <joseph@codesourcery.com>
11021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11023 (EXPL_FINITE): Likewise.
11024 (FLDLOG): Likewise.
11025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11026 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11030 (EXPL_FINITE): Likewise.
11031 (FLDLOG): Likewise.
11032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11033 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11035 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11036 test of -max_value argument for long double.
11037 * sysdeps/i386/fpu/libm-test-ulps: Update.
11038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11040 2012-05-06 David S. Miller <davem@davemloft.net>
11042 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11043 quad soft-float symbols whose references which are compiler
11045 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11047 2012-05-06 Joseph Myers <joseph@codesourcery.com>
11051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11053 (EXPL_FINITE): Likewise.
11054 (FLDLOG): Likewise.
11057 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11058 Adjust comments for base varying.
11059 (__expl_finite): Change alias to EXPL_FINITE.
11060 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11062 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11063 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11064 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11065 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11068 (EXPL_FINITE): Likewise.
11069 (FLDLOG): Likewise.
11072 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11073 Adjust comments for base varying.
11074 (__expl_finite): Change alias to EXPL_FINITE.
11075 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11080 * math/libm-test.inc (check_float_internal): Correct ulp
11081 calculation for subnormal expected results.
11083 2012-05-06 Andreas Jaeger <aj@suse.de>
11085 * Makeconfig (+math-flags): New, set to -frounding-math.
11086 (+cflags): Add +math-flags so that all of glibc gets compiled with
11089 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11091 2012-05-05 Joseph Myers <joseph@codesourcery.com>
11093 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11099 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11100 (__ieee754_expl): Allow for and saturate large arguments.
11101 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11102 (u_threshold): Likewise.
11103 (__exp): Call __ieee754_exp before checking for overflow and
11105 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11106 (u_threshold): Likewise.
11107 (__expf): Call __ieee754_expf before checking for overflow and
11109 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11110 (u_threshold): Likewise.
11111 (__expl): Call __ieee754_expl before checking for overflow and
11113 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11114 (__ieee754_expl): Allow for and saturate large arguments.
11115 * math/libm-test.inc (exp_test): Add another test. Do not allow
11116 missing overflow exception on overflow.
11117 (expm1_test): Do not allow missing overflow exception on overflow.
11119 * sysdeps/i386/fpu/e_expl.c: Move to ...
11120 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11121 rather than using inline asm.
11122 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11123 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11124 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11126 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11129 (signal): Likewise.
11133 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11135 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11136 sysdeps/unix/common/syscalls.list.
11137 (fchmod): Likewise.
11138 (fchown): Likewise.
11139 (ftruncate): Likewise.
11140 (getrusage): Likewise.
11141 (gettimeofday): Likewise.
11142 (setpgid): Likewise.
11143 (setregid): Likewise.
11144 (setreuid): Likewise.
11145 (sigaction): Likewise.
11146 (truncate): Likewise.
11147 (vhangup): Likewise.
11148 * sysdeps/unix/common/syscalls.list: Remove file.
11149 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11150 * sysdeps/unix/sysv/linux/Implies: Likewise.
11152 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11154 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11156 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11160 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11163 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11166 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11169 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11172 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11175 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11178 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11182 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11186 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11189 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11193 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11197 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11199 * sysdeps/unix/common/bits/dirent.h: Remove file.
11200 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11202 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11203 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11204 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11205 * sysdeps/unix/bsd/isatty.c: Likewise.
11206 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11207 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11208 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11210 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11213 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11214 long double comparison inaccuracies.
11215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11218 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11220 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11221 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11223 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11226 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11227 nonzero digits before rounding a hex value.
11228 * stdlib/tst-strtod.c (tests): Add another test.
11230 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11232 * sysdeps/s390/fpu/libm-test-ulps: Update.
11234 2012-05-03 Andreas Jaeger <aj@suse.de>
11236 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11237 does not get optimized out.
11238 (malloc_opt_barrier): New.
11240 2012-05-03 Andreas Jaeger <aj@suse.de>
11241 Roland McGrath <roland@hack.frob.com>
11243 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11244 intermediate file deletion.
11245 (generated): Add .symlist files.
11247 2012-05-03 Joseph Myers <joseph@codesourcery.com>
11250 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11251 Redirect under this condition.
11252 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11253 [__USE_GNU] (__dprintf_chk): Not under this condition.
11254 [__USE_GNU] (__vdprintf_chk): Likewise.
11255 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11256 under this condition.
11257 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11258 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11259 [__USE_XOPEN2K8] (vdprintf): Likewise.
11260 [__USE_GNU] (__dprintf_chk): Not under this condition.
11261 [__USE_GNU] (__vdprintf_chk): Likewise.
11262 [__USE_GNU] (dprintf): Likewise.
11263 [__USE_GNU] (vdprintf): Likewise.
11265 2012-05-03 Roland McGrath <roland@hack.frob.com>
11267 * elf/Makefile (common-generated): Set this instead of generated for
11268 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11269 $(all-built-dso)-derived lists.
11271 2012-05-03 Andreas Jaeger <aj@suse.de>
11273 * sysdeps/i386/fpu/libm-test-ulps: Update.
11276 * FAQ.in: Likewise.
11277 * scripts/gen-FAQ.pl: Likewise.
11278 * manual/install.texi (Installation): Point to online location of
11280 * Makefile (files-for-dist): Remove FAQ.
11283 2012-05-02 Allan McRae <allan@archlinux.org>
11285 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11286 (LDFLAGS-reldepmod5.so): Likewise.
11287 (LDFLAGS-reldep6mod1.so): Likewise.
11288 (LDFLAGS-reldep6mod4.so): Likewise.
11289 (LDFLAGS-reldep8mod3.so): Likewise.
11290 (LDFLAGS-unload4mod1.so): Likewise.
11291 (LDFLAGS-unload4mod2.so): Likewise.
11292 (LDFLAGS-tst-initorder): Likewise.
11293 (LDFLAGS-tst-initordera2.so): Likewise.
11294 (LDFLAGS-tst-initordera3.so): Likewise.
11295 (LDFLAGS-tst-initordera4.so): Likewise.
11296 (LDFLAGS-tst-initorderb2.so): Likewise.
11297 (LDFLAGS-noload): Likewise.
11298 (LDFLAGS-next): Likewise.
11299 (LDFLAGS-order2mod1.so): Likewise.
11300 (LDFLAGS-order2mod2.so): Likewise.
11301 (LDFLAGS-tst-initorder2): Likewise.
11302 (LDFLAGS-tst-initorder2a.so): Likewise.
11303 (LDFLAGS-tst-initorder2b.so): Likewise.
11304 (LDFLAGS-tst-initorder2c.so): Likewise.
11305 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11307 2012-05-02 David S. Miller <davem@davemloft.net>
11309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11311 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11314 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11316 2012-05-02 Andreas Jaeger <aj@suse.de>
11318 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11319 since we manipulate rounding mode.
11320 (CPPFLAGS-test-idouble.c): Likewise.
11321 (CPPFLAGS-test-ifloat.c): Likewise.
11322 (CFLAGS-test-ldouble.c): Likewise.
11323 (CFLAGS-test-double.c): Likewise.
11324 (CFLAGS-test-float.c): Likewise.
11325 (CFLAGS-test-misc.c): Likewise.
11326 (CFLAGS-test-test-fenv.c): Likewise.
11328 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11333 comparisons to determine direction to adjust input.
11335 2012-05-01 Roland McGrath <roland@hack.frob.com>
11337 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11338 output to the target.
11340 * scripts/localplt.awk: New file.
11341 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11342 (check-localplt-CFLAGS): Variable removed.
11343 ($(all-built-dso:=.jmprel)): New static pattern rule.
11344 (generated): Add those targets.
11345 (localplt-built-dso): New variable.
11346 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11348 * elf/check-localplt.c: File removed.
11350 * scripts/check-execstack.awk: New file.
11351 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11352 (check-execstack-CFLAGS): Variable removed.
11353 ($(objpfx)check-execstack.h): Target removed.
11354 ($(objpfx)execstack-default): New target.
11355 (generated): Add that instead of check-execstack.h.
11356 ($(all-built-dso:=.phdr)): New static pattern rule.
11357 (generated): Add those targets.
11358 * elf/check-execstack.c: File removed.
11360 * scripts/check-textrel.awk: New file.
11361 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11362 (check-textrel-CFLAGS): Variable removed.
11363 (all-built-dso): Use := to define.o
11364 ($(all-built-dso:=.dyn)): New static pattern rule.
11365 (generated): Add those targets.
11366 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11367 * config.make.in (READELF): New substituted variable.
11368 * elf/check-textrel.c: File removed.
11370 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11372 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11374 * conform/data/ctype.h-data [C99-based standards] (isblank):
11376 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11377 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11379 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11380 Specify type. Require positive value.
11381 (EILSEQ): Likewise.
11382 (ERANGE): Likewise.
11383 [ISO || POSIX] (EILSEQ): Do not expect.
11384 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11385 Specify type. Require positive value.
11386 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11387 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11388 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11389 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11390 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11391 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11392 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11393 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11394 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11395 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11396 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11397 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11398 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11399 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11400 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11401 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11402 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11403 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11404 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11405 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11406 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11407 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11408 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11409 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11410 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11411 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11412 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11413 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11414 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11415 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11416 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11417 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11418 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11419 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11420 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11421 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11422 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11423 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11424 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11425 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11429 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11430 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11431 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11432 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11433 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11434 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11435 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11436 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11437 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11438 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11439 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11440 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11441 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11442 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11443 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11444 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11445 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11446 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11447 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11448 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11449 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11450 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11451 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11452 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11453 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11454 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11455 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11456 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11457 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11458 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11459 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11460 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11461 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11462 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11464 (FLT_ROUNDS): Expect as macro, not constant.
11465 (FLT_MANT_DIG): Use macro-int-constant.
11466 (DBL_MANT_DIG): Likewise.
11467 (LDBL_MANT_DIG): Likewise.
11468 (FLT_DIG): Likewise.
11469 (DBL_DIG): Likewise.
11470 (LDBL_DIG): Likewise.
11471 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11472 (DBL_MIN_EXP): Likewise.
11473 (LDBL_MIN_EXP): Likewise.
11474 (FLT_MAX_EXP): Use macro-int-constant.
11475 (DBL_MAX_EXP): Likewise.
11476 (LDBL_MAX_EXP): Likewise.
11477 (FLT_MAX_10_EXP): Likewise.
11478 (DBL_MAX_10_EXP): Likewise.
11479 (LDBL_MAX_10_EXP): Likewise.
11480 (FLT_MAX): Use macro-constant.
11481 (DBL_MAX): Likewise.
11482 (LDBL_MAX): Likewise.
11483 (FLT_EPSILON): Use macro-constant. Give upper bound.
11484 (DBL_EPSILON): Likewise.
11485 (LDBL_EPSILON): Likewise.
11486 (FLT_MIN): Likewise.
11487 (DBL_MIN): Likewise.
11488 (LDBL_MIN): Likewise.
11489 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11490 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11491 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11492 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11493 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11494 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11495 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11496 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11497 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11498 [ISO11] (FLT_TRUE_MIN): Likewise.
11499 [ISO11] (LDBL_TRUE_MIN): Likewise.
11500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11501 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11502 (SCHAR_MIN): Use macro-int-constant. Specify type.
11503 (SCHAR_MAX): Likewise.
11504 (UCHAR_MAX): Likewise.
11505 (CHAR_MIN): Likewise.
11506 (CHAR_MAX): Likewise.
11507 (MB_LEN_MAX): Use macro-int-constant.
11508 (SHRT_MIN): Use macro-int-constant. Specify type.
11509 (SHRT_MAX): Likewise.
11510 (USHRT_MAX): Likewise.
11511 (INT_MAX): Likewise.
11512 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11514 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11516 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11518 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11519 bound negative. Suffix upper bound with "L".
11520 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11522 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11524 [C99-based standards] (LLONG_MAX): Likewise.
11525 [C99-based standards] (ULLONG_MAX): Likewise.
11526 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11528 [ISO11] (max_align_t): Require type.
11529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11531 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11532 from $CFLAGS, without defining away __attribute__ calls.
11533 (checknamespace): Use $CFLAGS_namespace.
11535 * conform/conformtest.pl (@keywords): Only include C99 keywords
11536 for standards based on C99 or C11.
11538 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11540 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11543 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11544 usability of symbols in #if.
11546 * conform/conformtest.pl: If macro or constant types start
11547 "promoted:", expect the symbol to be of the following type
11548 promoted by the integer promotions.
11550 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11551 in one place. Also handle "macro-constant".
11553 * conform/conformtest.pl: Only accept expected macro values with
11554 "==". Parse all "macro" lines in one place.
11555 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11557 * conform/conformtest.pl: Handle braced types on "constant" lines
11558 instead of handling "typed-constant".
11559 * conform/data/signal.h-data: Use "constant" instead of
11562 * conform/conformtest.pl: Handle "optional-" at start of lines in
11563 one place rather than duplicating several cases. Handle each
11564 format of "macro" line with initial "optional-".
11566 * conform/conformtest.pl: Only accept expected constant or
11567 optional-constant values with "==". Parse all "constant" lines in
11568 one place. Parse all "optional-constant" lines in one place.
11569 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11570 * conform/data/fmtmsg.h-data: Likewise.
11571 * conform/data/netinet/in.h-data: Likewise.
11572 * conform/data/tar.h-data: Likewise.
11573 * conform/data/limits.h-data: Use "==" form on "constant" and
11574 "optional-constant" lines.
11576 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11577 Use -std=c99 for XOPEN2K.
11578 (@knownproblems): Remove.
11579 (newtoken): Don't check %isknown.
11581 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11582 Do not expect macro.
11583 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11584 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11585 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11586 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11587 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11588 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11589 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11590 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11591 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11592 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11593 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11594 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11595 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11596 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11597 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11598 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11599 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11600 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11601 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11602 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11603 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11604 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11607 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11608 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11609 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11610 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11611 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11612 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11613 [XPG3] (acosh): Likewise.
11614 [XPG3] (asinh): Likewise.
11615 [XPG3] (atanh): Likewise.
11616 [XPG3] (cbrt): Likewise.
11617 [XPG3] (expm1): Likewise.
11618 [XPG3] (ilogb): Likewise.
11619 [XPG3] (log1p): Likewise.
11620 [XPG3] (logb): Likewise.
11621 [XPG3] (nextafter): Likewise.
11622 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11623 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11624 [XPG3] (remainder): Likewise.
11625 [XPG3] (rint): Likewise.
11626 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11627 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11628 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11629 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11630 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11631 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11632 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11633 [UNIX98 || XOPEN2K] (scalb): Expect.
11634 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11635 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11636 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11637 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11638 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11639 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11640 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11641 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11642 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11643 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11644 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11645 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11646 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11647 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11648 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11649 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11650 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11651 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11652 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11653 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11654 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11655 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11656 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11657 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11658 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11659 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11660 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11661 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11662 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11663 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11664 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11665 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11666 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11667 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11668 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11669 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11670 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11671 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11672 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11673 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11674 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11675 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11676 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11677 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11678 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11679 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11680 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11681 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11682 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11683 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11684 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11685 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11686 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11687 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11688 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11689 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11690 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11691 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11692 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11693 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11694 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11695 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11696 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11697 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11698 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11699 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11700 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11701 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11702 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11703 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11704 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11705 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11706 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11707 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11708 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11709 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11710 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11711 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11712 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11713 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11714 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11715 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11716 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11717 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11718 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11719 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11720 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11721 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11722 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11723 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11724 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11725 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11726 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11727 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11728 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11729 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11730 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11731 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11732 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11733 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11734 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11735 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11736 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11737 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11738 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11739 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11740 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11741 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11742 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11743 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11744 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11745 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11746 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11747 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11748 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11749 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11750 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11751 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11752 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11753 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11754 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11755 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11756 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11757 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11758 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11759 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11760 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11761 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11762 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11763 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11764 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11765 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11766 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11767 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11768 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11769 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11770 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11772 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11773 _XOPEN_SOURCE_EXTENDED for XPG4.
11775 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11777 * Makeconfig (localtime): Remove variable.
11778 (inst_localtime-file): Likewise.
11780 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11801 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11805 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11806 comparisons to determine direction to adjust input.
11807 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11808 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11811 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11813 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11818 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11820 * math/libm-test.inc (nexttoward_test): Add more tests.
11822 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11825 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11826 in version GLIBC_2.1, not GLIBC_2.0.
11827 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11830 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11833 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11835 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11836 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11837 * math/libm-test.inc (acos_test): Add more tests.
11838 (asin_test): Likewise.
11839 * sysdeps/i386/fpu/libm-test-ulps: Update.
11840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11843 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11845 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11846 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11847 * math/libm-test.inc (acos_test_tonearest): New function.
11848 (acos_test_towardzero): Likewise.
11849 (acos_test_downward): Likewise.
11850 (acos_test_upward): Likewise.
11851 (asin_test_tonearest): Likewise.
11852 (asin_test_towardzero): Likewise.
11853 (asin_test_downward): Likewise.
11854 (asin_test_upward): Likewise.
11855 (main): Call the new functions.
11856 * sysdeps/i386/fpu/libm-test-ulps: Update.
11857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11861 * math/e_exp10.c: Include <float.h>.
11862 (__ieee754_exp10): Handle underflow here rather than multiplying
11863 large negative argument by M_LN10.
11864 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11866 * math/e_exp10l.c: Include <float.h>.
11867 (__ieee754_exp10l): Handle underflow here rather than multiplying
11868 large negative argument by M_LN10l.
11869 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11870 spurious overflow exception on underflow.
11872 2012-04-29 Marek Polacek <polacek@redhat.com>
11874 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11875 (__fortify_function): New macro.
11876 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11877 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11878 __extern_always_inline.
11879 * libio/bits/stdio2.h: Likewise.
11880 * libio/bits/stdio.h: Likewise.
11881 * string/string.h: Likewise.
11882 * string/bits/string3.h: Likewise.
11883 * include/stdio.h: Likewise.
11884 * stdlib/bits/stdlib.h: Likewise.
11885 * stdlib/stdlib.h: Likewise.
11886 * rt/bits/mqueue2.h: Likewise.
11887 * rt/mqueue.h: Likewise.
11888 * posix/bits/unistd.h: Likewise.
11889 * posix/unistd.h: Likewise.
11890 * io/bits/poll2.h: Likewise.
11891 * io/bits/fcntl2.h: Likewise.
11892 * io/fcntl.h: Likewise.
11893 * io/sys/poll.h: Likewise.
11894 * misc/bits/syslog.h: Likewise.
11895 * misc/bits/syslog-ldbl.h: Likewise.
11896 * misc/sys/syslog.h: Likewise.
11897 * socket/bits/socket2.h: Likewise.
11898 * socket/sys/socket.h: Likewise.
11899 * debug/tst-chk1.c: Likewise.
11900 * wcsmbs/bits/wchar2.h: Likewise.
11901 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11902 * wcsmbs/wchar.h: Likewise.
11904 2012-04-29 Andreas Jaeger <aj@suse.de>
11906 * Makerules (tests): Remove enable-check-abi protection.
11907 (check-abi-warn): Remove.
11908 (check-abi-%): Remove check-abi-warn usage.
11910 * configure.in: Remove check-abi configure option.
11911 * configure: Regenerated.
11912 * config.make.in (enable-check-abi): Remove.
11914 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11917 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11918 double functions to double *_finite functions.
11921 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11922 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11924 * stdio-common/Makefile (tests): Add tst-sprintf3.
11925 * stdio-common/tst-sprintf3.c: New file.
11927 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11928 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11930 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11932 * conform/conformtest.pl: Remove duplicate typed-constant
11935 2012-04-28 David S. Miller <davem@davemloft.net>
11937 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11938 (check-abi-%): Remove AWK script prerequisite and explicit
11940 (check-abi): Rewrite to just diff the symlist with the abilist.
11941 (config-tls, config-abi-config): Delete, no longer used.
11942 (update-abi-%): Remove AWK script and explicit abilist directory.
11943 (update-abi): Rewrite to simply compare and conditionally copy the
11944 symlist and the sysdep abilist file. Remove update-abi-config
11946 * abilist/ld.abilist: Remove.
11947 * abilist/libBrokenLocale.abilist: Remove.
11948 * abilist/libanl.abilist: Remove.
11949 * abilist/libcrypt.abilist: Remove.
11950 * abilist/libdl.abilist: Remove.
11951 * abilist/librt.abilist: Remove.
11952 * abilist/libthread_db.abilist: Remove.
11953 * abilist/libutil.abilist: Remove.
11954 * scripts/extract-abilist.awk: Remove.
11955 * scripts/merge-abilist.awk: Remove.
11956 * sysdeps/generic/libcidn.abilist: New file.
11957 * sysdeps/generic/libnss_compat.abilist: New file.
11958 * sysdeps/generic/libnss_db.abilist: New file.
11959 * sysdeps/generic/libnss_dns.abilist: New file.
11960 * sysdeps/generic/libnss_files.abilist: New file.
11961 * sysdeps/generic/libnss_hesiod.abilist: New file.
11962 * sysdeps/generic/libnss_nis.abilist: New file.
11963 * sysdeps/generic/libnss_nisplus.abilist: New file.
11964 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11965 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11966 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11969 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11970 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11971 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11972 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11973 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11974 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11975 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11976 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11978 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11979 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11980 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11981 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11983 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11984 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11985 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11986 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11987 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11990 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11991 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11992 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11994 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12097 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12098 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12099 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12102 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12103 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12104 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12105 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12106 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12107 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12108 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12109 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12110 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12162 2012-04-28 Joseph Myers <joseph@codesourcery.com>
12164 * conform/conformtest.pl: Fix typo in handling typed-constant from
12167 2012-04-27 Joseph Myers <joseph@codesourcery.com>
12169 * README: Cut down references to pre-2.6 Linux kernels and
12170 Linuxthreads. Update lists of configurations in libc and ports
12171 and sort alphabetically. Say "or newer" with Linux kernel version
12174 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12176 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12179 * math/libm-test.inc (logb_test_downward): New test to expose
12180 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12183 2012-04-27 Joseph Myers <joseph@codesourcery.com>
12186 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12188 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12189 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12191 2012-04-26 Joseph Myers <joseph@codesourcery.com>
12193 * sysdeps/unix/i386/brk.S: Remove file.
12194 * sysdeps/unix/i386/dl-brk.S: Likewise.
12195 * sysdeps/unix/i386/pipe.S: Likewise.
12196 * sysdeps/unix/i386/sigreturn.S: Likewise.
12197 * sysdeps/unix/i386/syscall.S: Likewise.
12198 * sysdeps/unix/i386/vfork.S: Likewise.
12199 * sysdeps/unix/i386/wait.S: Likewise.
12201 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12202 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12204 * configure.in (arm*-none*): Do not allow without
12205 --enable-hacker-mode.
12206 (netbsd*): Remove case setting base_os.
12207 (386bsd*): Likewise.
12208 (freebsd*): Likewise.
12211 (sunos*): Likewise.
12212 (ultrix*): Likewise.
12213 (newsos*): Likewise.
12214 (dynix*): Likewise.
12220 (minix*): Likewise.
12221 (irix4*): Likewise.
12222 (irix6*): Likewise.
12223 (solaris[2-9]*): Likewise.
12225 * configure: Regenerated.
12227 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12230 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12231 overflow or cancellation in calculating denominator.
12232 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12234 down expression to avoid unexpected rounding in newer GCCs.
12235 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12237 2012-04-26 David S. Miller <davem@davemloft.net>
12239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12240 long-double compat symbols.
12241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12255 2012-04-25 David S. Miller <davem@davemloft.net>
12257 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12258 HWCAP_* values only after the memory barriers have been defined.
12259 (atomic_full_barrier): Define.
12260 (atomic_read_barrier): Define.
12261 (atomic_write_barrier): Define.
12263 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12265 * shlib-versions: Add libgcc_s version information.
12266 * sysdeps/generic/libgcc_s.h: Remove.
12267 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12269 * sysdeps/gnu/unwind-resume.c: Likewise.
12270 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12272 2012-04-25 David S. Miller <davem@davemloft.net>
12274 * sysdeps/unix/sparc/brk.S: Delete.
12275 * sysdeps/unix/sparc/dl-brk.S: Delete.
12276 * sysdeps/unix/sparc/pipe.S: Delete.
12277 * sysdeps/unix/sparc/sysdep.S: Delete.
12278 * sysdeps/unix/sparc/sysdep.h: Delete.
12279 * sysdeps/unix/sparc/vfork.S: Delete.
12280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12281 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12282 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12283 ret_ERRVAL, r0, r1, MOVE): Define.
12284 (JUMPTARGET): Remove.
12285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12286 sysdeps/unix/sparc/sysdep.h
12287 (ENTRY, END): Remove.
12288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12290 2012-04-25 Joseph Myers <joseph@codesourcery.com>
12292 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12293 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12296 * timezone/README: Update upstream location and email address for
12298 * timezone/zdump.c: Update from tzcode 2012b.
12299 * timezone/zic.c: Likewise.
12301 * configure.in (libc_cv_as_needed): Remove test.
12302 * configure: Regenerated.
12303 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12304 conditional definition.
12305 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12306 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12307 * config.make.in (have-as-needed): Remove variable.
12309 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12310 Paul Pluzhnikov <ppluzhnikov@google.com>
12312 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12315 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12317 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12318 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12319 * sysdeps/sh/strlen.S: Likewise.
12321 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12323 * sysdeps/unix/fork.S: Remove file.
12324 * sysdeps/unix/i386/fork.S: Likewise.
12325 * sysdeps/unix/sparc/fork.S: Likewise.
12327 * sysdeps/unix/system.c: Remove file.
12328 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12330 * sysdeps/unix/getegid.S: Remove file.
12331 * sysdeps/unix/geteuid.S: Likewise.
12333 2012-04-24 Roland McGrath <roland@hack.frob.com>
12335 * scripts/check-localplt.awk: New file.
12336 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12338 * scripts/data/localplt-generic.data: Add a comment.
12340 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12341 NODE when __dir_mkfile failed.
12342 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12343 Reported by Ludovic Courtès <ludo@gnu.org>.
12345 2012-04-24 Andreas Jaeger <aj@suse.de>
12347 * Makerules (common-clean): Also remove gen-as-const-headers
12350 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12352 * Makerules (native-compile): Do not change working directory for
12353 build. Use $(OUTPUT_OPTION) in command.
12354 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12356 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12359 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12360 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12361 * math/libm-test.inc (floor_test): Add more tests.
12362 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12364 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12366 * sysdeps/unix/getdents.c: Remove file.
12367 * sysdeps/unix/sysv/getdents.c: Likewise.
12368 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12370 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12371 sysdeps/unix/mman/syscalls.list.
12373 (mprotect): Likewise.
12375 (munmap): Likewise.
12376 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12377 * sysdeps/unix/mman/syscalls.list: Remove.
12378 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12380 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12381 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12382 * configure: Regenerated.
12383 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12384 $(libgcc_s_suffix).
12385 * config.make.in (libgcc_s_suffix): Remove variable.
12387 2012-04-23 Joseph Myers <joseph@codesourcery.com>
12389 * sysdeps/unix/sysv/gethostname.c: Move to ...
12390 * sysdeps/posix/gethostname.c: ... here.
12392 * sysdeps/unix/execve.S: Remove file.
12394 * sysdeps/unix/_exit.S: Remove file.
12396 2012-04-23 Andreas Jaeger <aj@suse.de>
12399 * manual/Makefile: Remove make dist support, there's no
12400 need for a stand-alone documentation tar ball.
12401 (TEXI2DVI): Define always, it's not in Makeconfig.
12404 (edition): Removed.
12405 (glibc-doc-$(edition).tar): Removed
12409 (ETAGS): Remove, it's in Makeconfig.
12410 (move-if-change): Remove, it's in Makeconfig.
12412 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
12415 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12416 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12417 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12418 (strtod_l, strtof_l, strtold_l): Remove __wur.
12419 It is not necessarily an error to ignore strtol's return value.
12420 One can reliably look at the stored endptr to decide whether
12421 the number had valid syntax.
12423 2012-04-21 Andreas Jaeger <aj@suse.de>
12426 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12428 2012-04-21 Joseph Myers <joseph@codesourcery.com>
12430 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12431 * sysdeps/unix/sysv/Versions: Remove file.
12433 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12438 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
12441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12442 version from __vm86.
12444 2012-04-20 Joseph Myers <joseph@codesourcery.com>
12446 * sysdeps/unix/common/lxstat.c: Remove file.
12447 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12449 * sysdeps/unix/sysv/Makefile: Remove file.
12451 * sysdeps/unix/sysv/direct.h: Remove file.
12453 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12454 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12455 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12456 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12457 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12458 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12459 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12461 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12463 * sysdeps/unix/xmknod.c: Remove file.
12464 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12466 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12468 * sysdeps/unix/sysv/i386/time.S: Remove file.
12470 * sysdeps/unix/fxstat.c: Remove file.
12471 * sysdeps/unix/xstat.c: Likewise.
12472 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12474 * sysdeps/unix/sysv/sigaction.c: Remove file.
12476 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12477 (sysdep_headers): Remove variable.
12478 [termio.h not in sysdep_headers] (generated): Likewise.
12479 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12480 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12481 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12482 * sysdeps/unix/sysv/tcflow.c: Likewise.
12483 * sysdeps/unix/sysv/tcflush.c: Likewise.
12484 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12485 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12486 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12487 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12488 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12490 * sysdeps/unix/siglist.c: Remove file.
12492 * sysdeps/unix/getppid.S: Remove file.
12494 * sysdeps/unix/mkdir.c: Remove file.
12495 * sysdeps/unix/rmdir.c: Likewise.
12497 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12499 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12501 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12502 errlist-compat value.
12504 2012-04-18 David S. Miller <davem@davemloft.net>
12506 * sysdeps/generic/memcopy.h (reg_char): Delete.
12507 * debug/strcat_chk.c: Use char, not reg_char.
12508 * debug/strcpy_chk.c: Likewise.
12509 * debug/strncat_chk.c: Likewise.
12510 * debug/strncpy_chk.c: Likewise.
12511 * string/memchr.c: Likewise.
12512 * string/memrchr.c: Likewise.
12513 * string/rawmemchr.c: Likewise.
12514 * string/strcat.c: Likewise.
12515 * string/strchr.c: Likewise.
12516 * string/strchrnul.c: Likewise.
12517 * string/strcmp.c: Likewise.
12518 * string/strcpy.c: Likewise.
12519 * string/strncat.c: Likewise.
12520 * string/strncmp.c: Likewise.
12521 * string/strncpy.c: Likewise.
12523 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12525 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12526 __builtin_memcopy is called when src and dest ranges are known to not
12529 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12532 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12533 fwd_align_merge macro call.
12534 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12535 bwd_align_merge macro call.
12536 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12538 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12541 bwd_align_merge macros.
12542 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12543 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12546 2012-04-18 David S. Miller <davem@davemloft.net>
12548 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12550 2012-04-18 Andreas Jaeger <aj@suse.de>
12553 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12554 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12555 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12557 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12558 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12559 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12561 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12562 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12563 Adjust for changed ldbl-128 files.
12565 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12566 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12567 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12569 2012-04-17 David S. Miller <davem@davemloft.net>
12571 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12573 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12575 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12576 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12577 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12578 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12579 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12580 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12582 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12586 * math/libm-test.inc: Add ilogb errno and exception tests.
12587 * math/w_ilogb.c: New file: ilogb wrapper.
12588 * math/w_ilogbf.c: New file: ilogbf wrapper.
12589 * math/w_ilogbl.c: New file: ilogbl wrapper.
12590 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12591 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12592 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12593 exception being thrown with 0.0 as argument.
12594 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12595 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12596 exception being thrown with 0.0 as argument.
12597 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12598 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12599 exception being thrown with 0.0 as argument.
12600 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12601 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12602 exception being thrown with 0.0 as argument.
12603 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12604 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12605 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12606 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12607 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12608 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12609 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12610 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12611 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12613 2012-04-17 Petr Baudis <pasky@ucw.cz>
12615 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12618 2012-04-16 Marek Polacek <polacek@redhat.com>
12620 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12622 2012-04-16 Marek Polacek <polacek@redhat.com>
12624 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12625 operands of fdivp instruction.
12627 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12629 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12630 * elf/tst-auditmod3b.c: Likewise.
12631 * elf/tst-auditmod4b.c: Likewise.
12632 * elf/tst-auditmod5b.c: Likewise.
12633 * elf/tst-auditmod6b.c: Likewise.
12634 * elf/tst-auditmod6c.c: Likewise.
12635 * elf/tst-auditmod7b.c: Likewise.
12636 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12637 * sysdeps/x86_64/preconfigure.in: Likewise.
12638 * sysdeps/x86_64/preconfigure: Regenerated.
12640 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12642 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12645 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
12647 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12648 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12650 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12653 * locale/iso-639.def: Fix gl language name. Spotted by
12656 2012-04-12 Roland McGrath <roland@hack.frob.com>
12659 * libio/libio.h (__io_write_fn): Update comment.
12661 2012-04-12 Petr Baudis <pasky@ucw.cz>
12664 * stdio.texi (Hook Functions): The user provided writer function
12665 is not allowed to return -1.
12667 2012-04-11 David S. Miller <davem@davemloft.net>
12669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12671 2012-04-11 Mike Frysinger <vapier@gentoo.org>
12673 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12674 Add a leading slash to rtkaio.
12676 2012-04-11 Jim Meyering <meyering@redhat.com>
12679 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12680 It is not necessarily an error to ignore fwrite's return
12681 value. One can reliably use ferror to test for errors after
12684 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12686 * bits/types.h (__snseconds_t): New type.
12687 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12689 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12690 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12691 (__SNSECONDS_T_TYPE): Likewise.
12692 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12693 (__SNSECONDS_T_TYPE): Likewise.
12694 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12695 (__SNSECONDS_T_TYPE): Likewise.
12697 2012-04-10 Andreas Jaeger <aj@suse.de>
12700 * manual/time.texi (Processor Time): Return type of times is
12701 elapsed real time since an arbitrary point in the past.
12702 (CPU Time): Move CLK_TCK from here...
12703 (Processor Time): ...to here. Correct description.
12704 * manual/conf.texi (Constants for Sysconf): Correct description of
12707 2012-04-10 David S. Miller <davem@davemloft.net>
12710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12711 where the is a gap between DT_REL(A) and DT_JMPREL.
12713 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12715 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12716 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12717 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12719 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12721 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12722 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12723 (dl_main): Handle --inhibit-cache.
12724 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12726 * elf/dl-load.c (_dl_map_object): Use it.
12727 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12729 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12732 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12733 (__ieee754_powl): Saturate large exponents rather than testing for
12734 overflow of y*log2(x).
12735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12736 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12740 * math/s_ctan.c: Include <float.h>.
12741 (__ctan): Avoid internal overflow or cancellation in calculating
12743 * math/s_ctanf.c: Likewise.
12744 * math/s_ctanl.c: Likewise.
12745 * math/s_ctanh.c: Likewise.
12746 * math/s_ctanhf.c: Likewise.
12747 * math/s_ctanhl.c: Likewise.
12748 * math/libm-test.inc (ctan_test): Add more tests.
12749 (ctanh_test): Likewise.
12750 * sysdeps/i386/fpu/libm-test-ulps: Update.
12751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12753 2012-04-09 Andreas Jaeger <aj@suse.de>
12756 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12757 is an optional BSD extension.
12760 * manual/stdio.texi (Opening Streams): Document additional fopen
12763 2012-04-09 Roland McGrath <roland@hack.frob.com>
12765 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12766 %eax without telling the compiler.
12768 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12771 * manual/install.texi: Use sourceware.org.
12773 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12776 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12777 (__ieee754_pow): Generate overflow and underflow using huge*huge
12778 and tiny*tiny rather than just returning constant infinity or zero
12779 for large exponents.
12780 * math/libm-test.inc (pow_test): Require overflow exceptions for
12781 applicable cases of large exponents.
12784 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12785 (__ieee754_pow): Use iterative multiplication algorithm only for
12786 integer exponents with absolute value below 1024. Check for odd
12787 integer exponents when using algorithm for real exponents.
12788 * math/libm-test.inc (pow_test): Add more tests.
12789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12791 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12794 * math/libm-test.inc (exp_test): Do not allow overflow exception
12797 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12800 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12801 instead of __kernel_standard_f.
12803 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12805 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12806 * sysdeps/x86_64/memset_chk.S: Likewise.
12808 2012-04-08 Andreas Jaeger <aj@suse.de>
12811 * manual/startup.texi (Environment Access): Describe return value
12812 for putenv and setenv.
12815 * manual/filesys.texi (Directory Entries): Add description for
12819 * manual/filesys.texi (Directory Entries): Clarify that it's file
12820 system not operating system in the description of DT_UNKNOWN.
12823 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12825 2012-04-08 Stephen Compall <s11@member.fsf.org>
12828 * manual/llio.texi (Opening and Closing Files): Add cross
12829 reference to explain mode argument.
12831 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12833 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12834 * sysdeps/x86_64/memset_chk.S: Likewise.
12836 2012-04-07 David S. Miller <davem@davemloft.net>
12838 * elf/elf.h (R_SPARC_WDISP10): Define.
12839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12842 R_SPARC_SIZE64 and R_SPARC_H34.
12844 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12846 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12847 conditions and remove no longer applicable assertion.
12849 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12851 * bits/byteswap.h: Include <features.h>.
12852 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12853 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12855 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12857 * bits/byteswap.h (__bswap_16): Removed.
12858 Include <bits/byteswap-16.h> to get __bswap_16.
12859 * sysdeps/i386/bits/byteswap.h: Likewise.
12860 * sysdeps/s390/bits/byteswap.h: Likewise.
12861 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12862 * bits/byteswap-16.h: New file.
12863 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12864 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12865 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12866 * string/Makefile (headers): Add bits/byteswap-16.h.
12868 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12871 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12873 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12874 * nss/tst-nss-static.c: New.
12876 2012-04-06 Robert Millan <rmh@gnu.org>
12879 * manual/llio.texi (File Position Primitive): lseek
12880 refers to WHENCE when it really means OFFSET.
12882 2012-04-06 Andreas Jaeger <aj@suse.de>
12884 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12885 strncmp declarations.
12887 * abilist/libc.abilist: Add __poll and __ppoll.
12889 2012-04-05 David S. Miller <davem@davemloft.net>
12891 * scripts/check-local-headers.sh: Accept a host triplet in the
12892 path matched by the exclude regexp.
12894 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12896 * sysdeps/powerpc/powerpc32/dl-machine.h
12897 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12898 * sysdeps/s390/s390-32/dl-machine.h
12899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12900 * sysdeps/sparc/sparc32/dl-machine.h
12901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12902 * sysdeps/sparc/sparc64/dl-machine.h
12903 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12905 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12907 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12908 undefined symbol errors.
12910 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12913 2012-04-05 Michael Matz <matz@suse.de>
12916 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12918 2012-04-05 Andreas Jaeger <aj@suse.de>
12921 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12924 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12926 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12927 which ROUND is no valid rounding mode.
12929 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12931 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12933 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12935 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12938 an exception using FPU order intentionally.
12940 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12942 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12943 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12944 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12945 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12947 2012-04-05 Simon Josefsson <simon@josefsson.org>
12950 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12951 EINVAL when BUFLEN is too smal.
12953 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12956 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12957 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12959 2012-04-03 Andreas Jaeger <aj@suse.de>
12962 * manual/setjmp.texi (System V contexts): Fix sentence.
12965 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12966 New macro for this case.
12967 [!__GNUC__] (__bswap_64): New inline function for this case.
12968 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12969 * bits/byteswap.h: Likewise.
12970 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12971 ull, guard with __GLIBC_HAVE_LONG_LONG.
12973 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12974 __GLIBC_HAVE_LONG_LONG.
12976 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12977 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12979 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12982 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12983 inptr and inend, rather than using last_ch.
12985 2012-04-02 David S. Miller <davem@davemloft.net>
12987 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12988 * stdio-common/printf-parse.h (read_int): Change return type to
12989 'int', return -1 on INT_MAX overflow.
12990 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12991 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12992 overflows INT_MAX. Check for overflow of in-format-string precision
12993 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12994 SIZE_MAX not INT_MAX for integer overflow test.
12995 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12996 skip the construct in the format string but do not record anything.
12997 * stdio-common/bug22.c: Adjust to test both width/prevision
12998 INT_MAX overflow as well as total length INT_MAX overflow. Check
12999 explicitly for proper errno values.
13001 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13003 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13005 * string/test-strcmp.c [! WIDE]: Likewise.
13006 * time/tst-mktime2.c: Likewise for INT_MAX.
13007 * string/test-string.h: #include <sys/param.h> for MIN.
13009 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13010 * sysdeps/i386/init-first.c (init): Likewise.
13011 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13012 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13013 * sysdeps/sh/init-first.c (init): Likewise.
13015 2012-04-01 Ulrich Drepper <drepper@gmail.com>
13017 * po/ru.po: Update from translation team.
13018 * po/vi.po: Likewise.
13020 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13022 * resolv/nss_dns/dns-host.c: Merge copyright years.
13024 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13027 Optimize memcpy with prefetch if
13028 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13029 src, dst pointers have unequal 16 byte alignments.
13031 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13034 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13035 from a CNAME entry and return the minimum ttl for the query.
13036 (gaih_getanswer_slice): Likewise.
13038 2012-03-30 Jeff Law <law@redhat.com>
13040 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13042 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13043 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13045 * resolv/nss_dns/dns-host.c: Update copyright year.
13047 2012-03-30 Ulrich Drepper <drepper@gmail.com>
13049 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
13050 requests to save a system call. Fix check that all bytes are sent.
13052 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13053 comments for sendmmsg.
13055 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13058 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13059 with only 1 character between 0x0041 and 0x01b0.
13060 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13061 * wcsmbs/tst-mbsnrtowcs.c: New file.
13063 2012-03-29 David S. Miller <davem@davemloft.net>
13065 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13066 small copies by hand.
13068 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13071 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13072 _nss_compat_initgroups_dyn): Fall back to malloc/free
13073 for large group memberships.
13075 2012-03-28 David S. Miller <davem@davemloft.net>
13077 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13078 that branches into memcpy.
13079 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13082 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13085 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13086 implementation too.
13087 * sysdeps/sparc/mempcpy.S: New file.
13089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13090 the IFUNC routine in the libc case.
13091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13093 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13094 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13095 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13096 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13097 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13098 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13099 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13100 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13102 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13103 loop to 256 bytes instead of 64 bytes and fix test signedness.
13105 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13106 * sysdeps/sparc/sparc32/Makefile: rather than here...
13107 * sysdeps/sparc/sparc64/Makefile: and here.
13109 2012-03-28 Ulrich Drepper <drepper@gmail.com>
13111 * malloc/mallocbug.c: Avoid warnings about unused variables.
13113 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13116 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13117 in the right place. Discard and retry query if response is
13118 larger than input buffer size.
13120 2012-03-28 Joseph Myers <joseph@codesourcery.com>
13125 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13126 x for large integer exponent.
13127 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13128 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13129 sign of result as needed afterwards.
13130 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13131 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13132 result for underflowing pow the same as for overflow.
13133 (__kernel_standard_l): Handle powl overflow and underflow here
13134 rather than calling __kernel_standard.
13135 * math/libm-test.inc (pow_test): Add more tests.
13150 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13151 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13152 (__kernel_standard_l): New function.
13153 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13155 * math/w_acosl.c (__acosl): Likewise.
13156 * math/w_asinl.c (__asinl): Likewise.
13157 * math/w_atan2l.c (__atan2l): Likewise.
13158 * math/w_atanhl.c (__atanhl): Likewise.
13159 * math/w_coshl.c (__coshl): Likewise.
13160 * math/w_exp10l.c (__exp10l): Likewise.
13161 * math/w_exp2l.c (__exp2l): Likewise.
13162 * math/w_fmodl.c (__fmodl): Likewise.
13163 * math/w_hypotl.c (__hypotl): Likewise.
13164 * math/w_j0l.c (__j0l, __y0l): Likewise.
13165 * math/w_j1l.c (__j1l, __y1l): Likewise.
13166 * math/w_jnl.c (__jnl, __ynl): Likewise.
13167 * math/w_lgammal.c (__lgammal): Likewise.
13168 * math/w_log10l.c (__log10l): Likewise.
13169 * math/w_log2l.c (__log2l): Likewise.
13170 * math/w_logl.c (__logl): Likewise.
13171 * math/w_powl.c (__powl): Likewise.
13172 * math/w_remainderl.c (__remainderl): Likewise.
13173 * math/w_scalbl.c (sysv_scalbl): Likewise.
13174 * math/w_sinhl.c (__sinhl): Likewise.
13175 * math/w_sqrtl.c (__sqrtl): Likewise.
13176 * math/w_tgammal.c (__tgammal): Likewise.
13177 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13178 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13179 * math/libm-test.inc (acos_test): Add more tests.
13180 (acosh_test): Likewise.
13181 (asin_test): Likewise.
13182 (atanh_test): Likewise.
13183 (exp_test): Likewise.
13184 (exp10_test): Likewise.
13185 (exp2_test): Likewise.
13186 (expm1_test): Likewise.
13187 (lgamma_test): Likewise.
13188 (log_test): Likewise.
13189 (log10_test): Likewise.
13190 (log1p_test): Likewise.
13191 (log2_test): Likewise.
13192 (pow_test): Do not allow some spurious overflow exceptions.
13193 (sqrt_test): Add more tests.
13194 (tgamma_test): Likewise.
13195 (y0_test): Likewise.
13196 (y1_test): Likewise.
13197 (yn_test): Likewise.
13199 2012-03-27 Anton Blanchard <anton@samba.org>
13201 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13203 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13204 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13207 2012-03-27 David S. Miller <davem@davemloft.net>
13209 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13211 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13212 have-as-vis3 check.
13214 2012-03-27 Andreas Jaeger <aj@suse.de>
13216 * sysdeps/x86_64/elf/configure.in: Moved to ...
13217 * sysdeps/x86_64/configure.in: ... here.
13218 * sysdeps/x86_64/elf/start.S: Moved to ...
13219 * sysdeps/x86_64/start.S: ... here.
13220 * sysdeps/x86_64/elf/configure: Delete.
13222 * sysdeps/x86_64/configure.in: Merge contents from
13223 sysdeps/i386/configure.in (without i686 check).
13225 * sysdeps/i386/elf/Versions: Merge into ...
13226 * sysdeps/i386/Versions: ... this.
13227 * sysdeps/i386/elf/Versions: Delete file.
13228 * sysdeps/i386/elf/start.S: Moved to ...
13229 * sysdeps/i386/start.S: ...here.
13230 * sysdeps/i386/elf/configure.in: Merge into...
13231 * sysdeps/i386/configure.in: ...here.
13232 * sysdeps/i386/elf/configure.in: Delete file.
13233 * sysdeps/i386/elf/configure: Delete file.
13235 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13236 * debug/backtracesyms.c: ... here.
13237 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13238 * debug/backtracesymsfd.c: ... here.
13239 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13240 * sysdeps/generic/ifunc-sel.h: ... here.
13242 * sysdeps/unix/i386/start.c: Delete file.
13243 * sysdeps/unix/sparc/start.c: Delete file.
13244 * sysdeps/unix/start.c: Delete file.
13246 * sysdeps/sh/elf/configure.in: Moved to ...
13247 * sysdeps/sh/configure.in: ... here.
13248 * sysdeps/sh/elf/start.S: Moved to ...
13249 * sysdeps/sh/start.S: ... here.
13250 * sysdeps/sh/elf/configure: Delete file.
13252 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13253 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13254 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13255 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13256 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13257 * sysdeps/powerpc/powerpc64/start.S: here.
13258 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13259 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13260 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13261 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13262 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13264 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13265 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13266 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13267 * sysdeps/powerpc/powerpc32/start.S: ... here.
13268 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13269 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13270 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13272 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13273 * sysdeps/powerpc/ifunc-sel.h: ... here.
13274 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13275 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13277 * sysdeps/sparc/elf/configure.in: Moved to ...
13278 * sysdeps/sparc/configure.in: ... here.
13279 * sysdeps/sparc/elf/configure: Delete file.
13280 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13281 * sysdeps/sparc/sparc32/start.S: ... here.
13282 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13283 * sysdeps/sparc/sparc64/start.S: ... here.
13284 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13285 * sysdeps/sparc/sparc32/Makefile: ... this.
13286 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13287 * sysdeps/sparc/sparc64/Makefile: ... this.
13289 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13290 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13291 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13292 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13293 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13294 * sysdeps/s390/s390-32/setjmp.S: ... here.
13295 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13296 * sysdeps/s390/s390-32/configure.in: ... here.
13297 * sysdeps/s390/s390-32/elf/configure: Delete file.
13298 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13299 * sysdeps/s390/s390-32/start.S: ... here.
13301 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13302 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13303 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13304 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13305 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13306 * sysdeps/s390/s390-64/setjmp.S: ... here.
13307 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13308 * sysdeps/s390/s390-64/configure.in: ... here
13309 * sysdeps/s390/s390-64/elf/configure: Delete file.
13310 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13311 * sysdeps/s390/s390-64/start.S: ... here.
13312 * sysdeps/s390/s390-64/elf/configure: Delete.
13314 * configure.in: Remove support for elf directories in sysdeps.
13316 * configure: Regenerated.
13317 * sysdeps/i386/configure: Regenerated.
13318 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13319 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13320 * sysdeps/s390/s390-32/configure: Regenerated.
13321 * sysdeps/s390/s390-64/configure: Regenerated.
13322 * sysdeps/sh/configure: Regenerated.
13323 * sysdeps/sparc/configure: Regenerated.
13324 * sysdeps/x86_64/configure: Regenerated.
13326 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13331 denormal result into account.
13333 2012-03-25 Roland McGrath <roland@hack.frob.com>
13335 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13336 Reported by Allan McRae <allan@archlinux.org>.
13338 2012-03-23 Jeff Law <law@redhat.com>
13340 * nss/getnssent.c (__nss_getent): Fix typo.
13342 2012-03-23 David S. Miller <davem@davemloft.net>
13344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13346 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13348 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13349 to pad to uint64_t for each field.
13350 (dl_tls_index): Replace unsigned long with uint64_t.
13352 2012-03-23 Daniel Jacobowitz <dmj@google.com>
13353 Paul Pluzhnikov <ppluzhnikov@google.com>
13356 * grp/Makefile (otherlibs): Don't set it.
13357 * inet/Makefile (otherlibs): Likewise.
13358 * login/Makefile (otherlibs): Likewise.
13359 * nscd/Makefile (otherlibs): Likewise.
13360 * posix/Makefile (otherlibs): Likewise.
13361 * pwd/Makefile (otherlibs): Likewise.
13362 * rt/Makefile (otherlibs): Likewise.
13363 * sunrpc/Makefile (otherlibs): Likewise.
13364 * nss/Makefile (otherlibs): Likewise.
13365 Add libnss_files to routines and static-only-routines.
13366 ($(objpfx)getent): Remove rule.
13367 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13368 static-only-routines.
13370 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13373 * math/s_cexp.c: Include <float.h>.
13374 (__cexp): Handle exp result overflowing not necessarily
13375 overflowing both real and imaginary parts of result.
13376 * math/s_cexpf.c: Likewise.
13377 * math/s_cexpl.c: Likewise.
13378 * math/libm-test.inc (cexp_test): Add more tests.
13379 * sysdeps/i386/fpu/libm-test-ulps: Update.
13380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13382 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13384 * include/link.h (ELFW): New macro.
13385 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13386 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13388 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13390 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13393 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13395 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13397 (struct La_x32_retval): Likewise.
13399 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13401 * sysdeps/x86_64/preconfigure.in: New file.
13402 * sysdeps/x86_64/preconfigure: New generated file.
13404 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13407 * math/e_exp2l.c: Include <float.h>.
13408 (__ieee754_exp2l): Handle overflow and underflow cases
13409 separately. Only pass fractional part of argument to
13411 * math/libm-test.inc (exp2_test): Add more tests.
13413 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13414 negating x to take absolute value.
13415 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13417 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13420 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13421 computing low part if x was negated.
13422 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13424 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13426 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13427 la_x32_gnu_pltexit.
13428 (pltexit): Cast int_retval to ptrdiff_t.
13429 * elf/tst-auditmod3b.c: Likewise.
13430 * elf/tst-auditmod4b.c: Likewise.
13431 * elf/tst-auditmod5b.c: Likewise.
13432 * elf/tst-auditmod6b.c: Likewise.
13433 * elf/tst-auditmod6c.c: Likewise.
13434 * elf/tst-auditmod7b.c: Likewise.
13436 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13437 and x32_gnu_pltexit.
13439 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13440 __ELF_NATIVE_CLASS.
13441 (La_x32_regs): New macro.
13442 (La_x32_retval): Likewise.
13443 (la_x32_gnu_pltenter): New function prototype.
13444 (la_x32_gnu_pltexit): Likewise.
13446 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13448 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13453 * configure.in (libc_cv_cc_nofma): Check for option to disable
13454 generation of FMA instructions.
13455 * configure: Regenerate.
13456 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13457 * sysdeps/ieee754/dbl-64/Makefile: New file.
13458 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13459 Remove brandred-fma4.
13460 (CFLAGS-brandred-fma4.c): Remove.
13461 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13462 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13464 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13467 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13469 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13470 LLONG_MAX != LONG_MAX.
13471 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13472 (_fitoa_word): Likewise.
13473 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13474 LLONG_MAX != LONG_MAX.
13475 * stdio-common/_itowa.h: Include <_itoa.h>.
13476 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13477 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13478 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13479 only if not defined.
13480 (_ITOA_WORD_TYPE): Likewise.
13481 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13482 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13484 2012-03-21 David S. Miller <davem@davemloft.net>
13486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13488 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13490 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13491 of x86_64 when setting libc_cv_slibdir, libdir and
13493 * sysdeps/unix/sysv/linux/configure: Regenerated.
13495 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13497 * manual/lang.texi (Old Varargs): Remove section.
13498 (How Variadic): Update menu.
13499 (va_start): Do not mention varargs.h.
13501 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13502 Joseph Myers <joseph@codesourcery.com>
13504 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13506 * configure: Regenerated.
13508 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13510 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13511 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13514 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13517 * Makefile (files-for-dist): Remove NOTES.
13518 (NOTES): Remove rule.
13519 * README: Don't refer to NOTES.
13520 * manual/creature.texi: Don't include macros.texi.
13521 * manual/intro.texi (creature.texi): Remove comment referring to
13524 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13525 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13526 * configure: Regenerated.
13527 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13528 LIBC_TRY_CC_OPTION.
13529 (libc_cv_as_i686): Likewise.
13530 (libc_cv_cc_avx): Likewise.
13531 (libc_cv_cc_sse2avx): Likewise.
13532 (libc_cv_cc_fma4): Likewise.
13533 (libc_cv_cc_novzeroupper): Likewise.
13534 * sysdeps/i386/configure: Regenerated.
13537 * sysdeps/i386/fpu/s_cexp.S: Remove.
13538 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13539 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13540 * math/libm-test.inc (cexp_test): Add more tests.
13541 * sysdeps/i386/fpu/libm-test-ulps: Update.
13542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13544 2012-03-21 Allan McRae <allan@archlinux.org>
13546 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13548 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13551 * math/w_exp2.c: Do not include <float.h>.
13552 (o_threshold, u_threshold): Remove.
13553 (__exp2): Calculate result before checking finiteness and calling
13555 * math/w_exp2f.c: Likewise.
13556 * math/w_exp2l.c: Likewise.
13557 * math/libm-test.inc (exp2_test): Require overflow exception for
13561 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13562 range of signed 64-bit integers before using fistpll. Remove
13563 checks for whether integers fit in mantissa bits.
13564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13565 the range of signed 32-bit integers before using fistpl. Remove
13566 checks for whether integers fit in mantissa bits.
13567 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13568 (__ieee754_powl): Test for y outside the range of signed 64-bit
13569 integers before using fistpll. Reduce 64-bit values to 63-bit
13571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13572 divide-by-zero is raised for zero to large negative powers.
13573 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13574 (__ieee754_powl): Test for y outside the range of signed 64-bit
13575 integers before using fistpll. Reduce 64-bit values to 63-bit
13577 * math/libm-test.inc (pow_test): Add more tests.
13579 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13581 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13582 <stdio-common/_itoa.h>.
13583 * debug/segfault.c: Likewise.
13584 * elf/dl-cache.c: Likewise.
13585 * elf/dl-minimal.c: Likewise.
13586 * elf/dl-misc.c: Likewise.
13587 * elf/dl-sysdep.c: Likewise.
13588 * elf/dl-version.c: Likewise.
13589 * elf/rtld.c: Likewise.
13590 * hurd/hurdsock.c: Likewise.
13591 * hurd/lookup-retry.c: Likewise.
13592 * malloc/malloc.c: Likewise.
13593 * malloc/mtrace.c: Likewise.
13594 * nscd/nscd_getgr_r.c: Likewise.
13595 * nscd/nscd_getpw_r.c: Likewise.
13596 * nscd/nscd_getserv_r.c: Likewise.
13597 * posix/getopt_init.c: Likewise.
13598 * posix/wordexp.c: Likewise.
13599 * stdio-common/_itoa.c: Likewise.
13600 * stdio-common/printf_fphex.c: Likewise.
13601 * stdio-common/vfprintf.c: Likewise.
13602 * string/_strerror.c: Likewise.
13603 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13604 * sysdeps/i386/i686/hp-timing.h: Likewise.
13605 * sysdeps/mach/_strerror.c: Likewise.
13606 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13607 * sysdeps/mach/hurd/sethostid.c: Likewise.
13608 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13609 * sysdeps/mach/xpg-strerror.c: Likewise.
13610 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13612 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13613 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13614 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13615 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13616 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13617 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13618 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13619 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13620 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13621 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13622 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13624 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13625 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13626 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13627 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13628 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13629 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13630 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13632 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13634 * stdio-common/_itoa.h: Moved to ...
13635 * sysdeps/generic/_itoa.h: Here.
13637 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13639 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13640 instead of "_itoa.h" and "_itowa.h".
13641 * stdio-common/vfprintf.: Likewise.
13643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13645 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13647 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13648 (__signbit): Likwise.
13649 (llrintf): Likwise.
13652 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13654 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13657 2012-03-20 Joseph Myers <joseph@codesourcery.com>
13659 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13660 OVERFLOW_EXCEPTION_OK.
13661 * math/libm-test.inc ("Philosophy"): Update comment about
13663 (OVERFLOW_EXCEPTION): Define.
13664 (OVERFLOW_EXCEPTION_OK): Likewise.
13665 (INVALID_EXCEPTION_OK): Renumber.
13666 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13667 (IGNORE_ZERO_INF_SIGN): Likewise.
13668 (test_exceptions): Handle FE_OVERFLOW.
13669 (exp10_test): Expect overflow exceptions.
13670 (exp2_test): Likewise.
13671 (expm1_test): Likewise.
13672 (nextafter_test): Likewise.
13673 (pow_test): Likewise.
13674 (scalbn_test): Likewise.
13675 (scalbln_test): Likewise.
13677 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13679 * sysdeps/x86_64/bits/atomic.h
13680 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13682 (atomic_exchange_acq): Likewise.
13683 (__arch_exchange_and_add_body): Likewise.
13684 (__arch_add_body): Likewise.
13685 (atomic_add_negative): Likewise.
13686 (atomic_add_zero): Likewise.
13688 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13690 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13691 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13693 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13695 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13696 Check __x86_64__ instead of __WORDSIZE.
13698 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13700 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13702 2012-03-19 David S. Miller <davem@davemloft.net>
13704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13706 * sysdeps/sparc/fpu/fenv_private.h: New file.
13707 * sysdeps/sparc/fpu/math_private.h: Use it.
13708 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13710 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13711 (libc_feholdexcept_setroundl): Remove.
13712 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13714 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13715 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13719 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13720 int64_t instead of long int.
13721 (INSERT_WORDS64): Likwise.
13723 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13725 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13726 _Unwind_GetCFA return to _Unwind_Ptr first.
13728 2012-03-19 Joseph Myers <joseph@codesourcery.com>
13731 * math/s_clog.c: Include <float.h>.
13732 (__clog): Scale large or subnormal inputs.
13733 * math/s_clogf.c: Likewise.
13734 * math/s_clogl.c: Likewise.
13735 * math/s_clog10.c: Include <float.h>.
13736 (M_LOG10_2): Define.
13737 (__clog10): Scale large or subnormal inputs.
13738 * math/s_clog10f.c: Likewise.
13739 * math/s_clog10l.c: Likewise.
13740 * math/libm-test.inc (clog_test): Add more tests.
13741 (clog10_test): Likewise.
13742 * sysdeps/i386/fpu/libm-test-ulps: Update.
13743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13746 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13748 * math/libm-test.inc (atan2_test): Add another test.
13750 * Makerules (common-objdir-compile): Remove.
13751 * sysdeps/unix/Makefile (config-generated): Do not add
13752 $(unix-generated) to variable.
13753 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13754 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13756 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13758 [generic bits/local_lim.h] (before-compile): Do not append to
13760 [generic bits/local_lim.h] (common-generated): Likewise.
13761 [generic sys/param.h] (before-compile): Do not append to variable.
13762 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13763 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13764 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13765 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13767 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13768 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13769 [generic sys/param.h] ($(addprefix
13770 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13771 [generic sys/param.h] (common-generated): Do not append to
13773 [generic sys/param.h] (sysdep_headers): Likewise.
13774 [generic bits/errno.h] (before-compile): Do not append to
13776 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13778 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13779 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13780 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13781 [generic bits/errno.h] (common-generated): Do not append to
13783 [generic bits/ioctls.h] (before-compile): Do not append to
13785 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13787 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13788 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13789 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13791 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13792 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13793 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13794 [generic bits/ioctls.h] (common-generated): Do not append to
13796 [generic sys/syscall.h] (syscall.h): Remove variable.
13797 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13799 [generic sys/syscall.h] (before-compile): Do not append to
13801 [generic sys/syscall.h] (common-generated): Likewise.
13802 * sysdeps/unix/errnos-tmpl.c: Remove file.
13803 * sysdeps/unix/errnos.awk: Likewise.
13804 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13805 * sysdeps/unix/ioctls.awk: Likewise.
13806 * sysdeps/unix/mk-local_lim.c: Likewise.
13807 * sysdeps/unix/snarf-ioctls: Likewise.
13809 2012-03-19 Richard Henderson <rth@twiddle.net>
13811 * sysdeps/i386/fpu/fenv_private.h: New file.
13812 * sysdeps/i386/fpu/math_private.h: Use it.
13813 (math_opt_barrier, math_force_eval): Remove.
13814 (libc_feholdexcept_setround_53bit): Remove.
13815 (libc_feupdateenv_53bit): Remove.
13816 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13817 (math_opt_barrier, math_force_eval): Remove.
13818 (libc_feholdexcept): Remove.
13819 (libc_feholdexcept_setround): Remove.
13820 (libc_fetestexcept, libc_fesetenv): Remove.
13821 (libc_feupdateenv_test): Remove.
13822 (libc_feupdateenv, libc_feholdsetround): Remove.
13823 (libc_feresetround): Remove.
13825 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13826 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13828 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13829 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13830 (libc_feupdateenv_testl): New.
13831 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13832 (libc_feupdateenv_testf): New.
13833 (libc_feupdateenv): Use libc_feupdateenv_test.
13834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13837 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13838 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13839 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13840 (libc_feresetround_noex): New.
13841 (libc_feresetround_noexf): New.
13842 (libc_feresetround_noexl): New.
13843 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13844 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13845 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13846 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13848 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13851 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13853 SET_RESTORE_ROUND_NOEX.
13854 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13855 SET_RESTORE_ROUND_NOEXF.
13856 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13857 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13858 (libc_feholdsetroundf): New.
13859 (libc_feresetround, libc_feresetroundf): New.
13861 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13862 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13863 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13865 * sysdeps/generic/math_private.h: Include <fenv.h>.
13866 (default_libc_feholdexcept): New.
13867 (default_libc_feholdexcept_setround): New.
13868 (default_libc_fesetenv, default_libc_feupdateenv): New.
13869 (libc_feholdexcept): Only define if undefined.
13870 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13871 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13872 (libc_feholdexcept_setroundl): Likewise.
13873 (libc_feholdexcept_setround_53bit): Likewise.
13874 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13875 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13876 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13877 (libc_feupdateenv_53bit): Likewise.
13878 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13879 (libc_feholdexcept): Convert from macro to inline function.
13880 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13881 (libc_fesetenv, libc_feupdateenv): Likewise.
13883 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13884 not previously defined.
13885 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13886 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13887 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13888 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13889 * sysdeps/ieee754/flt-32/math_private.h: New file.
13890 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13891 math_private.h below SET_FLOAT_WORD.
13892 (__isnan, __isinf_ns, __finite): Remove.
13893 (__isnanf, __isinf_nsf, __finitef): Remove.
13895 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13899 2012-03-17 David S. Miller <davem@davemloft.net>
13902 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13905 2012-03-16 David S. Miller <davem@davemloft.net>
13907 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13911 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13913 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13914 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13915 sysdep_routines when subdir is sysvipc.
13916 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13917 __getshmlba helper.
13919 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13921 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13923 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13926 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13928 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13929 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13930 (__lround): Renamed to ...
13931 (__llround): This. Replace long int with long long int.
13932 Define lround functions as aliases of llround functions.
13933 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13937 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13938 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13939 adresses to uintptr_t. Replace "long int" and "unsigned long
13940 int" with "greg_t" on va_arg.
13942 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13944 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13945 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13947 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13948 Move e_machine check before EI_CLASS check. Handle x32
13949 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13950 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13951 SKIP_EM_IA_64 and include
13952 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13954 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13955 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13956 (add_system_dir): New macro.
13958 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13959 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13961 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13972 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13974 * math/w_j0f.c (j0f): Likewise.
13976 * math/w_j0l.c (__j0l): Likewise.
13978 * math/w_j1.c (j1): Likewise.
13980 * math/w_j1f.c (j1f): Likewise.
13982 * math/w_j1l.c (__j1l): Likewise.
13984 * math/w_jn.c (jn): Likewise.
13986 * math/w_jnf.c (jnf): Likewise.
13988 * math/w_jnl.c (__jnl): Likewise.
13990 * math/libm-test.inc (j0_test): Add more tests.
13991 (j1_test): Likewise.
13992 (jn_test): Likewise. Add trailing semicolon to existing test.
13993 (y0_test): Likewise.
13994 (y1_test): Likewise.
13995 * sysdeps/i386/fpu/libm-test-ulps: Update.
13996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14000 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14001 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14002 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14003 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14004 (__tanl): Set errno for infinite argument.
14005 * sysdeps/i386/fpu/mptan.c: Remove.
14006 * sysdeps/i386/fpu/s_tan.S: Likewise.
14007 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14008 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14009 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14010 * math/libm-test.inc (tan_test): Add more tests and enable more
14011 tests for double and long double.
14012 * sysdeps/i386/fpu/libm-test-ulps: Update.
14013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14017 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14018 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14020 2012-03-16 Roland McGrath <roland@hack.frob.com>
14022 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14023 * configure.in: Use it for both main tree and add-ons.
14024 * configure: Regenerated.
14026 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14028 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14030 2012-03-16 Joseph Myers <joseph@codesourcery.com>
14032 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14036 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14037 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14038 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14039 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14040 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14042 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14043 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14044 != 0 for prec == 2.
14045 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14046 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14047 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14048 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14049 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14050 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14051 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14052 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14053 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14054 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14055 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14056 * math/libm-test.inc (cos_test): Add more tests and enable more
14057 tests for long double.
14058 (sin_test): Likewise.
14059 (sincos_test): Likewise.
14060 * sysdeps/i386/fpu/libm-test-ulps: Update.
14061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14063 2012-03-16 David S. Miller <davem@davemloft.net>
14065 * sysdeps/sparc/fpu/math_private.h: New file.
14067 2012-03-15 David S. Miller <davem@davemloft.net>
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
14072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14079 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14083 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14084 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14086 * sysdeps/sparc/sparc-ifunc.h: New file.
14087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
14103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14132 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14134 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14138 2012-03-15 Andreas Jaeger <aj@suse.de>
14141 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14142 ieee754/flt-32 implementation for sin, cos and sincos.
14143 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14144 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14145 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14146 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14147 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14148 ieee754/flt-32 implementation for tan.
14150 * math/libm-test.inc (cos_test): Enable some large input tests for
14152 (sin_test): Likewise.
14153 (sincos_test): Likewise.
14154 (tan_test): Add tests for large input.
14156 * sysdeps/i386/fpu/libm-test-ulps: Update.
14158 2012-03-15 Andreas Jaeger <aj@suse.de>
14161 * math/libm-test.inc (cos_test): Add more test cases.
14162 (sin_test): Likewise.
14163 (sincos_test): Likewise.
14165 2012-03-15 Andreas Jaeger <aj@suse.de>
14168 * math/libm-test.inc (cos_test): Add a test case for large input
14170 (sin_test): Likewise.
14171 (sincos_test): Likewise.
14173 2012-03-15 Andreas Jaeger <aj@suse.de>,
14174 Joseph Myers <joseph@codesourcery.com>
14177 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
14178 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14179 * sysdeps/i386/fpu/branred.c: Likewise.
14180 * sysdeps/i386/fpu/dosincos.c: Likewise.
14181 * sysdeps/i386/fpu/mpa.c: Likewise.
14182 * sysdeps/i386/fpu/s_cos.S: Likewise.
14183 * sysdeps/i386/fpu/s_sin.S: Likewise.
14184 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14185 * sysdeps/i386/fpu/sincos32.c: Likewise.
14187 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14189 (libc_feupdateenv_53bit): Define.
14190 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14192 (libc_feupdateenv_53bit): Define.
14194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14195 53 bit (without extend i386 double precision).
14197 * math/libm-test.inc (sincos_test): Add tests for large input.
14201 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14203 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14207 2012-03-15 David S. Miller <davem@davemloft.net>
14209 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14210 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14211 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14212 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14237 fmin/fmax sysdep routines.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14240 2012-03-14 David S. Miller <davem@davemloft.net>
14242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14319 * sysdeps/sparc/configure.in: New file.
14320 * sysdeps/sparc/configure: Generate.
14321 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14322 * configure: Regenerate.
14323 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14324 * config.make.in (have-as-vis3): New.
14325 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14326 available use -Av9d instead of -Av9a.
14327 * sysdeps/sparc/sparc64/Makefile: Likewise.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14337 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14343 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14344 fzeros/fnegs to load 0x80000000 into a float register instead of
14346 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14348 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14352 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14353 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14354 ($(inst_includedir)/bits/syscall.h): Remove rule.
14355 ($(objpfx)bits/syscall.d): Include instead of
14356 $(objpfx)syscall-list.d.
14357 (generated): Change syscall-list.h and syscall-list.d to
14358 bits/syscall.h and bits/syscall.d.
14360 2012-03-14 Roland McGrath <roland@hack.frob.com>
14363 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14365 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14368 * math/s_csqrt.c: Include <float.h>.
14369 (__csqrt): Scale large or subnormal inputs.
14370 * math/s_csqrtf.c: Likewise.
14371 * math/s_csqrtl.c: Likewise.
14372 * math/libm-test.inc (csqrt_test): Add more tests.
14373 * sysdeps/i386/fpu/libm-test-ulps: Update.
14374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14377 * math/libm-test.inc (hypot_test): Add more tests.
14379 2012-03-13 David S. Miller <davem@davemloft.net>
14382 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14383 double-precision for the calculation instead of scaling.
14385 2012-03-13 Joseph Myers <joseph@codesourcery.com>
14387 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14388 manipulate bits before adding and subtracting TWO52[sx].
14389 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14390 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14392 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14394 2012-03-13 David S. Miller <davem@davemloft.net>
14396 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14397 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14399 rtld-global-offsets.h
14400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14402 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14405 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14407 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14408 'err' in the ifdef scope in which it is actually used.
14410 * nss/nss_db/db-init.c: Include string.h
14412 2012-03-12 David S. Miller <davem@davemloft.net>
14414 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14415 masking out of the most significant byte of random value used.
14416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14417 Fix coding style in previous change.
14419 * sysdeps/unix/sysv/linux/kernel-features.h
14420 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14421 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14423 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14426 2012-03-11 David S. Miller <davem@davemloft.net>
14428 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14429 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14430 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14431 for 'resultvar' otherwise things get truncated on 64-bit.
14433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14434 Fix masking out of the most significant byte of random value used.
14436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14438 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14442 2012-03-09 David S. Miller <davem@davemloft.net>
14444 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14445 variables with appropriate CPP guards.
14446 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14447 frame pointer, not the stack pointer. Correct layout comments. Fix test
14448 on resulting framesize and the management of the outregs buffer for pltexit.
14449 Preserve floating point return values across _dl_call_pltexit call.
14450 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14451 framesize and the management of the outregs buffer for pltexit.
14452 Preserve floating point return values across _dl_call_pltexit
14454 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14455 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14456 (print_exit): Fix format string for return register value.
14458 2012-03-10 Joseph Myers <joseph@codesourcery.com>
14460 * sunrpc/Makefile (others): Add rpcgen.
14461 ($(objpfx)rpcgen): Remove special build rule and dependency on
14463 * sunrpc/rpcgen.c: New file.
14465 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14468 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14469 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14470 * sysdeps/i386/crti.S: Likewise.
14471 * sysdeps/i386/crtn.S: Likewise.
14472 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14473 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14474 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14475 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14476 * sysdeps/sh/crti.S: Likewise.
14477 * sysdeps/sh/crtn.S: Likewise.
14478 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14481 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14483 * locale/programs/locfile-kw.gperf: Likewise.
14484 * locale/programs/charmap-kw.h: Regenerated.
14485 * locale/programs/locfile-kw.h: Likewise.
14488 * intl/plural.y: Replace FSF snail mail address with URL.
14489 * intl/plural.c: Regenerated.
14491 2012-03-09 Richard Henderson <rth@twiddle.net>
14493 * include/math_private.h: Remove file.
14494 * math/math_private.h: Move file ...
14495 * sysdeps/generic/math_private.h: ... here.
14497 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14498 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14499 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14501 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14502 and <math_private.h>.
14503 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14504 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14505 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14506 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14507 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14508 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14509 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14511 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14519 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14520 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14521 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14522 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14524 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14525 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14526 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14527 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14528 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14529 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14530 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14533 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14535 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14536 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14537 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14538 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14539 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14540 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14546 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14553 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14554 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14555 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14556 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14557 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14558 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14559 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14560 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14561 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14562 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14563 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14564 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14565 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14566 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14567 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14568 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14569 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14570 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14571 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14572 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14573 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14577 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14581 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14582 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14583 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14584 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14585 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14586 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14591 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14592 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14593 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14594 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14596 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14597 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14598 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14599 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14600 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14601 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14602 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14603 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14604 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14605 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14607 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14608 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14609 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14610 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14611 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14612 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14613 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14614 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14615 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14617 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14618 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14619 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14620 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14621 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14622 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14623 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14624 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14625 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14626 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14627 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14628 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14629 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14630 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14631 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14632 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14633 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14634 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14635 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14636 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14637 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14638 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14639 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14640 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14641 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14642 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14643 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14644 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14645 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14646 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14647 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14648 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14649 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14650 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14651 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14652 * sysdeps/ieee754/k_standard.c: Likewise.
14653 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14657 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14662 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14670 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14671 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14673 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14674 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14675 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14676 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14677 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14678 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14679 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14719 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14720 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14726 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14733 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14735 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14736 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14737 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14738 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14739 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14740 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14741 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14743 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14747 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14748 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14750 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14751 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14752 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14755 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14757 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14758 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14763 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14764 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14765 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14766 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14767 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14768 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14769 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14770 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14771 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14772 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14773 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14774 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14775 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14776 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14777 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14778 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14786 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14787 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14788 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14789 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14790 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14791 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14792 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14793 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14794 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14795 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14796 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14797 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14798 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14799 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14802 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14803 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14804 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14806 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14807 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14808 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14809 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14810 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14811 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14812 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14813 * sysdeps/ieee754/s_lib_version.c: Likewise.
14814 * sysdeps/ieee754/s_matherr.c: Likewise.
14815 * sysdeps/ieee754/s_signgam.c: Likewise.
14816 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14817 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14818 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14819 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14820 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14821 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14822 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14823 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14824 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14825 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14826 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14827 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14830 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14831 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14832 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14833 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14834 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14838 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14840 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14841 * sunrpc/rpc_main.c: Likewise.
14842 * sunrpc/rpc_svcout.c: Likewise.
14844 2012-03-09 David S. Miller <davem@davemloft.net>
14846 * include/math_private.h: New file.
14848 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14850 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14851 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14852 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14853 from <bits/socket_type.h>.
14854 (enum __socket_type): Don't define here.
14855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14857 bits/socket_type.h.
14860 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14861 checking __USE_GNU.
14863 * Makerules ($(inst_includedir)/%.h): New rule.
14864 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14865 (install-others): Remove variable setting.
14866 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14868 2012-03-08 Richard Henderson <rth@twiddle.net>
14870 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14871 from macro to inline function; merge with the
14872 !__LIBC_INTERNAL_MATH_INLINES version.
14873 (__ieee754_sqrtf): Likewise.
14875 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14876 to inline function.
14877 (__rintf, __floor, __floorf): Likewise.
14879 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14880 macro to inline function.
14881 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14884 not <math/math_private.h>.
14886 2012-03-08 David S. Miller <davem@davemloft.net>
14888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14890 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14892 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14894 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14896 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14897 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14899 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14901 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14902 be defined individually, they must be defined as a block. Define
14903 S for printing a string instead of hidint the different by using a
14904 macro for adding the 'l'.
14905 * stdio-common/tst-fphex-wide.c: Adjust.
14907 2012-03-07 Marek Polacek <polacek@redhat.com>
14909 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14911 2012-03-08 Marek Polacek <polacek@redhat.com>
14914 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14915 * stdio-common/tst-fphex.c: Define a few macros to make the
14916 test reusable. Use them.
14917 * stdio-common/tst-fphex-wide.c: New file.
14919 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14922 * manual/macros.texi (gnusystems): New macro.
14923 (nongnusystems): Likewise.
14924 (gnulinuxhurdsystems): Likewise.
14925 (gnuhurdsystems): Likewise..
14926 (gnulinuxsystems): Likewise.
14927 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14928 variants of the GNU system, not "GNU system".
14929 * manual/conf.texi: Likewise.
14930 * manual/errno.texi: Likewise. Update example of errno macro
14932 * manual/filesys.texi: Likewise.
14933 (getumask): Document as specific to GNU/Hurd.
14934 * manual/install.texi: Likewise. Reword some references to
14936 * manual/intro.texi: Likewise.
14937 * manual/io.texi: Likewise.
14938 (File Name Portability): Detail which constraints are inapplicable
14939 to all GNU systems and which are only inapplicable to GNU/Hurd.
14940 * manual/job.texi: Likewise.
14941 * manual/llio.texi: Likewise.
14942 (O_NOCTTY): Document as present on GNU/Linux.
14943 * manual/maint.texi: Likewise.
14944 * manual/memory.texi: Likewise.
14945 * manual/pattern.texi: Likewise.
14946 * manual/pipe.texi: Likewise.
14947 * manual/process.texi: Likewise.
14948 * manual/resource.texi: Likewise.
14949 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14951 * manual/setjmp.texi: Likewise.
14952 * manual/signal.texi: Likewise.
14953 * manual/startup.texi: Likewise.
14954 * manual/stdio.texi: Likewise.
14955 * manual/terminal.texi: Likewise.
14956 (ONLCR): Document as POSIX.
14957 (OXTABS): Document availability on GNU/Linux as XTABS.
14958 (ONOEOT): Document availability separately from other bits.
14959 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14960 * manual/time.texi: Likewise.
14961 * manual/users.texi: Likewise.
14962 * INSTALL: Regenerated.
14963 * sysdeps/gnu/errlist.c: Regenerated.
14965 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14966 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14967 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14969 * configure: Regenerated.
14971 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14973 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14974 default includes instead of AC_HEADER_CHECK.
14975 * sysdeps/i386/configure: Regenerated.
14978 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14979 * math/s_cacoshf.c (__cacoshf): Likewise.
14980 * math/s_cacoshl.c (__cacoshl): Likewise.
14981 * math/s_casinh.c (__casinh): Set signs of result from argument.
14982 * math/s_casinhf.c (__casinhf): Likewise.
14983 * math/s_casinhl.c (__casinhl): Likewise.
14984 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14985 (casinh_test): Add more tests.
14986 * sysdeps/i386/fpu/libm-test-ulps: Update.
14987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14991 * po/zh_TW.po: Update from translation team.
14993 * login/Makefile (distribute): Remove variable.
14994 * catgets/Makefile: Likewise.
14995 * mach/Makefile: Likewise.
14996 * malloc/Makefile: Likewise.
14997 * misc/Makefile: Likewise.
14998 * iconv/Makefile: Likewise.
14999 * nscd/Makefile: Likewise.
15000 * hurd/Makefile: Likewise.
15001 * manual/Makefile: Likewise.
15002 * locale/Makefile: Likewise.
15003 * intl/Makefile: Likewise.
15004 * conform/Makefile: Likewise.
15005 * nss/Makefile: Likewise.
15006 * time/Makefile: Likewise.
15007 * soft-fp/Makefile: Likewise.
15008 * dirent/Makefile: Likewise.
15009 * gmon/Makefile: Likewise.
15010 * po/Makefile: Likewise.
15011 * rt/Makefile: Likewise.
15012 * socket/Makefile: Likewise.
15013 * math/Makefile: Likewise.
15014 * signal/Makefile: Likewise.
15015 * debug/Makefile: Likewise.
15016 * elf/Makefile: Likewise.
15017 * timezone/Makefile: Likewise.
15018 * stdlib/Makefile: Likewise.
15019 * iconvdata/Makefile: Likewise.
15020 * sunrpc/Makefile: Likewise.
15021 * io/Makefile: Likewise.
15022 * argp/Makefile: Likewise.
15023 * inet/Makefile: Likewise.
15024 * hesiod/Makefile: Likewise.
15025 * grp/Makefile: Likewise.
15026 * csu/Makefile: Likewise.
15027 * wctype/Makefile: Likewise.
15028 * crypt/Makefile: Likewise.
15029 * libio/Makefile: Likewise.
15030 * string/Makefile: Likewise.
15031 * nis/Makefile: Likewise.
15032 * resolv/Makefile: Likewise.
15033 * stdio-common/Makefile: Likewise.
15034 * wcsmbs/Makefile: Likewise.
15035 * dlfcn/Makefile: Likewise.
15036 * posix/Makefile: Likewise.
15039 * timezone/Makefile: Don't install timezone files, just the programs
15042 2012-03-06 Ulrich Drepper <drepper@gmail.com>
15044 * nss/databases.def: Add missing gshadow entry.
15046 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15048 2012-03-06 Marek Polacek <polacek@redhat.com>
15051 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15052 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15053 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15054 * stdio-common/tst-long-dbl-fphex.c: New file.
15056 2012-03-06 David S. Miller <davem@davemloft.net>
15058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15059 (set_obp_int): New function.
15060 (get_obp_int): New function.
15061 (__get_clockfreq_via_dev_openprom): Likewise.
15062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15063 Avoid unused variable warnings on 'val' and use builtin_expect.
15064 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15066 (INLINE_CLONE_SYSCALL): Likewise.
15068 2012-03-05 David S. Miller <davem@davemloft.net>
15070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15072 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15076 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15077 only for |x| >= 40.
15078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15080 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
15082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15083 Replace gettimeofday with __vdso_gettimeofday.
15085 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15086 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15087 __vdso_clock_gettime and __vdso_getcpu.
15089 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15090 time with __vdso_time.
15092 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15094 * manual/lang.texi (size_t): Note types to which size_t may be
15095 equivalent with the GNU C Library, but do not describe when
15096 differences between them are significant.
15098 2012-03-05 Andreas Jaeger <aj@suse.de>
15100 * sysdeps/i386/fpu/libm-test-ulps: Update.
15102 2012-03-05 Joseph Myers <joseph@codesourcery.com>
15105 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15106 (__ieee754_pow): Save and restore rounding mode and use
15107 round-to-nearest for main computations.
15108 * math/libm-test.inc (pow_test_tonearest): New function.
15109 (pow_test_towardzero): Likewise.
15110 (pow_test_downward): Likewise.
15111 (pow_test_upward): Likewise.
15112 (main): Call the new functions.
15113 * sysdeps/i386/fpu/libm-test-ulps: Update.
15114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15117 * math/libm-test.inc (cosh_test_tonearest): New function.
15118 (cosh_test_towardzero): Likewise.
15119 (cosh_test_downward): Likewise.
15120 (cosh_test_upward): Likewise.
15121 (sinh_test_tonearest): Likewise.
15122 (sinh_test_towardzero): Likewise.
15123 (sinh_test_downward): Likewise.
15124 (sinh_test_upward): Likewise.
15125 (main): Call the new functions.
15126 * sysdeps/i386/fpu/libm-test-ulps: Update.
15127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15129 2012-03-05 Tom de Vries <tom@codesourcery.com>
15131 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15132 default stack guard is set in last bytes.
15133 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15135 2012-03-05 Kees Cook <keescook@chromium.org>
15137 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
15140 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15141 possibly allocate from heap instead of stack.
15142 * stdio-common/bug-vfprintf-nargs.c: New file.
15143 * stdio-common/Makefile (tests): Add nargs overflow test.
15145 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15149 2012-03-03 Marek Polacek <polacek@redhat.com>
15151 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15152 * math/math_private.h: Likewise.
15153 * stdlib/tst-strtod.c: Likewise.
15154 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15155 * sysdeps/x86_64/bits/atomic.h: Likewise.
15157 2012-03-02 David S. Miller <davem@davemloft.net>
15159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15163 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15164 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15165 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15166 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15168 2012-03-02 Roland McGrath <roland@hack.frob.com>
15171 * manual/examples/README: New file, says the example source files
15172 can be used under GPL>=2.
15173 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15174 line containing just "*/".
15175 * manual/examples/add.c: Add copyright header (GPL>=2).
15176 * manual/examples/argp-ex1.c: Likewise.
15177 * manual/examples/argp-ex2.c: Likewise.
15178 * manual/examples/argp-ex3.c: Likewise.
15179 * manual/examples/argp-ex4.c: Likewise.
15180 * manual/examples/atexit.c: Likewise.
15181 * manual/examples/db.c: Likewise.
15182 * manual/examples/dir.c: Likewise.
15183 * manual/examples/dir2.c: Likewise.
15184 * manual/examples/execinfo.c: Likewise.
15185 * manual/examples/filecli.c: Likewise.
15186 * manual/examples/filesrv.c: Likewise.
15187 * manual/examples/fmtmsgexpl.c: Likewise.
15188 * manual/examples/genpass.c: Likewise.
15189 * manual/examples/inetcli.c: Likewise.
15190 * manual/examples/inetsrv.c: Likewise.
15191 * manual/examples/isockad.c: Likewise.
15192 * manual/examples/longopt.c: Likewise.
15193 * manual/examples/memopen.c: Likewise.
15194 * manual/examples/memstrm.c: Likewise.
15195 * manual/examples/mkfsock.c: Likewise.
15196 * manual/examples/mkisock.c: Likewise.
15197 * manual/examples/mygetpass.c: Likewise.
15198 * manual/examples/pipe.c: Likewise.
15199 * manual/examples/popen.c: Likewise.
15200 * manual/examples/rprintf.c: Likewise.
15201 * manual/examples/search.c: Likewise.
15202 * manual/examples/select.c: Likewise.
15203 * manual/examples/setjmp.c: Likewise.
15204 * manual/examples/sigh1.c: Likewise.
15205 * manual/examples/sigusr.c: Likewise.
15206 * manual/examples/stpcpy.c: Likewise.
15207 * manual/examples/strdupa.c: Likewise.
15208 * manual/examples/strftim.c: Likewise.
15209 * manual/examples/strncat.c: Likewise.
15210 * manual/examples/subopt.c: Likewise.
15211 * manual/examples/swapcontext.c: Likewise.
15212 * manual/examples/termios.c: Likewise.
15213 * manual/examples/testopt.c: Likewise.
15214 * manual/examples/testpass.c: Likewise.
15215 * manual/examples/timeval_subtract.c: Likewise.
15218 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15220 * manual/timeval_subtract.c.texi: ... here, new file.
15222 2012-03-02 David S. Miller <davem@davemloft.net>
15224 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15226 2012-03-02 Joseph Myers <joseph@codesourcery.com>
15229 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15230 (__sin): Save and restore rounding mode and use round-to-nearest
15231 for all computations.
15232 (__cos): Save and restore rounding mode and use round-to-nearest
15233 for all computations.
15234 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15236 (tan): Save and restore rounding mode and use round-to-nearest for
15238 * math/libm-test.inc (cos_test_tonearest): New function.
15239 (cos_test_towardzero): Likewise.
15240 (cos_test_downward): Likewise.
15241 (cos_test_upward): Likewise.
15242 (sin_test_tonearest): Likewise.
15243 (sin_test_towardzero): Likewise.
15244 (sin_test_downward): Likewise.
15245 (sin_test_upward): Likewise.
15246 (tan_test_tonearest): Likewise.
15247 (tan_test_towardzero): Likewise.
15248 (tan_test_downward): Likewise.
15249 (tan_test_upward): Likewise.
15250 (main): Call the new functions.
15251 * sysdeps/i386/fpu/libm-test-ulps: Update.
15252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15255 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15256 small n, then large n, before computing and testing k+n.
15257 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15262 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15263 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15266 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15267 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15270 * math/libm-test.inc (scalbn_test): Add more tests.
15271 (scalbln_test): Likewise.
15273 * manual/filesys.texi (mode_t): Describe constraints on size and
15274 signedness, not exact equivalence to a particular type.
15276 (ino64_t): Likewise.
15278 (nlink_t): Likewise.
15279 (blkcnt_t): Likewise.
15280 (blkcnt64_t): Likewise.
15281 * manual/llio.texi (off_t): Likewise.
15284 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15285 (__ieee754_exp): Save and restore rounding mode and use
15286 round-to-nearest for all computations.
15287 * math/libm-test.inc (exp_test_tonearest): New function.
15288 (exp_test_towardzero): Likewise.
15289 (exp_test_downward): Likewise.
15290 (exp_test_upward): Likewise.
15291 (main): Call the new functions.
15292 * sysdeps/i386/fpu/libm-test-ulps: Update.
15293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15295 2012-03-01 Chris Demetriou <cgd@google.com>
15297 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15298 have predictable order.
15300 2012-03-01 David S. Miller <davem@davemloft.net>
15302 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15304 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15305 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15306 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15307 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15309 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15310 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15311 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15313 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15314 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15315 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15316 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15317 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15321 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15322 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15325 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15326 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15327 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15328 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15329 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15330 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15332 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15333 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15334 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15335 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15337 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15338 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15340 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15341 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15342 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15343 * sysdeps/sparc/elf/configure: Regenerated.
15345 2012-03-01 Joseph Myers <joseph@codesourcery.com>
15347 * configure.in (AS, LD): Require binutils 2.20 or later.
15348 * configure: Regenerated.
15349 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15350 as required minimum version.
15351 * INSTALL: Regenerated.
15355 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15356 before squaring exponent.
15357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15358 bottom long double and 27 bits of top long double before squaring
15360 * math/libm-test.inc (erfc_test): Add more tests.
15361 * sysdeps/i386/fpu/libm-test-ulps: Update.
15362 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15365 2012-03-01 Kai Tietz <ktietz@redhat.com>
15367 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15368 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15369 containing bit-fields.
15370 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15371 * soft-fp/single.h (_FP_UNION_S): Likewise.
15372 * soft-fp/double.h (_FP_UNION_D): Likewise.
15374 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15377 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15378 not include ../strcmp.S.
15379 [USE_AS_STRNCASECMP_L]: Likewise.
15380 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15381 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15382 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15383 (__strncasecmp_l_ia32): Define as alias to
15384 __strncasecmp_l_nonascii.
15387 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15388 * sysdeps/i386/fpu/libm-test-ulps: Update.
15389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15394 2012-02-29 Jeff Law <law@redhat.com>
15396 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15397 out of bounds read.
15399 2012-02-29 Marek Polacek <polacek@redhat.com>
15402 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15403 * elf/Makefile: Add rules to run tst-unused-dep.out.
15405 2012-02-28 David S. Miller <davem@davemloft.net>
15407 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15408 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15411 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15412 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15414 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15416 * math/libm-test.inc (llround_test): Move one test from
15417 lround_test. Use TEST_f_L in moved test.
15418 (lround_test): Move misplaced test to llround_test. Add testcase
15421 2012-02-28 Ulrich Drepper <drepper@gmail.com>
15423 * sysdeps/x86_64/fpu/e_expf.S: New file.
15424 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15426 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15429 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15430 of remain_len that may cause incomplete multi-byte character and
15432 * posix/bug-regex33.c: New file.
15433 * posix/Makefile (tests): Add bug-regex33.
15435 2012-02-28 Joseph Myers <joseph@codesourcery.com>
15437 * manual/macros.texi: New file.
15438 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15439 * manual/libc.texinfo: Include macros.texi.
15440 * manual/creatute.texi: Likewise.
15441 * manual/install.texi: Likewise.
15442 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15443 @glibcadj{} in references to the GNU C Library.
15444 * manual/charset.texi: Likewise.
15445 * manual/conf.texi: Likewise.
15446 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15447 when not using those macros.
15448 * manual/creature.texi: Likewise.
15449 * manual/crypt.texi: Likewise.
15450 * manual/errno.texi: Likewise.
15451 * manual/filesys.texi: Likewise.
15452 * manual/header.texi: Likewise.
15453 * manual/install.texi: Likewise.
15454 * manual/intro.texi: Likewise.
15455 * manual/io.texi: Likewise.
15456 * manual/job.texi: Likewise.
15457 * manual/lang.texi: Likewise.
15458 * manual/libc.texiinfo: Likewise.
15459 * manual/llio.texi: Likewise.
15460 * manual/locale.texi: Likewise.
15461 * manual/maint.texi: Likewise.
15462 * manual/math.texi: Likewise.
15463 * manual/memory.texi: Likewise.
15464 * manual/message.texi: Likewise.
15465 * manual/nss.texi: Likewise.
15466 * manual/pattern.texi: Likewise.
15467 * manual/process.texi: Likewise.
15468 * manual/resource.texi: Likewise.
15469 * manual/search.texi: Likewise.
15470 * manual/setjmp.texi: Likewise.
15471 * manual/signal.texi: Likewise.
15472 * manual/socket.texi: Likewise.
15473 * manual/startup.texi: Likewise.
15474 * manual/stdio.texi: Likewise.
15475 * manual/string.texi: Likewise.
15476 * manual/sysinfo.texi: Likewise.
15477 * manual/syslog.texi: Likewise.
15478 * manual/terminal.texi: Likewise.
15479 * manual/time.texi: Likewise.
15480 * manual/users.texi: Likewise.
15481 * INSTALL: Regenerated.
15482 * NOTES: Regenerated.
15483 * sysdeps/gnu/errlist.c: Regenerated.
15485 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15487 * include/dirent.h: Include <dirstream.h> before
15490 2012-02-28 David S. Miller <davem@davemloft.net>
15492 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15493 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15494 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15495 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15497 2012-02-27 David S. Miller <davem@davemloft.net>
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15501 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15502 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15505 frame pointer instead of stack pointer relative arg slot.
15506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15510 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15513 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15515 2012-02-27 David S. Miller <davem@davemloft.net>
15517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15521 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15522 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15523 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15524 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15526 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15528 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15529 later. Allow versions 5-9.
15530 * configure: Regenerated.
15531 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15532 required minimum version and 4.6 as recommended version. Do not
15533 mention bugs in GCC 2.7 and 2.8.
15534 * INSTALL: Regenerated.
15536 2012-02-27 David S. Miller <davem@davemloft.net>
15538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15544 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15545 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15548 manipulate bits before adding and subtracting TWO112[sx].
15549 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15551 2012-02-27 Roland McGrath <roland@hack.frob.com>
15554 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15555 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15556 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15557 being in POSIX, because they are in 1003.1-2008.
15559 * rt/tst-aio.c: Include <fcntl.h>.
15560 * rt/tst-aio7.c: Likewise.
15561 * rt/tst-aio64.c: Likewise.
15563 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15565 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15567 * manual/install.texi (--with-headers): Describe headers as
15568 interface headers, not private headers.
15569 (Specific advice for GNU/Linux systems): Describe use of headers
15570 from "make headers_install", not private headers from older
15572 * INSTALL: Regenerated.
15573 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15575 * sysdeps/unix/sysv/linux/configure: Regenerated.
15577 * manual/llio.texi (fclean): Remove documentation.
15579 * manual/Makefile (libc-texi-generated): New variable. Include
15581 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15582 $(libc-texi-generated), not duplicated list of files.
15583 (version.texi, stamp-version): New rules.
15584 (realclean): Remove $(libc-texi-generated), not individual files
15585 from that list. Do not remove dir-add.texinfo.
15586 * manual/libc.texinfo: Comment out uses of edition numbers and
15587 references to printed manual. Remove last-updated dates.
15588 (EDITION): Comment out.
15590 (VERSION, UPDATED): Remove.
15591 (version.texi): Include.
15593 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15595 * sysdeps/posix/spawni.c: Include <signal.h>.
15596 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15597 * sysdeps/pthread/aio_fsync.c: Likewise.
15599 2012-02-26 Ulrich Drepper <drepper@gmail.com>
15601 * conform/Makefile (tests): Run only when not cross-compiling and
15602 when fast-check is not defined.
15604 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15605 * conform/data/limits.h-data: Fixes for POSIX2008.
15606 * conform/run-conformtest.sh: Run all tests.
15607 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15609 * include/bits/dlfcn.h: Likewise.
15610 * include/langinfo.h: Likewise.
15611 * include/monetary.h: Likewise.
15612 * include/sys/poll.h: Likewise.
15614 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15616 * posix/spawn.h: Define __need_sigset_t.
15617 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15618 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15619 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15620 to get sigevent_t only.
15621 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15622 only for __USE_GNU.
15623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15624 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15625 process_vm_writev only for __USE_GNU.
15626 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15628 * conform/Makefile: For now ignore errors from run-conformtest.
15629 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15630 POSIX to avoid namespace pollution. Don't prepend headers.
15631 * conform/data/aio.h-data: Fixes for POSIX testing.
15632 * conform/data/fcntl.h-data: Likewise.
15633 * conform/data/glob.h-data: Likewise.
15634 * conform/data/grp.h-data: Likewise.
15635 * conform/data/pthread.h-data: Likewise.
15636 * conform/data/pwd.h-data: Likewise.
15637 * conform/data/signal.h-data: Likewise.
15638 * conform/data/spawn.h-data: Likewise.
15639 * conform/data/stdio.h-data: Likewise.
15640 * conform/data/stdlib.h-data: Likewise.
15641 * conform/data/stropts.h-data: Likewise.
15642 * conform/data/sys/mman.h-data: Likewise.
15643 * conform/data/sys/stat.h-data: Likewise.
15644 * conform/data/sys/types.h-data: Likewise.
15645 * conform/data/sys/wait.h-data: Likewise.
15646 * conform/data/time.h-data: Likewise.
15647 * conform/data/unistd.h-data: Likewise.
15648 * conform/data/utime.h-data: Likewise.
15650 * io/sys/stat.h: fchmod was always in POSIX.
15651 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15652 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15653 * rt/aio.h: Define __need_timespec before including <time.h>.
15654 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15655 struct. Add forward declaration of pthread_attr_t and use it in
15657 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15658 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15659 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15660 always remove CLK_TCK definition.
15662 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15664 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15666 2012-02-25 Ulrich Drepper <drepper@gmail.com>
15668 * conform/run-conformtest.sh: New file.
15669 * conform/Makefile: Run run-conformtest for tests.
15670 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15673 * conform/data/uchar.h-data: New file.
15674 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15675 * conform/data/arpa/inet.h-data: Likewise.
15676 * conform/data/assert.h-data: Likewise.
15677 * conform/data/complex.h-data: Likewise.
15678 * conform/data/cpio.h-data: Likewise.
15679 * conform/data/ctype.h-data: Likewise.
15680 * conform/data/dirent.h-data: Likewise.
15681 * conform/data/dlfcn.h-data: Likewise.
15682 * conform/data/errno.h-data: Likewise.
15683 * conform/data/fcntl.h-data: Likewise.
15684 * conform/data/float.h-data: Likewise.
15685 * conform/data/fmtmsg.h-data: Likewise.
15686 * conform/data/fnmatch.h-data: Likewise.
15687 * conform/data/ftw.h-data: Likewise.
15688 * conform/data/glob.h-data: Likewise.
15689 * conform/data/grp.h-data: Likewise.
15690 * conform/data/iconv.h-data: Likewise.
15691 * conform/data/inttypes.h-data: Likewise.
15692 * conform/data/langinfo.h-data: Likewise.
15693 * conform/data/libgen.h-data: Likewise.
15694 * conform/data/limits.h-data: Likewise.
15695 * conform/data/locale.h-data: Likewise.
15696 * conform/data/math.h-data: Likewise.
15697 * conform/data/monetary.h-data: Likewise.
15698 * conform/data/mqueue.h-data: Likewise.
15699 * conform/data/ndbm.h-data: Likewise.
15700 * conform/data/net/if.h-data: Likewise.
15701 * conform/data/netdb.h-data: Likewise.
15702 * conform/data/netinet/in.h-data: Likewise.
15703 * conform/data/nl_types.h-data: Likewise.
15704 * conform/data/poll.h-data: Likewise.
15705 * conform/data/pthread.h-data: Likewise.
15706 * conform/data/pwd.h-data: Likewise.
15707 * conform/data/regex.h-data: Likewise.
15708 * conform/data/sched.h-data: Likewise.
15709 * conform/data/search.h-data: Likewise.
15710 * conform/data/semaphore.h-data: Likewise.
15711 * conform/data/setjmp.h-data: Likewise.
15712 * conform/data/signal.h-data: Likewise.
15713 * conform/data/spawn.h-data: Likewise.
15714 * conform/data/stdarg.h-data: Likewise.
15715 * conform/data/stdio.h-data: Likewise.
15716 * conform/data/stdlib.h-data: Likewise.
15717 * conform/data/string.h-data: Likewise.
15718 * conform/data/strings.h-data: Likewise.
15719 * conform/data/stropts.h-data: Likewise.
15720 * conform/data/sys/ipc.h-data: Likewise.
15721 * conform/data/sys/mman.h-data: Likewise.
15722 * conform/data/sys/msg.h-data: Likewise.
15723 * conform/data/sys/resource.h-data: Likewise.
15724 * conform/data/sys/select.h-data: Likewise.
15725 * conform/data/sys/sem.h-data: Likewise.
15726 * conform/data/sys/shm.h-data: Likewise.
15727 * conform/data/sys/socket.h-data: Likewise.
15728 * conform/data/sys/stat.h-data: Likewise.
15729 * conform/data/sys/statvfs.h-data: Likewise.
15730 * conform/data/sys/time.h-data: Likewise.
15731 * conform/data/sys/timeb.h-data: Likewise.
15732 * conform/data/sys/times.h-data: Likewise.
15733 * conform/data/sys/types.h-data: Likewise.
15734 * conform/data/sys/uio.h-data: Likewise.
15735 * conform/data/sys/un.h-data: Likewise.
15736 * conform/data/sys/utsname.h-data: Likewise.
15737 * conform/data/sys/wait.h-data: Likewise.
15738 * conform/data/syslog.h-data: Likewise.
15739 * conform/data/tar.h-data: Likewise.
15740 * conform/data/termios.h-data: Likewise.
15741 * conform/data/utime.h-data: Likewise.
15742 * conform/data/utmpx.h-data: Likewise.
15743 * conform/data/varargs.h-data: Likewise.
15744 * conform/data/wchar.h-data: Likewise.
15745 * conform/data/wctype.h-data: Likewise.
15746 * conform/data/wordexp.h-data: Likewise.
15748 * include/stropts.h: New file.
15749 * include/uchar.h: New file.
15750 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15751 * include/assert.h: Likewise.
15752 * include/ctype.h: Likewise.
15753 * include/dirent.h: Likewise.
15754 * include/dlfcn.h: Likewise.
15755 * include/fcntl.h: Likewise.
15756 * include/fnmatch.h: Likewise.
15757 * include/glob.h: Likewise.
15758 * include/grp.h: Likewise.
15759 * include/libio.h: Likewise.
15760 * include/locale.h: Likewise.
15761 * include/math.h: Likewise.
15762 * include/net/if.h: Likewise.
15763 * include/netdb.h: Likewise.
15764 * include/netinet/in.h: Likewise.
15765 * include/pthread.h: Likewise.
15766 * include/pwd.h: Likewise.
15767 * include/regex.h: Likewise.
15768 * include/sched.h: Likewise.
15769 * include/search.h: Likewise.
15770 * include/setjmp.h: Likewise.
15771 * include/signal.h: Likewise.
15772 * include/stdio.h: Likewise.
15773 * include/stdlib.h: Likewise.
15774 * include/string.h: Likewise.
15775 * include/sys/cdefs.h: Likewise.
15776 * include/sys/mman.h: Likewise.
15777 * include/sys/msg.h: Likewise.
15778 * include/sys/resource.h: Likewise.
15779 * include/sys/select.h: Likewise.
15780 * include/sys/socket.h: Likewise.
15781 * include/sys/stat.h: Likewise.
15782 * include/sys/statvfs.h: Likewise.
15783 * include/sys/time.h: Likewise.
15784 * include/sys/times.h: Likewise.
15785 * include/sys/uio.h: Likewise.
15786 * include/sys/utsname.h: Likewise.
15787 * include/sys/wait.h: Likewise.
15788 * include/termios.h: Likewise.
15789 * include/time.h: Likewise.
15790 * include/ulimit.h: Likewise.
15791 * include/unistd.h: Likewise.
15792 * include/utime.h: Likewise.
15793 * include/wchar.h: Likewise.
15794 * include/wctype.h: Likewise.
15795 * include/wordexp.h: Likewise.
15797 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15799 * time/time.h: TIME_UTC must be a macro.
15800 Make timespec_get available for ISO C11 only as well.
15802 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15804 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15805 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15807 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15809 * configure.in: Use -o not -a in test for unsupported multi-arch.
15811 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15813 * manual/texinfo.tex: Update to version 2012-01-19.16.
15815 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15817 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15819 2012-02-24 Roland McGrath <roland@hack.frob.com>
15822 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15823 * manual/fdl-1.3.texi: New file.
15824 * manual/fdl-1.1.texi: File removed.
15827 * manual/libc.texinfo (FDL_VERSION): New @set.
15828 Use it for mention of FDL in cover text.
15829 (Documentation License): Use it in @include file name.
15831 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15832 Roland McGrath <roland@hack.frob.com>
15835 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15836 not LONG_LONG_MAX and LONG_LONG_MIN.
15837 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15838 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15840 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15842 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15846 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15847 manipulate bits before adding and subtracting TWO23[sx].
15848 * math/libm-test.inc (nearbyint_test): Add more tests.
15850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15853 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15854 bits before adding and subtracting TWO23[sx].
15855 * math/libm-test.inc (rint_test): Add more tests.
15856 (rint_test_tonearest): Likewise.
15857 (rint_test_towardzero): Likewise.
15858 (rint_test_downward): Likewise.
15859 (rint_test_upward: Likewise.
15861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15864 * include/stdc-predef.h: New file. Extracted from features.h.
15865 * include/features.h: Include stdc-predef.h.
15866 * Makefile (headers): Add stdc-predef.h.
15867 * CONFORMANCE (Compiler limitations): Update.
15869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15871 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15873 2012-02-21 David S. Miller <davem@davemloft.net>
15875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15876 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15878 2012-02-20 David S. Miller <davem@davemloft.net>
15880 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15881 using a normal save/restore sequence, rather than allocating a
15882 dummy stack frame just to store a frame pointer and restore.
15883 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15885 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15887 * manual/install.texi: Fix stray word in line-wrapped comment.
15889 2012-02-20 David S. Miller <davem@davemloft.net>
15891 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15892 both binutils and gcc support GOTDATA.
15894 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15895 "rd %pc" in the PIC register setup sequences.
15897 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15898 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15899 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15900 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15901 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15903 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15906 (SYSCALL_ERROR_HANDLER): Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15908 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15910 (SYSCALL_ERROR_HANDLER): Likewise.
15912 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15913 (HAVE_GCC_GOTDATA): New.
15914 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15915 relocation support in both binutils and gcc.
15916 * sysdeps/sparc/elf/configure: Regenerate.
15918 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15919 * sysdeps/sparc/sparc32/elf/configure: Delete.
15920 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15921 * sysdeps/sparc/sparc64/elf/configure: Delete.
15922 * sysdeps/sparc/elf/configure.in: New file.
15923 * sysdeps/sparc/elf/configure: Generate.
15925 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15926 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15927 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15928 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15929 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15931 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15933 * manual/install.texi: Do not mention specific glibc version
15935 * manual/libc.texinfo (VERSION, UPDATED): Update.
15936 (@copying): Use @copyright{} and range of years.
15938 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15941 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15942 [crti.S not in sysdirs] (generated): Do not append.
15943 [crti.S not in sysdirs] (omit-deps): Likewise.
15944 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15945 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15946 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15947 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15948 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15950 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15951 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15952 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15953 * csu/defs.awk: Remove file.
15954 * sysdeps/generic/initfini.c: Likewise.
15955 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15957 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15960 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15962 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15963 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15964 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15967 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15969 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15970 (__EPOLL_PACKED): Define to empty if not defined by
15972 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15976 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15978 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15979 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15980 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15981 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15983 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15987 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15989 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15992 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15996 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15998 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15999 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16001 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16003 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16004 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16006 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16008 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16011 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16013 * math/w_acos.c: Use non-signaling floating-point comparisons.
16014 * math/w_acosf.c: Likewise.
16015 * math/w_acosh.c: Likewise.
16016 * math/w_acoshf.c: Likewise.
16017 * math/w_acoshl.c: Likewise.
16018 * math/w_acosl.c: Likewise.
16019 * math/w_asin.c: Likewise.
16020 * math/w_asinf.c: Likewise.
16021 * math/w_asinl.c: Likewise.
16022 * math/w_atanh.c: Likewise.
16023 * math/w_atanhf.c: Likewise.
16024 * math/w_atanhl.c: Likewise.
16025 * math/w_exp2.c: Likewise.
16026 * math/w_exp2f.c: Likewise.
16027 * math/w_exp2l.c: Likewise.
16028 * math/w_j0.c: Likewise.
16029 * math/w_j0f.c: Likewise.
16030 * math/w_j0l.c: Likewise.
16031 * math/w_j1.c: Likewise.
16032 * math/w_j1f.c: Likewise.
16033 * math/w_j1l.c: Likewise.
16034 * math/w_jn.c: Likewise.
16035 * math/w_jnf.c: Likewise.
16036 * math/w_log.c: Likewise.
16037 * math/w_log10.c: Likewise.
16038 * math/w_log10f.c: Likewise.
16039 * math/w_log10l.c: Likewise.
16040 * math/w_log2.c: Likewise.
16041 * math/w_log2f.c: Likewise.
16042 * math/w_log2l.c: Likewise.
16043 * math/w_logf.c: Likewise.
16044 * math/w_logl.c: Likewise.
16045 * math/w_sqrt.c: Likewise.
16046 * math/w_sqrtf.c: Likewise.
16047 * math/w_sqrtl.c: Likewise.
16048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16051 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16052 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16054 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16057 * manual/string.texi (strnlen): Use correct parameter name in
16058 equivalent expression.
16060 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16063 * manual/users.texi (seteuid): Consistently use neweuid for
16066 2012-02-19 Joseph Myers <joseph@codesourcery.com>
16069 * manual/nss.texi (Services in the NSS configuration): Correct
16070 list of services in example configuration file.
16072 2012-02-19 Nick Bowler <nbowler@draconx.ca>
16075 * manual/arith.texi: Remove statements about negative zero
16076 behaving identically to zero.
16078 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16081 * manual/install.texi: Do not document upgrading from libc5.
16083 2012-02-18 Joseph Myers <joseph@codesourcery.com>
16086 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16088 2012-02-18 David S. Miller <davem@davemloft.net>
16090 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16091 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16092 %o7 across the call.
16093 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16096 SETUP_PIC_REG_LEAF.
16097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16098 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16099 * sysdeps/sparc/crtn.S: Likewise.
16101 2012-02-17 Ulrich Drepper <drepper@gmail.com>
16103 * aout/Makefile: Remove.
16105 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16108 * manual/examples/argp-ex1.c (main): Format definition in GNU
16110 * manual/examples/argp-ex2.c (main): Likewise.
16111 * manual/examples/argp-ex3.c (main): Likewise.
16112 * manual/examples/argp-ex4.c (main): Likewise.
16113 * manual/examples/longopt.c (main): Use new-style prototype
16115 * manual/examples/strncat.c (main): Specify return type and use
16116 (void) for arguments.
16117 * manual/examples/subopt.c (main): Use char **argv argument.
16119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16122 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16125 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16128 * manual/string.texi (strchr): Change when strchrnul is
16131 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16134 * manual/locale.texi (setlocale): Document LOCPATH.
16136 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16139 * manual/process.texi (execle): Move @dots{} before last argument.
16141 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
16144 * manual/charset.texi (Generic Charset Conversion): Fix typo
16145 (LC_TYPE -> LC_CTYPE).
16147 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16150 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16151 (scalbnf): Likewise.
16152 (scalbnl): Likewise.
16153 (scalbln): Likewise.
16154 (scalblnf): Likewise.
16155 (scalblnl): Likewise.
16156 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16157 (vwarnx): Likewise.
16160 * manual/filesys.texi (telldir): Use braces around return type.
16161 * manual/llio.texi (mmap): Add space after comma.
16162 (mmap64): Likewise.
16163 * manual/math.texi (jn): Use @var{} on parameter names.
16169 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16171 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16173 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16174 (sched_get_priority_max): Likewise.
16175 * manual/signal.texi (sigvec): Add space after comma.
16176 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16178 (if_indextoname): Likewise.
16179 (if_freenameindex): Likewise.
16180 (sendto): Use ',' instead of '.' in prototype.
16181 * manual/startup.texi (syscall): Use @dots{} instead of literal
16183 * manual/stdio.texi (__fpending): Separate initial words of
16184 paragraph from @deftypefun line.
16185 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16187 (vsyslog): Use @var{} on parameter names.
16188 * manual/terminal.texi (stty): Use @var{} on parameter names.
16189 * manual/users.texi (getutmp): Use @var{} on parameter names.
16190 (getutmpx): Likewise.
16192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16195 * manual/stdio.texi (fopen): Fix typos in description of
16198 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16201 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16202 get clock_id definition.
16204 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
16207 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16208 (madvise): Cast every argument to void on its own.
16210 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16213 * manual/startup.texi (Exit Status): Fix typo.
16215 2012-02-17 Joseph Myers <joseph@codesourcery.com>
16218 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16219 * manual/examples/argp-ex2.c: Likewise.
16220 * manual/examples/argp-ex3.c: Likewise.
16222 2012-02-16 Richard Henderson <rth@redhat.com>
16224 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16225 * sysdeps/s390/s390-32/initfini.c: Remove.
16226 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16227 * sysdeps/s390/s390-64/initfini.c: Remove.
16229 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16231 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16232 compiler output for sysdeps/generic/initfini.c.
16233 * sysdeps/sh/elf/initfini.c: Remove file.
16235 2012-02-16 David S. Miller <davem@davemloft.net>
16238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16240 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16241 * sysdeps/sparc/crti.S: New file.
16242 * sysdeps/sparc/crtn.S: New file.
16243 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16244 * sysdeps/sparc/sparc64/Makefile: Likewise.
16246 2012-02-15 Mike Frysinger <vapier@gentoo.org>
16249 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16251 2012-02-15 Roland McGrath <roland@hack.frob.com>
16254 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16256 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16257 (write, read, close): Likewise.
16258 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16260 2012-02-15 Joseph Myers <joseph@codesourcery.com>
16262 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16263 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16264 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16265 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16267 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16271 2012-02-14 Marek Polacek <polacek@redhat.com>
16273 * sysdeps/x86_64/crti.S: New file.
16274 * sysdeps/x86_64/crtn.S: New file.
16275 * sysdeps/x86_64/elf/initfini.c: Remove file.
16277 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16279 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16280 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16281 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16282 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16284 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16288 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16290 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16291 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16292 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16293 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16295 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16299 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16301 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16302 __feraiseexcept instead of feraiseexcept.
16304 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16305 nanosleep invocations.
16306 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16307 strings, and add error checking for a nanosleep invocations.
16309 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16311 Replace FSF snail mail address with URLs, as per GNU coding standards.
16312 Most of the snail mail addresses were wrong anyway, and omitting
16313 them makes the source code easier to maintain. Almost all of the
16314 changes are to license notices and to locale LC_IDENTIFICATION
16315 addresses, except for this one:
16316 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16317 not its snail mail address.
16319 2012-02-09 Richard Henderson <rth@twiddle.net>
16321 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16322 of kernel-features.h.
16324 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16326 2012-02-08 Marek Polacek <polacek@redhat.com>
16328 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16329 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16330 * sysdeps/gnu/_G_config.h: Likewise.
16331 * sysdeps/generic/_G_config.h: Likewise.
16333 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16335 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16339 * sysdeps/powerpc/powerpc32/crti.S: New file.
16340 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16341 * sysdeps/powerpc/powerpc64/crti.S: New file.
16342 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16344 * Makeconfig (have-initfini): Don't set.
16345 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16346 * configure.in (nopic_initfini): Don't substitute.
16347 * config.h.in (HAVE_INITFINI): Don't #undef.
16348 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16349 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16351 2012-02-08 Joseph Myers <joseph@codesourcery.com>
16353 Support crti.S and crtn.S provided directly by architectures.
16354 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16355 [crti.S in sysdirs] (omit-deps): Likewise.
16356 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16357 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16358 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16359 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16360 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16361 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16362 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16363 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16364 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16365 compiler output for sysdeps/generic/initfini.c.
16366 * sysdeps/i386/elf/Makefile: Remove file.
16367 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16369 2012-02-07 Marek Polacek <polacek@redhat.com>
16371 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16372 * sysdeps/gnu/_G_config.h: Likewise.
16373 * sysdeps/mach/hurd/_G_config.h: Likewise.
16375 2012-02-07 Marek Polacek <polacek@redhat.com>
16377 * math/Makefile (tests): Add tst-CMPLX2.
16378 * math/tst-CMPLX2.c: New file.
16380 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16382 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16384 * math/libm-test.inc (jn_test): Add missing L suffix.
16386 2012-02-06 Marek Polacek <polacek@redhat.com>
16388 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16389 * sysdeps/i386/fpu/e_powf.S: Likewise.
16390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16391 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16392 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16393 * sysdeps/i386/fpu/e_pow.S: Likewise.
16394 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16395 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16396 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16397 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16398 * sysdeps/i386/fpu/e_log2.S: Likewise.
16399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16400 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16401 * sysdeps/i386/fpu/e_powl.S: Likewise.
16402 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16403 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16404 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16405 * sysdeps/i386/fpu/e_logl.S: Likewise.
16406 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16407 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16408 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16409 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16410 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16411 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16412 * sysdeps/i386/fpu/e_log.S: Likewise.
16413 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16415 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16416 * sysdeps/i386/fpu/e_logf.S: Likewise.
16417 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16418 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16419 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16420 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16421 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16422 * sysdeps/i386/fpu/e_log10.S: Likewise.
16423 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16424 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16425 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16426 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16428 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16429 * sysdeps/i386/asm-syntax.h: Likewise.
16430 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16433 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16434 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16435 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16436 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16437 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16438 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16439 * sysdeps/powerpc/sysdep.h: Likewise.
16440 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16441 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16443 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16446 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16448 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16450 * sysdeps/i386/sysdep.h: Include <features.h>.
16451 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16454 2012-02-05 Joseph Myers <joseph@codesourcery.com>
16456 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16458 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16461 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16463 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16464 (SETUP_PIC_REG): Use GET_PC_THUNK.
16465 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16468 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16470 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16471 for non-PIC compilation.
16472 (SETUP_PIC_REG): Add .p2align directive.
16473 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16474 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16475 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16476 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16477 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16478 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16479 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16480 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16487 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16490 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16491 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16492 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16494 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16495 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16496 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16497 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16501 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16502 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16503 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16504 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16505 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16506 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16507 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16508 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16509 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16510 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16511 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16512 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16513 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16515 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16517 * math/tst-CMPLX.c: Include <stdio.h>.
16519 2012-01-31 Joseph Myers <joseph@codesourcery.com>
16521 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16523 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16524 * sysdeps/sparc/bits/mathdef.h: Likewise.
16526 2012-01-31 Marek Polacek <polacek@redhat.com>
16528 * libio/libio.h: Don't define _PARAMS.
16529 * locale/programs/config.h: Don't define PARAMS.
16530 * stdlib/strtol_l.c: Likewise.
16531 (__strtol_l): Remove PARAMS from the prototype.
16533 2012-01-31 Ulrich Drepper <drepper@gmail.com>
16535 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16536 names. Just use the correct names. Remove unnecessary wrapper
16538 * malloc/arena.c: Likewise.
16539 * malloc/hooks.c: Likewise.
16541 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16542 ARENA_TEST says not to. Simplify test for creation of a new arena.
16543 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16545 2012-01-30 Ulrich Drepper <drepper@gmail.com>
16547 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16549 (update_get_addr): New function.
16550 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16551 GET_ADDR_MODULE parameter.
16553 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16555 * crypt/cert.c: Remove __STDC__ conditionals.
16556 * crypt/crypt-entry.c: Likewise.
16557 * crypt/crypt_util.c: Likewise.
16558 * libio/filedoalloc.c: Likewise.
16559 * libio/fileops.c: Likewise.
16560 * libio/genops.c: Likewise.
16561 * libio/iofclose.c: Likewise.
16562 * libio/iofdopen.c: Likewise.
16563 * libio/iofopen.c: Likewise.
16564 * libio/iofopen64.c: Likewise.
16565 * libio/iogetdelim.c: Likewise.
16566 * libio/iopopen.c: Likewise.
16567 * libio/obprintf.c: Likewise.
16568 * libio/oldfileops.c: Likewise.
16569 * libio/oldiofclose.c: Likewise.
16570 * libio/oldiofdopen.c: Likewise.
16571 * libio/oldiofopen.c: Likewise.
16572 * libio/oldiopopen.c: Likewise.
16573 * libio/wfiledoalloc.c: Likewise.
16574 * libio/wgenops.c: Likewise.
16575 * locale/programs/xmalloc.c: Likewise.
16576 * misc/syslog.c: Likewise.
16577 * stdio-common/xbug.c: Likewise.
16578 * string/memchr.c: Likewise.
16579 * string/memcmp.c: Likewise.
16580 * string/memrchr.c: Likewise.
16581 * string/rawmemchr.c: Likewise.
16582 * sysdeps/posix/getcwd.c: Likewise.
16583 * time/strftime_l.c: Likewise.
16585 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16587 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16588 * config.make.in (config-cflags-sse2avx): Define.
16589 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16592 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16594 * scripts/config.guess: Update from upstream config git repository.
16595 * scripts/config.sub: Likewise.
16597 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16599 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16601 (R_TILEPRO_*, R_TILEGX_*): New macros.
16603 * scripts/firstversions.awk: Fix bug in version range handling.
16605 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16607 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16609 * include/sys/epoll.h: New file.
16610 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16613 2012-01-28 Ulrich Drepper <drepper@gmail.com>
16615 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16616 Avoid unnecessary __WORDSIZE == 64 test.
16617 (fmaxf): Use VEX format if possible.
16622 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16623 * math/math_private.h: Remove libc_fegetround* and
16625 * sysdeps/i386/configure.in: Check for -msse2avx.
16626 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16627 also if SSE2AVX is defined.
16628 Remove libc_fegetround* and libc_fesetround*.
16629 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16630 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16631 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16633 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16634 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16636 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16637 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16639 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16641 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16643 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16645 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16647 2012-01-27 Ulrich Drepper <drepper@gmail.com>
16650 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16652 * Makeconfig (libm): Define.
16653 * elf/Makefile: Add rules to build and run tst-relsort1.
16654 * elf/tst-relsort1.c: New file.
16655 * elf/tst-relsort1mod1.c: New file.
16656 * elf/tst-relsort1mod2.c: New file.
16658 2012-01-27 Joseph Myers <joseph@codesourcery.com>
16660 * math/s_ldexp.c: Remove __STDC__ conditionals.
16661 * math/s_ldexpf.c: Likewise.
16662 * math/s_ldexpl.c: Likewise.
16663 * math/s_nextafter.c: Likewise.
16664 * math/s_nexttowardf.c: Likewise.
16665 * math/s_significand.c: Likewise.
16666 * math/s_significandf.c: Likewise.
16667 * math/s_significandl.c: Likewise.
16668 * math/w_jnl.c: Likewise.
16669 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16670 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16671 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16672 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16673 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16675 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16676 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16678 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16679 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16681 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16683 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16684 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16685 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16686 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16688 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16689 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16690 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16691 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16692 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16693 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16694 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16695 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16699 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16700 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16701 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16702 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16703 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16704 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16705 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16706 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16707 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16708 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16709 * sysdeps/ieee754/k_standard.c: Likewise.
16710 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16711 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16712 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16713 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16714 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16715 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16716 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16717 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16718 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16721 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16722 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16723 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16724 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16733 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16734 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16735 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16739 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16744 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16747 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16748 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16749 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16750 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16752 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16753 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16755 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16768 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16769 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16777 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16779 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16780 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16781 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16782 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16783 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16786 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16787 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16789 * sysdeps/ieee754/s_matherr.c: Likewise.
16790 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16791 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16792 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16795 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16797 * crypt/md5.h: Remove __STDC__ conditionals.
16798 * libio/libioP.h: Likewise.
16799 * locale/programs/config.h: Likewise.
16800 * sysdeps/generic/sysdep.h: Likewise.
16801 * sysdeps/i386/asm-syntax.h: Likewise.
16802 * sysdeps/s390/asm-syntax.h: Likewise.
16803 * sysdeps/unix/sysdep.h: Likewise.
16804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16807 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16809 * libio/libio.h: Remove __STDC__ conditionals.
16810 * malloc/obstack.h: Likewise.
16811 * math/complex.h: Likewise.
16812 * math/math.h: Likewise.
16813 * sysdeps/generic/_G_config.h: Likewise.
16814 * sysdeps/gnu/_G_config.h: Likewise.
16815 * sysdeps/mach/hurd/_G_config.h: Likewise.
16816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16817 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16818 * sysdeps/sparc/bits/mathdef.h: Likewise.
16820 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16823 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16824 Clean up HAS_* macros.
16825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16826 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16828 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16830 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16831 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16832 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16833 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16834 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16836 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16838 * elf/tst-unique3.cc (gets): Remove declaration.
16839 * elf/tst-unique3lib.cc (gets): Likewise.
16840 * elf/tst-unique3lib2.cc (gets): Likewise.
16841 * elf/tst-unique4.cc (gets): Likewise.
16843 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16845 * include/stdio.h: Add C++ protection. Add gets declarations and
16847 * debug/tst-chk1.c: Don't declare gets here.
16848 * stdio-common/tst-gets.c: Likewise.
16850 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16852 * posix/glob: Remove directory.
16854 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16856 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16858 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16860 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16861 of the non-standard EPFNOSUPPORT.
16863 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16865 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16866 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16867 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16869 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16871 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16873 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16875 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16877 * nscd/grpcache.c (cache_addgr): Likewise.
16878 * nscd/hstcache.c (cache_addhst): Likewise.
16879 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16880 * nscd/pwdcache.c (cache_addpw): Likewise.
16881 * nscd/servicescache.c (cache_addserv): Likewise.
16883 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16885 * malloc/malloc.c: Various cleanups.
16886 * malloc/hooks.c: Likewise.
16888 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16889 * stdlib/bug-fmtmsg1.c: New file.
16891 * stdlib/fmtmsg.c (init): Add missing unlock.
16892 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16894 2012-01-12 Marek Polacek <polacek@redhat.com>
16896 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16899 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16901 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16902 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16903 macro to ensure uniqueness of label name.
16904 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16905 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16907 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16909 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16911 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16912 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16913 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16916 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16918 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16920 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16921 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16922 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16924 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16926 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16927 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16931 * math/bits/math-finite.h: Add ldexp support.
16933 2012-01-10 Marek Polacek <polacek@redhat.com>
16935 * locale/programs/localedef.h (show_archive_content): Add noreturn
16938 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16940 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16942 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16944 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16946 * io/Makefile (headers): Add bits/poll2.h.
16948 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16951 typo #include statement.
16953 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16955 * include/sys/cdefs.h: Define __attribute_alloc_size.
16956 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16957 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16958 * elf/pldd.c: Likewise.
16959 * iconv/iconv_charmap.c: Likewise.
16960 * iconv/iconvconfig.c: Likewise.
16961 * iconv/strtab.c: Likewise.
16962 * locale/programs/locale.c: Likewise.
16963 * locale/programs/localedef.h: Likewise.
16964 * locale/programs/simple-hash.c: Likewise.
16965 * nscd/nscd.h: Likewise.
16966 * nss/makedb.c: Likewise.
16967 * sysdeps/generic/ldconfig.h: Likewise.
16968 * locale/programs/localedef.c: Remove xmalloc prototype.
16969 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16971 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16973 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16976 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16978 * math/Makefile (tests): Add tst-CMPLX.
16979 * math/tst-CMPLX.c: New file.
16981 * math/complex.h (CMPLXL): Fix typo.
16983 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16984 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16986 * debug/tst-chk1.c: Add poll and ppoll tests.
16987 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16988 * include/sys/poll.h: Add hidden proto for ppoll.
16989 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16990 * sysdeps/mach/hurd/ppoll.c: Likewise.
16991 * io/ppoll.c: Likewise.
16992 * debug/poll_chk.c: New file.
16993 * debug/ppoll_chk.c: New file.
16994 * include/bits/poll2.h: New file.
16995 * io/bits/poll2.h: New file.
16998 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17000 * configure.in: static is always set to yes. Remove.
17001 * config.make.in: Don't set build-static.
17002 * Makeconfig: Remove use of build-static.
17003 * dlfcn/Makefile: Likewise.
17004 * elf/Makefile: Likewise.
17005 * math/Makefile: Likewise.
17006 * misc/Makefile: Likewise.
17007 * nptl/Makefile: Likewise.
17008 * sysdeps/mach/hurd/Makefile: Likewise.
17010 * configure.in: PWD_P is not used anymore.
17011 * config.make.in: Remove PWD_P entry.
17013 * configure.in: Remove last remnants of RANLIB.
17014 No need to check for signed size_t anymore.
17015 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17017 Remove __builtin_expect test because we require at least gcc 3.4.
17018 * aclocal.m4: Likewise.
17020 * wcsmbs/mbrtoc16.c: Implement using towc function.
17021 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17022 * wcsmbs/wcsmbsload.c: Likewise.
17023 * iconv/gconv_simple.c: Likewise.
17024 * iconv/gconv_int.h: Likewise.
17025 * iconv/gconv_builtin.h: Likewise.
17026 * iconv/iconv_prog.c: Remove CHAR16 handling.
17028 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17030 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17032 * configure.in: Remove --with-elf and --enable-bounded options.
17033 Dont set base_machine for ia64. More non-ELF conditions removed.
17034 Remove testing and setting of leading underscore information.
17035 * config.make.in (build-bounded): Set to no.
17036 * config.h.in: Remove NO_UNDERSCORES entry.
17037 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17039 * csu/start.c: Remove !NO_UNDERSCORE code.
17040 * locale/localeinfo.h: Likewise.
17041 * sysdeps/generic/machine-gmon.h: Likewise.
17042 * sysdeps/generic/sysdep.h: Likewise.
17043 * sysdeps/i386/sysdep.h: Likewise.
17044 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17045 * sysdeps/mach/sysdep.h: Likewise.
17046 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17047 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17048 * sysdeps/sh/sysdep.h: Likewise.
17049 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17050 * sysdeps/unix/i386/sysdep.S: Likewise.
17051 * sysdeps/unix/sparc/start.c: Likewise.
17052 * sysdeps/unix/sparc/sysdep.S: Likewise.
17053 * sysdeps/unix/sparc/sysdep.h: Likewise.
17054 * sysdeps/unix/start.c: Likewise.
17055 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17056 * sysdeps/x86_64/sysdep.h: Likewise.
17058 2012-01-07 Ulrich Drepper <drepper@gmail.com>
17061 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17063 * argp/argp-fmtstream.h: Use const instead __const.
17064 * argp/argp.h: Likewise.
17065 * assert/assert.h: Likewise.
17066 * bits/fenv.h: Likewise.
17067 * bits/sched.h: Likewise.
17068 * bits/sigset.h: Likewise.
17069 * bits/sigthread.h: Likewise.
17070 * catgets/nl_types.h: Likewise.
17071 * conform/data/pthread.h-data: Likewise.
17072 * crypt/crypt-private.h: Likewise.
17073 * crypt/crypt.h: Likewise.
17074 * crypt/crypt_util.c: Likewise.
17075 * ctype/ctype.h: Likewise.
17076 * debug/execinfo.h: Likewise.
17077 * debug/mbsnrtowcs_chk.c: Likewise.
17078 * debug/mbsrtowcs_chk.c: Likewise.
17079 * debug/wcsnrtombs_chk.c: Likewise.
17080 * debug/wcsrtombs_chk.c: Likewise.
17081 * debug/wcstombs_chk.c: Likewise.
17082 * dirent/dirent.h: Likewise.
17083 * dlfcn/dlfcn.h: Likewise.
17084 * elf/neededtest4.c: Likewise.
17085 * grp/grp.h: Likewise.
17086 * gshadow/gshadow.h: Likewise.
17087 * iconv/gconv.h: Likewise.
17088 * iconv/gconv_int.h: Likewise.
17089 * iconv/gconv_simple.c: Likewise.
17090 * iconv/iconv.h: Likewise.
17091 * iconv/loop.c: Likewise.
17092 * iconv/skeleton.c: Likewise.
17093 * include/aio.h: Likewise.
17094 * include/aliases.h: Likewise.
17095 * include/argz.h: Likewise.
17096 * include/arpa/inet.h: Likewise.
17097 * include/assert.h: Likewise.
17098 * include/dirent.h: Likewise.
17099 * include/dlfcn.h: Likewise.
17100 * include/execinfo.h: Likewise.
17101 * include/fcntl.h: Likewise.
17102 * include/fenv.h: Likewise.
17103 * include/glob.h: Likewise.
17104 * include/grp.h: Likewise.
17105 * include/libintl.h: Likewise.
17106 * include/mntent.h: Likewise.
17107 * include/netdb.h: Likewise.
17108 * include/pwd.h: Likewise.
17109 * include/rpc/netdb.h: Likewise.
17110 * include/sched.h: Likewise.
17111 * include/search.h: Likewise.
17112 * include/shadow.h: Likewise.
17113 * include/signal.h: Likewise.
17114 * include/stdio.h: Likewise.
17115 * include/stdlib.h: Likewise.
17116 * include/string.h: Likewise.
17117 * include/sys/socket.h: Likewise.
17118 * include/sys/stat.h: Likewise.
17119 * include/sys/statfs.h: Likewise.
17120 * include/sys/statvfs.h: Likewise.
17121 * include/sys/syslog.h: Likewise.
17122 * include/sys/time.h: Likewise.
17123 * include/sys/uio.h: Likewise.
17124 * include/time.h: Likewise.
17125 * include/unistd.h: Likewise.
17126 * include/utmp.h: Likewise.
17127 * include/wchar.h: Likewise.
17128 * include/wctype.h: Likewise.
17129 * inet/aliases.h: Likewise.
17130 * inet/arpa/inet.h: Likewise.
17131 * inet/netinet/ether.h: Likewise.
17132 * inet/netinet/in.h: Likewise.
17133 * intl/libintl.h: Likewise.
17134 * io/bits/fcntl2.h: Likewise.
17135 * io/fcntl.h: Likewise.
17136 * io/ftw.h: Likewise.
17137 * io/sys/poll.h: Likewise.
17138 * io/sys/stat.h: Likewise.
17139 * io/sys/statfs.h: Likewise.
17140 * io/sys/statvfs.h: Likewise.
17141 * io/utime.h: Likewise.
17142 * libio/bits/stdio.h: Likewise.
17143 * libio/bits/stdio2.h: Likewise.
17144 * libio/libio.h: Likewise.
17145 * libio/libioP.h: Likewise.
17146 * libio/stdio.h: Likewise.
17147 * locale/lc-ctype.c: Likewise.
17148 * locale/locale.h: Likewise.
17149 * login/utmp.h: Likewise.
17150 * malloc/arena.c: Likewise.
17151 * malloc/malloc.c: Likewise.
17152 * malloc/malloc.h: Likewise.
17153 * malloc/mcheck.c: Likewise.
17154 * malloc/mtrace.c: Likewise.
17155 * math/bits/mathcalls.h: Likewise.
17156 * math/fenv.h: Likewise.
17157 * math/math_private.h: Likewise.
17158 * misc/bits/error.h: Likewise.
17159 * misc/bits/syslog.h: Likewise.
17160 * misc/err.h: Likewise.
17161 * misc/error.h: Likewise.
17162 * misc/fstab.h: Likewise.
17163 * misc/mntent.h: Likewise.
17164 * misc/regexp.h: Likewise.
17165 * misc/search.h: Likewise.
17166 * misc/sgtty.h: Likewise.
17167 * misc/sys/mman.h: Likewise.
17168 * misc/sys/syslog.h: Likewise.
17169 * misc/sys/uio.h: Likewise.
17170 * misc/sys/xattr.h: Likewise.
17171 * misc/ttyent.h: Likewise.
17172 * nis/rpcsvc/ypclnt.h: Likewise.
17173 * nss/nss.h: Likewise.
17174 * posix/bits/unistd.h: Likewise.
17175 * posix/fnmatch.h: Likewise.
17176 * posix/glob.h: Likewise.
17177 * posix/sched.h: Likewise.
17178 * posix/spawn.h: Likewise.
17179 * posix/sys/wait.h: Likewise.
17180 * posix/unistd.h: Likewise.
17181 * posix/wordexp.h: Likewise.
17182 * pwd/pwd.h: Likewise.
17183 * resolv/netdb.h: Likewise.
17184 * resource/sys/resource.h: Likewise.
17185 * rt/aio.h: Likewise.
17186 * rt/bits/mqueue2.h: Likewise.
17187 * rt/mqueue.h: Likewise.
17188 * shadow/shadow.h: Likewise.
17189 * signal/signal.h: Likewise.
17190 * socket/send.c: Likewise.
17191 * socket/sendto.c: Likewise.
17192 * socket/sys/socket.h: Likewise.
17193 * stdio-common/printf.h: Likewise.
17194 * stdlib/bits/stdlib.h: Likewise.
17195 * stdlib/fmtmsg.h: Likewise.
17196 * stdlib/monetary.h: Likewise.
17197 * stdlib/stdlib.h: Likewise.
17198 * stdlib/ucontext.h: Likewise.
17199 * streams/stropts.h: Likewise.
17200 * string/argz.h: Likewise.
17201 * string/bits/string2.h: Likewise.
17202 * string/string.h: Likewise.
17203 * string/strings.h: Likewise.
17204 * sunrpc/rpc/auth.h: Likewise.
17205 * sunrpc/rpc/auth_des.h: Likewise.
17206 * sunrpc/rpc/clnt.h: Likewise.
17207 * sunrpc/rpc/netdb.h: Likewise.
17208 * sunrpc/rpc/pmap_clnt.h: Likewise.
17209 * sunrpc/rpc/xdr.h: Likewise.
17210 * sysdeps/generic/inttypes.h: Likewise.
17211 * sysdeps/generic/net/if.h: Likewise.
17212 * sysdeps/generic/sys/swap.h: Likewise.
17213 * sysdeps/gnu/net/if.h: Likewise.
17214 * sysdeps/gnu/utmpx.h: Likewise.
17215 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17216 * sysdeps/i386/i486/bits/string.h: Likewise.
17217 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17218 * sysdeps/s390/bits/string.h: Likewise.
17219 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17220 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17221 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17222 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17223 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17224 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17225 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17226 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17227 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17228 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17229 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17230 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17231 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17232 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17233 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17234 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17235 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17238 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17240 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17241 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17242 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17243 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17244 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17245 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17247 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17248 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17249 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17250 * sysvipc/sys/ipc.h: Likewise.
17251 * sysvipc/sys/msg.h: Likewise.
17252 * sysvipc/sys/sem.h: Likewise.
17253 * sysvipc/sys/shm.h: Likewise.
17254 * termios/termios.h: Likewise.
17255 * time/sys/time.h: Likewise.
17256 * time/time.h: Likewise.
17257 * wcsmbs/bits/wchar2.h: Likewise.
17258 * wcsmbs/uchar.h: Likewise.
17259 * wcsmbs/wchar.h: Likewise.
17260 * wctype/wctype.h: Likewise.
17263 * Makeconfig: Remove all but ELF support including AIX support.
17264 * Makerules: Likewise.
17265 * config.h.in: Likewise.
17266 * config.make.in: Likewise.
17267 * configure: Likewise.
17268 * configure.in: Likewise.
17269 * csu/Makefile: Likewise.
17270 * csu/version.c: Likewise.
17271 * debug/Makefile: Likewise.
17272 * dlfcn/Makefile: Likewise.
17273 * elf/Makefile: Likewise.
17274 * extra-lib.mk: Likewise.
17275 * iconv/Makefile: Likewise.
17276 * include/libc-symbols.h: Likewise.
17277 * include/shlib-compat.h: Likewise.
17278 * resolv/Makefile: Likewise.
17279 * resolv/res_libc.c: Likewise.
17280 * rt/Makefile: Likewise.
17281 * sysdeps/i386/asm-syntax.h: Likewise.
17282 * sysdeps/i386/sysdep.h: Likewise.
17283 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17284 * sysdeps/mach/sysdep.h: Likewise.
17285 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17286 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17287 * sysdeps/s390/asm-syntax.h: Likewise.
17288 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17290 * sysdeps/sh/sysdep.h: Likewise.
17291 * sysdeps/unix/sparc/sysdep.h: Likewise.
17292 * sysdeps/wordsize-32/divdi3.c: Likewise.
17293 * sysdeps/x86_64/sysdep.h: Likewise.
17295 * argp/Versions: Remove _argp_unlock_xxx.
17298 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17299 * abilist/libBrokenLocale.abilist: Likewise.
17300 * abilist/libanl.abilist: Likewise.
17301 * abilist/libc.abilist: Likewise.
17302 * abilist/libcrypt.abilist: Likewise.
17303 * abilist/libdl.abilist: Likewise.
17304 * abilist/libm.abilist: Likewise.
17305 * abilist/libnsl.abilist: Likewise.
17306 * abilist/libpthread.abilist: Likewise.
17307 * abilist/libresolv.abilist: Likewise.
17308 * abilist/librt.abilist: Likewise.
17309 * abilist/libthread_db.abilist: Likewise.
17310 * abilist/libutil.abilist: Likewise.
17311 * abilist/libnss_db.abilist: New file.
17313 * scripts/abilist.awk: Add support for indirect functions.
17315 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17317 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17319 * shlib-versions: Remove entries for ports architectures.
17321 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17323 * elf/stackguard-macros.h: Remove support for IA-64.
17324 * elf/tst-auditmod1.c: Likewise.
17325 * sysdeps/generic/ldsodefs.h: Likewise.
17327 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17328 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17332 * configure.in: Remove --enable-omitfp support.
17334 * config.make.in: Likewise.
17335 * Makeconfig: Likewise.
17336 * manual/install.texi: Likewise.
17338 In case anyone cares, the IA-64 architecture could move to ports.
17339 * sysdeps/ia64/*: Removed.
17340 * sysdeps/unix/sysv/linux/ia64/*: Removed.
17341 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17344 * configure.in: Remove entries for unsupported architectures.
17347 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17348 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17350 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17351 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17352 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17353 fall back to using wcrtomb.
17354 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17355 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17357 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17358 * wcsmbs/tst-c16c32-1.c: New file.
17360 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17363 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17365 * elf/tst-unique3.cc: Add explicit declaration of gets.
17366 * elf/tst-unique3lib.cc: Likewise.
17367 * elf/tst-unique3lib2.cc: Likewise.
17368 * elf/tst-unique4.cc: Likewise.
17370 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17372 2012-01-06 Joseph Myers <joseph@codesourcery.com>
17375 * assert/assert.h (static_assert): Don't define for C++.
17376 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17377 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17379 2012-01-03 Ulrich Drepper <drepper@gmail.com>
17381 * iconv/loop.c (single loop): Fix assertion in storing of
17384 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17386 2012-01-01 Ulrich Drepper <drepper@gmail.com>
17388 * posix/getconf.c: Update copyright year.
17389 * nss/getent.c: Likewise.
17390 * nss/makedb.c: Likewise.
17391 * iconv/iconvconfig.c: Likewise.
17392 * iconv/iconv_prog.c: Likewise.
17393 * elf/ldconfig.c: Likewise.
17394 * elf/pldd.c: Likewise.
17395 * elf/sotruss.ksh: Likewise.
17396 * catgets/gencat.c: Likewise.
17397 * csu/version.c: Likewise.
17398 * elf/ldd.bash.in: Likewise.
17399 * elf/sprof.c (print_version): Likewise.
17400 * locale/programs/locale.c: Likewise.
17401 * locale/programs/localedef.c: Likewise.
17402 * login/programs/pt_chown.c: Likewise.
17403 * nscd/nscd.c (print_version): Likewise.
17404 * debug/xtrace.sh: Likewise.
17405 * malloc/memusage.sh: Likewise.
17406 * malloc/mtrace.pl: Likewise.
17407 * debug/catchsegv.sh: Likewise.
17409 2011-12-30 Jakub Jelinek <jakub@redhat.com>
17411 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17414 2011-12-24 Ulrich Drepper <drepper@gmail.com>
17417 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17418 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17420 * iconv/gconv_int.h: Likewise.
17421 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17422 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17423 from libc for GLIBC_2.16.
17424 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17425 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17426 * wcsmbs/uchar.h: Really define mbstate_t.
17427 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17428 * wcsmbs/c16rtomb.c: New file.
17429 * wcsmbs/mbrtoc16.c: New file.
17430 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17431 for C/POSIX locale.
17432 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17433 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17435 * wcsmbs/wchar.h: Add missing __restrict.
17437 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17440 * time/Makefile (routines): Add timespec_get.
17441 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17442 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17443 timespec for ISO C11.
17444 * time/timespec_get.c: New file.
17445 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17446 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17449 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17450 * stdlib/stdlib.h: Declare aligned_alloc.
17451 * Versions.def: Add GLIBC_2.16 for libc.
17452 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17455 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17458 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17462 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17465 * assert/assert.h (static_assert): Define.
17467 * version.h: Update for 2.16 development version.
17470 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17473 * version.h (RELEASE): Bump for 2.15 release.
17474 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17476 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17477 Patch by Marek Polacek <mpolacek@redhat.com>.
17479 * bits/byteswap.h: Protect long long constants with __extension__.
17480 * sysdeps/i386/bits/byteswap.h: Likewise.
17481 * sysdeps/ia64/bits/byteswap.h: Likewise.
17482 * sysdeps/s390/bits/byteswap.h: Likewise.
17483 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17485 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17489 destination buffer.
17490 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17492 2011-12-23 Marek Polacek <polacek@redhat.com>
17494 * elf/dl-addr.c (determine_info): Add inline keyword.
17495 * elf/tst-auditmod4b.c (check_avx): Likewise.
17496 * elf/tst-auditmod6b.c (check_avx): Likewise.
17497 * elf/tst-auditmod6c.c (check_avx): Likewise.
17498 * elf/tst-auditmod7b.c (check_avx): Likewise.
17500 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17502 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17505 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17508 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17509 processing for last bytes.
17511 2011-08-06 Bruno Haible <bruno@clisp.org>
17514 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17515 U+0385, not to U+1FEE.
17518 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17519 entry for U+00A5 U+0301.
17521 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17524 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17525 buffer for the output is too small.
17527 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17531 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17532 SSE flags if possible.
17534 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17537 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17538 processing for last bytes.
17540 2011-12-22 Joseph Myers <joseph@codesourcery.com>
17542 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17543 (syscall-list-default-options, syscall-list-default-condition)
17544 (syscall-list-includes): Define.
17545 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17546 list of ABIs and options and #if conditions for each ABI. Do not
17547 handle common syscalls between ABIs specially.
17548 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17550 (syscall-list-variants, syscall-list-32bit-options)
17551 (syscall-list-32bit-condition, syscall-list-64bit-options)
17552 (syscall-list-64bit-condition): Define.
17553 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17554 (syscall-list-variants, syscall-list-32bit-options)
17555 (syscall-list-32bit-condition, syscall-list-64bit-options)
17556 (syscall-list-64bit-condition): Define.
17557 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17559 (syscall-list-variants, syscall-list-32bit-options)
17560 (syscall-list-32bit-condition, syscall-list-64bit-options)
17561 (syscall-list-64bit-condition): Define.
17562 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17564 (syscall-list-variants, syscall-list-32bit-options)
17565 (syscall-list-32bit-condition, syscall-list-64bit-options)
17566 (syscall-list-64bit-condition): Define.
17568 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17570 * locale/iso-639.def: Add brx entry.
17573 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17574 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17576 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17577 __feraiseexcept_renamed.
17579 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17582 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17583 EPOLLET with unsigned values.
17584 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17585 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17587 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17588 to large cancellation.
17589 * math/s_cacoshf.c: Likewise.
17590 * math/s_cacoshl.c: Likewise.
17592 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17596 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17597 * math/s_cacoshf.c: Likewise.
17598 * math/s_cacoshl.c: Likewise.
17600 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17603 * iconv/gconv.h: Define __GCONV_SWAP.
17604 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17605 * iconvdata/utf-16.c: Likewise.
17606 * iconvdata/utf-32.c: Likewise.
17608 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17612 numerator after shifting it by one limb.
17614 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17616 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17617 under [__USE_EXTERN_INLINES].
17619 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17622 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17624 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17626 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17627 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17629 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17630 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17631 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17632 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17633 for strncasecmp/strncasecmp_l compilation.
17634 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17635 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17637 2011-12-08 Marek Polacek <mpolacek@redhat.com>
17640 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17643 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17646 * time/tzfile.c (__tzfile_read): Check values from file header.
17648 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17650 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17651 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17652 * powerpc/powerpc32/dl-start.S: Likewise.
17653 * powerpc/powerpc32/elf/start.S: Likewise.
17654 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17655 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17656 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17657 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17658 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17659 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17660 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17661 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17662 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17663 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17664 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17665 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17666 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17667 * powerpc/powerpc32/memset.S: Likewise.
17668 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17669 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17670 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17671 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17672 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17673 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17674 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17675 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17676 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17677 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17678 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17679 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17680 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17682 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17684 * math/libm-test.inc: Added more nearbyint tests.
17685 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17690 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17692 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17695 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17697 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17698 Add wcscpy-ssse3 wcscpy-c.
17699 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17700 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17701 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17702 * sysdeps/x86_64/wcschr.S: New file.
17703 * sysdeps/x86_64/wcsrchr.S: New file.
17704 * string/test-strcmp.c: Remove checking of wcscmp function for
17706 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17707 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17708 wcsrchr-sse2 wcsrchr-c.
17709 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17710 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17711 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17712 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17713 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17714 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17715 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17716 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17717 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17718 * wcsmbc/wcschr.c (WCSCHR): New macro.
17720 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17722 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17723 * wcsmbs/test-wcsrchr.c: New file.
17724 * string/test-strrchr.c: Add wcsrchr support.
17726 * wcsmbs/test-wcscpy.c: New file.
17727 * string/test-strcpy.c: Add wcscpy support.
17730 2011-12-10 Ulrich Drepper <drepper@gmail.com>
17732 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17735 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17738 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17740 2011-12-04 Ulrich Drepper <drepper@gmail.com>
17742 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17743 Minor optimizations.
17745 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17746 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17747 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17749 2011-12-03 Ulrich Drepper <drepper@gmail.com>
17751 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17752 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17753 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17754 for gcc to avoid warnings.
17755 * inet/Makefile (tests): Add tst-checks.
17756 * inet/tst-checks.c: New file.
17758 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17761 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17764 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17765 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17767 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17769 2011-12-02 Ulrich Drepper <drepper@gmail.com>
17771 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17774 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17776 2011-11-29 Joseph Myers <joseph@codesourcery.com>
17778 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17779 conditional on GCC version.
17780 (__arch_compare_and_exchange_val_8_acq)
17781 (__arch_compare_and_exchange_val_16_acq)
17782 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17783 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17784 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17786 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17788 * sysdeps/sh/backtrace.c: New file.
17790 2011-12-02 Andreas Schwab <schwab@redhat.com>
17792 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17795 2011-12-01 Andreas Schwab <schwab@redhat.com>
17797 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17798 falling back to utime.
17800 2011-11-30 Andreas Schwab <schwab@redhat.com>
17802 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17803 expectations for float.
17805 2011-11-29 Andreas Schwab <schwab@redhat.com>
17807 * locale/weight.h (findidx): Add parameter len.
17808 * locale/weightwc.h (findidx): Likewise.
17809 * posix/fnmatch_loop.c (FCT): Adjust caller.
17810 * posix/regcomp.c (build_equiv_class): Likewise.
17811 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17812 * posix/regexec.c (check_node_accept_bytes): Likewise.
17813 * string/strcoll_l.c (STRCOLL): Likewise.
17814 * string/strxfrm_l.c (STRXFRM): Likewise.
17816 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17818 * Makefile.in: Remove CVSOPT handling.
17819 * configure.in: Remove use of AC_REVISION.
17820 * iconvdata/Makefile (distribute): No need to filter out CVS.
17821 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17824 2011-11-16 Andreas Schwab <schwab@redhat.com>
17826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17827 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17828 [USE_AS_STRNCASECMP_L]: Likewise.
17829 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17830 NO_TLS_DIRECT_SEG_REFS.
17831 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17832 Fix argument offsets for non-PIC.
17833 [USE_AS_STRNCASECMP_L]: Likewise.
17834 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17835 NO_TLS_DIRECT_SEG_REFS.
17837 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17839 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17841 * locale/loadlocale.c (_nl_load_locale): Likewise.
17843 2011-11-15 Andreas Schwab <schwab@redhat.com>
17845 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17846 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17847 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17848 (SYSCALL_GETTIME): Set errno on error.
17850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17851 count references to noai6ai_cached.
17853 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17855 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17857 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17858 FD_CLOEXEC for /proc/self/maps.
17860 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17861 FD_CLOEXEC for /proc/meminfo.
17863 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17866 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17867 FD_CLOEXEC for given file.
17869 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17871 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17872 FD_CLOEXEC for /etc/hosts.
17873 (_gethtent): Likewise.
17875 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17877 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17878 cancellation and set FD_CLOEXEC for /etc/netgroup.
17880 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17881 reading /etc/publickey.
17883 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17884 allow cancellation when reading /etc/group.
17886 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17888 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17890 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17891 when using data file.
17893 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17895 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17896 (write_nis_obj): Use "c" and "e" in fopen.
17898 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17900 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17902 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17904 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17906 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17909 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17911 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17913 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17915 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17916 file parsing and set FD_CLOEXEC.
17918 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17920 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17922 2011-11-14 Andreas Schwab <schwab@redhat.com>
17924 * malloc/arena.c (arena_get2): Don't call reused_arena when
17925 _int_new_arena failed.
17927 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17929 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17930 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17931 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17932 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17933 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17935 to compile strcasecmp and strncasecmp.
17936 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17937 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17941 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17943 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17944 locale-defines.sym to gen-as-const-headers.
17945 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17946 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17948 to compile strcasecmp and strncasecmp.
17949 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17950 strcasecmp_l and strncasecmp_l.
17951 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17952 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17953 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17954 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17955 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17956 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17957 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17958 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17959 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17960 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17961 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17963 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17965 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17966 result of SYSDEP_GETTIME_CPU to retval.
17967 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17968 parameter list to macro. Remove trailing semicolon. Adjust users.
17970 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17973 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17975 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17977 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17978 from unused variable.
17980 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17982 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17985 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17988 * sunrpc/rpc_prot.c (rejected): Fix case value.
17990 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17991 unsigned long long int to avoid warnings in shift.
17993 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17995 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17998 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17999 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18000 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18002 * nis/nis_table.c (nis_list): Use variable of correct type for
18003 result of __follow_path call.
18005 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18007 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18008 of math functions ceil, trunc, floor, round, and sqrt, when
18009 avaliable on the platform.
18010 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18012 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18013 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18014 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18016 2011-10-30 Marek Polacek <mpolacek@redhat.com>
18018 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18019 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18021 2011-11-11 Roland McGrath <roland@hack.frob.com>
18023 * include/unistd.h: Fix __readlink return type.
18024 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18026 2011-11-11 Ulrich Drepper <drepper@gmail.com>
18028 * stdlib/ucontext.h: Undo last change for makecontext.
18030 2011-11-11 Andreas Schwab <schwab@redhat.com>
18032 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18034 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18035 * setjmp/setjmp.h: Mark functions as non-leaf.
18036 * setjmp/bits/setjmp2.h: Likewise.
18037 * stdlib/ucontext.h: Likewise.
18039 2011-11-10 Andreas Schwab <schwab@redhat.com>
18041 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18042 (reused_arena): Don't check arena limit.
18043 (arena_get2): Atomically check arena limit.
18045 2011-11-08 Ulrich Drepper <drepper@gmail.com>
18047 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18048 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18050 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18053 2011-11-07 Andreas Schwab <schwab@redhat.com>
18055 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18056 handler when locking.
18058 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18059 Fix size of allocated buffer.
18061 2011-11-04 Andreas Schwab <schwab@redhat.com>
18064 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18065 declarations for long double functions.
18066 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18068 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18070 2011-11-03 Andreas Schwab <schwab@redhat.com>
18072 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18075 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18078 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18080 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18082 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18084 * include/alloca.h (stackinfo_alloca_round): Define.
18085 (extend_alloca): Use it.
18086 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18087 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18090 * scripts/check-local-headers.sh: Ignore libaudit.h.
18092 * nscd/Makefile (extra-objs): Make recursively expanded.
18094 2011-11-01 Ulrich Drepper <drepper@gmail.com>
18096 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18099 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18100 * posix/tst-rfc3484-2.c: Likewise.
18101 * posix/tst-rfc3484-3.c: Likewise.
18103 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18105 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18107 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18108 process_vm_writev from libc using GLIBC_2.15 version.
18110 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18112 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18114 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18117 2011-10-31 Ulrich Drepper <drepper@gmail.com>
18120 * nss/getent.c (initgroups_keys): Show error message in case no group
18123 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18124 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18125 __bump_nl_timestamp.
18126 * nscd/connections (nscd_init): When host database is served open
18127 netlink socket and request notification about configuration changes.
18128 (main_loop_poll): Track netlink file descriptor and bump timestamp
18129 in case data becomes available.
18130 (main_loop_epoll): Likewise.
18131 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18132 (database_pers_head): Add extra_data fileds.
18133 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18134 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18135 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18138 in6ai data, call __free_in6ai.
18139 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18140 Add -DHAVE_NETLINK.
18141 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18142 interface information. Reuse previous data if netlink timestamp
18144 (__bump_nl_timestamp): New function.
18145 (__free_in6ai): New function.
18147 2011-10-30 Ulrich Drepper <drepper@gmail.com>
18149 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18150 close_not_cancel_no_status here.
18151 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18153 2011-10-29 Ulrich Drepper <drepper@gmail.com>
18156 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18159 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
18160 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18161 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18163 2011-07-03 Andreas Jaeger <aj@suse.de>
18166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18167 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18168 * math/libm-test.inc (sin_test): Add test case.
18170 2011-10-29 Ulrich Drepper <drepper@gmail.com>
18173 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18174 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18176 * elf/chroot_canon.c (chroot_canon): Cleanups.
18178 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18181 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18182 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18184 * string/test-strchr.c: Make usable for strchrnul testing.
18185 * string/test-strchrnul.c: New file.
18186 * string/Makefile (strop-tests): Add strchrnul.
18188 * po/it.po: Update from translation team.
18189 * po/es.po: Likewise.
18191 2011-10-28 Ulrich Drepper <drepper@gmail.com>
18193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18194 the three constants needed as parameters. Drop the others.
18195 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18196 __m128i_strloadu_tolower.
18197 Create and initialize variable zero and use it in all the places
18198 where _mm_setzero_si128 was used.
18200 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18201 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18202 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18203 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18205 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18206 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18207 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18208 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18209 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18210 __mpranred, __mptan.
18211 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18212 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18213 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18214 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18215 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18216 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18217 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18218 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18219 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18221 2011-10-28 Andreas Schwab <schwab@redhat.com>
18223 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18224 redefine if SHARED.
18225 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18228 wide char related routines to wcsmbs subdir.
18230 2011-10-27 Andreas Schwab <schwab@redhat.com>
18233 * misc/sys/cdefs.h (__THROWNL): Define.
18234 * posix/unistd.h: Use __THREADNL instead of __THREAD
18235 for memory synchronization functions.
18237 2011-10-26 Roland McGrath <roland@hack.frob.com>
18240 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18242 * manual/stdio.texi (Obstack Streams): Node removed.
18244 2011-10-26 Andreas Schwab <schwab@redhat.com>
18246 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18247 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18248 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18250 * math/math_private.h (math_force_eval): Allow non-addressable
18252 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18254 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18256 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18257 file is not needed.
18259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18260 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18261 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18262 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18265 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18266 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18268 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18269 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18270 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18271 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18272 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18273 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18274 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18275 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18276 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18277 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18278 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18279 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18280 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18281 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18282 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18283 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18284 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18285 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18286 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18288 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18289 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18292 place. Use VEX encoding when compiling for AVX.
18294 2011-10-25 Andreas Schwab <schwab@redhat.com>
18296 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18297 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18299 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18301 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18303 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18304 useless if() expression.
18305 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18314 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18315 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18316 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18317 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18319 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18320 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18325 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18327 2011-10-25 Andreas Schwab <schwab@redhat.com>
18329 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18331 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18333 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18335 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18336 .text section. Avoid duplicate constants.
18337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18339 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18341 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18345 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18346 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18347 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18349 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18350 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18351 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18352 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18353 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18354 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18355 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18356 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18357 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18358 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18359 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18360 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18361 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18362 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18363 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18364 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18365 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18366 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18367 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18368 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18369 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18370 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18371 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18372 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18373 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18374 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18375 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18376 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18377 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18378 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18379 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18380 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18381 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18383 2011-10-24 Ulrich Drepper <drepper@gmail.com>
18385 * sysdeps/x86_64/dla.h: Move to ...
18386 * sysdeps/x86_64/fpu/dla.h: ...here.
18387 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18388 situations. Use __builtin_fma only for gcc 4.6 and up.
18390 * config.make.in: Add have-mfma4 entry.
18391 * configure.in: Substitute libc_cv_cc_fma4.
18392 * math/Makefile (dbl-only-routines): Add sincostab.
18393 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18394 Use __sincostab not sincos.
18395 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18402 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18403 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18404 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18405 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18407 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18408 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18410 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18411 define aliases when function name is a macro.
18412 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18413 sysdeps/ieee754/dbl-64/sincos.tbl.
18414 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18415 fma4-enabled routines.
18416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18417 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18418 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18419 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18420 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18421 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18422 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18423 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18424 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18425 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18426 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18427 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18428 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18429 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18431 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18432 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18433 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18434 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18436 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18437 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18438 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18440 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18441 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18443 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18444 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18445 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18447 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18453 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18458 2011-10-24 Andreas Schwab <schwab@redhat.com>
18460 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18462 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18464 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18466 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18468 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18470 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18471 Remove unused variable magic_bits.
18472 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18474 * string/strnlen.c: Define and use STRNLEN macro.
18475 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18476 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18478 * wcsmbs/wcslen.c: Define and use WCSLEN.
18479 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18480 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18481 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18482 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18483 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18484 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18485 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18487 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18490 strnlen-sse2-no-bsf.
18491 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18493 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18494 Add strnlen support.
18495 (USE_AS_STRNLEN): New macro.
18496 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18497 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18498 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18499 * sysdeps/x86_64/wcslen.S: New file.
18501 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18503 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18504 XMM-moves are used for copying on small sizes.
18506 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18508 * wcsmbs/Makefile (strop-tests): Add wcschr.
18509 * wcsmbs/test-wcschr.c: New file.
18510 * string/test-strchr.c: Update.
18511 Add wcschr support.
18514 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18516 * wcsmbs/Makefile (strop-tests): Add wcslen.
18517 * wcsmbs/test-wcslen.c: New file.
18518 * string/test-strlen.c: Update.
18519 Add wcslen support.
18522 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18524 * po/it.po: Update from translation team.
18526 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18528 * sysdeps/x86_64/wcscmp.S: Update.
18529 Fix wrong comparison semantics.
18530 wcscmp shall use signed comparison not unsigned.
18531 Don't use substraction to avoid overflow bug.
18532 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18533 * wcsmbc/wcscmp.c: Likewise.
18534 * string/test-strcmp.c: Likewise.
18535 Add new tests to check cases with negative values.
18537 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18539 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18540 * sysdeps/x86_64/dla.h: ...here. New file.
18541 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18549 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18551 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18554 __ynl_finite aliases.
18556 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18560 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18562 [DLA_FMA] (EMULV): Use DLA_FMA.
18563 [DLA_FMA] (MUL12): Use EMULV.
18564 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18565 that are not needed.
18566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18574 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18576 * math/s_nan.c: Undef __nan.
18577 * math/s_nanf.c: Undef __nanf.
18578 * math/s_nanl.c: Undef __nanl.
18579 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18582 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18584 * math/s_catan.c: Add branch predictions.
18585 * math/s_catanf.c: Likewise.
18586 * math/s_catanh.c: Likewise.
18587 * math/s_catanhf.c: Likewise.
18588 * math/s_catanhl.c: Likewise.
18589 * math/s_catanl.c: Likewise.
18590 * math/s_cexp.c: Likewise.
18591 * math/s_cexpf.c: Likewise.
18592 * math/s_cexpl.c: Likewise.
18593 * math/s_clog.c: Likewise.
18594 * math/s_clog10.c: Likewise.
18595 * math/s_clog10f.c: Likewise.
18596 * math/s_clog10l.c: Likewise.
18597 * math/s_clogf.c: Likewise.
18598 * math/s_clogl.c: Likewise.
18599 * math/s_csqrt.c: Likewise.
18600 * math/s_csqrtf.c: Likewise.
18601 * math/s_csqrtl.c: Likewise.
18602 * math/s_ctanf.c: Likewise.
18603 * math/s_ctanh.c: Likewise.
18604 * math/s_ctanhf.c: Likewise.
18605 * math/s_ctanhl.c: Likewise.
18606 * math/s_ctanl.c: Likewise.
18608 * math/math_private.h: Define __nan, __nanf, __nanl.
18609 * math/s_cacosh.c: Include <math_private.h>.
18610 * math/s_cacoshl.c: Likewise.
18611 * math/s_casinh.c: Likewise.
18612 * math/s_casinhf.c: Likewise.
18613 * math/s_casinhl.c: Likewise.
18614 * math/s_ccos.c: Rely entire on ccosh.
18615 * math/s_ccosf.c: Rely entire on ccoshf.
18616 * math/s_ccosl.c: Rely entirely on ccoshl.
18617 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18618 Remove tests for FE_INVALID.
18619 * math/s_ccoshf.c: Likewise.
18620 * math/s_ccoshl.c: Likewise.
18621 * math/s_csin.c: Likewise.
18622 * math/s_csinf.c: Likewise.
18623 * math/s_csinh.c Likewise.
18624 * math/s_csinhf.c: Likewise.
18625 * math/s_csinhl.c: Likewise.
18626 * math/s_csinl.c: Likewise.
18627 * math/s_ctan.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18629 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18630 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18632 2011-10-21 Ulrich Drepper <drepper@gmail.com>
18634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18635 compilation problems.
18637 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18640 2011-10-20 Ulrich Drepper <drepper@gmail.com>
18642 * sysdeps/i386/configure.in: Test for -mfma4 option.
18643 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18644 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18645 COMMON_CPUID_INDEX_80000001.
18646 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18647 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18648 use it if FMA3 is not supported.
18649 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18651 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18654 2011-10-20 Andreas Schwab <schwab@redhat.com>
18657 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18658 it would create a cycle with a link time dependency.
18660 2011-10-19 Ulrich Drepper <drepper@gmail.com>
18662 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18664 * string/Makefile (strop-tests): Add rawmemchr.
18665 * string/test-rawmemchr.c: New file.
18667 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18669 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18670 when compiling str{,n}casecmp and when AVX is available. Hook up
18671 new optimized code in initializers.
18673 2011-10-19 Andreas Schwab <schwab@redhat.com>
18675 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18676 __feraiseexcept instead of feraiseexcept.
18678 2011-10-18 Ulrich Drepper <drepper@gmail.com>
18680 * math/math_private.h: Define defaults for libc_fetestexcept and
18682 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18683 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18684 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18685 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18686 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18687 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18688 libc_fetestexcept and libc_feupdateenv.
18690 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18691 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18692 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18693 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18694 libc_feholdexcept_setround.
18696 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18697 Add s_nearbyint-c and s_nearbyintf-c.
18698 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18699 nearbyintf inlines.
18700 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18701 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18702 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18703 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18705 * math/math_private.h: Define defaults for libc_fegetround,
18706 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18707 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18708 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18710 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18711 standard functions.
18712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18713 Remove comments and hacks for old compiler versions.
18714 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18715 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18716 libc_feholdexceptl.
18718 2011-10-18 Andreas Schwab <schwab@redhat.com>
18720 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18721 (__feraiseexcept_renamed): Add __NTH.
18722 (feraiseexcept): Add __NTH. Rename local variables to fix
18723 namespace violations.
18725 2011-10-17 Ulrich Drepper <drepper@gmail.com>
18727 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18729 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18731 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18732 recently added interfaces.
18733 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18735 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18736 about macro parameter expansion.
18738 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18739 __NO_MATH_INLINES is defined. Cleanups.
18741 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18742 and __floorf is target has SSE4.1.
18743 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18744 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18746 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18748 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18750 (floorf): Likewise.
18752 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18754 2011-10-17 Andreas Schwab <schwab@redhat.com>
18756 * misc/sys/cdefs.h: Fix last change.
18758 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18761 2011-10-16 Ulrich Drepper <drepper@gmail.com>
18763 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18765 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18766 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18767 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18771 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18773 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18774 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18775 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18776 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18777 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18778 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18779 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18780 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18781 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18782 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18784 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18785 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18786 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18788 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18789 ceil, ceilf, floor, floorf.
18791 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18792 Perform IRELATIVE relocations last.
18794 * elf/do-rel.h: Add another parameter nrelative, replacing the
18795 local variable with the same name. Change name of the function
18796 to end in Rel or Rela (uppercase).
18797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18798 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18799 elf_dynamic_do_##reloc function.
18801 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18803 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18804 is sufficient, at least on modern CPUs.
18806 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18808 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18809 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18811 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18813 * math/bits/math-finite.h: Add entries for exp.
18814 * math/e_expl.c: Add __*_finite alias.
18815 * sysdeps/i386/fpu/e_exp.S: Likewise.
18816 * sysdeps/i386/fpu/e_expf.S: Likewise.
18817 * sysdeps/i386/fpu/e_expl.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18819 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18820 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18823 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18824 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18826 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18827 is sufficient, at least on modern CPUs.
18829 * ctype/ctype-info.c (__ctype_init): Define.
18830 * include/ctype.h (__ctype_init): Declare.
18831 (__ctype_b_loc): The variable is always initialized.
18832 (__ctype_toupper_loc): Likewise.
18833 (__ctype_tolower_loc): Likewise.
18834 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18835 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18837 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18839 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18841 * configure.in: Also look in $cxxmachine/include for C++ system
18844 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18846 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18847 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18848 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18849 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18850 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18851 (USE_AS_WMEMCMP): New macro.
18853 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18854 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18855 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18856 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18858 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18859 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18860 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18861 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18862 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18863 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18864 (USE_AS_WMEMCMP): New macro.
18865 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18866 * sysdeps/string/test-memcmp.c: Update.
18867 Fix simple_wmemcmp.
18869 * wcsmbs/wmemcmp.c: Update.
18870 (WMEMCMP): New macro.
18873 2011-10-12 Andreas Jaeger <aj@suse.de>
18876 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18878 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18880 * libio/iofwide.c (do_length): Avoid warning.
18882 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18884 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18886 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18888 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18889 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18890 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18891 * sysdeps/i386/i686/fpu/e_log.S: New file.
18892 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18893 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18895 * ctype/ctype.h: Add support for inlined isXXX functions when
18896 compiling C++ code.
18898 2011-10-14 Andreas Schwab <schwab@redhat.com>
18900 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18904 2011-10-13 Roland McGrath <roland@hack.frob.com>
18907 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18909 2011-10-13 Andreas Schwab <schwab@redhat.com>
18911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18912 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18915 * sysdeps/x86_64/memrchr.S: Check for zero size.
18917 * string/stratcliff.c: Add memrchr tests.
18919 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18922 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18923 rawmemchr-sse2 rawmemchr-sse2-bsf.
18924 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18925 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18926 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18927 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18928 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18929 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18930 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18931 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18932 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18933 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18934 * string/memrchr.c (MEMRCHR): New macro.
18936 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18938 Add integration with gcc's -ffinite-math-only and optimize wrapper
18940 * Versions.def: Define GLIBC_2.15 version for libm.
18941 * math/Makefile (headers): Add bits/math-finite.h.
18942 * math/bits/math-finite.h: New file.
18943 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18944 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18945 * math/e_acoshl.c: Add __*_finite alias.
18946 * math/e_acosl.c: Likewise.
18947 * math/e_asinl.c: Likewise.
18948 * math/e_atan2l.c: Likewise.
18949 * math/e_atanhl.c: Likewise.
18950 * math/e_coshl.c: Likewise.
18951 * math/e_exp10.c: Likewise.
18952 * math/e_exp10f.c: Likewise.
18953 * math/e_exp10l.c: Likewise.
18954 * math/e_exp2l.c: Likewise.
18955 * math/e_fmodl.c: Likewise.
18956 * math/e_gammal_r.c: Likewise.
18957 * math/e_hypotl.c: Likewise.
18958 * math/e_j0l.c: Likewise.
18959 * math/e_j1l.c: Likewise.
18960 * math/e_jnl.c: Likewise.
18961 * math/e_lgammal_r.c: Likewise.
18962 * math/e_log10l.c: Likewise.
18963 * math/e_log2l.c: Likewise.
18964 * math/e_logl.c: Likewise.
18965 * math/e_powl.c: Likewise.
18966 * math/e_sinhl.c: Likewise.
18967 * math/e_sqrtl.c: Likewise.
18968 * math/e_scalb.c: Completely rewritten and optimized.
18969 * math/e_scalbf.c: Likewise.
18970 * math/e_scalbl.c: Likewise.
18971 * math/w_acos.c: Likewise.
18972 * math/w_acosf.c: Likewise.
18973 * math/w_acosl.c: Likewise.
18974 * math/w_acosh.c: Likewise.
18975 * math/w_acoshf.c: Likewise.
18976 * math/w_acoshl.c: Likewise.
18977 * math/w_asin.c: Likewise.
18978 * math/w_asinf.c: Likewise.
18979 * math/w_asinl.c: Likewise.
18980 * math/w_atan2.c: Likewise.
18981 * math/w_atan2f.c: Likewise.
18982 * math/w_atan2l.c: Likewise.
18983 * math/w_atanh.c: Likewise.
18984 * math/w_atanhf.c: Likewise.
18985 * math/w_atanhl.c: Likewise.
18986 * math/w_exp10.c: Likewise.
18987 * math/w_exp10f.c: Likewise.
18988 * math/w_exp10l.c: Likewise.
18989 * math/w_fmod.c: Likewise.
18990 * math/w_fmodf.c: Likewise.
18991 * math/w_fmodl.c: Likewise.
18992 * math/w_j0.c: Likewise.
18993 * math/w_j0f.c: Likewise.
18994 * math/w_j0l.c: Likewise.
18995 * math/w_j1.c: Likewise.
18996 * math/w_j1f.c: Likewise.
18997 * math/w_j1l.c: Likewise.
18998 * math/w_jn.c: Likewise.
18999 * math/w_jnf.c: Likewise.
19000 * math/w_log.c: Likewise.
19001 * math/w_logf.c: Likewise.
19002 * math/w_logl.c: Likewise.
19003 * math/w_log10.c: Likewise.
19004 * math/w_log10f.c: Likewise.
19005 * math/w_log10l.c: Likewise.
19006 * math/w_log2.c: Likewise.
19007 * math/w_log2f.c: Likewise.
19008 * math/w_log2l.c: Likewise.
19009 * math/w_pow.c: Likewise.
19010 * math/w_powf.c: Likewise.
19011 * math/w_powl.c: Likewise.
19012 * math/w_remainder.c: Likewise.
19013 * math/w_remainderf.c: Likewise.
19014 * math/w_remainderl.c: Likewise.
19015 * math/w_scalb.c: Likewise.
19016 * math/w_scalbf.c: Likewise.
19017 * math/w_scalbl.c: Likewise.
19018 * math/w_sqrt.c: Likewise.
19019 * math/w_sqrtf.c: Likewise.
19020 * math/w_sqrtl.c: Likewise.
19021 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19022 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19024 * math/math_private.h: Declare __kernel_standard_f.
19025 * math/w_cosh.c: Remove cruft and optimize a bit.
19026 * math/w_coshf.c: Likewise.
19027 * math/w_coshl.c: Likewise.
19028 * math/w_exp2.c: Likewise.
19029 * math/w_exp2f.c: Likewise.
19030 * math/w_exp2l.c: Likewise.
19031 * math/w_hypot.c: Likewise.
19032 * math/w_hypotf.c: Likewise.
19033 * math/w_hypotl.c: Likewise.
19034 * math/w_lgamma.c: Likewise.
19035 * math/w_lgamma_r.c: Likewise.
19036 * math/w_lgammaf.c: Likewise.
19037 * math/w_lgammaf_r.c: Likewise.
19038 * math/w_lgammal.c: Likewise.
19039 * math/w_lgammal_r.c: Likewise.
19040 * math/w_sinh.c: Likewise.
19041 * math/w_sinhf.c: Likewise.
19042 * math/w_sinhl.c: Likewise.
19043 * math/w_tgamma.c: Likewise.
19044 * math/w_tgammaf.c: Likewise.
19045 * math/w_tgammal.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19047 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19048 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19049 Minor optimizations. Pretty printing. Remove cruft.
19050 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19051 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19052 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19053 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19054 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19055 * sysdeps/i386/fpu/e_asin.S: Likewise.
19056 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19057 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19058 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19059 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19060 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19061 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19063 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19064 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19065 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19066 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19067 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19068 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19069 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19070 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19071 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19072 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19073 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19074 * sysdeps/i386/fpu/e_log.S: Likewise.
19075 * sysdeps/i386/fpu/e_log10.S: Likewise.
19076 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19077 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19078 * sysdeps/i386/fpu/e_log2.S: Likewise.
19079 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19080 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19081 * sysdeps/i386/fpu/e_logf.S: Likewise.
19082 * sysdeps/i386/fpu/e_logl.S: Likewise.
19083 * sysdeps/i386/fpu/e_pow.S: Likewise.
19084 * sysdeps/i386/fpu/e_powf.S: Likewise.
19085 * sysdeps/i386/fpu/e_powl.S: Likewise.
19086 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19087 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19088 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19089 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19090 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19091 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19092 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19093 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19094 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19095 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19096 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19098 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19099 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19100 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19101 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19102 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19103 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19104 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19105 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19106 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19109 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19111 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19112 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19115 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19116 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19117 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19118 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19119 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19120 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19122 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19123 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19124 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19125 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19126 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19127 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19128 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19129 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19130 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19131 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19132 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19133 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19134 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19135 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19136 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19178 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19180 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19181 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19183 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19186 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19187 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19188 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19189 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19190 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19191 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19192 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19193 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19194 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19195 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19196 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19197 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19198 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19199 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19200 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19201 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19203 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19204 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19205 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19206 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19207 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19208 (__isnanf): Likewise.
19209 (__isinf_ns): Likewise.
19210 (__isinf_nsf): Likewise.
19211 (__finite): Likewise.
19212 (__finitef): Likewise.
19213 (__ieee754_sqrt): Define as macro.
19214 (__ieee754_sqrtf): Define as macro.
19215 (__ieee754_sqrtl): Define as macro.
19216 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19218 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19219 __FINITE_MATH_ONLY__ consistent.
19220 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19222 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19224 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19227 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19229 2011-10-09 Ulrich Drepper <drepper@gmail.com>
19231 * po/ja.po: Update from translation team.
19233 2011-10-08 Roland McGrath <roland@hack.frob.com>
19235 * locale/programs/locarchive.c (prepare_address_space): New function.
19236 (create_archive, enlarge_archive, open_archive): Use it.
19238 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19239 inside [SHARED], where it is used.
19241 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19243 * nss/getent.c (netgroup_keys): Remove unused variable.
19244 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19246 2011-10-08 Ulrich Drepper <drepper@gmail.com>
19248 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19249 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19251 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19252 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19253 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19254 * math/Makefile (libm-calls): Add s_isinf_ns.
19255 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19256 * math/multc3.c: Likewise.
19257 * math/s_casin.c: Likewise.
19258 * math/s_casinf.c: Likewise.
19259 * math/s_casinl.c: Likewise.
19260 * math/s_ccos.c: Likewise.
19261 * math/s_ccosf.c: Likewise.
19262 * math/s_ccosl.c: Likewise.
19263 * math/s_ctan.c: Likewise.
19264 * math/s_ctanf.c: Likewise.
19265 * math/s_ctanh.c: Likewise.
19266 * math/s_ctanhf.c: Likewise.
19267 * math/s_ctanhl.c: Likewise.
19268 * math/s_ctanl.c: Likewise.
19269 * math/w_fmod.c: Likewise.
19270 * math/w_fmodf.c: Likewise.
19271 * math/w_fmodl.c: Likewise.
19272 * math/w_remainder.c: Likewise.
19273 * math/w_remainderf.c: Likewise.
19274 * math/w_remainderl.c: Likewise.
19275 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19276 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19277 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19279 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19280 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19281 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19282 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19284 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19286 * stdio-common/printf_fphex.c: Likewise.
19287 * stdio-common/printf_size.c: Likewise.
19289 * math/e_exp10.c: Include math_private.h using <...> not "...".
19290 * math/e_exp10f.c: Likewise.
19291 * math/e_exp10l.c: Likewise.
19292 * math/e_exp2l.c: Likewise.
19293 * math/e_j0l.c: Likewise.
19294 * math/e_j1l.c: Likewise.
19295 * math/e_jnl.c: Likewise.
19296 * math/e_lgammal_r.c: Likewise.
19297 * math/e_rem_pio2l.c: Likewise.
19298 * math/e_scalb.c: Likewise.
19299 * math/e_scalbf.c: Likewise.
19300 * math/e_scalbl.c: Likewise.
19301 * math/k_cosl.c: Likewise.
19302 * math/k_sinl.c: Likewise.
19303 * math/k_tanl.c: Likewise.
19304 * math/s_cacoshf.c: Likewise.
19305 * math/s_catan.c: Likewise.
19306 * math/s_catanf.c: Likewise.
19307 * math/s_catanh.c: Likewise.
19308 * math/s_catanhf.c: Likewise.
19309 * math/s_catanhl.c: Likewise.
19310 * math/s_catanl.c: Likewise.
19311 * math/s_ccosh.c: Likewise.
19312 * math/s_ccoshf.c: Likewise.
19313 * math/s_ccoshl.c: Likewise.
19314 * math/s_cexp.c: Likewise.
19315 * math/s_cexpf.c: Likewise.
19316 * math/s_cexpl.c: Likewise.
19317 * math/s_clog.c: Likewise.
19318 * math/s_clog10.c: Likewise.
19319 * math/s_clog10f.c: Likewise.
19320 * math/s_clog10l.c: Likewise.
19321 * math/s_clogf.c: Likewise.
19322 * math/s_clogl.c: Likewise.
19323 * math/s_csin.c: Likewise.
19324 * math/s_csinf.c: Likewise.
19325 * math/s_csinh.c: Likewise.
19326 * math/s_csinhf.c: Likewise.
19327 * math/s_csinhl.c: Likewise.
19328 * math/s_csinl.c: Likewise.
19329 * math/s_csqrt.c: Likewise.
19330 * math/s_csqrtf.c: Likewise.
19331 * math/s_csqrtl.c: Likewise.
19332 * math/s_ctan.c: Likewise.
19333 * math/s_ctanf.c: Likewise.
19334 * math/s_ctanh.c: Likewise.
19335 * math/s_ctanhf.c: Likewise.
19336 * math/s_ctanhl.c: Likewise.
19337 * math/s_ctanl.c: Likewise.
19338 * math/s_ldexp.c: Likewise.
19339 * math/s_ldexpf.c: Likewise.
19340 * math/s_ldexpl.c: Likewise.
19341 * math/s_significand.c: Likewise.
19342 * math/s_significandf.c: Likewise.
19343 * math/s_significandl.c: Likewise.
19344 * math/w_acos.c: Likewise.
19345 * math/w_acosf.c: Likewise.
19346 * math/w_acosh.c: Likewise.
19347 * math/w_acoshf.c: Likewise.
19348 * math/w_acoshl.c: Likewise.
19349 * math/w_acosl.c: Likewise.
19350 * math/w_asin.c: Likewise.
19351 * math/w_asinf.c: Likewise.
19352 * math/w_asinl.c: Likewise.
19353 * math/w_atan2.c: Likewise.
19354 * math/w_atan2f.c: Likewise.
19355 * math/w_atan2l.c: Likewise.
19356 * math/w_atanh.c: Likewise.
19357 * math/w_atanhf.c: Likewise.
19358 * math/w_atanhl.c: Likewise.
19359 * math/w_cosh.c: Likewise.
19360 * math/w_coshf.c: Likewise.
19361 * math/w_coshl.c: Likewise.
19362 * math/w_dremf.c: Likewise.
19363 * math/w_exp10.c: Likewise.
19364 * math/w_exp10f.c: Likewise.
19365 * math/w_exp10l.c: Likewise.
19366 * math/w_exp2.c: Likewise.
19367 * math/w_exp2f.c: Likewise.
19368 * math/w_fmod.c: Likewise.
19369 * math/w_fmodf.c: Likewise.
19370 * math/w_fmodl.c: Likewise.
19371 * math/w_hypot.c: Likewise.
19372 * math/w_hypotf.c: Likewise.
19373 * math/w_hypotl.c: Likewise.
19374 * math/w_j0.c: Likewise.
19375 * math/w_j0f.c: Likewise.
19376 * math/w_j0l.c: Likewise.
19377 * math/w_j1.c: Likewise.
19378 * math/w_j1f.c: Likewise.
19379 * math/w_j1l.c: Likewise.
19380 * math/w_jn.c: Likewise.
19381 * math/w_jnf.c: Likewise.
19382 * math/w_jnl.c: Likewise.
19383 * math/w_lgamma.c: Likewise.
19384 * math/w_lgamma_r.c: Likewise.
19385 * math/w_lgammaf.c: Likewise.
19386 * math/w_lgammaf_r.c: Likewise.
19387 * math/w_lgammal.c: Likewise.
19388 * math/w_lgammal_r.c: Likewise.
19389 * math/w_log.c: Likewise.
19390 * math/w_log10.c: Likewise.
19391 * math/w_log10f.c: Likewise.
19392 * math/w_log10l.c: Likewise.
19393 * math/w_log2.c: Likewise.
19394 * math/w_log2f.c: Likewise.
19395 * math/w_log2l.c: Likewise.
19396 * math/w_logf.c: Likewise.
19397 * math/w_logl.c: Likewise.
19398 * math/w_pow.c: Likewise.
19399 * math/w_powf.c: Likewise.
19400 * math/w_powl.c: Likewise.
19401 * math/w_remainder.c: Likewise.
19402 * math/w_remainderf.c: Likewise.
19403 * math/w_remainderl.c: Likewise.
19404 * math/w_scalb.c: Likewise.
19405 * math/w_scalbf.c: Likewise.
19406 * math/w_scalbl.c: Likewise.
19407 * math/w_sinh.c: Likewise.
19408 * math/w_sinhf.c: Likewise.
19409 * math/w_sinhl.c: Likewise.
19410 * math/w_sqrt.c: Likewise.
19411 * math/w_sqrtf.c: Likewise.
19412 * math/w_sqrtl.c: Likewise.
19413 * math/w_tgamma.c: Likewise.
19414 * math/w_tgammaf.c: Likewise.
19415 * math/w_tgammal.c: Likewise.
19417 * po/ja.po: Update from translation team.
19419 2011-09-29 Andreas Jaeger <aj@suse.de>
19422 * sunrpc/netname.c (netname2host): Fix logic.
19426 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19428 * math/w_remainder.c (__remainder): Likewise.
19429 * math/w_remainderf.c (__remainderf): Likewise.
19430 * math/libm-test.inc (remainder_test): Add test cases.
19432 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19434 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19437 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19439 * string/test-memcmp.c: Avoid unncessary #defines.
19440 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19442 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19444 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19445 Use new sse2 version for core i3 - i7 as it's faster
19446 than sse42 version.
19447 (bit_Prefer_PMINUB_for_stringop): New.
19448 * sysdeps/x86_64/rawmemchr.S: Update.
19449 Replace with faster SSE2 version.
19450 * sysdeps/x86_64/memrchr.S: New file.
19451 * sysdeps/x86_64/memchr.S: Update.
19452 Replace with faster SSE2 version.
19454 2011-09-12 Marek Polacek <mpolacek@redhat.com>
19456 * elf/dl-load.c (lose): Add cast to avoid warning.
19458 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19460 * po/ca.po: Update from translation team.
19462 * inet/getnetgrent_r.c: Hook up nscd.
19463 * nscd/Makefile (routines): Add nscd_netgroup.
19464 (nscd-modules): Add netgroupcache.
19465 (CFLAGS-netgroupcache.c): Define.
19466 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19467 (cache_search): Add const to second parameter.
19468 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19470 (dbs): Add netgrdb entry.
19471 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19472 (verify_persistent_db): Handle netgrdb.
19473 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19474 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19476 (netgroup_response_header): Define.
19477 (innetgroup_response_header): Define.
19478 (datahead): Add netgroup_response_header and innetgroup_response_header
19480 * nscd/nscd.conf: Add entries for netgroup cache.
19481 * nscd/nscd.h (dbtype): Add netgrdb.
19482 (_PATH_NSCD_NETGROUP_DB): Define.
19483 (netgroup_iov_disabled): Declare.
19484 (xmalloc, xcalloc, xrealloc): Move declarations here.
19485 (cache_search): Adjust prototype.
19486 Add netgroup-related prototypes.
19487 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19488 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19489 (__nscd_innetgr): Declare.
19490 * nscd/selinux.c (perms): Use access_vector_t as element type and
19491 add netgroup-related initializers.
19492 * nscd/netgroupcache.c: New file.
19493 * nscd/nscd_netgroup.c: New file.
19494 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19495 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19496 For four parameters use innetgr.
19497 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19498 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19499 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19500 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19502 * nscd/connections.c (register_traced_file): Don't register file
19503 for disabled databases.
19505 2011-10-06 Ulrich Drepper <drepper@gmail.com>
19507 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19509 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19510 from tree and freeing node.
19512 2011-09-25 Jiri Olsa <jolsa@redhat.com>
19514 * nss/nsswitch.c (__nss_database_lookup): Handle
19515 nss_parse_service_list out of memory case.
19517 2011-09-15 Jiri Olsa <jolsa@redhat.com>
19519 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19520 out of memory case.
19522 2011-10-04 Andreas Schwab <schwab@redhat.com>
19524 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19525 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19527 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19528 elf_machine_rela, elf_machine_lazy_rel.
19529 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19530 (ELF_DYNAMIC_DO_REL): Likewise.
19531 (ELF_DYNAMIC_DO_RELA): Likewise.
19532 (ELF_DYNAMIC_RELOCATE): Likewise.
19533 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19534 to ELF_DYNAMIC_DO_REL.
19535 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19536 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19537 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19540 skip_ifunc, don't call ifunc function if non-zero.
19541 (elf_machine_rela): Likewise.
19542 (elf_machine_lazy_rel): Likewise.
19543 (elf_machine_lazy_rela): Likewise.
19544 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19545 (elf_machine_lazy_rel): Likewise.
19546 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19548 (elf_machine_lazy_rel): Likewise.
19549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19551 (elf_machine_lazy_rel): Likewise.
19552 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19553 (elf_machine_lazy_rel): Likewise.
19554 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19555 (elf_machine_lazy_rel): Likewise.
19556 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19557 (elf_machine_lazy_rel): Likewise.
19558 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19559 (elf_machine_lazy_rel): Likewise.
19560 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19561 (elf_machine_lazy_rel): Likewise.
19562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19563 (elf_machine_lazy_rel): Likewise.
19565 2011-09-28 Ulrich Drepper <drepper@gmail.com>
19567 * nss/nss_files/files-init.c (_nss_files_init): Use static
19568 initialization for all the *_traced_file variables.
19570 2011-09-28 Andreas Schwab <schwab@redhat.com>
19572 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19574 2011-09-27 Roland McGrath <roland@hack.frob.com>
19577 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19579 2011-09-27 Andreas Schwab <schwab@redhat.com>
19581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19582 Reread the line before reparsing it.
19584 2011-09-26 Andreas Schwab <schwab@redhat.com>
19586 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19588 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19589 Maxim Kuvyrkov <maxim@codesourcery.com>
19590 Joseph Myers <joseph@codesourcery.com>
19592 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19593 if needed for __stack_chk_guard.
19595 2011-09-19 Roland McGrath <roland@hack.frob.com>
19597 * sysdeps/posix/spawni.c (script_execute): Always define it.
19598 It will be optimized away if unused.
19599 (maybe_script_execute): New function.
19600 (__spawni): Call it.
19602 * Makerules: Don't include tls.make.
19603 (config-tls): Always set to thread.
19604 * tls.make.c: File removed.
19606 2011-09-19 Mike Frysinger <vapier@gentoo.org>
19608 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19609 * config.make.in (CPPFLAGS-config): New substituted variable.
19611 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19616 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19617 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19619 2011-09-15 Roland McGrath <roland@hack.frob.com>
19621 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19622 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19623 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19624 (CALL_FAIL): Likewise.
19625 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19626 (CALL_FAIL): Macro removed.
19627 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19629 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19631 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19632 for __FINITE_MATH_ONLY__ == 1.
19634 2011-09-15 Andreas Schwab <schwab@redhat.com>
19636 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19637 __ieee754_sqrt instead of sqrt.
19638 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19639 __ieee754_sqrtf instead of sqrtf.
19640 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19641 __floorf instead of floorf.
19642 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19643 __floorf, __truncf instead of floorf, truncf.
19645 2011-09-14 Ulrich Drepper <drepper@gmail.com>
19647 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19649 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19650 __extern_always_inline.
19651 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19654 2011-09-14 Andreas Schwab <schwab@redhat.com>
19656 * elf/rtld.c (dl_main): Also relocate in dependency order when
19657 doing symbol dependency testing.
19659 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19662 Always define `refsym'.
19664 2011-09-13 Andreas Schwab <schwab@redhat.com>
19666 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19667 (__FD_ELT): Renamed from __FDELT.
19668 * misc/bits/select2.h (__FD_ELT): Likewise.
19669 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19670 __FD_MASK instead of __FDELT, __FDMASK.
19671 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19673 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19676 * elf/Makefile (gen-ldd): Fix pattern.
19678 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19679 (init_tls): Likewise.
19681 2011-09-12 Ulrich Drepper <drepper@gmail.com>
19683 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19685 2011-09-12 Andreas Schwab <schwab@redhat.com>
19687 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19688 `struct cmsghdr *' instead of `void *'.
19689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19692 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19694 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19696 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19697 ldd_rewrite_script.
19699 2011-09-11 Ulrich Drepper <drepper@gmail.com>
19701 * configure.in: Remove --with-tls option.
19702 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19703 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19704 out in case it is missing.
19705 * sysdeps/ia64/elf/configure.in: Likewise.
19706 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19707 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19708 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19709 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19710 * sysdeps/sh/elf/configure.in: Likewise.
19711 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19712 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19713 * sysdeps/x86_64/elf/configure.in: Likewise.
19714 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19715 * sysdeps/mach/hurd/tls.h: Likewise.
19718 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19721 * configure.in: Fix use of AC_INIT.
19723 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19725 2011-09-10 Ulrich Drepper <drepper@gmail.com>
19727 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19729 * malloc/hooks.c: Likewise.
19732 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19733 variables statically.
19734 (narenas): Initialize.
19735 (list_lock): Initialize.
19736 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19737 initializtion of main_arena and list_lock. Small cleanups.
19738 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19739 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19740 Add initializers to main_arena and mp_.
19741 (malloc_state): Remove pagesize member. Change all users to use
19744 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19745 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19746 is always initialized.
19748 * malloc/malloc.c: Removed unused configurations and dead code.
19749 * malloc/arena.c: Likewise.
19750 * malloc/hooks.c: Likewise.
19751 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19753 * include/tls.h: Removed. USE___THREAD must always be defined.
19754 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19755 * elf/dl-libc.c: Likewise.
19756 * elf/dl-tsd.c: Likewise.
19757 * include/errno.h: Likewise.
19758 * include/netdb.h: Likewise.
19759 * include/resolv.h: Likewise.
19760 * inet/herrno-loc.c: Likewise.
19761 * inet/herrno.c: Likewise.
19762 * malloc/arena.c: Likewise.
19763 * malloc/hooks.c: Likewise.
19764 * malloc/malloc.c: Likewise.
19765 * resolv/res-state.c: Likewise.
19766 * resolv/res_libc.c: Likewise.
19767 * sysdeps/i386/dl-machine.h: Likewise.
19768 * sysdeps/ia64/dl-machine.h: Likewise.
19769 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19770 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19771 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19772 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19773 * sysdeps/sh/dl-machine.h: Likewise.
19774 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19775 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19776 * sysdeps/unix/i386/sysdep.S: Likewise.
19777 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19778 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19783 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19788 * sysdeps/x86_64/dl-machine.h: Likewise.
19789 * tls.make.c: Likewise.
19791 * configure.in: Remove --with-__thread option. Make tests for
19792 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19793 tls_model attribute fail if no support is available. Remove
19795 * Makeconfig: Adjust for dropped configure option. All features are
19797 * Makerules: Likewise.
19798 * Versions.def: Likewise.
19799 * argp/argp-fmtstream.c: Likewise.
19800 * argp/argp-fmtstream.h: Likewise.
19801 * argp/argp-help.c: Likewise.
19802 * assert/assert.c: Likewise.
19803 * config.h.in: Likewise.
19804 * config.make.in: Likewise.
19805 * configure: Likewise.
19806 * configure.in: Likewise.
19807 * csu/Versions: Likewise.
19808 * csu/init.c: Likewise.
19809 * elf/tst-audit2.c: Likewise.
19810 * elf/tst-tls10.c: Likewise.
19811 * elf/tst-tls10.h: Likewise.
19812 * elf/tst-tls11.c: Likewise.
19813 * elf/tst-tls12.c: Likewise.
19814 * elf/tst-tls14.c: Likewise.
19815 * elf/tst-tlsmod11.c: Likewise.
19816 * elf/tst-tlsmod12.c: Likewise.
19817 * elf/tst-tlsmod13.c: Likewise.
19818 * elf/tst-tlsmod13a.c: Likewise.
19819 * elf/tst-tlsmod14a.c: Likewise.
19820 * elf/tst-tlsmod15b.c: Likewise.
19821 * elf/tst-tlsmod16a.c: Likewise.
19822 * elf/tst-tlsmod16b.c: Likewise.
19823 * elf/tst-tlsmod7.c: Likewise.
19824 * elf/tst-tlsmod8.c: Likewise.
19825 * elf/tst-tlsmod9.c: Likewise.
19826 * gmon/gmon.c: Likewise.
19827 * grp/fgetgrent_r.c: Likewise.
19828 * grp/putgrent.c: Likewise.
19829 * hurd/fopenport.c: Likewise.
19830 * include/libc-symbols.h: Likewise.
19831 * include/tls.h: Likewise.
19832 * intl/gettextP.h: Likewise.
19833 * intl/loadinfo.h: Likewise.
19834 * locale/global-locale.c: Likewise.
19835 * locale/localeinfo.h: Likewise.
19836 * mach/devstream.c: Likewise.
19837 * malloc/arena.c: Likewise.
19838 * malloc/set-freeres.c: Likewise.
19839 * misc/err.c: Likewise.
19840 * misc/getttyent.c: Likewise.
19841 * misc/mntent_r.c: Likewise.
19842 * posix/getopt.c: Likewise.
19843 * posix/wordexp.c: Likewise.
19844 * pwd/fgetpwent_r.c: Likewise.
19845 * resolv/Versions: Likewise.
19846 * resolv/res_hconf.c: Likewise.
19847 * shadow/fgetspent_r.c: Likewise.
19848 * shadow/putspent.c: Likewise.
19849 * stdio-common/printf_fphex.c: Likewise.
19850 * stdio-common/tmpfile.c: Likewise.
19851 * stdlib/abort.c: Likewise.
19852 * stdlib/fmtmsg.c: Likewise.
19853 * sunrpc/auth_unix.c: Likewise.
19854 * sunrpc/clnt_perr.c: Likewise.
19855 * sunrpc/clnt_tcp.c: Likewise.
19856 * sunrpc/clnt_udp.c: Likewise.
19857 * sunrpc/clnt_unix.c: Likewise.
19858 * sunrpc/openchild.c: Likewise.
19859 * sunrpc/svc_simple.c: Likewise.
19860 * sunrpc/svc_tcp.c: Likewise.
19861 * sunrpc/svc_udp.c: Likewise.
19862 * sunrpc/svc_unix.c: Likewise.
19863 * sunrpc/xdr.c: Likewise.
19864 * sunrpc/xdr_array.c: Likewise.
19865 * sunrpc/xdr_rec.c: Likewise.
19866 * sunrpc/xdr_ref.c: Likewise.
19867 * sunrpc/xdr_stdio.c: Likewise.
19869 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19871 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19873 2011-07-03 Andreas Jaeger <aj@suse.de>
19875 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19876 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19877 regenerate with gen-libm-tests.pl.
19879 2010-05-12 Petr Baudis <pasky@suse.cz>
19882 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19883 around j0() zero points by switching to j1().
19884 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19885 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19889 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19891 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19893 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19896 Patch in part by Pavel Roskin <proski@gnu.org>.
19899 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19901 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19902 Free memory block if necessary.
19905 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19906 be NULL. Don't lock in this case.
19908 2011-09-09 Roland McGrath <roland@hack.frob.com>
19910 * elf/elf.h (ELFOSABI_GNU): New macro.
19911 (ELFOSABI_LINUX): Define to that.
19913 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19915 * string/strncat.c (strncat): Undef the symbol in case it has been
19916 defined in bits/string.h.
19918 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19920 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19922 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19925 2011-08-17 Andreas Jaeger <aj@suse.de>
19927 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19929 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19930 Ian Lance Taylor <iant@google.com>
19932 * math/libm-test.inc (lround_test): New testcase.
19933 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19935 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19937 * Makefile: Remove support for automatic cvs check-ins.
19938 * Makerules: Likewise.
19939 * config.make.in: Likewise.
19940 * configure.in: Likewise.
19941 * intl/Makefile: Likewise.
19942 * locale/Makefile: Likewise.
19943 * po/Makefile: Likewise.
19944 * posix/Makefile: Likewise.
19945 * sysdeps/gnu/Makefile: Likewise.
19946 * sysdeps/mach/hurd/Makefile: Likewise.
19947 * sysdeps/sparc/sparc32/Makefile: Likewise.
19950 * posix/Makefile (bug-regex32-ENV): Define.
19951 Patch by John Stanley <jpsinthemix@verizon.net>.
19953 * misc/Makefile (headers): Add bits/select2.h.
19954 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19955 * misc/bits/select2.h: New file.
19956 * include/bits/select2.h: New file.
19957 * debug/Makefile (routines): Add fdelt_chk.
19958 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19959 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19961 * debug/fdelt_chk.c: New file.
19963 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19964 * wcsmbs/test-wmemcmp.c: Likewise.
19965 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19966 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19968 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19970 * string/Makefile (strop-tests): Add memcmp.
19971 * string/test-wmemcmp.c: New file.
19972 * string/test-memcmp.c: Add wmemcmp support.
19974 2011-09-08 Roland McGrath <roland@hack.frob.com>
19977 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19980 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19981 garbage value in a __mach_port_mod_refs call in the cases of the
19982 task-self and thread-self ports.
19984 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19986 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19988 2011-09-08 Andreas Schwab <schwab@redhat.com>
19990 * elf/dl-load.c (lose): Check for non-null L.
19992 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19994 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19996 * elf/dl-libc.c (dlerror_run): Pass back error code from
20000 * elf/dl-load.c (lose): Free l_origin if it is valid.
20002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20004 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20008 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20009 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20011 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20013 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20014 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20015 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20016 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20017 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20018 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20019 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20020 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20021 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20022 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20024 2011-08-15 Alan Modra <amodra@gmail.com>
20027 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20028 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20029 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20030 ppc_mcount to static-only-routines.
20031 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20033 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20034 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20036 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20038 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20039 for finite and infinity parameters.
20041 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20043 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20044 and add nop instructions for throughput optimization.
20045 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20047 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20049 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20050 aligned copy for power7 with vector-scalar instructions.
20051 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20053 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20055 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20058 2011-09-07 Andreas Schwab <schwab@redhat.com>
20061 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20064 2011-09-07 Ulrich Drepper <drepper@gmail.com>
20066 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20067 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20068 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20072 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20074 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20075 Forgot to demangle the pointer.
20077 * sysdeps/i386/sysdep.h: Define atom_text_section.
20078 * sysdeps/x86_64/sysdep.h: Likewise.
20079 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20080 section with atom_text_section.
20081 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20082 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20083 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20084 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20085 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20088 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20089 already be defined. Change to take two parameters and don't assign
20090 result to variable. Adjust all users.
20091 Define INTERNAL_GETTIME if not already defined.
20092 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20095 HAVE_CLOCK_GETTIME_VSYSCALL.
20096 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20099 gettimeofday vsyscall, just use time.
20101 2011-09-06 Andreas Schwab <schwab@redhat.com>
20103 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20106 2011-09-06 Ulrich Drepper <drepper@gmail.com>
20108 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20110 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20112 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20113 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20114 syscall if possible.
20116 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20118 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20119 e_ident. Don't pass to find_mapsXX.
20120 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20122 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20125 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20126 * sysdeps/x86_64/multiarch/strchr.S: Update.
20127 Check bit_slow_BSF bit.
20128 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20129 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20130 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20132 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20135 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20137 (tryshell): Define.
20138 (__spawni): Change last parameter to be flag. Test
20139 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20140 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20141 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20142 * posix/spawni.c: Likewise.
20143 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20144 * posix/spawnp.c: Likewise. Change normal version to use
20145 SPAWN_XFLAGS_USE_PATH.
20146 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20147 SPAWN_XFLAGS_TRY_SHELL.
20150 * posix/glob.h: Remove gcc 1.x support.
20153 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20155 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20158 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20160 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20161 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20162 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20163 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20164 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20165 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20167 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20169 * sysdeps/x86_64/wcscmp.S: New file.
20171 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20172 wcscmp-c wcscmp-sse2
20173 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20174 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20175 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20176 * wcsmbs/wcscmp.c: Allow renaming.
20178 2011-09-05 David S. Miller <davem@davemloft.net>
20180 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20181 stack slot, rather than the struct return pointer slot.
20182 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20183 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20185 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20187 2011-09-05 Ulrich Drepper <drepper@gmail.com>
20189 * po/ja.po: Update from translation team.
20192 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20193 kernel in 64-bit binaries.
20195 2011-09-01 David S. Miller <davem@davemloft.net>
20197 * elf/elf.h (HWCAP_SPARC_*): Move to..
20198 * sysdeps/sparc/sysdep.h: this new file and add new values.
20199 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20200 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20201 _DL_HWCAP_COUNT to 24.
20202 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20204 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20205 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20206 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20208 instead of magic constants.
20209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20211 2011-08-31 David S. Miller <davem@davemloft.net>
20213 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20215 Reimplement to do errno handling inline.
20216 (SYSCALL_ERROR_HANDLER): New macro.
20217 (__SYSCALL_STRING): Do not do errno handling in asm.
20218 (__CLONE_SYSCALL_STRING): Delete.
20219 (__INTERNAL_SYSCALL_STRING): Delete.
20220 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20221 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20222 (PSEUDO): Reimplement to do errno handling inline.
20223 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20224 (SYSCALL_ERROR_HANDLER): New macro.
20225 (__SYSCALL_STRING): Do not do errno handling in asm.
20226 (__CLONE_SYSCALL_STRING): Delete.
20227 (__INTERNAL_SYSCALL_STRING): Delete.
20228 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20229 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20231 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20232 (inline_syscall*): Add 'err' argument.
20233 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20234 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20235 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20236 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20238 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20239 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20241 2011-08-30 Andreas Schwab <schwab@redhat.com>
20243 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20245 2011-08-29 Jiri Olsa <jolsa@redhat.com>
20247 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20250 2011-08-24 David S. Miller <davem@davemloft.net>
20252 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20254 2011-08-24 Andreas Schwab <schwab@redhat.com>
20256 * elf/Makefile: Add rules to build and run unload8 test.
20257 * elf/unload8.c: New file.
20258 * elf/unload8mod1.c: New file.
20259 * elf/unload8mod1x.c: New file.
20260 * elf/unload8mod2.c: New file.
20261 * elf/unload8mod3.c: New file.
20263 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20266 2011-08-23 David S. Miller <davem@davemloft.net>
20268 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20269 subtract stack bias.
20270 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20271 %sp not %fp in calculations.
20272 (_JMPBUF_UNWINDS_ADJ): Likewise.
20274 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20275 (aio_suspend): Call it to force an exception region around the
20276 AIO_MISC_WAIT() invocation.
20278 2011-08-23 Andreas Schwab <schwab@redhat.com>
20280 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20283 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20285 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20287 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20288 and <dl-machine.h>.
20289 (Elf64_FuncDesc): Remove.
20291 2011-08-22 David S. Miller <davem@davemloft.net>
20293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20294 sigaltstack check, add missing cfi directives.
20295 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20296 missing cfi directives, and sigaltstack handling.
20298 2011-08-16 Andreas Schwab <schwab@redhat.com>
20301 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20302 object is seen twice.
20303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20305 * elf/Makefile (distribute): Add tst-initorder2.c.
20306 (tests): Add tst-initorder2.
20307 (modules-names): Add tst-initorder2a tst-initorder2b
20308 tst-initorder2c tst-initorder2d. Add rules to build them.
20309 ($(objpfx)tst-initorder2.out): New rule.
20310 * elf/tst-initorder2.c: New file.
20311 * elf/tst-initorder2.exp: New file.
20313 2011-08-22 Andreas Schwab <schwab@redhat.com>
20315 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20317 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20318 dependencies back to end of function.
20320 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20321 $(elfobjdir)/ld.so.
20323 2011-08-21 Ulrich Drepper <drepper@gmail.com>
20325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20326 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20328 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20329 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20330 of __vdso_gettimeofday.
20331 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20332 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20334 (_libc_vdso_platform_setup): Remove initialization of
20335 __vdso_gettimeofday and __vdso_time.
20337 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20339 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20340 and fgetc_unlocked.
20341 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20344 * elf/dl-open.c (add_to_global): Report additions to the global scope
20345 for LD_DEBUG=scopes.
20346 (dl_open_worker): Also print scope of newly loaded dependencies.
20347 (_dl_show_scope): Indicate if there is no scope.
20350 * stdio-common/Makefile (tests): Add bug24.
20351 * stdio-common/bug24.c: New file.
20353 2011-08-19 Andreas Jaeger <aj@suse.de>
20356 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20357 non-existant file when using close-on-exec mode.
20359 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20361 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20362 the very first instruction.
20364 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20365 the CFI state in the end.
20366 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20367 inclusion of dl-trampoline.h.
20368 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20370 2011-08-19 Andreas Schwab <schwab@redhat.com>
20372 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20373 expectations for long double.
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20376 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20378 2011-08-14 David S. Miller <davem@davemloft.net>
20380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20381 artificual limit depends upon the system page size.
20383 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20385 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20386 * resolv/Makefile: Define CFLAGS-libresolv.
20388 2011-08-17 Andreas Schwab <schwab@redhat.com>
20390 * nss/makedb.c (compute_tables): Make variables used in nested
20393 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20395 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20396 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20397 if buffer was too small.
20399 * elf/pldd.c (main): Attach to all threads in the process.
20400 Rewrite /proc handling to use *at functions.
20402 2011-08-16 Ulrich Drepper <drepper@gmail.com>
20404 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20405 specifies first scope to show.
20406 (dl_open_worker): Update callers. Move printing scope of new
20407 object to before the relocation.
20408 * elf/rtld.c (dl_main): Update _dl_show_scope call.
20409 * sysdeps/generic/ldsodefs.h: Update declaration.
20411 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20412 string for the scope number.
20414 2011-08-14 Ulrich Drepper <drepper@gmail.com>
20416 * nscd/servicescache.c (cache_addserv): Make sure written is always
20419 2011-08-14 Roland McGrath <roland@hack.frob.com>
20421 * sysdeps/i386/i486/bits/atomic.h
20422 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20423 statement expression, so as to suppress "set but not used" warning.
20424 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20426 * string/strncat.c (STRNCAT): Use prototype definition.
20428 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20429 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20431 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20432 (localedef-modules): Add localedef.
20433 (locale-modules): Add locale.
20435 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20436 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20437 to avoid a warning.
20439 2011-08-14 David S. Miller <davem@davemloft.net>
20441 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20442 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20444 2011-08-13 Ulrich Drepper <drepper@gmail.com>
20446 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20447 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20448 * elf/rtld.c (dl_main): Set l_name of vDSO.
20449 Call _dl_show_scope when DL_DEBUG_SCOPES.
20450 (process_dl_debug): Recognize scopes flag and also set it for all.
20451 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20452 Declare _dl_show_scope.
20454 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20455 (do_dlopen): Pass caller_dlopen to dl_open.
20456 (__libc_dlopen_mode): Initialize caller_dlopen.
20458 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20459 of libc. Make tolower call locale-independent. Optimize a bit by
20460 using isdigit instead of isalnum.
20461 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20463 2011-08-12 Ulrich Drepper <drepper@gmail.com>
20465 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20466 was a dependency or dynamically loaded.
20468 2011-08-11 Ulrich Drepper <drepper@gmail.com>
20470 * intl/l10nflist.c: Allow architecture-specific pop function.
20471 * sysdeps/x86_64/l10nflist.c: New file.
20473 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20476 2011-08-10 Andreas Schwab <schwab@redhat.com>
20478 * include/dirent.h: Add libc_hidden_proto for scandirat and
20479 scandirat64. Don't declare __scandirat64.
20480 * dirent/scandirat.c: Add libc_hidden_def.
20481 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20482 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20484 2011-08-10 David S. Miller <davem@davemloft.net>
20486 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20488 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20489 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20492 2011-08-09 Ulrich Drepper <drepper@gmail.com>
20494 * Versions.def [libc]: Add GLIBC_2.15.
20495 * dirent/Makefile (routines): Add scandirat and scandirat64.
20496 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20498 * dirent/dirent.h: Declare scandirat and scandirat64.
20499 * dirent/scandirat.c: New file.
20500 * dirent/scandirat64.c: New file.
20501 * sysdeps/wordsize-64/scandirat.c: New file.
20502 * sysdeps/wordsize-64/scandirat64.c: New file.
20503 * dirent/opendir.c: Define opendirat.
20504 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20506 * dirent/scandir64.c: Adjust for scandir.c change.
20507 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20508 __scandirat64, and __scandir_cancel_handler.
20509 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20510 additional parameter and use openat instead of open (outside of ld.so).
20511 Add new __opendir as wrapper around __opendirat.
20512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20513 here without requiring old scandirat implementation.
20515 2011-08-08 Ulrich Drepper <drepper@gmail.com>
20517 * dirent/scandir.c (cancel_handler): Renamed to
20518 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20519 defined. Adjust users.
20520 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20523 2011-08-04 Ulrich Drepper <drepper@gmail.com>
20525 * string/test-string.h (IMPL): Use __STRING to expand name and then
20528 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20531 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20533 * string/Makefile: Update.
20534 (strop-tests): Append strncat.
20535 * string/test-wcscmp.c: New file.
20536 New comprehensive test for wcscmp.
20537 * string/test-strcmp.c: Update.
20538 (WIDE): New define.
20540 2011-07-22 Andreas Schwab <schwab@redhat.com>
20542 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20545 2011-07-26 Andreas Schwab <schwab@redhat.com>
20547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20548 encoding to ACE if AI_IDN.
20550 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20553 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20555 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20557 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20558 Fix overflow bug in strncat.
20559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20561 * string/test-strncat.c: Update.
20562 Add new tests for checking overflow bugs.
20564 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20567 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20568 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20569 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20571 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20572 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20573 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20574 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20576 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20577 (USE_AS_STRCAT): Define.
20578 Add strcat and strncat support.
20579 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20581 2011-07-25 Andreas Schwab <schwab@redhat.com>
20583 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20584 __n bigger than INT_MAX+1.
20585 (__strncmp_g): Likewise.
20587 2011-07-23 Ulrich Drepper <drepper@gmail.com>
20589 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20590 * libio/stido.h: Likewise.
20592 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20594 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20597 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20598 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20604 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20609 (_dl_x86_64_save_sse): Likewise.
20611 2011-07-22 Ulrich Drepper <drepper@gmail.com>
20613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20615 (_dl_x86_64_save_sse): Likewise.
20617 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20619 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20621 2011-07-21 Andreas Schwab <schwab@redhat.com>
20623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20625 (_dl_x86_64_save_sse): Use correct AVX check.
20627 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20630 bug in strncpy/strncat.
20631 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20633 2011-07-21 Ulrich Drepper <drepper@gmail.com>
20635 * string/tester.c (test_strcat): Add tests for different alignments
20636 of source and destination.
20637 (test_strncat): Likewise.
20639 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20642 * posix/glob.c (glob): Check passed in values before using them in
20643 expressions to avoid some overflows.
20644 (glob_in_dir): Likewise.
20647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20648 check for AVX enablement so that we don't crash with old kernels and
20650 * elf/tst-audit4.c: Add same checks here.
20651 * elf/tst-audit6.c: Likewise.
20653 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20655 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20657 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20659 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20661 * po/cs.po: Update from translation team.
20662 * po/bg.po: Likewise.
20664 2011-07-12 Marek Polacek <mpolacek@redhat.com>
20666 * misc/sys/cdefs.h: Add support for const attribute.
20667 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20668 to gnu_dev_{major,minor,makedev} functions.
20670 2011-07-20 Marek Polacek <mpolacek@redhat.com>
20672 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20674 2011-07-20 Andreas Schwab <schwab@redhat.com>
20676 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20679 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20682 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20683 register in order to avoid conflicts with the soft frame pointer
20684 being held in r11 when necessary.
20685 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20686 (INTERNAL_VSYSCALL_NCS): Likewise.
20688 2011-07-14 Marek Polacek <mpolacek@redhat.com>
20690 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20691 * elf/dl-fini.c (_dl_fini): Adjust caller.
20692 * elf/dl-close.c (_dl_close_worker): Likewise.
20693 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20695 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20697 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20698 "aux_cache->nlibs < 0".
20700 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20701 in the reload-count case.
20703 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20706 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20707 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20708 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20709 * sysdeps/x86_64/multiarch/strcat.S: New file.
20710 * sysdeps/x86_64/multiarch/strncat.S: New file.
20711 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20712 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20713 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20714 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20715 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20716 (USE_AS_STRCAT): Define.
20717 Add strcat and strncat support.
20718 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20719 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20720 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20721 * string/strncat.c: Update.
20722 (USE_AS_STRNCAT): Define.
20723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20724 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20726 * sysdeps/x86_64/multiarch/init-arch.h
20727 (bit_Prefer_PMINUB_for_stringop): New.
20728 (index_Prefer_PMINUB_for_stringop): Likewise.
20729 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20730 bit_Prefer_PMINUB_for_stringop.
20732 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20734 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20736 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20737 of casting of buffer.
20738 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20739 buffer32 and buffer64.
20740 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20741 writes instead of casting of buffer.
20742 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20744 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20747 2011-07-19 Andreas Schwab <schwab@redhat.com>
20749 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20751 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20753 * nscd/nscd.c (termination_handler): Don't do anything for a database
20754 if it has not yet been initialized.
20756 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20758 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20760 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20762 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20764 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20766 * po/nl.po: Update from translation team.
20767 * po/sv.po: Likewise.
20769 2011-07-16 Roland McGrath <roland@hack.frob.com>
20771 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20772 now disallowed by GCC.
20774 * configure.in (use-default-link): Default to yes if a test -shared
20775 link meets our qualifications.
20776 * configure: Regenerated.
20778 * config.make.in (output-format): New variable.
20779 * configure.in: Check for ld --print-output-format support.
20780 * configure: Regenerated.
20781 * Makerules ($(common-objpfx)format.lds)
20782 [$(output-format) != unknown]: Just use $(output-format),
20783 instead of the linker-script munging.
20785 2011-07-14 Roland McGrath <roland@hack.frob.com>
20787 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20788 of $(common-objpfx)shlib.lds.
20789 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20791 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20792 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20794 * configure.in (-z relro check): Adjust test code to add a large
20795 writable data section after it.
20796 * configure: Regenerated.
20798 2011-07-11 Roland McGrath <roland@hack.frob.com>
20800 * configure.in (-z relro check): Fix test code to make the variable
20802 * configure: Regenerated.
20804 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20806 * nscd/nscd.h (struct traced_file): Define.
20807 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20808 elements. Add traced_files.
20809 (inotify_fd): Declare.
20810 (register_traced_file): Declare.
20811 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20812 (inotify_fd): Export.
20813 (resolv_conf_descr): Remove.
20814 (nscd_init): Move inotify descriptor creation to main.
20815 Don't register files for notification here.
20816 (register_traced_file): New function.
20817 (invalidate_cache): Don't use reset_res to determine whether to call
20818 res_init, go through the list of registered files.
20819 (main_loop_poll): The inotify descriptors are now stored in the
20820 structures for the traced files.
20821 (main_loop_epoll): Likewise
20822 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20823 to __nss_disable_nscd.
20824 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20825 for a database anymore. Check the records for all the registered
20827 * nss/Makefile (libnss_files-routines): Add files-init.
20828 (libnss_db-routines): Add db-init.
20829 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20830 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20831 * nss/nss_db/db-init.c: New file.
20832 * nss/nss_files/files-init.c: New file.
20833 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20834 __nss_lookup_function.
20835 (__nss_lookup_function): Call nss_load_library.
20836 (nss_load_all_libraries): New function.
20837 (__nss_disable_nscd): Take parameter with callback function for files
20838 to register. Set is_nscd. Load all the DSOs for the NSS modules
20839 used for the cached services.
20840 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20841 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20842 options for features to all the files in nscd.
20844 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20846 2011-07-10 Roland McGrath <roland@hack.frob.com>
20848 * csu/elf-init.c (__libc_csu_init): Comment typo.
20850 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20852 * po/pl.po: Update from translation team.
20853 * po/ja.po: Likewise.
20854 * po/ru.po: Likewise.
20855 * po/ko.po: Likewise.
20856 * po/fr.po: Likewise.
20858 2011-07-09 Roland McGrath <roland@hack.frob.com>
20860 * configure.in (.ctors/.dtors header and trailer check):
20861 Use an empirical test on a built program.
20862 * configure: Regenerated.
20864 * configure.in (-z relro check): Use an empirical test on a built DSO.
20865 Detect, but do not require, on ia64.
20866 * configure: Regenerated.
20868 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20869 Update tests that use readelf to use $READELF instead.
20870 * configure: Regenerated.
20872 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20874 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20875 if the result is not used.
20877 2011-07-05 Andreas Jaeger <aj@suse.de>
20880 * stdlib/tst-strtod.c: Add testcase.
20882 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20884 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20885 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20886 The latter has a higher limit. Take additional parameter to pass to
20888 (__pathconf): Pass file to __statfs_link_max.
20889 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20891 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20895 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20896 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20898 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20899 (__statfs_filesize_max): Likewise.
20900 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20902 2011-07-05 Andreas Jaeger <aj@suse.de>
20904 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20906 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20908 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20910 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20913 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20915 * Makefile (strop-tests): Add strncat.
20916 * string/test-strncat.c: New file.
20918 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20920 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20922 2011-06-21 Andreas Jaeger <aj@suse.de>
20924 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20925 Copy rule from iconvdata/Makefile.
20927 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20930 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20931 but no long options are defined, just return 'W'.
20933 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20936 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20938 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20940 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20942 (innetgr): Likewise.
20944 2011-07-05 Roland McGrath <roland@hack.frob.com>
20946 * config.make.in (install_root): Default to $(DESTDIR).
20948 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20950 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20952 2011-07-02 Roland McGrath <roland@hack.frob.com>
20954 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20956 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20957 containing directory rather than embedding absolute directory names.
20959 * scripts/check-local-headers.sh: Rewritten using awk.
20960 Match by word, not by line. Print error messages for matches.
20961 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20963 * Makerules [shlib-lds-flags empty]:
20964 ($(common-objpfx)libc_pic.opts): New target.
20965 ($(common-objpfx)libc_pic.os.clean): New target.
20966 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20968 * config.make.in (OBJCOPY): New variable.
20969 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20970 * configure: Regenerated.
20972 * config.make.in (use-default-link): New variable.
20973 * configure.in (use_default_link): Grok --with-default-link to set it.
20974 * configure: Regenerated.
20975 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20976 (shlib-lds, shlib-lds-flags): Define to empty.
20978 * Makerules (shlib-lds): New variable.
20979 (shlib-lds-flags): New variable.
20980 (build-shlib, build-moduile, build-module-asneeded): Use it.
20981 ($(common-objpfx)libc.so): Use $(shlib-lds).
20982 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20983 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20985 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20986 DT_FLAGS/DT_FLAGS_1 with zero flags.
20988 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20989 linker script munging.
20991 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20993 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20995 * crypt/sha512.c (sha512_process_block): Perform total addition using
20996 128-bit if possible.
20997 (__sha512_finish_ctx): Likewise.
20998 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21000 * crypt/sha256.c (SWAP64): Define.
21001 (sha256_process_block): Perform total addition using 64-bit if
21003 (__sha256_finish_ctx): Likewise.
21005 2011-07-01 Ulrich Drepper <drepper@gmail.com>
21007 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21009 * nscd/hstcache.c (cache_addhst): Likewise.
21010 * nscd/grpcache.c (cache_addgr): Likewise.
21011 * nscd/aicache.c (addhstaiX): Likewise
21012 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21014 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
21016 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21018 * nscd/hstcache.c (cache_addhst): Likewise.
21019 * nscd/grpcache.c (cache_addgr): Likewise.
21020 * nscd/aicache.c (addhstaiX): Likewise
21022 2011-07-01 Andreas Schwab <schwab@redhat.com>
21024 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21025 domain only when needed.
21027 2011-06-30 Andreas Schwab <schwab@redhat.com>
21029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21030 is always restored.
21032 2011-06-29 Ulrich Drepper <drepper@gmail.com>
21034 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21035 are re-adding the entry.
21036 * nscd/servicescache.c (cache_addserv): Likewise.
21038 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21040 * sysdeps/generic/dl-irel.h: fix protection against multiple
21042 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21044 2011-06-28 Ulrich Drepper <drepper@gmail.com>
21047 * malloc/memusage.sh: Fix quoting in message.
21048 * debug/xtrace.sh: Likewise.
21050 * configure.in: Remove support for --experimental-malloc option, make
21052 * config.make.in: Likewise.
21053 * malloc/Makefile: Likewise.
21055 2011-06-27 Andreas Schwab <schwab@redhat.com>
21057 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21058 two-byte characters.
21060 2011-06-27 Roland McGrath <roland@hack.frob.com>
21062 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21063 AC_CACHE_CHECK invocation.
21064 * configure: Regenerated.
21066 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21068 2011-06-27 Ulrich Drepper <drepper@gmail.com>
21071 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21072 bit from old_res_options.
21074 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21076 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21077 value type for setfct.
21079 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21082 __gettimeofday instead of gettimeofday.
21084 2011-06-26 Ulrich Drepper <drepper@gmail.com>
21086 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21088 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21095 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21098 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21099 strcpy-sse2-unaligned strncpy-sse2-unaligned
21100 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21101 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21102 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21103 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21104 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21105 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21106 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21107 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21108 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21109 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21110 (STRCPY): Support SSE2 and SSSE3 versions.
21112 2011-06-24 Ulrich Drepper <drepper@gmail.com>
21115 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21116 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21117 kernels which artificially limit size of requests.
21119 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21122 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21123 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21124 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21125 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21126 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21127 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21128 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21129 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21131 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21132 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21133 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21134 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21135 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21137 Enable unaligned load optimization for Intel Core i3, i5 and i7
21139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21141 (index_Fast_Unaligned_Load): Define.
21142 (HAS_FAST_UNALIGNED_LOAD): Define.
21144 2011-06-23 Marek Polacek <mpolacek@redhat.com>
21146 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21148 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21152 until it is clear that the information is realy needed.
21153 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21155 2011-06-22 Andreas Schwab <schwab@redhat.com>
21157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21159 2011-06-22 Ulrich Drepper <drepper@gmail.com>
21161 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21162 /sys/devices/system/cpu/online if it is usable.
21164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21165 reading the information from the /proc filesystem to once a second.
21167 2011-06-21 Andreas Jaeger <aj@suse.de>
21169 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21170 NULL after inclusion of kernel headers.
21172 2011-06-21 Ulrich Drepper <drepper@gmail.com>
21174 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21175 calls to internal_setent.
21178 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21179 addresses using gethostbyname4_r ignore IPv4 addresses.
21181 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21182 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21184 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21186 2011-06-20 David S. Miller <davem@davemloft.net>
21188 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21190 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21192 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21193 (elf_irel): Use it.
21194 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21195 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21196 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21197 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21198 * sysdeps/x86_64/dl-irel.h: Likewise.
21200 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21201 * elf/dl-sym.c: Likewise.
21203 2011-06-15 Ulrich Drepper <drepper@gmail.com>
21205 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21206 need to dereference resplen2.
21208 2011-06-14 Andreas Schwab <schwab@redhat.com>
21210 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21212 2011-06-15 Ulrich Drepper <drepper@gmail.com>
21214 * Makeconfig: Define vardbdir and inst_vardbdir.
21215 * nss/Makefile: Add rules to install db-Makefile.
21217 * nss/nss_db/db-XXX.c: Cleanup.
21219 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21220 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21222 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21223 * nss/makedb.c: Implement -g option to specify that value strings
21224 are generated and should not be added to table iterated over for
21226 * nss/nss_db/db-initgroups.c: New file.
21228 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21231 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21232 (internal_getgrouplist): Adjust to name change.
21233 Update use_initgroups_entry if this is not the first call.
21234 * nss/databases.def: Add initgroups entry.
21236 * nss/makedb.c (compute_tables): Check result of multiple hash table
21237 sizes to minimize maximum chain length.
21239 2011-06-14 Ulrich Drepper <drepper@gmail.com>
21241 * Versions.def: Add entry for libnss_db.
21242 * shlib-versions: Likewise.
21243 * nss/Makefile: Add rules to build libnss_db.
21244 * nss/Versions: Add libnss_db information. Organize libnss_files
21246 * nss/db-Makefile: Add gshadow support. Change rules for the new
21247 makedb progra. Some minor improvements to generate smaller files.
21248 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21250 * nss/makedb.c: ...here.
21251 Improve database format to be smaller and require less memory at
21253 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21255 * nss/nss_db/db-netgrp.c: Likewise.
21256 * nss/nss_db/db-open.c: Likewise.
21257 * nss/nss_files/flies-XXX.x: Adjust comments.
21258 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21259 * nss/nss_files/files-grp.c: Likewise.
21260 * nss/nss_files/files-hosts.c: Likewise.
21261 * nss/nss_files/files-network.c: Likewise.
21262 * nss/nss_files/files-proto.c: Likewise.
21263 * nss/nss_files/files-pwd.c: Likewise.
21264 * nss/nss_files/files-rpc.c: Likewise.
21265 * nss/nss_files/files-service.c: Likewise.
21266 * nss/nss_files/files-sgrp.c: Likewise.
21267 * nss/nss_files/files-spwd.c: Likewise.
21268 * nss/nss_db/db-alias.c: Removed.
21269 * nss/nss_db/dummy-db.h: Removed.
21271 2011-06-02 Ulrich Drepper <drepper@gmail.com>
21273 * nss/makedb.c: Rewritten to not use database library.
21274 * nss/Makefile: Update to build new makedb program.
21276 2011-06-14 Andreas Jaeger <aj@suse.de>
21278 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21279 memset declaration.
21281 2011-06-10 Andreas Schwab <schwab@redhat.com>
21283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21286 2011-06-10 Roland McGrath <roland@hack.frob.com>
21288 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21289 * elf/Makefile ($(objpfx)ld.so): Likewise.
21291 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21292 Don't list ld.so twice in dependencies.
21294 * posix/bug-regex31.c: Include <stdlib.h>.
21296 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21298 * nis/nss_compat/compat-spwd.c
21299 (getspent_next_nss_netgr): Remove unused variable.
21300 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21302 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21303 nonmembers" output to use the right array.
21305 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21307 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21309 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21310 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21311 * catgets/gencat.c (read_input_file): Likewise.
21312 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21314 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21315 variable definition inside #if's controlling its use.
21317 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21319 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21321 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21323 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21326 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21328 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21329 * configure: Regenerated.
21331 * Makerules: Revert last change.
21332 * elf/Makefile: Likewise.
21334 2011-06-09 Roland McGrath <roland@hack.frob.com>
21336 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21337 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21338 (reloc-link): Likewise.
21340 2011-06-09 Ulrich Drepper <drepper@gmail.com>
21342 * elf/Makefile: Add rules to build pldd.
21343 * elf/pldd.c: New file.
21344 * elf/pldd-xx.c: New file.
21346 2011-06-07 Ulrich Drepper <drepper@gmail.com>
21348 * version.h: Update for 2.15 development version.
21350 2011-06-07 David S. Miller <davem@davemloft.net>
21352 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21354 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21355 elf_machine_lazy_rel): Likewise.
21356 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21358 elf_machine_lazy_rel): Likewise.
21359 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21360 dl_hwcap via passed in argument.
21361 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21364 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21366 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21368 2011-06-06 Roland McGrath <roland@hack.frob.com>
21371 * manual/fdl-1.1.texi: New file, verbatim from:
21372 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21373 * manual/lgpl-2.1.texi: New file, verbatim from:
21374 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21375 * manual/Makefile (licenses): New variable, list those new file names.
21377 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21379 * manual/fdl.texi: File removed.
21380 * manual/lesser.texi: File removed.
21381 * manual/libc.texinfo (Copying, Documentation License):
21382 Use new @include file names, put @appendix directive before @include.
21384 2011-06-04 Jakub Jelinek <jakub@redhat.com>
21387 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21388 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21389 (mq_open): Add __NTH.
21391 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21394 Assume Intel Core i3/i5/i7 processor if AVX is available.
21396 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21401 2011-05-31 Andreas Schwab <schwab@redhat.com>
21403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21404 memory. Use alloca_account. Fix memory leak when retrying.
21406 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21408 * version.h (RELEASE): Bump for 2.14 release.
21409 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21411 * config.make.in (RANLIB): Remove entry.
21413 2011-05-30 Ulrich Drepper <drepper@gmail.com>
21415 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21416 (libc.pot): Work around missing support for .ksh extension in xgettext.
21419 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21420 if both request failed.
21421 (send_dg): In case of server errors clear resplen or *resplen2.
21424 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21425 when there are multiple maps.
21426 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21427 (_dl_fini): Remove test here.
21429 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21431 2011-05-29 Ulrich Drepper <drepper@gmail.com>
21434 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21435 bit from old_res_options.
21436 (gaih_inet): Likewise.
21439 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21442 * resolv/res_init.c (res_setoptions): Make the code more compact.
21445 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21449 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21451 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21454 * malloc/malloc.h: Declare malloc hook variables as volatile.
21456 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21460 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21461 raise in the comment.
21462 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21463 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21464 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21466 2011-05-28 Ulrich Drepper <drepper@gmail.com>
21469 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21470 grow the buffers more if it already has to be sufficient.
21471 (build_wcs_upper_buffer): Likewise.
21472 * posix/regexec.c (check_matching): Likewise.
21473 (clean_state_log_if_needed): Likewise.
21474 (extend_buffers): Don't enlarge buffers beyond size of the input
21476 Patches mostly by Emil Wojak <emil@wojak.eu>.
21477 * posix/bug-regex32.c: New file.
21478 * posix/Makefile (tests): Add bug-regex32.
21480 * locale/findlocale.c (_nl_find_locale): Return right away if
21481 _nl_explode_name failed.
21482 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21484 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21486 * debug/xtrace.sh: Unify messages.
21487 * malloc/memusage.sh: Likewise.
21490 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21491 time symbol from vDSO. Substitute with vsyscall if not available.
21492 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21495 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21496 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21497 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21498 Add sendmmsg and internal_sendmmsg.
21499 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21500 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21501 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21503 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21504 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21505 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21507 2011-05-27 Ulrich Drepper <drepper@gmail.com>
21510 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21511 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21513 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21517 * iconvdata/Makefile (tests): Add bug-iconv9.
21518 * iconvdata/bug-iconv9.c: New file.
21520 2011-05-27 Andreas Schwab <schwab@redhat.com>
21523 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21525 2011-05-25 Jakub Jelinek <jakub@redhat.com>
21527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21528 (struct user_regs_struct): Change intcs field back to cs.
21530 2011-05-25 Ulrich Drepper <drepper@gmail.com>
21532 * po/ja.po: Update from translation team.
21534 2011-05-23 Ulrich Drepper <drepper@gmail.com>
21537 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21538 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21540 2011-05-20 Andreas Schwab <schwab@redhat.com>
21542 * stdlib/longlong.h: Update from GCC.
21544 2011-05-23 Andreas Schwab <schwab@redhat.com>
21546 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21548 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21549 Add parameter name.
21550 (__sysconf): Pass it down.
21552 2011-05-22 Ulrich Drepper <drepper@gmail.com>
21555 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21557 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21558 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21559 add in in __libc_use_alloca calls. Adjust callers.
21560 (glob): Use malloc in some situations.
21562 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21563 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21566 2011-05-21 Ulrich Drepper <drepper@gmail.com>
21568 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21569 and CLOCK_BOOTTIME_ALARM.
21572 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21575 * string/_strerror.c (__strerror_r): Print negative errors as signed
21579 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21580 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21581 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21583 * configure.in: Fix typo in redirection and correct removal of test
21584 files in two cases.
21587 * locale/setlocale.c (new_composite_name): Fix test to check for
21588 identical name of all categories.
21591 * libio/filedoalloc.c (local_isatty): New function.
21592 (_IO_file_doallocate): Use local_isatty.
21593 * stdio-common/perror.c (perror): In case a new stream is used
21594 forward the stream error.
21595 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21598 2011-05-20 Ulrich Drepper <drepper@gmail.com>
21601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21603 * include/alloca.h (extend_alloca_account): Define.
21606 * posix/regex.h: Fix comments with documentation of user-accessible
21607 fields after compilation and describe correct free'ing of pattern
21608 after re_compile_pattern.
21609 Patch by Reuben Thomas <rrt@sc3d.org>.
21611 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21613 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21614 and -mno-altivec to prevent the compiler from using Altivec and/or
21615 VSX instructions when the corresponding registers are not available.
21617 2011-05-19 Andreas Schwab <schwab@redhat.com>
21619 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21621 2011-05-19 Ulrich Drepper <drepper@gmail.com>
21623 * libio/freopen.c (freopen): Use __dup2, not dup2.
21624 * libio/freopen64.c (freopen64): Likewise.
21626 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21629 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21630 * math/Makefile (tests): Add test-powl.
21631 (CFLAGS-test-powl.c): Define.
21632 * math/test-powl.c: New file.
21634 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21636 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21638 2011-05-17 Ulrich Drepper <drepper@gmail.com>
21641 * iconvdata/gb18030.c: Update to GB18020-2005.
21643 2011-05-16 Ulrich Drepper <drepper@gmail.com>
21645 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21646 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21647 Patch by Aharon Robbins <arnold@skeeve.com>.
21650 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21654 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21655 through underflows.
21658 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21659 point to strings before performing equality test for error_one_per_line
21663 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21666 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21667 (struct user_fpregs_struct): Avoid __uint*_t types.
21670 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21671 symbol info. Use it instead of calling _dl_addr locally.
21672 (lock_and_info): New function.
21673 (tr_freehook): Call lock_and_info and pass symbol info as additional
21674 parameter to tr_where.
21675 (tr_mallochook): Likewise.
21676 (tr_reallochook): Likewise.
21677 (tr_memalignhook): Likewise.
21679 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21680 used and couldn't be at all thread-safe.
21682 2011-05-15 Ulrich Drepper <drepper@gmail.com>
21684 * libio/freopen.c (freopen): Don't close old file descriptor
21685 before the new one is opened. Instead dup the new file descriptor
21686 to the old one after the new stream is created.
21687 * libio/freopen64.c (freopen64): Likewise.
21688 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21689 * libio/fileops.c (_IO_new_file_close_it): Handle new
21690 _IO_FLAGS2_NOCLOSE flag.
21691 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21692 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21693 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21694 _IO_FLAGS2_NOCLOSE flag.
21695 * include/unistd.h: Add hidden_proto for dup3.
21696 Define __have_dup3.
21697 * io/dup3.c: Define hidden symbol.
21698 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21701 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21702 when an incomplete long option is used.
21703 * posix/tst-getopt_long1.c: New file.
21704 * posix/Makefile (tests): Add tst-getopt_long1.
21707 * scripts/config.guess: Update from autoconf-2.68.
21708 * scripts/config.sub: Likewise.
21711 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21713 (has_cpuclock): ...this. New function.
21714 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21715 macro here based on has_cpuclock code.
21718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21719 First byte (not low byte) is now always NUL.
21720 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21723 Use non-cancelable interfaces.
21726 * locale/iso-639.def: Add entry for Sorani.
21729 * include/stdlib.h: Move include protection to the right place.
21730 Define abort_msg_s. Declare __abort_msg with it.
21731 * stdlib/abort.c (__abort_msg): Adjust type.
21732 * assert/assert.c (__assert_fail_base): New function. Majority
21733 of code from __assert_fail. Allocate memory for __abort_msg with
21735 (__assert_fail): Now call __assert_fail_base.
21736 * assert/assert-perr.c: Remove bulk of implementation. Use
21737 __assert_fail_base.
21738 * include/assert.hL Declare __assert_fail_base.
21739 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21741 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21743 2011-05-14 Ulrich Drepper <drepper@gmail.com>
21747 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21748 until all modules are registered in the DTV.
21749 * elf/Makefile: Add rules to build and run tst-tls19.
21750 * elf/tst-tls19.c: New file.
21751 * elf/tst-tls19mod1.c: New file.
21752 * elf/tst-tls19mod2.c: New file.
21753 * elf/tst-tls19mod3.c: New file.
21754 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21757 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21761 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21762 two-byte sequence errors.
21763 * iconvdata/Makefile (tests): Add bug-iconv8.
21764 * iconvdata/bug-iconv8.c: New file.
21767 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21770 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21773 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21774 (dummy_getcfa): New function.
21775 (init): Get _Unwind_GetCFA address, use dummy if not found.
21776 (backtrace_helper): In recursion check, also check whether CFA changes.
21777 (__backtrace): Completely initialize arg.
21779 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21780 storing incomplete byte sequence in state object. Avoid testing for
21781 guaranteed too small input if we know there is enough data available.
21783 2011-05-11 Andreas Schwab <schwab@redhat.com>
21785 * Makeconfig (+link-pie): Indent.
21786 * Rules (binaries-pie): Define if $(have-fpie) and
21788 (binaries-shared): Also filter out $(binaries-pie).
21789 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21790 * nscd/Makefile (others-pie): Add nscd.
21791 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21792 ($(objpfx)nscd): Remove command override.
21793 * login/Makefile (others-pie): Add pt_chown.
21794 ($(objpfx)pt_chown): Remove command override.
21795 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21796 remove command overrides.
21798 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21800 * libio/tst_putwc.c: Fix error messages.
21803 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21804 currently writing and seek to current position when not.
21805 * libio/Makefile (tests): Add bug-fclose1.
21806 * libio/bug-fclose1.c: New file.
21808 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21811 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21812 don't set DF_1_NODELETE here.
21813 (do_lookup_x): When entering new entry test for copy relocation
21814 and if necessary set DF_1_NODELETE flag.
21815 * elf/tst-unique4.cc: New file.
21816 * elf/tst-unique4.h: New file.
21817 * elf/tst-unique4lib.cc: New file.
21818 * elf/Makefile: Add rules to build and run tst-unique4.
21819 Patch by Piotr Bury <pbury@goahead.com>.
21821 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21824 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21827 * misc/mntent_r.c (addmntent): Flush the stream after the output
21830 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21831 (is_trusted_path_normalize): Skip initial colon. Append slash
21832 to empty buffer. Duplicate is_trusted_path code but allow
21833 constructed patch to be prefix.
21834 (is_dst): Allow $ORIGIN followed by /.
21835 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21836 Correct testing of result of is_trusted_path_normalize
21837 (decompose_rpath): Fix warning.
21839 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21842 * grp/initgroups.c (internal_getgrouplist): When we found the service
21843 list through the initgroups entry in nsswitch.conf do not always
21844 continue on a successful lookup. Don't always use the
21845 __nss_group_database value if it is set.
21846 * nss/nsswitch.conf (initgroups): Change action for successful db
21847 lookup to continue for compatibility.
21849 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21852 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21854 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21856 * iconvdata/tst-tables.sh: Likewise.
21857 * iconvdata/cp770.c: New file.
21858 * iconvdata/cp771.c: New file.
21859 * iconvdata/cp772.c: New file.
21860 * iconvdata/cp773.c: New file.
21861 * iconvdata/cp774.c: New file.
21862 * iconvdata/testdata/CP770: New file.
21863 * iconvdata/testdata/CP770..UTF8: New file.
21864 * iconvdata/testdata/CP771: New file.
21865 * iconvdata/testdata/CP771..UTF8: New file.
21866 * iconvdata/testdata/CP772: New file.
21867 * iconvdata/testdata/CP772..UTF8: New file.
21868 * iconvdata/testdata/CP773: New file.
21869 * iconvdata/testdata/CP773..UTF8: New file.
21870 * iconvdata/testdata/CP774: New file.
21871 * iconvdata/testdata/CP774..UTF8: New file.
21873 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21875 * iconvdata/gen-8bit-gap.sh: Likewise.
21876 * iconvdata/gen-8bit.sh: Likewise.
21878 * locale/iso-639.def: Add ary entry.
21881 * locale/C-translit.h.in: Add U20A1 transliteration.
21884 * locale/iso-639.def: Add wae entry.
21885 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21888 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21892 * locale/C-translit.h.in: Add entry for U20B9.
21893 Patch by pravin.d.s@gmail.com.
21895 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21898 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21899 ENAMETOOLONG use generic getcwd.
21900 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21901 in rtld. Use *stat64.
21902 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21903 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21904 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21905 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21906 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21907 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21908 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21909 __fstatat64 macros.
21910 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21911 * dirent/rewinddir.c: Add libc_hidden_def.
21912 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21913 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21915 * include/dirent.h (__alloc_dir): Add flags parameter.
21916 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21917 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21919 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21920 from fdopendir if O_CLOEXEC is already set.
21922 2011-03-15 Alan Modra <amodra@gmail.com>
21924 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21925 l_tls_firstbyte_offset non-zero. Save padding offset in
21926 l_tls_firstbyte_offset for later use.
21927 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21928 freeing static tls block.
21930 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21932 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21933 where #ifdef was intended. The intent is to prevent ARG_MAX from
21934 being defined by the kernel headers.
21936 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21939 * resolv/resolv.h: Define RES_NOTLDQUERY.
21940 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21941 no-tld-query and set RES_NOTLDQUERY.
21942 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21943 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21944 modern BIND to search name as TLD unless forbidden.
21946 2011-05-07 Petr Baudis <pasky@suse.cz>
21947 Ulrich Drepper <drepper@gmail.com>
21950 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21951 (is_trusted_path): ...to here.
21952 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21953 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21954 using is_trusted_path_normalize() in setuid scripts.
21956 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21958 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21959 __BEGIN/__END_DECLS.
21961 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21964 NSS_STATUS_NOTFOUND if no record was found.
21966 2011-05-05 Andreas Schwab <schwab@redhat.com>
21968 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21969 (headers-not-in-tirpc): Remove rpc/netdb.h
21970 * resolv/netdb.h: Revert last change.
21972 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21974 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21975 circular dependency between libgcc.a and libc.a.
21977 2011-05-05 Andreas Schwab <schwab@redhat.com>
21979 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21980 * nis/Makefile: Don't install rpcsvc/*.
21981 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21982 instead of <rpc/types.h>.
21983 (MAXHOSTNAMELEN): Define.
21985 2011-05-03 Andreas Schwab <schwab@redhat.com>
21987 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21989 2011-04-28 Maciej Babinski <mbabinski@google.com>
21992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21993 gethostbyname4_r when IPv6 results are possible.
21995 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21998 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21999 _PC_PIPE_BUF handling.
22001 2011-04-30 Bruno Haible <bruno@clisp.org>
22004 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22005 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22007 * inet/getnameinfo.c (getnameinfo): Likewise.
22009 2011-04-29 Ulrich Drepper <drepper@gmail.com>
22011 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22012 to groups setting in database lookup.
22013 * nss/nsswitch.conf: Add initgroups entry.
22015 2011-04-22 Ulrich Drepper <drepper@gmail.com>
22018 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22020 Patch by Eric Blake <eblake@redhat.com>.
22022 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22024 * sunrpc/Makefile (need-export-routines): Add svc_run.
22025 (routines): Remove svc_run.
22026 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22027 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22028 * sunrpc/svc_run.c (svc_run): Likewise.
22029 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22031 2011-04-21 Ulrich Drepper <drepper@gmail.com>
22033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22034 problem in reallocation in last patch.
22036 2011-04-20 Ulrich Drepper <drepper@gmail.com>
22038 * sunrpc/Makefile: Move inclusion of Rules.
22040 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22042 * nss/nss_files/files-initgroups.c: New file.
22043 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22044 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22045 _nss_files_initgroups_dyn.
22047 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22049 * elf/elf.h (R_ARM_IRELATIVE): Define.
22051 2011-04-19 Ulrich Drepper <drepper@gmail.com>
22053 * po/ru.po: Update from translation team.
22055 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22057 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22060 2011-02-06 Mike Frysinger <vapier@gentoo.org>
22063 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22064 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22065 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22069 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22071 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22073 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22074 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22075 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22077 2011-04-17 Ulrich Drepper <drepper@gmail.com>
22080 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22082 * stdlib/bug-getcontext.c: New file.
22083 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22085 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22087 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22088 instructions into .machine "z9-109".
22089 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22090 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22092 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22094 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22095 between environment variables and auxiliary vector.
22097 2011-04-16 Ulrich Drepper <drepper@gmail.com>
22099 * Makefile: Add rules to build linkobj/libc.so.
22100 * include/libc-symbols.h: Define libc_hidden_nolink.
22101 * include/rpc/auth.h: Mark functions which are to be hidden.
22102 * include/rpc/auth_des.h: Likewise.
22103 * include/rpc/auth_unix.h: Likewise.
22104 * include/rpc/clnt.h: Likewise.
22105 * include/rpc/des_crypt.h: Likewise.
22106 * include/rpc/key_prot.h: Likewise.
22107 * include/rpc/pmap_clnt.h: Likewise.
22108 * include/rpc/pmap_prot.h: Likewise.
22109 * include/rpc/pmap_rmt.h: Likewise.
22110 * include/rpc/rpc_msg.h: Likewise.
22111 * include/rpc/svc.h: Likewise.
22112 * include/rpc/svc_auth.h: Likewise.
22113 * include/rpc/xdr.h: Likewise.
22114 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22115 * nss/Makefile: Likewise.
22116 * sunrpc/Makefile: Don't install headers. Build library with normal
22117 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22118 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22119 for the compat linking library. Remove use of INTDEF/INTUSE.
22120 * sunrpc/auth_none.c: Likewise.
22121 * sunrpc/auth_unix.c: Likewise.
22122 * sunrpc/authdes_prot.c: Likewise.
22123 * sunrpc/authuxprot.c: Likewise.
22124 * sunrpc/clnt_gen.c: Likewise.
22125 * sunrpc/clnt_perr.c: Likewise.
22126 * sunrpc/clnt_raw.c: Likewise.
22127 * sunrpc/clnt_simp.c: Likewise.
22128 * sunrpc/clnt_tcp.c: Likewise.
22129 * sunrpc/clnt_udp.c: Likewise.
22130 * sunrpc/clnt_unix.c: Likewise.
22131 * sunrpc/des_crypt.c: Likewise.
22132 * sunrpc/des_soft.c: Likewise.
22133 * sunrpc/get_myaddr.c: Likewise.
22134 * sunrpc/key_call.c: Likewise.
22135 * sunrpc/key_prot.c: Likewise.
22136 * sunrpc/netname.c: Likewise.
22137 * sunrpc/pm_getmaps.c: Likewise.
22138 * sunrpc/pm_getport.c: Likewise.
22139 * sunrpc/pmap_clnt.c: Likewise.
22140 * sunrpc/pmap_prot.c: Likewise.
22141 * sunrpc/pmap_prot2.c: Likewise.
22142 * sunrpc/pmap_rmt.c: Likewise.
22143 * sunrpc/publickey.c: Likewise.
22144 * sunrpc/rpc_cmsg.c: Likewise.
22145 * sunrpc/rpc_common.c: Likewise.
22146 * sunrpc/rpc_dtable.c: Likewise.
22147 * sunrpc/rpc_prot.c: Likewise.
22148 * sunrpc/rpc_thread.c: Likewise.
22149 * sunrpc/rtime.c: Likewise.
22150 * sunrpc/svc.c: Likewise.
22151 * sunrpc/svc_auth.c: Likewise.
22152 * sunrpc/svc_authux.c: Likewise.
22153 * sunrpc/svc_raw.c: Likewise.
22154 * sunrpc/svc_run.c: Likewise.
22155 * sunrpc/svc_simple.c: Likewise.
22156 * sunrpc/svc_tcp.c: Likewise.
22157 * sunrpc/svc_udp.c: Likewise.
22158 * sunrpc/svc_unix.c: Likewise.
22159 * sunrpc/svcauth_des.c: Likewise.
22160 * sunrpc/xcrypt.c: Likewise.
22161 * sunrpc/xdr.c: Likewise.
22162 * sunrpc/xdr_array.c: Likewise.
22163 * sunrpc/xdr_float.c: Likewise.
22164 * sunrpc/xdr_intXX_t.c: Likewise.
22165 * sunrpc/xdr_mem.c: Likewise.
22166 * sunrpc/xdr_rec.c: Likewise.
22167 * sunrpc/xdr_ref.c: Likewise.
22168 * sunrpc/xdr_sizeof.c: Likewise.
22169 * sunrpc/xdr_stdio.c: Likewise.
22171 2011-04-10 Ulrich Drepper <drepper@gmail.com>
22174 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22175 * sysdeps/ia64/dl-tls.h: Likewise.
22176 * sysdeps/powerpc/dl-tls.h: Likewise.
22177 * sysdeps/s390/dl-tls.h: Likewise.
22178 * sysdeps/sh/dl-tls.h: Likewise.
22179 * sysdeps/sparc/dl-tls.h: Likewise.
22180 * sysdeps/x86_64/dl-tls.h: Likewise.
22181 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22183 2011-03-14 Andreas Schwab <schwab@redhat.com>
22185 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22186 rpath element also skip the following colon.
22187 (expand_dynamic_string_token): Add is_path parameter and pass
22188 down to DL_DST_REQUIRED and _dl_dst_substitute.
22189 (decompose_rpath): Call expand_dynamic_string_token with
22190 non-zero is_path. Ignore empty rpaths.
22191 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22194 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22199 2011-04-09 Ulrich Drepper <drepper@gmail.com>
22202 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22203 Patch by Filipe David Manana <fdmanana@apache.org>.
22205 2011-04-07 Andreas Schwab <schwab@redhat.com>
22207 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22208 Maintain aligned stack.
22209 (CHECK_RSP): Remove unused macro.
22211 2011-04-03 Ulrich Drepper <drepper@gmail.com>
22213 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22214 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22216 2011-04-02 Ulrich Drepper <drepper@gmail.com>
22218 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22220 * include/features.h: Mention __USE_XOPEN2K8 in comment.
22222 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22225 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22226 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22227 * sysdeps/x86_64/memmove.c: New file.
22228 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22229 (memcpy): Renamed to ...
22230 (__new_memcpy): This.
22231 (memcpy): Provide GLIBC_2_14 memcpy.
22232 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22233 (memcpy): Provide GLIBC_2_2_5 memcpy.
22235 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22238 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22240 2011-03-30 Andreas Schwab <schwab@redhat.com>
22242 * misc/syncfs.c: New file.
22243 * misc/Makefile (routines): Add syncfs.
22244 * posix/unistd.h: Declare syncfs.
22245 * sysdeps/unix/syscalls.list: Add syncfs.
22247 2011-04-01 Andreas Schwab <schwab@redhat.com>
22249 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22252 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22256 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22259 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22261 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22263 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22269 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22270 sync_file_range.c with -fexceptions.
22271 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22272 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22273 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22274 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22275 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22276 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22278 sync_file_range as cancellation point
22279 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22280 now a wrapper around __call_sync_file_range with cancellation handling.
22281 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22282 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22283 function name to __call_sync_file_range.
22284 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22285 Add call_sync_file_range.
22287 2011-04-01 Andreas Schwab <schwab@redhat.com>
22289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22292 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22294 * iconv/iconv.h: Fix typo in comment.
22295 * io/fcntl.h: Likewise.
22296 * libio/stdio.h: Likewise.
22297 * posix/spawn.h: Likewise.
22298 * posix/unistd.h: Likewise.
22299 * stdlib/stdlib.h: Likewise.
22300 * time/time.h: Likewise.
22301 * wcsmbs/wchar.h: Likewise.
22303 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22304 open_by_handle): Add.
22305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22306 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22307 Augment a few comments.
22308 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22312 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22313 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22316 * io/fcntl.h (AT_EMPTY_PATH): Define.
22318 2011-03-30 Ulrich Drepper <drepper@gmail.com>
22320 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22321 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22322 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22324 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
22325 * Versions.def: Add GLIBC_2.14.
22326 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22329 2011-03-22 Ulrich Drepper <drepper@gmail.com>
22331 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22333 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22335 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22338 * string/test-strncmp.c (do_page_test): New function.
22339 (check2): Likewise.
22340 (test_main): Call check2.
22341 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22343 2011-03-20 Ulrich Drepper <drepper@gmail.com>
22346 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22347 Handle cache information in CPU leaf 4.
22348 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22350 2011-03-18 Ulrich Drepper <drepper@gmail.com>
22353 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22354 character representation.
22355 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22357 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22359 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22360 END(__isnan) to END(__isnanf) to match function entry point/label
22361 EALIGN(__isnanf,...).
22363 2011-03-10 Jakub Jelinek <jakub@redhat.com>
22365 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22367 2011-03-10 Ulrich Drepper <drepper@gmail.com>
22370 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22371 copy from the symbol referenced in the relocation to initialize the
22373 Patch by Piotr Bury <pbury@goahead.com>.
22374 * elf/Makefile: Add rules to build and tst-unique3.
22375 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22376 * elf/tst-unique3.cc: New file.
22377 * elf/tst-unique3.h: New file.
22378 * elf/tst-unique3lib.cc: New file.
22379 * elf/tst-unique3lib2.cc: New file.
22381 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22383 2011-03-10 Mike Frysinger <vapier@gentoo.org>
22385 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22386 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22389 2011-03-06 Ulrich Drepper <drepper@gmail.com>
22391 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22392 to-be-loaded object along a path to loader is ld.so.
22394 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22395 Ulrich Drepper <drepper@gmail.com>
22397 * sysdeps/x86_64/memset.S: After aligning destination, code
22398 branches to different locations depending on the value of
22399 misalignment, when multiarch is enabled. Fix this.
22401 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22403 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22404 Set _x86_64_preferred_memory_instruction for AMD processsors.
22405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22406 Set bit_Prefer_SSE_for_memop for AMD processors.
22408 2011-03-04 Ulrich Drepper <drepper@gmail.com>
22410 * libio/fmemopen.c (fmemopen): Optimize a bit.
22412 2011-03-03 Andreas Schwab <schwab@redhat.com>
22414 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22416 2011-03-03 Roland McGrath <roland@redhat.com>
22418 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22420 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22422 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22423 __bzero_ultra1 instead of __memset_ultra1.
22425 2011-02-23 Andreas Schwab <schwab@redhat.com>
22426 Ulrich Drepper <drepper@gmail.com>
22429 * include/link.h (struct link_map): Add l_orig_initfini.
22430 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22431 returning unsuccessfully.
22432 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22433 close of a file loaded at startup, restore the original l_initfini
22435 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22436 list, store the pointer.
22437 * elf/Makefile ($(objpfx)noload-mem): New rule.
22438 (noload-ENV): Define.
22439 (tests): Add $(objpfx)noload-mem.
22440 * elf/noload.c: Include <memcheck.h>.
22441 (main): Call mtrace. Close all opened handles.
22443 2011-02-17 Andreas Schwab <schwab@redhat.com>
22446 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22447 dependencies are missing.
22449 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22451 Fix __if_freereq crash: Unlike the generic version which uses free,
22453 * sysdeps/mach/hurd/ifreq.h: New file.
22455 2011-01-27 Petr Baudis <pasky@suse.cz>
22456 Ulrich Drepper <drepper@gmail.com>
22459 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22460 to extend_alloca().
22461 * stdio-common/bug23.c: New file.
22462 * stdio-common/Makefile (tests): Add bug23.
22464 2010-09-28 Andreas Schwab <schwab@redhat.com>
22465 Ulrich Drepper <drepper@gmail.com>
22468 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22469 before performing relro protection. At old place add assertion
22470 to make sure nothing changed.
22472 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22473 Glauber de Oliveira Costa <glommer@gmail.com>
22475 * elf/elf.h: Add new ARM TLS relocs.
22477 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22480 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22482 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22484 * sysdeps/wordsize-64/tst-writev.c: New file.
22486 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22488 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22489 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22490 insns in _dl_start to prevent a TOC reference before relocs are
22493 2011-02-15 Ulrich Drepper <drepper@gmail.com>
22496 * Makeconfig: Remove RANLIB definition.
22497 * Makerules: Don't use RANLIB.
22498 * aclocal.m4: Remove ranlib test.
22499 * configure.in: No need to check for ranlib.
22500 * elf/rtld-Rules: Don't use RANLIB.
22502 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22504 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22506 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22507 inclusion protection macro.
22509 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22510 SIGRTMIN and SIGRTMAX and print information in that case only when
22511 SIGRTMIN is defined.
22513 2011-02-11 Jakub Jelinek <jakub@redhat.com>
22515 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22516 arginfo fn returning -1.
22518 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22519 and thousands string is zero terminated.
22521 2011-02-03 Andreas Schwab <schwab@redhat.com>
22523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22524 sysdeps/unix/sysv/linux/bits/socket.h.
22526 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22528 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22529 (__CPU_COUNT): Remove old macros.
22530 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22531 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22532 (__CPU_ALLOC, __CPU_FREE): Add macros.
22533 (__sched_cpualloc, __sched_cpufree): Add declarations.
22535 2011-02-05 Ulrich Drepper <drepper@gmail.com>
22537 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22538 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22539 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22540 (readdhstai): Return value of addhstaiX call.
22541 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22542 (addgrbyX): Return value returned by cache_addgr.
22543 (readdgrbyname): Return value returned by addgrbyX.
22544 (readdgrbygid): Likewise.
22545 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22546 (addpwbyX): Return value returned by cache_addpw.
22547 (readdpwbyname): Return value returned by addhstbyX.
22548 (readdpwbyuid): Likewise.
22549 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22550 (addservbyX): Return value returned by cache_addserv.
22551 (readdservbyname): Return value returned by addservbyX:
22552 (readdservbyport): Likewise.
22553 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22554 (addhstbyX): Return value returned by cache_addhst.
22555 (readdhstbyname): Return value returned by addhstbyX.
22556 (readdhstbyaddr): Likewise.
22557 (readdhstbynamev6): Likewise.
22558 (readdhstbyaddrv6): Likewise.
22559 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22560 (readdinitgroups): Return value returned by addinitgroupsX.
22561 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22562 (prune_cache): Keep track of timeout value of re-added entries.
22563 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22564 * nscd/nscd.h: Adjust prototypes of readd* functions.
22566 2011-02-04 Roland McGrath <roland@redhat.com>
22568 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22569 (nis_stats): Likewise.
22570 * nis/nis_modify.c (nis_modify): Likewise.
22571 * nis/nis_remove.c (nis_remove): Likewise.
22572 * nis/nis_add.c (nis_add): Likewise.
22574 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22576 * posix/fnmatch_loop.c: Add some consts.
22578 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22580 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22583 * config.make.in (config-cflags-novzeroupper): Define.
22584 * configure.in: Substitute libc_cv_cc_novzeroupper.
22585 * elf/Makefile (AVX-CFLAGS): Define.
22586 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22587 (CFLAGS-tst-auditmod4a.c): Likewise.
22588 (CFLAGS-tst-auditmod4b.c): Likewise.
22589 (CFLAGS-tst-auditmod6b.c): Likewise.
22590 (CFLAGS-tst-auditmod6c.c): Likewise.
22591 (CFLAGS-tst-auditmod7b.c): Likewise.
22592 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22594 2011-02-02 Ulrich Drepper <drepper@gmail.com>
22596 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22597 function to the callback.
22598 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22600 2011-02-02 Andreas Schwab <schwab@redhat.com>
22602 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22605 2011-01-19 Ulrich Drepper <drepper@gmail.com>
22608 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22610 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22612 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22615 * elf/Makefile: Add rules to build and run new test.
22616 * elf/tst-initorder.c: New file.
22617 * elf/tst-initorder.exp: New file.
22618 * elf/tst-initordera1.c: New file.
22619 * elf/tst-initordera2.c: New file.
22620 * elf/tst-initordera3.c: New file.
22621 * elf/tst-initordera4.c: New file.
22622 * elf/tst-initorderb1.c: New file.
22623 * elf/tst-initorderb2.c: New file.
22624 * elf/tst-order-a1.c: New file.
22625 * elf/tst-order-a2.c: New file.
22626 * elf/tst-order-a3.c: New file.
22627 * elf/tst-order-a4.c: New file.
22628 * elf/tst-order-b1.c: New file.
22629 * elf/tst-order-b2.c: New file.
22630 * elf/tst-order-main.c: New file.
22631 New test case by George Gensure <werkt0@gmail.com>.
22633 2010-10-01 Andreas Schwab <schwab@redhat.com>
22635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22636 decoding ACE if AI_CANONIDN.
22638 2011-01-18 Ulrich Drepper <drepper@gmail.com>
22640 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22642 2011-01-17 Ulrich Drepper <drepper@gmail.com>
22644 * version.h (RELEASE): Bump for 2.13 release.
22645 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22647 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22649 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22651 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22653 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22654 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22656 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22658 * posix/getconf.c: Update copyright year.
22659 * catgets/gencat.c: Likewise.
22660 * csu/version.c: Likewise.
22661 * debug/catchsegv.sh: Likewise.
22662 * debug/xtrace.sh: Likewise.
22663 * elf/ldconfig.c: Likewise.
22664 * elf/ldd.bash.in: Likewise.
22665 * elf/sprof.c (print_version): Likewise.
22666 * iconv/iconv_prog.c: Likewise.
22667 * iconv/iconvconfig.c: Likewise.
22668 * locale/programs/locale.c: Likewise.
22669 * locale/programs/localedef.c: Likewise.
22670 * malloc/memusage.sh: Likewise.
22671 * malloc/mtrace.pl: Likewise.
22672 * nscd/nscd.c (print_version): Likewise.
22673 * nss/getent.c: Likewise.
22675 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22676 PF_CAIF, and PF_ALG.
22677 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22679 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22681 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22682 (modules-names): Use them.
22683 (ifunc-test-modules, ifunc-pie-tests): Define.
22684 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22685 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22686 (test-extras): Likewise.
22687 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22688 $(compile-command.c).
22689 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22690 (all-built-dso): Define.
22691 (check-textrel.out, check-execstack.out): Depend on it.
22693 * configure.in: Don't override --enable-multi-arch.
22695 2011-01-15 Ulrich Drepper <drepper@gmail.com>
22698 * nscd/hstcache.c (tryagain): Define.
22699 (cache_addhst): Return tryagain not notfound for temporary errors.
22700 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22703 2011-01-14 Ulrich Drepper <drepper@gmail.com>
22706 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22707 to make the syscall.
22708 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22711 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22712 and fall back to matching as normal character if the string ends before
22713 the matching ']' is found. This is what POSIX requires.
22714 * posix/testfnm.c: Adjust test result.
22715 * posix/globtest.sh: Adjust test result. Add new test.
22716 * posix/tst-fnmatch.input: Likewise.
22717 * posix/tst-fnmatch2.c: Add new test.
22719 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22721 * elf/Makefile (check-execstack): Revert last change. Depend on
22723 (check-execstack.h): New target.
22724 (generated): Add check-execstack.h.
22725 * elf/check-execstack.c: Include "check-execstack.h".
22726 (main): Revert last change.
22727 (handle_file): Return zero if GNU_STACK is absent and
22728 DEFAULT_STACK_PERMS doesn't include PF_X.
22730 2011-01-13 Ulrich Drepper <drepper@gmail.com>
22732 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22733 in child fails because the descriptor is already closed.
22734 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22735 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22736 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22739 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22743 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22744 temporary buffer used to handle multi lookups locally.
22745 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22747 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22749 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22752 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22754 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22755 alignment for SSE2.
22757 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22760 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22761 characters. When rounding increased number of integer digits recompute
22763 * stdio-common/tst-grouping.c: New file.
22764 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22766 2011-01-09 Ulrich Drepper <drepper@gmail.com>
22768 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22769 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22771 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22773 * bits/select.h: Likewise.
22775 2011-01-08 Ulrich Drepper <drepper@gmail.com>
22777 * po/ja.po: Update from translation team.
22779 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
22782 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22783 implementation just like for lxstat, fxstatat, et al.
22785 2010-12-27 Jim Meyering <meyering@redhat.com>
22788 * posix/regexec.c (build_trtable): Return failure indication upon
22789 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22791 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22794 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22795 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22796 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22797 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22800 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22803 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22804 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22806 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22808 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22809 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22810 script has SORT_BY_INIT_PRIORITY.
22811 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22812 NO_CTORS_DTORS_SECTIONS is defined.
22813 * elf/soinit.c: Likewise.
22814 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22815 NO_CTORS_DTORS_SECTIONS is defined.
22816 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22817 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22818 * sysdeps/sh/init-first.c: Likewise.
22819 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22821 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22823 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22824 always use the slow path.
22826 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22828 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22829 similar rule which adds the sysdep directories to the header search in
22830 order to pick up the correct platform stackinfo.h.
22831 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22832 perform test if it is, otherwise return successfully without testing.
22833 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22834 DEFAULT_STACK_PERMS define in stackinfo.h.
22835 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22836 defined in stackinfo.h.
22837 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22838 DEFAULT_STACK_PERMS defined in stackinfo.h.
22839 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22840 * sysdeps/ia64/stackinfo.h: Likewise.
22841 * sysdeps/s390/stackinfo.h: Likewise.
22842 * sysdeps/sh/stackinfo.h: Likewise.
22843 * sysdeps/sparc/stackinfo.h: Likewise.
22844 * sysdeps/x86_64/stackinfo.h: Likewise.
22845 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22846 PF_X for powerpc64. Retain PF_X for powerpc32.
22848 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22850 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22852 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22853 GETDENTS_64BIT_ALIGNED.
22855 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22857 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22859 2010-12-10 Andreas Schwab <schwab@redhat.com>
22861 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22864 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22865 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22867 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22868 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22870 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22873 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22876 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22878 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22880 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22882 * po/it.po: Update from translation team.
22884 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22889 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22891 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22893 2010-11-24 Andreas Schwab <schwab@redhat.com>
22895 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22897 (gaih_getanswer_slice): Likewise.
22899 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22901 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22903 2010-05-31 Petr Baudis <pasky@suse.cz>
22906 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22907 silently even in the chroot mode.
22909 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22911 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22912 last patch a bit. Pretty printing
22914 2010-05-31 Petr Baudis <pasky@suse.cz>
22917 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22918 initialization of skip_initgroups_dyn.
22920 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22922 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22925 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22927 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22929 2010-11-11 Andreas Schwab <schwab@redhat.com>
22931 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22932 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22933 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22934 ($(objpfx)tst-fnmatch-mem): New rule.
22935 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22936 * posix/tst-fnmatch.c (main): Call mtrace.
22938 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22941 Support Intel processor model 6 and model 0x2c.
22943 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22945 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22948 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22951 * string/test-strncasecmp.c (check_result): New function.
22952 (do_one_test): Use it.
22953 (check1): New function.
22954 (test_main): Use it.
22955 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22956 Support strcasecmp and strncasecmp.
22958 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22961 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22962 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22964 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22966 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22970 * sysdeps/x86_64/multiarch/bzero.S: New file.
22971 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22972 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22973 * sysdeps/x86_64/multiarch/memset.S: New file.
22974 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22976 Set bit_Prefer_SSE_for_memop for Intel processors.
22977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22979 (index_Prefer_SSE_for_memop): Define.
22980 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22982 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22984 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22985 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22987 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22990 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22991 (__x86_64_raw_data_cache_size_half): Likewise.
22992 (__x86_64_raw_shared_cache_size): Likewise.
22993 (__x86_64_raw_shared_cache_size_half): Likewise.
22995 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22996 (__x86_64_raw_data_cache_size_half): Likewise.
22997 (__x86_64_raw_shared_cache_size): Likewise.
22998 (__x86_64_raw_shared_cache_size_half): Likewise.
22999 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23000 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23001 and __x86_64_raw_shared_cache_size_half. Round
23002 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23003 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23004 to multiple of 256 bytes.
23006 2010-11-03 Ulrich Drepper <drepper@gmail.com>
23009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23010 of inacessible symlinks. Verify result of symlink before returning it.
23011 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23012 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23014 2010-10-28 Erich Ritz <erichritz@gmail.com>
23016 * math/math.h (isinf): Fix typo in comment.
23018 2010-11-01 Ulrich Drepper <drepper@gmail.com>
23020 * po/da.po: Update from translation team.
23022 2010-10-26 Ulrich Drepper <drepper@gmail.com>
23024 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23025 is added to the list.
23027 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23028 Ulrich Drepper <drepper@gmail.com>
23030 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23031 the global list here. Move code to...
23032 (_dl_add_to_namespace_list): ...here. New function.
23033 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23034 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23035 * elf/dl-load.c (lose): Don't remove the element from the list.
23036 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23037 (_dl_map_object): Likewise.
23039 2010-10-25 Ulrich Drepper <drepper@gmail.com>
23042 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23043 into all bytes of SSE register.
23044 Patch by Richard Li <richardpku@gmail.com>.
23046 2010-10-24 Ulrich Drepper <drepper@gmail.com>
23049 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23052 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23054 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23055 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23056 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23057 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23062 2010-10-22 Andreas Schwab <schwab@redhat.com>
23064 * include/dlfcn.h (__RTLD_SECURE): Define.
23065 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23066 mode & __RTLD_SECURE instead.
23067 (open_path): Rename preloaded parameter to secure.
23068 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23069 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23070 * elf/dl-deps.c (openaux): Likewise.
23071 * elf/rtld.c (struct map_args): Remove is_preloaded.
23072 (map_doit): Don't use it.
23073 (dl_main): Likewise.
23074 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23075 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23077 2010-09-09 Andreas Schwab <schwab@redhat.com>
23079 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23080 (sysd-rules-targets): Remove duplicates.
23081 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23082 rtld-%.$o dependency.
23084 2010-10-18 Andreas Schwab <schwab@redhat.com>
23086 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23087 _dl_map_object do it.
23089 2010-10-19 Ulrich Drepper <drepper@gmail.com>
23091 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23092 fast fma builtins, define the macros in the C99 standard.
23093 (FP_FAST_FMAF): Likewise.
23094 (FP_FAST_FMAL): Likewise.
23095 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23097 * bits/mathdef.h: Update copyright year.
23098 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23100 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23102 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23103 builtins, define the macros in the C99 standard.
23104 (FP_FAST_FMAF): Likewise.
23105 (FP_FAST_FMAL): Likewise.
23106 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23108 (FP_FAST_FMAF): Likewise.
23110 2010-10-15 Jakub Jelinek <jakub@redhat.com>
23113 * math/libm-test.inc (fma_test): Some new testcases.
23114 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23115 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23116 y and infinite z. Do multiplication by C already in long double.
23117 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23119 y and infinite z. Do bitwise or of inexact bit into u.d.
23120 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23121 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23122 * sysdeps/i386/fpu/s_fma.S: Removed.
23123 * sysdeps/i386/fpu/s_fmal.S: Removed.
23125 2010-10-16 Jakub Jelinek <jakub@redhat.com>
23128 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23130 computation is not scheduled after fetestexcept. Fix value
23131 of minimum denormal long double.
23133 2010-10-14 Jakub Jelinek <jakub@redhat.com>
23136 * math/libm-test.inc (fma_test): Add some more tests.
23137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23140 2010-10-15 Andreas Schwab <schwab@redhat.com>
23142 * scripts/data/localplt-s390-linux-gnu.data: New file.
23143 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23145 2010-10-13 Jakub Jelinek <jakub@redhat.com>
23148 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23149 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23151 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23153 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23155 if one of x and y is very large and the other is subnormal.
23156 * sysdeps/s390/fpu/s_fmaf.c: New file.
23157 * sysdeps/s390/fpu/s_fma.c: New file.
23158 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23159 * sysdeps/powerpc/fpu/s_fma.S: New file.
23160 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23161 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23162 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23164 2010-10-12 Jakub Jelinek <jakub@redhat.com>
23167 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23170 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23171 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23172 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23173 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23174 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23175 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23177 2010-10-12 Ulrich Drepper <drepper@redhat.com>
23180 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23181 * posix/bug-regex31.input: Add test case.
23183 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23185 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23186 * posix/bug-regex31.input: New file.
23189 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23190 (parse_sub_exp): Fix last change, use postorder.
23192 * posix/bug-regex31.c: New file.
23193 * posix/Makefile: Add rules to build and run bug-regex31.
23195 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23198 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23201 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23202 to have entries in sys_siglist.
23205 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23208 2010-10-07 Jakub Jelinek <jakub@redhat.com>
23211 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23212 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23213 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23214 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23215 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23216 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23217 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23218 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23219 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23220 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23221 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23222 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23223 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23224 * math/ftestexcept.c (fetestexcept): Likewise.
23225 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23226 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23227 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23228 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23229 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23230 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23231 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23233 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23236 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23239 2010-10-06 Ulrich Drepper <drepper@gmail.com>
23241 * string/bug-strstr1.c: New file.
23242 * string/Makefile: Add rules to build and run bug-strstr1.
23244 2010-10-05 Eric Blake <eblake@redhat.com>
23247 * string/str-two-way.h (two_way_long_needle): Always clear memory
23248 when skipping input due to the shift table.
23250 2010-10-03 Ulrich Drepper <drepper@gmail.com>
23253 * malloc/mcheck.c: Handle large requests.
23256 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23257 for strncmp and strncasecmp.
23258 * string/stratcliff.c: Add tests for strcmp and strncmp.
23259 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23261 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23263 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23266 2010-09-30 Andreas Jaeger <aj@suse.de>
23268 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23269 (CGROUP_SUPER_MAGIC): Define.
23270 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23271 Handle btrfs and cgroup file systems.
23272 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23275 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
23277 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23278 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23280 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23283 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23284 trying to locate the ELF header.
23286 2010-09-27 Andreas Schwab <schwab@redhat.com>
23289 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23290 Mask out sign-bit copies when constructing f_fsid.
23292 2010-09-24 Petr Baudis <pasky@suse.cz>
23294 * debug/stack_chk_fail_local.c: Add missing licence exception.
23295 * debug/warning-nop.c: Likewise.
23297 2010-09-15 Joseph Myers <joseph@codesourcery.com>
23299 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23300 implementing getdents64 using getdents syscall, set d_type if
23301 __ASSUME_GETDENTS32_D_TYPE.
23303 2010-09-16 Andreas Schwab <schwab@redhat.com>
23305 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23306 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23308 2010-09-21 Ulrich Drepper <drepper@redhat.com>
23311 * posix/unistd.h: Undo change of feature selection for ftruncate from
23314 2010-09-20 Ulrich Drepper <drepper@redhat.com>
23316 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23319 2010-09-20 Andreas Schwab <schwab@redhat.com>
23321 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23323 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23325 2010-09-14 Andreas Schwab <schwab@redhat.com>
23327 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23328 variables after CHECK_SP call.
23329 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23331 2010-09-13 Andreas Schwab <schwab@redhat.com>
23332 Ulrich Drepper <drepper@redhat.com>
23334 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23335 re-relocationg ld.so.
23336 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23337 _dl_init_paths call.
23338 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23341 2010-09-14 Ulrich Drepper <drepper@redhat.com>
23343 * resolv/res_init.c (__res_vinit): Count the default server we added.
23345 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23346 Ulrich Drepper <drepper@redhat.com>
23349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23350 (____longjmp_chk): Use %ebx for saving value across system call.
23353 2010-09-06 Andreas Schwab <schwab@redhat.com>
23355 * manual/Makefile: Don't mix pattern rules with normal rules.
23357 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23359 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23361 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23362 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23363 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23364 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23368 2010-09-04 Ulrich Drepper <drepper@redhat.com>
23371 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23372 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23374 2010-09-02 Ulrich Drepper <drepper@redhat.com>
23376 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23377 * sysdeps/x86_64/addmul_1.S: Likewise.
23378 * sysdeps/x86_64/lshift.S: Likewise.
23379 * sysdeps/x86_64/mul_1.S: Likewise.
23380 * sysdeps/x86_64/rshift.S: Likewise.
23381 * sysdeps/x86_64/sub_n.S: Likewise.
23382 * sysdeps/x86_64/submul_1.S: Likewise.
23384 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23386 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23387 Define __sched_param instead of SCHED_* and sched_param when
23388 <bits/sched.h> is included with __need_schedparam defined.
23389 * bits/sched.h [__need_schedparam]
23390 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23391 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23392 (__defined_schedparam): Define to 1.
23393 (__sched_param): New structure, identical to sched_param.
23394 (__need_schedparam): Undefine.
23396 2010-08-31 Mike Frysinger <vapier@gentoo.org>
23398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23399 (epoll_create1): Declare.
23401 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23403 2010-08-31 Andreas Schwab <schwab@redhat.com>
23406 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23407 shifting retval into place.
23409 2010-09-01 Ulrich Drepper <drepper@redhat.com>
23411 * nis/rpcsvc/nis.h: Update copyright notice.
23412 * nis/rpcsvc/nis.x: Likewise.
23413 * nis/rpcsvc/nis_callback.h: Likewise.
23414 * nis/rpcsvc/nis_callback.x: Likewise.
23415 * nis/rpcsvc/nis_object.x: Likewise.
23416 * nis/rpcsvc/nis_tags.h: Likewise.
23417 * nis/rpcsvc/yp.h: Likewise.
23418 * nis/rpcsvc/yp.x: Likewise.
23419 * nis/rpcsvc/ypupd.h: Likewise.
23420 * nis/yp_xdr.c: Likewise.
23421 * nis/ypupdate_xdr.c: Likewise.
23423 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23424 mainly the body of pmap_getport. Add parameters to specify timeouts.
23425 (pmap_getport): Use __libc_rpc_getport.
23426 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23427 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23428 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23430 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23435 2010-08-27 Roland McGrath <roland@redhat.com>
23437 * sysdeps/i386/i686/multiarch/Makefile
23438 (CFLAGS-varshift.c): New variable.
23440 2010-08-27 Ulrich Drepper <drepper@redhat.com>
23442 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23443 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23445 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23447 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23449 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23451 * sysdeps/x86_64/strlen.S: Unroll the loop.
23452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23453 strlen-sse2 strlen-sse2-bsf.
23454 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23455 __strlen_no_bsf if bit_Slow_BSF is set.
23456 (__strlen_sse42): Removed.
23457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23458 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23460 2010-08-25 Roland McGrath <roland@redhat.com>
23462 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23463 * sysdeps/x86_64/multiarch/varshift.c: New file.
23464 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23465 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23466 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23467 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23469 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23472 strlen-sse2 strlen-sse2-bsf.
23473 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23474 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23475 (__strlen_sse2): Removed.
23476 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23477 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23479 bit_Slow_BSF for Atom.
23480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23481 (index_Slow_BSF): Define.
23482 (HAS_SLOW_BSF): Define.
23484 2010-08-25 Ulrich Drepper <drepper@redhat.com>
23487 * resolv/res_init.c (__res_vinit): When no server address at all
23488 is given default to loopback.
23490 2010-08-24 Roland McGrath <roland@redhat.com>
23492 * configure.in: Remove config-name.h generation.
23493 * configure: Regenerated.
23494 * config-name.in: File removed.
23495 * scripts/config-uname.sh: New file.
23496 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23497 ($(objdir)config-name.h): New target.
23499 * sunrpc/rpc_parse.h: Avoid nested comment.
23501 2010-08-24 Richard Henderson <rth@redhat.com>
23502 Ulrich Drepper <drepper@redhat.com>
23503 H.J. Lu <hongjiu.lu@intel.com>
23505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23507 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23508 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23509 _mm_alignr_epi8 with _mm_loadu_si128.
23510 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23511 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23512 (__m128i_shift_right): Removed.
23513 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23514 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23515 * sysdeps/x86_64/multiarch/varshift.h: New file.
23516 * sysdeps/x86_64/multiarch/varshift.S: New file.
23518 2010-08-21 Mike Frysinger <vapier@gentoo.org>
23520 * configure.in: Move assembler checks to before sysdep dir checking.
23522 2010-08-20 Petr Baudis <pasky@suse.cz>
23524 * LICENSES: Sync the sunrpc license.
23526 2010-08-19 Ulrich Drepper <drepper@redhat.com>
23528 * sunrpc/auth_des.c: Update copyright notice once again.
23529 * sunrpc/auth_none.c: Likewise.
23530 * sunrpc/auth_unix.c: Likewise.
23531 * sunrpc/authdes_prot.c: Likewise.
23532 * sunrpc/authuxprot.c: Likewise.
23533 * sunrpc/bindrsvprt.c: Likewise.
23534 * sunrpc/clnt_gen.c: Likewise.
23535 * sunrpc/clnt_perr.c: Likewise.
23536 * sunrpc/clnt_raw.c: Likewise.
23537 * sunrpc/clnt_simp.c: Likewise.
23538 * sunrpc/clnt_tcp.c: Likewise.
23539 * sunrpc/clnt_udp.c: Likewise.
23540 * sunrpc/clnt_unix.c: Likewise.
23541 * sunrpc/des_crypt.c: Likewise.
23542 * sunrpc/des_soft.c: Likewise.
23543 * sunrpc/get_myaddr.c: Likewise.
23544 * sunrpc/getrpcport.c: Likewise.
23545 * sunrpc/key_call.c: Likewise.
23546 * sunrpc/key_prot.c: Likewise.
23547 * sunrpc/openchild.c: Likewise.
23548 * sunrpc/pm_getmaps.c: Likewise.
23549 * sunrpc/pm_getport.c: Likewise.
23550 * sunrpc/pmap_clnt.c: Likewise.
23551 * sunrpc/pmap_prot.c: Likewise.
23552 * sunrpc/pmap_prot2.c: Likewise.
23553 * sunrpc/pmap_rmt.c: Likewise.
23554 * sunrpc/rpc/auth.h: Likewise.
23555 * sunrpc/rpc/auth_unix.h: Likewise.
23556 * sunrpc/rpc/clnt.h: Likewise.
23557 * sunrpc/rpc/des_crypt.h: Likewise.
23558 * sunrpc/rpc/key_prot.h: Likewise.
23559 * sunrpc/rpc/netdb.h: Likewise.
23560 * sunrpc/rpc/pmap_clnt.h: Likewise.
23561 * sunrpc/rpc/pmap_prot.h: Likewise.
23562 * sunrpc/rpc/pmap_rmt.h: Likewise.
23563 * sunrpc/rpc/rpc.h: Likewise.
23564 * sunrpc/rpc/rpc_des.h: Likewise.
23565 * sunrpc/rpc/rpc_msg.h: Likewise.
23566 * sunrpc/rpc/svc.h: Likewise.
23567 * sunrpc/rpc/svc_auth.h: Likewise.
23568 * sunrpc/rpc/types.h: Likewise.
23569 * sunrpc/rpc/xdr.h: Likewise.
23570 * sunrpc/rpc_clntout.c: Likewise.
23571 * sunrpc/rpc_cmsg.c: Likewise.
23572 * sunrpc/rpc_common.c: Likewise.
23573 * sunrpc/rpc_cout.c: Likewise.
23574 * sunrpc/rpc_dtable.c: Likewise.
23575 * sunrpc/rpc_hout.c: Likewise.
23576 * sunrpc/rpc_main.c: Likewise.
23577 * sunrpc/rpc_parse.c: Likewise.
23578 * sunrpc/rpc_parse.h: Likewise.
23579 * sunrpc/rpc_prot.c: Likewise.
23580 * sunrpc/rpc_sample.c: Likewise.
23581 * sunrpc/rpc_scan.c: Likewise.
23582 * sunrpc/rpc_scan.h: Likewise.
23583 * sunrpc/rpc_svcout.c: Likewise.
23584 * sunrpc/rpc_tblout.c: Likewise.
23585 * sunrpc/rpc_util.c: Likewise.
23586 * sunrpc/rpc_util.h: Likewise.
23587 * sunrpc/rpcinfo.c: Likewise.
23588 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23589 * sunrpc/rpcsvc/key_prot.x: Likewise.
23590 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23591 * sunrpc/rpcsvc/mount.x: Likewise.
23592 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23593 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23594 * sunrpc/rpcsvc/rex.x: Likewise.
23595 * sunrpc/rpcsvc/rstat.x: Likewise.
23596 * sunrpc/rpcsvc/rusers.x: Likewise.
23597 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23598 * sunrpc/rpcsvc/spray.x: Likewise.
23599 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23600 * sunrpc/rtime.c: Likewise.
23601 * sunrpc/svc.c: Likewise.
23602 * sunrpc/svc_auth.c: Likewise.
23603 * sunrpc/svc_authux.c: Likewise.
23604 * sunrpc/svc_raw.c: Likewise.
23605 * sunrpc/svc_run.c: Likewise.
23606 * sunrpc/svc_simple.c: Likewise.
23607 * sunrpc/svc_tcp.c: Likewise.
23608 * sunrpc/svc_udp.c: Likewise.
23609 * sunrpc/svc_unix.c: Likewise.
23610 * sunrpc/svcauth_des.c: Likewise.
23611 * sunrpc/xcrypt.c: Likewise.
23612 * sunrpc/xdr.c: Likewise.
23613 * sunrpc/xdr_array.c: Likewise.
23614 * sunrpc/xdr_float.c: Likewise.
23615 * sunrpc/xdr_mem.c: Likewise.
23616 * sunrpc/xdr_rec.c: Likewise.
23617 * sunrpc/xdr_ref.c: Likewise.
23618 * sunrpc/xdr_sizeof.c: Likewise.
23619 * sunrpc/xdr_stdio.c: Likewise.
23621 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23624 2010-08-19 Andreas Schwab <schwab@redhat.com>
23626 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23628 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
23630 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23631 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23632 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23633 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23634 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23635 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23636 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23637 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23638 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23639 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23640 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23641 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23642 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23643 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23645 2010-07-26 Anton Blanchard <anton@samba.org>
23647 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23648 * malloc/arena.c (heap_trim): Likewise.
23650 2010-08-16 Ulrich Drepper <drepper@redhat.com>
23652 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23654 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23655 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23657 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23659 * sysdeps/i386/elf/Makefile: New file.
23661 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23663 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23664 from fanotify_init.
23665 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23666 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23668 2010-08-15 Ulrich Drepper <drepper@redhat.com>
23670 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23672 * sysdeps/multiarch/strcmp.S: Likewise.
23674 2010-08-14 Ulrich Drepper <drepper@redhat.com>
23676 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23677 strncase_l-nonascii.
23678 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23679 Add strncase_l-ssse3.
23680 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23681 * sysdeps/x86_64/strcmp.S: Likewise.
23682 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23683 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23684 * sysdeps/x86_64/strncase.S: New file.
23685 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23686 * sysdeps/x86_64/strncase_l.S: New file.
23687 * string/Makefile (strop-tests): Add strncasecmp.
23688 * string/test-strncasecmp.c: New file.
23690 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23693 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23694 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23696 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23698 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23700 2010-08-12 Ulrich Drepper <drepper@redhat.com>
23702 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23703 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23704 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23706 2010-05-01 Alan Modra <amodra@gmail.com>
23708 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23709 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23710 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23711 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23712 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23713 tidying. Don't tail-call __sigjmp_save for static lib.
23714 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23716 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23717 (CALL_MCOUNT): Add eh info, and nop after bl.
23718 (TAIL_CALL_SYSCALL_ERROR): New macro.
23719 (PSEUDO_RET): Use it.
23720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23721 Correct save location of integer regs and cr.
23722 (_dl_profile_resolve): Correct cr save location. Delete nops
23723 after bl when SHARED. Reduce cfi size a little by better
23724 placement of cfi directives.
23725 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23726 make a stack frame. Instead use parm save area as a temp.
23727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23728 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23730 Don't make a stack frame for parent, use parm save area.
23731 Increase child stack frame to 112 bytes. Don't save unused reg,
23732 and adjust reg usage. Set up cfi on error recovery and
23733 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23735 (__makecontext): Add dummy nop after jump to exit.
23736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23737 Use correct parm save area and cr save, reduce stack frame.
23738 Correct cfi for possible PSEUDO_RET frame setup.
23739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23740 Branch to local label emitted by PSEUDO_RET rather than
23743 2010-08-12 Andreas Schwab <schwab@redhat.com>
23746 * locale/programs/locale.c (print_assignment): New function.
23747 (show_locale_vars): Use it.
23749 2010-08-11 Ulrich Drepper <drepper@redhat.com>
23751 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23753 (struct statfs64): Likewise.
23754 (_STATFS_F_FLAGS): Define.
23755 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23756 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23757 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23758 (ST_VALID): Define locally.
23759 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23760 __statvfs_getflags, use the provided value.
23761 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23762 __ASSUME_STATFS_F_FLAGS.
23764 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23767 Add sys/fanotify.h.
23768 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23769 fanotify_mask for GLIBC_2.13.
23770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23771 fanotify_init and fanotify_mark.
23772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23773 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23777 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23778 prlimit64 for GLIBC_2.13.
23779 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23781 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23784 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23785 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23786 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23789 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23792 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23793 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23795 * nss/Makefile: Add rules to build and run tst-nss-test1.
23796 * shlib-versions: Add entry for libnss_test1.
23797 * nss/nss_test1.c: New file.
23798 * nss/tst-nss-test1.c: New file.
23800 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23801 (__nss_configure_lookup): Set appropriate entry in
23802 __nss_configure_lookup to true.
23803 * nss/nsswitch.h: Define enum with indeces of databases in
23804 databases and __nss_database_custom arrays. Declare
23805 __nss_database_custom.
23806 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23807 to avoid using nscd when custom rules are installed.
23808 * nss/getXXbyYY_r.c: Likewise.
23809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23811 * nss/nss_files/files-parse.c: Whitespace fixes.
23813 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23816 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23817 * posix/fnmatch_loop.c: Likewise.
23819 2010-07-17 Andi Kleen <ak@linux.intel.com>
23821 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23822 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23823 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23824 * Versions.def [GLIBC_2.13]: Add.
23826 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23828 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23829 Also fail if tpwd after pwuid call is NULL.
23831 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23833 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23834 when converting to ms.
23836 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23838 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23839 EOPNOTSUPP errors with ENOTTY.
23840 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23841 EOPNOTSUPP errors with ENOTTY.
23843 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23845 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23846 Add strcasecmp_l-ssse3.
23847 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23849 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23850 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23851 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23853 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23855 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23857 * string/Makefile (strop-tests): Add strcasecmp.
23858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23859 strcasecmp_l-nonascii.
23860 (gen-as-const-headers): Add locale-defines.sym.
23861 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23862 * sysdeps/x86_64/strcasecmp.S: New file.
23863 * sysdeps/x86_64/strcasecmp_l.S: New file.
23864 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23865 * sysdeps/x86_64/locale-defines.sym: New file.
23866 * string/test-strcasecmp.c: New file.
23868 * string/test-strcasestr.c: Test both ends of the range of characters.
23869 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23871 2010-07-29 Roland McGrath <roland@redhat.com>
23874 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23876 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23878 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23881 2010-07-27 Andreas Schwab <schwab@redhat.com>
23883 * manual/memory.texi (Malloc Tunable Parameters): Document
23886 2010-07-26 Roland McGrath <roland@redhat.com>
23889 * configure.in (-fgnu89-inline check): Set and substitute
23890 gnu89_inline, not libc_cv_gnu89_inline.
23891 * configure: Regenerated.
23892 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23894 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23896 * string/test-strnlen.c: New file.
23897 * string/Makefile (strop-tests): Add strnlen.
23898 * string/tester.c (test_strnlen): Add a few more test cases.
23899 * string/tst-strlen.c: Better error reporting.
23901 * sysdeps/x86_64/strnlen.S: New file.
23903 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23905 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23906 lower-latency instructions.
23908 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23910 * string/test-strcasestr.c: New file.
23911 * string/test-strstr.c: New file.
23912 * string/Makefile (strop-tests): Add strstr and strcasestr.
23913 * string/str-two-way.h: Don't undefine MAX.
23914 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23916 2010-07-21 Andreas Schwab <schwab@redhat.com>
23918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23919 strcasestr-nonascii.
23920 (CFLAGS-strcasestr-nonascii.c): Define.
23921 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23922 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23923 Remove unused attribute.
23925 2010-07-20 Roland McGrath <roland@redhat.com>
23927 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23928 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23929 ld.so.cache was broken. With it, there is no way to disable dsocaps
23930 like LD_HWCAP_MASK can disable hwcaps.
23932 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23934 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23936 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23938 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23939 call in strcasestr.
23940 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23941 __strcasestr_sse42_nonascii.
23942 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23943 strcasestr-nonascii.c.
23944 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23946 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23948 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23950 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23953 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23955 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23958 2010-07-06 Andreas Schwab <schwab@redhat.com>
23961 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23964 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23967 _PC_PIPE_BUF using F_GETPIPE_SZ.
23969 2010-07-05 Roland McGrath <roland@redhat.com>
23971 * manual/arith.texi (Rounding Functions): Fix rint description
23972 implicit in round description.
23974 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23976 * elf/Makefile: Fix linking for a few tests to make recent linker
23979 2010-06-30 Andreas Schwab <schwab@redhat.com>
23981 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23982 $(common-objpfx)libc_nonshared.a.
23984 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23986 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23987 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23988 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23989 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23990 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23991 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23992 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23993 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24008 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24009 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24010 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24011 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24012 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24013 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24014 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24015 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24016 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24017 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24018 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24019 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24035 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24037 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24038 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24039 * string/memmove.c (memmove): Renamed to ...
24040 (MEMMOVE): ...this. Default to memmove.
24041 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24042 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24045 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24046 mempcpy-ssse3-back memmove-ssse3-back.
24047 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24048 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24050 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24051 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24052 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24053 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24054 * sysdeps/x86_64/multiarch/memmove.c: New file.
24055 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24056 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24057 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24058 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24059 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24060 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24062 (index_Fast_Copy_Backward): Define.
24063 (HAS_ARCH_FEATURE): Define.
24064 (HAS_FAST_REP_STRING): Define.
24065 (HAS_FAST_COPY_BACKWARD): Define.
24067 2010-06-21 Andreas Schwab <schwab@redhat.com>
24069 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24070 Restore proper fallback handling.
24072 2010-06-19 Ulrich Drepper <drepper@redhat.com>
24075 * posix/group_member.c (__group_member): Correct checking loop.
24077 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24078 OOM in getpwuid_r correctly. Return error number when the caller
24079 should return, otherwise -1.
24080 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24081 call returning > 0 value.
24082 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24084 2010-06-07 Andreas Schwab <schwab@redhat.com>
24086 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24087 libc_nonshared.a from targets in modules-names.
24089 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24091 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24094 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
24096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24097 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24099 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24101 2010-06-02 Andreas Schwab <schwab@redhat.com>
24103 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24105 2010-06-14 Ulrich Drepper <drepper@redhat.com>
24107 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24113 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24116 2010-06-14 Roland McGrath <roland@redhat.com>
24118 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24120 2010-06-07 Jakub Jelinek <jakub@redhat.com>
24122 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24123 __REDIRECT followed by __THROW.
24124 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24125 * posix/getopt.h (getopt): Likewise.
24127 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24129 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24130 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24131 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24133 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24134 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24136 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
24138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24140 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24144 Properly check family and model.
24146 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24148 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24150 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
24152 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24154 2010-05-21 Ulrich Drepper <drepper@redhat.com>
24156 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24159 2010-05-19 Andreas Schwab <schwab@redhat.com>
24161 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24164 2010-05-21 Andreas Schwab <schwab@redhat.com>
24166 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24167 and internal_recvmmsg.
24168 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24169 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24170 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24171 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24173 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24174 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24175 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24177 2010-05-20 Andreas Schwab <schwab@redhat.com>
24179 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24181 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
24183 POWER7 optimizations.
24184 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24185 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24187 2010-05-19 Ulrich Drepper <drepper@redhat.com>
24189 * version.h: Update for 2.13 development version.
24191 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
24193 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24194 exceptions. Return 0.
24196 2010-05-07 Roland McGrath <roland@redhat.com>
24198 * elf/ldconfig.c (main): Add a const.
24200 2010-05-06 Ulrich Drepper <drepper@redhat.com>
24202 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24203 (args_options): Add no-idn option.
24204 (ahosts_keys_int): Add idn_flags to ai_flags.
24205 (parse_option): Handle 'i' option to clear idn_flags.
24207 * malloc/malloc.c (_int_free): Possible race in the most recently
24208 added check. Only act on the data if no current modification
24211 See ChangeLog.17 for earlier changes.