1 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5 when handler == SIG_ERR, not when handler != SIG_ERR.
7 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14 * include/sys/socket.h (__libc_accept4): New prototype.
15 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
16 to implement __libc_accept4.
17 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
30 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33 assertion on O_CLOEXEC flag.
34 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35 * hurd/intern-fd.c: Likewise.
36 * hurd/port2fd.c: Likewise.
38 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41 * bits/in.h (IPV6_PKTINFO): Define new macro.
42 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
52 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55 * math/libm-test.inc (logb_test) : Additional logb tests.
57 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
58 Andreas Jaeger <aj@suse.de>
60 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61 * configure: Regenerated.
62 * config.h.in (LINK_OBSOLETE_RPC): New macro.
63 * config.make.in (link-obsolete-rpc): New substituted variable.
64 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67 (shared-only-routines): Don't set it under [link-obsolete-rpc],
68 so that libc.a contains the symbols.
69 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
70 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71 * sunrpc/auth_none.c: Likewise.
72 * sunrpc/auth_unix.c: Likewise.
73 * sunrpc/authdes_prot.c: Likewise.
74 * sunrpc/authuxprot.c: Likewise.
75 * sunrpc/clnt_gen.c: Likewise.
76 * sunrpc/clnt_perr.c: Likewise.
77 * sunrpc/clnt_raw.c: Likewise.
78 * sunrpc/clnt_simp.c: Likewise.
79 * sunrpc/clnt_tcp.c: Likewise.
80 * sunrpc/clnt_udp.c: Likewise.
81 * sunrpc/clnt_unix.c: Likewise.
82 * sunrpc/des_crypt.c: Likewise.
83 * sunrpc/des_soft.c: Likewise.
84 * sunrpc/get_myaddr.c: Likewise.
85 * sunrpc/key_call.c: Likewise.
86 * sunrpc/key_prot.c: Likewise.
87 * sunrpc/netname.c: Likewise.
88 * sunrpc/pm_getmaps.c: Likewise.
89 * sunrpc/pm_getport.c: Likewise.
90 * sunrpc/pmap_clnt.c: Likewise.
91 * sunrpc/pmap_prot.c: Likewise.
92 * sunrpc/pmap_prot2.c: Likewise.
93 * sunrpc/pmap_rmt.c: Likewise.
94 * sunrpc/publickey.c: Likewise.
95 * sunrpc/rpc_cmsg.c: Likewise.
96 * sunrpc/rpc_common.c: Likewise.
97 * sunrpc/rpc_dtable.c: Likewise.
98 * sunrpc/rpc_prot.c: Likewise.
99 * sunrpc/rpc_thread.c: Likewise.
100 * sunrpc/rtime.c: Likewise.
101 * sunrpc/svc.c: Likewise.
102 * sunrpc/svc_auth.c: Likewise.
103 * sunrpc/svc_raw.c: Likewise.
104 * sunrpc/svc_run.c: Likewise.
105 * sunrpc/svc_tcp.c: Likewise.
106 * sunrpc/svc_udp.c: Likewise.
107 * sunrpc/svc_unix.c: Likewise.
108 * sunrpc/svcauth_des.c: Likewise.
109 * sunrpc/xcrypt.c: Likewise.
110 * sunrpc/xdr.c: Likewise.
111 * sunrpc/xdr_array.c: Likewise.
112 * sunrpc/xdr_float.c: Likewise.
113 * sunrpc/xdr_intXX_t.c: Likewise.
114 * sunrpc/xdr_mem.c: Likewise.
115 * sunrpc/xdr_rec.c: Likewise.
116 * sunrpc/xdr_ref.c: Likewise.
117 * sunrpc/xdr_sizeof.c: Likewise.
118 * sunrpc/xdr_stdio.c: Likewise.
120 2012-05-10 Roland McGrath <roland@hack.frob.com>
122 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
123 change. Update copyright years.
125 2012-05-10 Joseph Myers <joseph@codesourcery.com>
127 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
129 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
130 Joseph Myers <joseph@codesourcery.com>
131 Paul Pluzhnikov <ppluzhnikov@google.com>
134 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
136 [cross-compiling] (extra-libs): Likewise.
137 [cross-compiling] (extra-libs-others): Likewise.
138 [cross-compiling] (librpcsvc-routines): Likewise.
139 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
140 [cross-compiling] (omit-deps): Likewise.
141 (sunrpc-CPPFLAGS): New variable.
142 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
143 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
144 (cross-rpcgen-objs): New variable.
145 (extra-objs): Append $(cross-rpcgen-objs).
146 ($(cross-rpcgen-objs)): New rule.
147 ($(objpfx)cross-rpcgen): Likewise.
148 (rpcgen-cmd): Define to use $(built-program-file). Expand
150 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
151 ($(objpfx)x%.stmp): Likewise.
152 * sunrpc/proto.h [IS_IN_build] (_): Define.
153 [IS_IN_build] (_libc_intl_domainname): Likewise.
155 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
158 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
159 and R_X86_64_TPOFF64.
161 2012-05-10 Joseph Myers <joseph@codesourcery.com>
163 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
164 sysdeps/unix/sysv/syscalls.list.
167 * sysdeps/unix/sysv/syscalls.list: Remove file.
169 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
172 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
173 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
174 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
175 (__LC_IDENTIFICATION): Make these macros useful in #if
176 expressions, as required by C99.
178 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
180 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
181 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
184 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
186 * stdlib/longlong.h: Updated from GCC.
188 2012-05-09 Andreas Jaeger <aj@suse.de>
190 * nscd/nscd.c (run_modes): Make named enum, reorder so that
191 default is first entry.
192 (run_mode): Set type.
193 (main): Remove informal message about syslog.
197 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
204 (nearbyint): Likewise.
205 (nearbyintf): Likewise.
207 2012-05-09 Andreas Jaeger <aj@suse.de>
208 Pedro Alves <palves@redhat.com>
210 * nscd/nscd.c (run_mode): Use enum.
211 (main): Cleanup coding style issue.
213 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
214 Andreas Jaeger <aj@suse.de>
216 * nscd/nscd.c (go_background): Replaced with...
217 (run_mode): ... this.
218 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
219 (options): Add -F --foreground.
220 (main): Implement it.
221 (parse_opt): Parse it.
223 2012-05-09 Andreas Jaeger <aj@suse.de>
226 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
227 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
228 -Wconversion warning.
229 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
232 2012-05-09 Joseph Myers <joseph@codesourcery.com>
234 * conform/data/locale.h-data (NULL): Use macro-constant. Require
236 (LC_ALL): Use macro-int-constant.
237 (LC_COLLATE): Likewise.
238 (LC_CTYPE): Likewise.
239 (LC_MESSAGES): Likewise.
240 (LC_MONETARY): Likewise.
241 (LC_NUMERIC): Likewise.
243 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
244 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
246 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
248 [C99-based standards] (float_t): Expect type.
249 [C99-based standards] (double_t): Expect type.
250 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
252 [C99-based standards] (HUGE_VALL): Likewise.
253 [C99-based standards] (INFINITY): Likewise.
254 [C99-based standards] (NAN): Likewise.
255 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
256 [C99-based standards] (FP_NAN): Likewise.
257 [C99-based standards] (FP_NORMAL): Likewise.
258 [C99-based standards] (FP_SUBNORMAL): Likewise.
259 [C99-based standards] (FP_ZERO): Likewise.
260 [C99-based standards] (FP_FAST_FMA): Use
261 optional-macro-int-constant. Specify type. Require == 1.
262 [C99-based standards] (FP_FAST_FMAF): Likewise.
263 [C99-based standards] (FP_FAST_FMAL): Likewise.
264 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
265 [C99-based standards] (FP_ILOGBNAN): Likewise.
266 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
268 [C99-based standards] (MATH_ERREXCEPT): Likewise.
269 [C99-based standards] (math_errhandling): Specify type.
270 [ISO99 || ISO11] (signgam): Do not allow.
271 [non-C99-based standards] (copysignf): Do not allow.
272 [non-C99-based standards] (exp2f): Likewise.
273 [non-C99-based standards] (log2f): Likewise.
274 [non-C99-based standards] (modff): Allow.
275 [non-C99-based standards] (erff): Do not allow.
276 [non-C99-based standards] (erfcf): Likewise.
277 [non-C99-based standards] (gammaf): Likewise.
278 [non-C99-based standards] (hypotf): Likewise.
279 [non-C99-based standards] (j0f): Likewise.
280 [non-C99-based standards] (j1f): Likewise.
281 [non-C99-based standards] (jnf): Likewise.
282 [non-C99-based standards] (lgammaf): Likewise.
283 [non-C99-based standards] (tgammaf): Likewise.
284 [non-C99-based standards] (y0f): Likewise.
285 [non-C99-based standards] (y1f): Likewise.
286 [non-C99-based standards] (ynf): Likewise.
287 [non-C99-based standards] (isnanf): Likewise.
288 [non-C99-based standards] (acoshf): Likewise.
289 [non-C99-based standards] (asinhf): Likewise.
290 [non-C99-based standards] (atanhf): Likewise.
291 [non-C99-based standards] (cbrtf): Likewise.
292 [non-C99-based standards] (expm1f): Likewise.
293 [non-C99-based standards] (ilogbf): Likewise.
294 [non-C99-based standards] (log1pf): Likewise.
295 [non-C99-based standards] (logbf): Likewise.
296 [non-C99-based standards] (nextafterf): Likewise.
297 [non-C99-based standards] (remainderf): Likewise.
298 [non-C99-based standards] (rintf): Likewise.
299 [non-C99-based standards] (scalbf): Likewise.
300 [non-C99-based standards] (copysignl): Likewise.
301 [non-C99-based standards] (exp2l): Likewise.
302 [non-C99-based standards] (log2l): Likewise.
303 [non-C99-based standards] (modfl): Allow.
304 [non-C99-based standards] (erfl): Do not allow.
305 [non-C99-based standards] (erfcl): Likewise.
306 [non-C99-based standards] (gammal): Likewise.
307 [non-C99-based standards] (hypotl): Likewise.
308 [non-C99-based standards] (j0l): Likewise.
309 [non-C99-based standards] (j1l): Likewise.
310 [non-C99-based standards] (jnl): Likewise.
311 [non-C99-based standards] (lgammal): Likewise.
312 [non-C99-based standards] (tgammal): Likewise.
313 [non-C99-based standards] (y0l): Likewise.
314 [non-C99-based standards] (y1l): Likewise.
315 [non-C99-based standards] (ynl): Likewise.
316 [non-C99-based standards] (isnanl): Likewise.
317 [non-C99-based standards] (acoshl): Likewise.
318 [non-C99-based standards] (asinhl): Likewise.
319 [non-C99-based standards] (atanhl): Likewise.
320 [non-C99-based standards] (cbrtl): Likewise.
321 [non-C99-based standards] (expm1l): Likewise.
322 [non-C99-based standards] (ilogbl): Likewise.
323 [non-C99-based standards] (log1pl): Likewise.
324 [non-C99-based standards] (logbl): Likewise.
325 [non-C99-based standards] (nextafterl): Likewise.
326 [non-C99-based standards] (remainderl): Likewise.
327 [non-C99-based standards] (rintl): Likewise.
328 [non-C99-based standards] (scalbl): Likewise.
329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
330 [non-C99-based standards] (FP_*): Do not allow.
331 [C99-based standards] (FP_*): Change to
332 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
333 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
335 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
337 [X/Open-based standards] (SIG_HOLD): Likewise.
339 (SIGABRT): Use macro-int-constant. Specify type. Require
346 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
347 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
348 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
349 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
350 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
351 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
352 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
353 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
354 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
355 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
356 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
357 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
358 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
359 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
360 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
361 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
362 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
363 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
364 [X/Open-based standards] (SIGTRAP): Likewise.
365 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
366 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
367 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
368 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
369 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
372 2012-05-08 Ian Wienand <ianw@vmware.com>
375 * time/tzset.c (__tzset_parse_tz): Update default rules for
376 daylight time changes in the Energy Policy Act of 2005.
378 2012-05-09 Andreas Jaeger <aj@suse.de>
381 * elf/ldconfig.c (parse_conf): Change string to make clear that
382 ldconfig only issued a warning if ld.so.conf does not exist.
384 2012-05-08 David S. Miller <davem@davemloft.net>
386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
387 movxtod instead of popping the value on the stack.
389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
391 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
393 * config.h.in: Add HAVE_ARM_PCS_VFP.
395 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
398 * include/features.h: Warn if user requests __FORTIFY_SOURCE
399 checking but the checks are disabled for any reason.
401 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
403 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
404 and ELF64_R_TYPE with ELFW(R_TYPE).
406 2012-05-08 Joseph Myers <joseph@codesourcery.com>
408 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
411 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
412 (settimeofday): Likewise.
414 2012-05-08 Mike Frysinger <vapier@gentoo.org>
416 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
417 a struct th_u2 inside the union, and move tu_block/tu_code into
418 a new th_u3 union of tu_block/tu_code inside of that. Move
419 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
420 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
421 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
422 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
423 (th_stuff): Change to th_u1.tu_stuff.
425 (th_msg): Change to th_u1.th_u2.tu_data.
427 2012-05-07 David S. Miller <davem@davemloft.net>
429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
432 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
433 (SETUP_PIC_REG): Use it.
434 (SETUP_PIC_REG_LEAF): Use it.
436 2012-05-07 Joseph Myers <joseph@codesourcery.com>
440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
442 (EXPL_FINITE): Likewise.
444 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
445 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
449 (EXPL_FINITE): Likewise.
451 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
452 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
454 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
455 test of -max_value argument for long double.
456 * sysdeps/i386/fpu/libm-test-ulps: Update.
457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
459 2012-05-06 David S. Miller <davem@davemloft.net>
461 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
462 quad soft-float symbols whose references which are compiler
464 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
466 2012-05-06 Joseph Myers <joseph@codesourcery.com>
470 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
472 (EXPL_FINITE): Likewise.
476 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
477 Adjust comments for base varying.
478 (__expl_finite): Change alias to EXPL_FINITE.
479 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
481 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
482 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
483 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
484 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
485 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
487 (EXPL_FINITE): Likewise.
491 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
492 Adjust comments for base varying.
493 (__expl_finite): Change alias to EXPL_FINITE.
494 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
499 * math/libm-test.inc (check_float_internal): Correct ulp
500 calculation for subnormal expected results.
502 2012-05-06 Andreas Jaeger <aj@suse.de>
504 * Makeconfig (+math-flags): New, set to -frounding-math.
505 (+cflags): Add +math-flags so that all of glibc gets compiled with
508 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
510 2012-05-05 Joseph Myers <joseph@codesourcery.com>
512 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
518 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
519 (__ieee754_expl): Allow for and saturate large arguments.
520 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
521 (u_threshold): Likewise.
522 (__exp): Call __ieee754_exp before checking for overflow and
524 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
525 (u_threshold): Likewise.
526 (__expf): Call __ieee754_expf before checking for overflow and
528 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
529 (u_threshold): Likewise.
530 (__expl): Call __ieee754_expl before checking for overflow and
532 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
533 (__ieee754_expl): Allow for and saturate large arguments.
534 * math/libm-test.inc (exp_test): Add another test. Do not allow
535 missing overflow exception on overflow.
536 (expm1_test): Do not allow missing overflow exception on overflow.
538 * sysdeps/i386/fpu/e_expl.c: Move to ...
539 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
540 rather than using inline asm.
541 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
542 * sysdeps/x86_64/fpu/e_expl.S: Copy from
543 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
545 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
552 2012-05-04 Joseph Myers <joseph@codesourcery.com>
554 * sysdeps/unix/syscalls.list (adjtime): Add entry from
555 sysdeps/unix/common/syscalls.list.
558 (ftruncate): Likewise.
559 (getrusage): Likewise.
560 (gettimeofday): Likewise.
562 (setregid): Likewise.
563 (setreuid): Likewise.
564 (sigaction): Likewise.
565 (truncate): Likewise.
567 * sysdeps/unix/common/syscalls.list: Remove file.
568 * sysdeps/unix/bsd/Implies: Don't include unix/common.
569 * sysdeps/unix/sysv/linux/Implies: Likewise.
571 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
573 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
575 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
579 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
582 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
585 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
588 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
591 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
594 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
597 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
601 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
605 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
608 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
612 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
616 2012-05-04 Joseph Myers <joseph@codesourcery.com>
618 * sysdeps/unix/common/bits/dirent.h: Remove file.
619 * sysdeps/unix/common/bits/fcntl.h: Likewise.
621 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
622 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
623 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
624 * sysdeps/unix/bsd/isatty.c: Likewise.
625 * sysdeps/unix/bsd/tcdrain.c: Likewise.
626 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
627 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
629 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
633 long double comparison inaccuracies.
634 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
637 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
639 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
642 2012-05-04 Joseph Myers <joseph@codesourcery.com>
645 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
646 nonzero digits before rounding a hex value.
647 * stdlib/tst-strtod.c (tests): Add another test.
649 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
651 * sysdeps/s390/fpu/libm-test-ulps: Update.
653 2012-05-03 Andreas Jaeger <aj@suse.de>
655 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
656 does not get optimized out.
657 (malloc_opt_barrier): New.
659 2012-05-03 Andreas Jaeger <aj@suse.de>
660 Roland McGrath <roland@hack.frob.com>
662 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
663 intermediate file deletion.
664 (generated): Add .symlist files.
666 2012-05-03 Joseph Myers <joseph@codesourcery.com>
669 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
670 Redirect under this condition.
671 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
672 [__USE_GNU] (__dprintf_chk): Not under this condition.
673 [__USE_GNU] (__vdprintf_chk): Likewise.
674 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
675 under this condition.
676 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
677 [__USE_XOPEN2K8] (dprintf): Define under this condition.
678 [__USE_XOPEN2K8] (vdprintf): Likewise.
679 [__USE_GNU] (__dprintf_chk): Not under this condition.
680 [__USE_GNU] (__vdprintf_chk): Likewise.
681 [__USE_GNU] (dprintf): Likewise.
682 [__USE_GNU] (vdprintf): Likewise.
684 2012-05-03 Roland McGrath <roland@hack.frob.com>
686 * elf/Makefile (common-generated): Set this instead of generated for
687 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
688 $(all-built-dso)-derived lists.
690 2012-05-03 Andreas Jaeger <aj@suse.de>
692 * sysdeps/i386/fpu/libm-test-ulps: Update.
696 * scripts/gen-FAQ.pl: Likewise.
697 * manual/install.texi (Installation): Point to online location of
699 * Makefile (files-for-dist): Remove FAQ.
702 2012-05-02 Allan McRae <allan@archlinux.org>
704 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
705 (LDFLAGS-reldepmod5.so): Likewise.
706 (LDFLAGS-reldep6mod1.so): Likewise.
707 (LDFLAGS-reldep6mod4.so): Likewise.
708 (LDFLAGS-reldep8mod3.so): Likewise.
709 (LDFLAGS-unload4mod1.so): Likewise.
710 (LDFLAGS-unload4mod2.so): Likewise.
711 (LDFLAGS-tst-initorder): Likewise.
712 (LDFLAGS-tst-initordera2.so): Likewise.
713 (LDFLAGS-tst-initordera3.so): Likewise.
714 (LDFLAGS-tst-initordera4.so): Likewise.
715 (LDFLAGS-tst-initorderb2.so): Likewise.
716 (LDFLAGS-noload): Likewise.
717 (LDFLAGS-next): Likewise.
718 (LDFLAGS-order2mod1.so): Likewise.
719 (LDFLAGS-order2mod2.so): Likewise.
720 (LDFLAGS-tst-initorder2): Likewise.
721 (LDFLAGS-tst-initorder2a.so): Likewise.
722 (LDFLAGS-tst-initorder2b.so): Likewise.
723 (LDFLAGS-tst-initorder2c.so): Likewise.
724 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
726 2012-05-02 David S. Miller <davem@davemloft.net>
728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
730 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
733 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
735 2012-05-02 Andreas Jaeger <aj@suse.de>
737 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
738 since we manipulate rounding mode.
739 (CPPFLAGS-test-idouble.c): Likewise.
740 (CPPFLAGS-test-ifloat.c): Likewise.
741 (CFLAGS-test-ldouble.c): Likewise.
742 (CFLAGS-test-double.c): Likewise.
743 (CFLAGS-test-float.c): Likewise.
744 (CFLAGS-test-misc.c): Likewise.
745 (CFLAGS-test-test-fenv.c): Likewise.
747 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
752 comparisons to determine direction to adjust input.
754 2012-05-01 Roland McGrath <roland@hack.frob.com>
756 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
757 output to the target.
759 * scripts/localplt.awk: New file.
760 * elf/Makefile ($(objpfx)check-localplt): Target removed.
761 (check-localplt-CFLAGS): Variable removed.
762 ($(all-built-dso:=.jmprel)): New static pattern rule.
763 (generated): Add those targets.
764 (localplt-built-dso): New variable.
765 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
767 * elf/check-localplt.c: File removed.
769 * scripts/check-execstack.awk: New file.
770 * elf/Makefile ($(objpfx)check-execstack): Target removed.
771 (check-execstack-CFLAGS): Variable removed.
772 ($(objpfx)check-execstack.h): Target removed.
773 ($(objpfx)execstack-default): New target.
774 (generated): Add that instead of check-execstack.h.
775 ($(all-built-dso:=.phdr)): New static pattern rule.
776 (generated): Add those targets.
777 * elf/check-execstack.c: File removed.
779 * scripts/check-textrel.awk: New file.
780 * elf/Makefile ($(objpfx)check-textrel): Target removed.
781 (check-textrel-CFLAGS): Variable removed.
782 (all-built-dso): Use := to define.o
783 ($(all-built-dso:=.dyn)): New static pattern rule.
784 (generated): Add those targets.
785 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
786 * config.make.in (READELF): New substituted variable.
787 * elf/check-textrel.c: File removed.
789 2012-05-01 Joseph Myers <joseph@codesourcery.com>
791 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
793 * conform/data/ctype.h-data [C99-based standards] (isblank):
795 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
796 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
798 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
799 Specify type. Require positive value.
802 [ISO || POSIX] (EILSEQ): Do not expect.
803 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
804 Specify type. Require positive value.
805 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
806 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
807 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
808 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
809 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
810 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
811 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
812 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
813 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
814 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
815 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
816 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
817 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
818 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
819 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
820 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
821 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
822 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
823 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
824 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
825 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
826 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
827 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
828 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
829 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
830 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
831 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
832 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
833 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
834 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
835 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
836 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
837 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
838 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
839 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
840 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
841 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
842 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
843 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
844 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
845 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
846 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
847 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
848 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
849 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
850 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
851 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
852 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
853 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
854 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
855 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
856 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
857 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
858 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
859 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
860 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
861 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
862 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
863 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
864 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
865 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
866 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
867 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
868 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
869 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
870 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
871 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
872 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
873 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
874 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
875 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
876 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
877 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
878 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
879 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
880 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
881 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
883 (FLT_ROUNDS): Expect as macro, not constant.
884 (FLT_MANT_DIG): Use macro-int-constant.
885 (DBL_MANT_DIG): Likewise.
886 (LDBL_MANT_DIG): Likewise.
889 (LDBL_DIG): Likewise.
890 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
891 (DBL_MIN_EXP): Likewise.
892 (LDBL_MIN_EXP): Likewise.
893 (FLT_MAX_EXP): Use macro-int-constant.
894 (DBL_MAX_EXP): Likewise.
895 (LDBL_MAX_EXP): Likewise.
896 (FLT_MAX_10_EXP): Likewise.
897 (DBL_MAX_10_EXP): Likewise.
898 (LDBL_MAX_10_EXP): Likewise.
899 (FLT_MAX): Use macro-constant.
901 (LDBL_MAX): Likewise.
902 (FLT_EPSILON): Use macro-constant. Give upper bound.
903 (DBL_EPSILON): Likewise.
904 (LDBL_EPSILON): Likewise.
907 (LDBL_MIN): Likewise.
908 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
909 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
910 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
911 [ISO11] (FLT_HAS_SUBNORM): Likewise.
912 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
913 [ISO11] (DBL_DECIMAL_DIG): Likewise.
914 [ISO11] (FLT_DECIMAL_DIG): Likewise.
915 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
916 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
917 [ISO11] (FLT_TRUE_MIN): Likewise.
918 [ISO11] (LDBL_TRUE_MIN): Likewise.
919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
920 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
921 (SCHAR_MIN): Use macro-int-constant. Specify type.
922 (SCHAR_MAX): Likewise.
923 (UCHAR_MAX): Likewise.
924 (CHAR_MIN): Likewise.
925 (CHAR_MAX): Likewise.
926 (MB_LEN_MAX): Use macro-int-constant.
927 (SHRT_MIN): Use macro-int-constant. Specify type.
928 (SHRT_MAX): Likewise.
929 (USHRT_MAX): Likewise.
931 (INT_MIN): Use macro-int-constant. Specify type. Make upper
933 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
935 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
937 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
938 bound negative. Suffix upper bound with "L".
939 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
941 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
943 [C99-based standards] (LLONG_MAX): Likewise.
944 [C99-based standards] (ULLONG_MAX): Likewise.
945 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
947 [ISO11] (max_align_t): Require type.
948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
950 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
951 from $CFLAGS, without defining away __attribute__ calls.
952 (checknamespace): Use $CFLAGS_namespace.
954 * conform/conformtest.pl (@keywords): Only include C99 keywords
955 for standards based on C99 or C11.
957 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
959 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
962 * conform/conformtest.pl: Handle "macro-int-constant" and test for
963 usability of symbols in #if.
965 * conform/conformtest.pl: If macro or constant types start
966 "promoted:", expect the symbol to be of the following type
967 promoted by the integer promotions.
969 * conform/conformtest.pl: Parse all "constant" and "macro" lines
970 in one place. Also handle "macro-constant".
972 * conform/conformtest.pl: Only accept expected macro values with
973 "==". Parse all "macro" lines in one place.
974 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
976 * conform/conformtest.pl: Handle braced types on "constant" lines
977 instead of handling "typed-constant".
978 * conform/data/signal.h-data: Use "constant" instead of
981 * conform/conformtest.pl: Handle "optional-" at start of lines in
982 one place rather than duplicating several cases. Handle each
983 format of "macro" line with initial "optional-".
985 * conform/conformtest.pl: Only accept expected constant or
986 optional-constant values with "==". Parse all "constant" lines in
987 one place. Parse all "optional-constant" lines in one place.
988 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
989 * conform/data/fmtmsg.h-data: Likewise.
990 * conform/data/netinet/in.h-data: Likewise.
991 * conform/data/tar.h-data: Likewise.
992 * conform/data/limits.h-data: Use "==" form on "constant" and
993 "optional-constant" lines.
995 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
996 Use -std=c99 for XOPEN2K.
997 (@knownproblems): Remove.
998 (newtoken): Don't check %isknown.
1000 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1001 Do not expect macro.
1002 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1014 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1015 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1032 [XPG3] (acosh): Likewise.
1033 [XPG3] (asinh): Likewise.
1034 [XPG3] (atanh): Likewise.
1035 [XPG3] (cbrt): Likewise.
1036 [XPG3] (expm1): Likewise.
1037 [XPG3] (ilogb): Likewise.
1038 [XPG3] (log1p): Likewise.
1039 [XPG3] (logb): Likewise.
1040 [XPG3] (nextafter): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1043 [XPG3] (remainder): Likewise.
1044 [XPG3] (rint): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1052 [UNIX98 || XOPEN2K] (scalb): Expect.
1053 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1054 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1191 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1192 _XOPEN_SOURCE_EXTENDED for XPG4.
1194 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1196 * Makeconfig (localtime): Remove variable.
1197 (inst_localtime-file): Likewise.
1199 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1220 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1224 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1225 comparisons to determine direction to adjust input.
1226 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1227 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1228 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1232 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1234 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1235 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1237 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1239 * math/libm-test.inc (nexttoward_test): Add more tests.
1241 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1245 in version GLIBC_2.1, not GLIBC_2.0.
1246 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1249 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1252 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1254 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1255 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1256 * math/libm-test.inc (acos_test): Add more tests.
1257 (asin_test): Likewise.
1258 * sysdeps/i386/fpu/libm-test-ulps: Update.
1259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1262 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1264 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1265 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1266 * math/libm-test.inc (acos_test_tonearest): New function.
1267 (acos_test_towardzero): Likewise.
1268 (acos_test_downward): Likewise.
1269 (acos_test_upward): Likewise.
1270 (asin_test_tonearest): Likewise.
1271 (asin_test_towardzero): Likewise.
1272 (asin_test_downward): Likewise.
1273 (asin_test_upward): Likewise.
1274 (main): Call the new functions.
1275 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1280 * math/e_exp10.c: Include <float.h>.
1281 (__ieee754_exp10): Handle underflow here rather than multiplying
1282 large negative argument by M_LN10.
1283 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1285 * math/e_exp10l.c: Include <float.h>.
1286 (__ieee754_exp10l): Handle underflow here rather than multiplying
1287 large negative argument by M_LN10l.
1288 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1289 spurious overflow exception on underflow.
1291 2012-04-29 Marek Polacek <polacek@redhat.com>
1293 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1294 (__fortify_function): New macro.
1295 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1296 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1297 __extern_always_inline.
1298 * libio/bits/stdio2.h: Likewise.
1299 * libio/bits/stdio.h: Likewise.
1300 * string/string.h: Likewise.
1301 * string/bits/string3.h: Likewise.
1302 * include/stdio.h: Likewise.
1303 * stdlib/bits/stdlib.h: Likewise.
1304 * stdlib/stdlib.h: Likewise.
1305 * rt/bits/mqueue2.h: Likewise.
1306 * rt/mqueue.h: Likewise.
1307 * posix/bits/unistd.h: Likewise.
1308 * posix/unistd.h: Likewise.
1309 * io/bits/poll2.h: Likewise.
1310 * io/bits/fcntl2.h: Likewise.
1311 * io/fcntl.h: Likewise.
1312 * io/sys/poll.h: Likewise.
1313 * misc/bits/syslog.h: Likewise.
1314 * misc/bits/syslog-ldbl.h: Likewise.
1315 * misc/sys/syslog.h: Likewise.
1316 * socket/bits/socket2.h: Likewise.
1317 * socket/sys/socket.h: Likewise.
1318 * debug/tst-chk1.c: Likewise.
1319 * wcsmbs/bits/wchar2.h: Likewise.
1320 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1321 * wcsmbs/wchar.h: Likewise.
1323 2012-04-29 Andreas Jaeger <aj@suse.de>
1325 * Makerules (tests): Remove enable-check-abi protection.
1326 (check-abi-warn): Remove.
1327 (check-abi-%): Remove check-abi-warn usage.
1329 * configure.in: Remove check-abi configure option.
1330 * configure: Regenerated.
1331 * config.make.in (enable-check-abi): Remove.
1333 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1336 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1337 double functions to double *_finite functions.
1340 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1341 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1343 * stdio-common/Makefile (tests): Add tst-sprintf3.
1344 * stdio-common/tst-sprintf3.c: New file.
1346 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1347 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1349 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1351 * conform/conformtest.pl: Remove duplicate typed-constant
1354 2012-04-28 David S. Miller <davem@davemloft.net>
1356 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1357 (check-abi-%): Remove AWK script prerequisite and explicit
1359 (check-abi): Rewrite to just diff the symlist with the abilist.
1360 (config-tls, config-abi-config): Delete, no longer used.
1361 (update-abi-%): Remove AWK script and explicit abilist directory.
1362 (update-abi): Rewrite to simply compare and conditionally copy the
1363 symlist and the sysdep abilist file. Remove update-abi-config
1365 * abilist/ld.abilist: Remove.
1366 * abilist/libBrokenLocale.abilist: Remove.
1367 * abilist/libanl.abilist: Remove.
1368 * abilist/libcrypt.abilist: Remove.
1369 * abilist/libdl.abilist: Remove.
1370 * abilist/librt.abilist: Remove.
1371 * abilist/libthread_db.abilist: Remove.
1372 * abilist/libutil.abilist: Remove.
1373 * scripts/extract-abilist.awk: Remove.
1374 * scripts/merge-abilist.awk: Remove.
1375 * sysdeps/generic/libcidn.abilist: New file.
1376 * sysdeps/generic/libnss_compat.abilist: New file.
1377 * sysdeps/generic/libnss_db.abilist: New file.
1378 * sysdeps/generic/libnss_dns.abilist: New file.
1379 * sysdeps/generic/libnss_files.abilist: New file.
1380 * sysdeps/generic/libnss_hesiod.abilist: New file.
1381 * sysdeps/generic/libnss_nis.abilist: New file.
1382 * sysdeps/generic/libnss_nisplus.abilist: New file.
1383 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1384 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1385 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1387 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1388 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1389 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1390 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1391 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1392 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1393 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1394 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1395 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1397 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1398 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1399 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1400 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1402 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1403 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1404 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1405 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1406 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1409 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1410 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1411 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1413 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1516 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1517 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1518 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1521 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1522 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1523 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1524 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1525 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1526 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1527 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1528 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1529 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1581 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1583 * conform/conformtest.pl: Fix typo in handling typed-constant from
1586 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1588 * README: Cut down references to pre-2.6 Linux kernels and
1589 Linuxthreads. Update lists of configurations in libc and ports
1590 and sort alphabetically. Say "or newer" with Linux kernel version
1593 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1595 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1598 * math/libm-test.inc (logb_test_downward): New test to expose
1599 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1602 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1605 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1607 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1608 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1610 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1612 * sysdeps/unix/i386/brk.S: Remove file.
1613 * sysdeps/unix/i386/dl-brk.S: Likewise.
1614 * sysdeps/unix/i386/pipe.S: Likewise.
1615 * sysdeps/unix/i386/sigreturn.S: Likewise.
1616 * sysdeps/unix/i386/syscall.S: Likewise.
1617 * sysdeps/unix/i386/vfork.S: Likewise.
1618 * sysdeps/unix/i386/wait.S: Likewise.
1620 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1621 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1623 * configure.in (arm*-none*): Do not allow without
1624 --enable-hacker-mode.
1625 (netbsd*): Remove case setting base_os.
1626 (386bsd*): Likewise.
1627 (freebsd*): Likewise.
1631 (ultrix*): Likewise.
1632 (newsos*): Likewise.
1642 (solaris[2-9]*): Likewise.
1644 * configure: Regenerated.
1646 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1650 overflow or cancellation in calculating denominator.
1651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1653 down expression to avoid unexpected rounding in newer GCCs.
1654 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1656 2012-04-26 David S. Miller <davem@davemloft.net>
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1659 long-double compat symbols.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1674 2012-04-25 David S. Miller <davem@davemloft.net>
1676 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1677 HWCAP_* values only after the memory barriers have been defined.
1678 (atomic_full_barrier): Define.
1679 (atomic_read_barrier): Define.
1680 (atomic_write_barrier): Define.
1682 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1684 * shlib-versions: Add libgcc_s version information.
1685 * sysdeps/generic/libgcc_s.h: Remove.
1686 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1688 * sysdeps/gnu/unwind-resume.c: Likewise.
1689 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1691 2012-04-25 David S. Miller <davem@davemloft.net>
1693 * sysdeps/unix/sparc/brk.S: Delete.
1694 * sysdeps/unix/sparc/dl-brk.S: Delete.
1695 * sysdeps/unix/sparc/pipe.S: Delete.
1696 * sysdeps/unix/sparc/sysdep.S: Delete.
1697 * sysdeps/unix/sparc/sysdep.h: Delete.
1698 * sysdeps/unix/sparc/vfork.S: Delete.
1699 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1700 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1702 ret_ERRVAL, r0, r1, MOVE): Define.
1703 (JUMPTARGET): Remove.
1704 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1705 sysdeps/unix/sparc/sysdep.h
1706 (ENTRY, END): Remove.
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1709 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1711 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1712 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1715 * timezone/README: Update upstream location and email address for
1717 * timezone/zdump.c: Update from tzcode 2012b.
1718 * timezone/zic.c: Likewise.
1720 * configure.in (libc_cv_as_needed): Remove test.
1721 * configure: Regenerated.
1722 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1723 conditional definition.
1724 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1725 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1726 * config.make.in (have-as-needed): Remove variable.
1728 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1729 Paul Pluzhnikov <ppluzhnikov@google.com>
1731 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1734 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1736 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1737 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1738 * sysdeps/sh/strlen.S: Likewise.
1740 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1742 * sysdeps/unix/fork.S: Remove file.
1743 * sysdeps/unix/i386/fork.S: Likewise.
1744 * sysdeps/unix/sparc/fork.S: Likewise.
1746 * sysdeps/unix/system.c: Remove file.
1747 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1749 * sysdeps/unix/getegid.S: Remove file.
1750 * sysdeps/unix/geteuid.S: Likewise.
1752 2012-04-24 Roland McGrath <roland@hack.frob.com>
1754 * scripts/check-localplt.awk: New file.
1755 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1757 * scripts/data/localplt-generic.data: Add a comment.
1759 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1760 NODE when __dir_mkfile failed.
1761 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1762 Reported by Ludovic Courtès <ludo@gnu.org>.
1764 2012-04-24 Andreas Jaeger <aj@suse.de>
1766 * Makerules (common-clean): Also remove gen-as-const-headers
1769 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1771 * Makerules (native-compile): Do not change working directory for
1772 build. Use $(OUTPUT_OPTION) in command.
1773 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1775 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1779 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1780 * math/libm-test.inc (floor_test): Add more tests.
1781 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1783 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1785 * sysdeps/unix/getdents.c: Remove file.
1786 * sysdeps/unix/sysv/getdents.c: Likewise.
1787 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1789 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1790 sysdeps/unix/mman/syscalls.list.
1792 (mprotect): Likewise.
1795 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1796 * sysdeps/unix/mman/syscalls.list: Remove.
1797 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1799 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1800 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1801 * configure: Regenerated.
1802 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1804 * config.make.in (libgcc_s_suffix): Remove variable.
1806 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1808 * sysdeps/unix/sysv/gethostname.c: Move to ...
1809 * sysdeps/posix/gethostname.c: ... here.
1811 * sysdeps/unix/execve.S: Remove file.
1813 * sysdeps/unix/_exit.S: Remove file.
1815 2012-04-23 Andreas Jaeger <aj@suse.de>
1818 * manual/Makefile: Remove make dist support, there's no
1819 need for a stand-alone documentation tar ball.
1820 (TEXI2DVI): Define always, it's not in Makeconfig.
1824 (glibc-doc-$(edition).tar): Removed
1828 (ETAGS): Remove, it's in Makeconfig.
1829 (move-if-change): Remove, it's in Makeconfig.
1831 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1834 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1835 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1836 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1837 (strtod_l, strtof_l, strtold_l): Remove __wur.
1838 It is not necessarily an error to ignore strtol's return value.
1839 One can reliably look at the stored endptr to decide whether
1840 the number had valid syntax.
1842 2012-04-21 Andreas Jaeger <aj@suse.de>
1845 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1847 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1849 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1850 * sysdeps/unix/sysv/Versions: Remove file.
1852 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1857 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1861 version from __vm86.
1863 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1865 * sysdeps/unix/common/lxstat.c: Remove file.
1866 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1868 * sysdeps/unix/sysv/Makefile: Remove file.
1870 * sysdeps/unix/sysv/direct.h: Remove file.
1872 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1873 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1874 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1875 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1876 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1877 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1878 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1880 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1882 * sysdeps/unix/xmknod.c: Remove file.
1883 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1885 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1887 * sysdeps/unix/sysv/i386/time.S: Remove file.
1889 * sysdeps/unix/fxstat.c: Remove file.
1890 * sysdeps/unix/xstat.c: Likewise.
1891 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1893 * sysdeps/unix/sysv/sigaction.c: Remove file.
1895 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1896 (sysdep_headers): Remove variable.
1897 [termio.h not in sysdep_headers] (generated): Likewise.
1898 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1899 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1900 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1901 * sysdeps/unix/sysv/tcflow.c: Likewise.
1902 * sysdeps/unix/sysv/tcflush.c: Likewise.
1903 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1904 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1905 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1906 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1907 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1909 * sysdeps/unix/siglist.c: Remove file.
1911 * sysdeps/unix/getppid.S: Remove file.
1913 * sysdeps/unix/mkdir.c: Remove file.
1914 * sysdeps/unix/rmdir.c: Likewise.
1916 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1918 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1920 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1921 errlist-compat value.
1923 2012-04-18 David S. Miller <davem@davemloft.net>
1925 * sysdeps/generic/memcopy.h (reg_char): Delete.
1926 * debug/strcat_chk.c: Use char, not reg_char.
1927 * debug/strcpy_chk.c: Likewise.
1928 * debug/strncat_chk.c: Likewise.
1929 * debug/strncpy_chk.c: Likewise.
1930 * string/memchr.c: Likewise.
1931 * string/memrchr.c: Likewise.
1932 * string/rawmemchr.c: Likewise.
1933 * string/strcat.c: Likewise.
1934 * string/strchr.c: Likewise.
1935 * string/strchrnul.c: Likewise.
1936 * string/strcmp.c: Likewise.
1937 * string/strcpy.c: Likewise.
1938 * string/strncat.c: Likewise.
1939 * string/strncmp.c: Likewise.
1940 * string/strncpy.c: Likewise.
1942 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1944 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1945 __builtin_memcopy is called when src and dest ranges are known to not
1948 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1950 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1951 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1952 fwd_align_merge macro call.
1953 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1954 bwd_align_merge macro call.
1955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1957 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1959 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1960 bwd_align_merge macros.
1961 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1962 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1963 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1965 2012-04-18 David S. Miller <davem@davemloft.net>
1967 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1969 2012-04-18 Andreas Jaeger <aj@suse.de>
1972 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1973 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1974 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1976 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1977 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1978 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1980 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1981 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1982 Adjust for changed ldbl-128 files.
1984 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1985 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1986 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1988 2012-04-17 David S. Miller <davem@davemloft.net>
1990 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1992 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1994 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1995 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1996 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1997 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1998 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1999 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2001 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2005 * math/libm-test.inc: Add ilogb errno and exception tests.
2006 * math/w_ilogb.c: New file: ilogb wrapper.
2007 * math/w_ilogbf.c: New file: ilogbf wrapper.
2008 * math/w_ilogbl.c: New file: ilogbl wrapper.
2009 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2010 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2011 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2012 exception being thrown with 0.0 as argument.
2013 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2014 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2015 exception being thrown with 0.0 as argument.
2016 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2017 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2018 exception being thrown with 0.0 as argument.
2019 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2020 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2021 exception being thrown with 0.0 as argument.
2022 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2023 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2024 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2025 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2026 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2027 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2028 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2029 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2030 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2032 2012-04-17 Petr Baudis <pasky@ucw.cz>
2034 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2037 2012-04-16 Marek Polacek <polacek@redhat.com>
2039 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2041 2012-04-16 Marek Polacek <polacek@redhat.com>
2043 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2044 operands of fdivp instruction.
2046 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2048 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2049 * elf/tst-auditmod3b.c: Likewise.
2050 * elf/tst-auditmod4b.c: Likewise.
2051 * elf/tst-auditmod5b.c: Likewise.
2052 * elf/tst-auditmod6b.c: Likewise.
2053 * elf/tst-auditmod6c.c: Likewise.
2054 * elf/tst-auditmod7b.c: Likewise.
2055 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2056 * sysdeps/x86_64/preconfigure.in: Likewise.
2057 * sysdeps/x86_64/preconfigure: Regenerated.
2059 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2061 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2064 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2067 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2069 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2072 * locale/iso-639.def: Fix gl language name. Spotted by
2075 2012-04-12 Roland McGrath <roland@hack.frob.com>
2078 * libio/libio.h (__io_write_fn): Update comment.
2080 2012-04-12 Petr Baudis <pasky@ucw.cz>
2083 * stdio.texi (Hook Functions): The user provided writer function
2084 is not allowed to return -1.
2086 2012-04-11 David S. Miller <davem@davemloft.net>
2088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2090 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2092 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2093 Add a leading slash to rtkaio.
2095 2012-04-11 Jim Meyering <meyering@redhat.com>
2098 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2099 It is not necessarily an error to ignore fwrite's return
2100 value. One can reliably use ferror to test for errors after
2103 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2105 * bits/types.h (__snseconds_t): New type.
2106 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2108 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2109 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2110 (__SNSECONDS_T_TYPE): Likewise.
2111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2112 (__SNSECONDS_T_TYPE): Likewise.
2113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2114 (__SNSECONDS_T_TYPE): Likewise.
2116 2012-04-10 Andreas Jaeger <aj@suse.de>
2119 * manual/time.texi (Processor Time): Return type of times is
2120 elapsed real time since an arbitrary point in the past.
2121 (CPU Time): Move CLK_TCK from here...
2122 (Processor Time): ...to here. Correct description.
2123 * manual/conf.texi (Constants for Sysconf): Correct description of
2126 2012-04-10 David S. Miller <davem@davemloft.net>
2129 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2130 where the is a gap between DT_REL(A) and DT_JMPREL.
2132 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2134 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2135 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2136 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2138 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2140 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2141 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2142 (dl_main): Handle --inhibit-cache.
2143 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2145 * elf/dl-load.c (_dl_map_object): Use it.
2146 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2148 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2151 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2152 (__ieee754_powl): Saturate large exponents rather than testing for
2153 overflow of y*log2(x).
2154 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2155 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2159 * math/s_ctan.c: Include <float.h>.
2160 (__ctan): Avoid internal overflow or cancellation in calculating
2162 * math/s_ctanf.c: Likewise.
2163 * math/s_ctanl.c: Likewise.
2164 * math/s_ctanh.c: Likewise.
2165 * math/s_ctanhf.c: Likewise.
2166 * math/s_ctanhl.c: Likewise.
2167 * math/libm-test.inc (ctan_test): Add more tests.
2168 (ctanh_test): Likewise.
2169 * sysdeps/i386/fpu/libm-test-ulps: Update.
2170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2172 2012-04-09 Andreas Jaeger <aj@suse.de>
2175 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2176 is an optional BSD extension.
2179 * manual/stdio.texi (Opening Streams): Document additional fopen
2182 2012-04-09 Roland McGrath <roland@hack.frob.com>
2184 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2185 %eax without telling the compiler.
2187 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2190 * manual/install.texi: Use sourceware.org.
2192 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2195 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2196 (__ieee754_pow): Generate overflow and underflow using huge*huge
2197 and tiny*tiny rather than just returning constant infinity or zero
2198 for large exponents.
2199 * math/libm-test.inc (pow_test): Require overflow exceptions for
2200 applicable cases of large exponents.
2203 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2204 (__ieee754_pow): Use iterative multiplication algorithm only for
2205 integer exponents with absolute value below 1024. Check for odd
2206 integer exponents when using algorithm for real exponents.
2207 * math/libm-test.inc (pow_test): Add more tests.
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2210 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2213 * math/libm-test.inc (exp_test): Do not allow overflow exception
2216 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2219 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2220 instead of __kernel_standard_f.
2222 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2224 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2225 * sysdeps/x86_64/memset_chk.S: Likewise.
2227 2012-04-08 Andreas Jaeger <aj@suse.de>
2230 * manual/startup.texi (Environment Access): Describe return value
2231 for putenv and setenv.
2234 * manual/filesys.texi (Directory Entries): Add description for
2238 * manual/filesys.texi (Directory Entries): Clarify that it's file
2239 system not operating system in the description of DT_UNKNOWN.
2242 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2244 2012-04-08 Stephen Compall <s11@member.fsf.org>
2247 * manual/llio.texi (Opening and Closing Files): Add cross
2248 reference to explain mode argument.
2250 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2252 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2253 * sysdeps/x86_64/memset_chk.S: Likewise.
2255 2012-04-07 David S. Miller <davem@davemloft.net>
2257 * elf/elf.h (R_SPARC_WDISP10): Define.
2258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2261 R_SPARC_SIZE64 and R_SPARC_H34.
2263 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2265 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2266 conditions and remove no longer applicable assertion.
2268 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2270 * bits/byteswap.h: Include <features.h>.
2271 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2272 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2274 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2276 * bits/byteswap.h (__bswap_16): Removed.
2277 Include <bits/byteswap-16.h> to get __bswap_16.
2278 * sysdeps/i386/bits/byteswap.h: Likewise.
2279 * sysdeps/s390/bits/byteswap.h: Likewise.
2280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2281 * bits/byteswap-16.h: New file.
2282 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2283 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2284 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2285 * string/Makefile (headers): Add bits/byteswap-16.h.
2287 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2290 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2292 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2293 * nss/tst-nss-static.c: New.
2295 2012-04-06 Robert Millan <rmh@gnu.org>
2298 * manual/llio.texi (File Position Primitive): lseek
2299 refers to WHENCE when it really means OFFSET.
2301 2012-04-06 Andreas Jaeger <aj@suse.de>
2303 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2304 strncmp declarations.
2306 * abilist/libc.abilist: Add __poll and __ppoll.
2308 2012-04-05 David S. Miller <davem@davemloft.net>
2310 * scripts/check-local-headers.sh: Accept a host triplet in the
2311 path matched by the exclude regexp.
2313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2315 * sysdeps/powerpc/powerpc32/dl-machine.h
2316 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2317 * sysdeps/s390/s390-32/dl-machine.h
2318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2319 * sysdeps/sparc/sparc32/dl-machine.h
2320 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2321 * sysdeps/sparc/sparc64/dl-machine.h
2322 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2324 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2326 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2327 undefined symbol errors.
2329 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2332 2012-04-05 Michael Matz <matz@suse.de>
2335 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2337 2012-04-05 Andreas Jaeger <aj@suse.de>
2340 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2343 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2345 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2346 which ROUND is no valid rounding mode.
2348 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2352 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2354 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2356 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2357 an exception using FPU order intentionally.
2359 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2361 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2362 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2363 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2364 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2366 2012-04-05 Simon Josefsson <simon@josefsson.org>
2369 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2370 EINVAL when BUFLEN is too smal.
2372 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2375 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2376 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2378 2012-04-03 Andreas Jaeger <aj@suse.de>
2381 * manual/setjmp.texi (System V contexts): Fix sentence.
2384 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2385 New macro for this case.
2386 [!__GNUC__] (__bswap_64): New inline function for this case.
2387 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2388 * bits/byteswap.h: Likewise.
2389 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2390 ull, guard with __GLIBC_HAVE_LONG_LONG.
2392 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2393 __GLIBC_HAVE_LONG_LONG.
2395 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2396 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2398 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2401 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2402 inptr and inend, rather than using last_ch.
2404 2012-04-02 David S. Miller <davem@davemloft.net>
2406 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2407 * stdio-common/printf-parse.h (read_int): Change return type to
2408 'int', return -1 on INT_MAX overflow.
2409 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2410 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2411 overflows INT_MAX. Check for overflow of in-format-string precision
2412 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2413 SIZE_MAX not INT_MAX for integer overflow test.
2414 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2415 skip the construct in the format string but do not record anything.
2416 * stdio-common/bug22.c: Adjust to test both width/prevision
2417 INT_MAX overflow as well as total length INT_MAX overflow. Check
2418 explicitly for proper errno values.
2420 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2422 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2424 * string/test-strcmp.c [! WIDE]: Likewise.
2425 * time/tst-mktime2.c: Likewise for INT_MAX.
2426 * string/test-string.h: #include <sys/param.h> for MIN.
2428 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2429 * sysdeps/i386/init-first.c (init): Likewise.
2430 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2431 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2432 * sysdeps/sh/init-first.c (init): Likewise.
2434 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2436 * po/ru.po: Update from translation team.
2437 * po/vi.po: Likewise.
2439 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2441 * resolv/nss_dns/dns-host.c: Merge copyright years.
2443 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2446 Optimize memcpy with prefetch if
2447 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2448 src, dst pointers have unequal 16 byte alignments.
2450 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2453 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2454 from a CNAME entry and return the minimum ttl for the query.
2455 (gaih_getanswer_slice): Likewise.
2457 2012-03-30 Jeff Law <law@redhat.com>
2459 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2461 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2462 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2464 * resolv/nss_dns/dns-host.c: Update copyright year.
2466 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2468 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2469 requests to save a system call. Fix check that all bytes are sent.
2471 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2472 comments for sendmmsg.
2474 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2477 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2478 with only 1 character between 0x0041 and 0x01b0.
2479 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2480 * wcsmbs/tst-mbsnrtowcs.c: New file.
2482 2012-03-29 David S. Miller <davem@davemloft.net>
2484 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2485 small copies by hand.
2487 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2490 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2491 _nss_compat_initgroups_dyn): Fall back to malloc/free
2492 for large group memberships.
2494 2012-03-28 David S. Miller <davem@davemloft.net>
2496 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2497 that branches into memcpy.
2498 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2499 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2501 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2504 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2506 * sysdeps/sparc/mempcpy.S: New file.
2508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2509 the IFUNC routine in the libc case.
2510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2512 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2513 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2514 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2515 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2516 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2517 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2518 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2519 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2521 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2522 loop to 256 bytes instead of 64 bytes and fix test signedness.
2524 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2525 * sysdeps/sparc/sparc32/Makefile: rather than here...
2526 * sysdeps/sparc/sparc64/Makefile: and here.
2528 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2530 * malloc/mallocbug.c: Avoid warnings about unused variables.
2532 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2535 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2536 in the right place. Discard and retry query if response is
2537 larger than input buffer size.
2539 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2545 x for large integer exponent.
2546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2547 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2548 sign of result as needed afterwards.
2549 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2551 result for underflowing pow the same as for overflow.
2552 (__kernel_standard_l): Handle powl overflow and underflow here
2553 rather than calling __kernel_standard.
2554 * math/libm-test.inc (pow_test): Add more tests.
2569 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2570 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2571 (__kernel_standard_l): New function.
2572 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2574 * math/w_acosl.c (__acosl): Likewise.
2575 * math/w_asinl.c (__asinl): Likewise.
2576 * math/w_atan2l.c (__atan2l): Likewise.
2577 * math/w_atanhl.c (__atanhl): Likewise.
2578 * math/w_coshl.c (__coshl): Likewise.
2579 * math/w_exp10l.c (__exp10l): Likewise.
2580 * math/w_exp2l.c (__exp2l): Likewise.
2581 * math/w_fmodl.c (__fmodl): Likewise.
2582 * math/w_hypotl.c (__hypotl): Likewise.
2583 * math/w_j0l.c (__j0l, __y0l): Likewise.
2584 * math/w_j1l.c (__j1l, __y1l): Likewise.
2585 * math/w_jnl.c (__jnl, __ynl): Likewise.
2586 * math/w_lgammal.c (__lgammal): Likewise.
2587 * math/w_log10l.c (__log10l): Likewise.
2588 * math/w_log2l.c (__log2l): Likewise.
2589 * math/w_logl.c (__logl): Likewise.
2590 * math/w_powl.c (__powl): Likewise.
2591 * math/w_remainderl.c (__remainderl): Likewise.
2592 * math/w_scalbl.c (sysv_scalbl): Likewise.
2593 * math/w_sinhl.c (__sinhl): Likewise.
2594 * math/w_sqrtl.c (__sqrtl): Likewise.
2595 * math/w_tgammal.c (__tgammal): Likewise.
2596 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2597 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2598 * math/libm-test.inc (acos_test): Add more tests.
2599 (acosh_test): Likewise.
2600 (asin_test): Likewise.
2601 (atanh_test): Likewise.
2602 (exp_test): Likewise.
2603 (exp10_test): Likewise.
2604 (exp2_test): Likewise.
2605 (expm1_test): Likewise.
2606 (lgamma_test): Likewise.
2607 (log_test): Likewise.
2608 (log10_test): Likewise.
2609 (log1p_test): Likewise.
2610 (log2_test): Likewise.
2611 (pow_test): Do not allow some spurious overflow exceptions.
2612 (sqrt_test): Add more tests.
2613 (tgamma_test): Likewise.
2614 (y0_test): Likewise.
2615 (y1_test): Likewise.
2616 (yn_test): Likewise.
2618 2012-03-27 Anton Blanchard <anton@samba.org>
2620 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2623 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2626 2012-03-27 David S. Miller <davem@davemloft.net>
2628 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2630 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2633 2012-03-27 Andreas Jaeger <aj@suse.de>
2635 * sysdeps/x86_64/elf/configure.in: Moved to ...
2636 * sysdeps/x86_64/configure.in: ... here.
2637 * sysdeps/x86_64/elf/start.S: Moved to ...
2638 * sysdeps/x86_64/start.S: ... here.
2639 * sysdeps/x86_64/elf/configure: Delete.
2641 * sysdeps/x86_64/configure.in: Merge contents from
2642 sysdeps/i386/configure.in (without i686 check).
2644 * sysdeps/i386/elf/Versions: Merge into ...
2645 * sysdeps/i386/Versions: ... this.
2646 * sysdeps/i386/elf/Versions: Delete file.
2647 * sysdeps/i386/elf/start.S: Moved to ...
2648 * sysdeps/i386/start.S: ...here.
2649 * sysdeps/i386/elf/configure.in: Merge into...
2650 * sysdeps/i386/configure.in: ...here.
2651 * sysdeps/i386/elf/configure.in: Delete file.
2652 * sysdeps/i386/elf/configure: Delete file.
2654 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2655 * debug/backtracesyms.c: ... here.
2656 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2657 * debug/backtracesymsfd.c: ... here.
2658 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2659 * sysdeps/generic/ifunc-sel.h: ... here.
2661 * sysdeps/unix/i386/start.c: Delete file.
2662 * sysdeps/unix/sparc/start.c: Delete file.
2663 * sysdeps/unix/start.c: Delete file.
2665 * sysdeps/sh/elf/configure.in: Moved to ...
2666 * sysdeps/sh/configure.in: ... here.
2667 * sysdeps/sh/elf/start.S: Moved to ...
2668 * sysdeps/sh/start.S: ... here.
2669 * sysdeps/sh/elf/configure: Delete file.
2671 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2672 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2673 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2674 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2675 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2676 * sysdeps/powerpc/powerpc64/start.S: here.
2677 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2678 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2679 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2680 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2681 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2683 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2684 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2685 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2686 * sysdeps/powerpc/powerpc32/start.S: ... here.
2687 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2688 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2689 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2691 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2692 * sysdeps/powerpc/ifunc-sel.h: ... here.
2693 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2694 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2696 * sysdeps/sparc/elf/configure.in: Moved to ...
2697 * sysdeps/sparc/configure.in: ... here.
2698 * sysdeps/sparc/elf/configure: Delete file.
2699 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2700 * sysdeps/sparc/sparc32/start.S: ... here.
2701 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2702 * sysdeps/sparc/sparc64/start.S: ... here.
2703 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2704 * sysdeps/sparc/sparc32/Makefile: ... this.
2705 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2706 * sysdeps/sparc/sparc64/Makefile: ... this.
2708 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2709 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2710 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2711 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2712 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2713 * sysdeps/s390/s390-32/setjmp.S: ... here.
2714 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2715 * sysdeps/s390/s390-32/configure.in: ... here.
2716 * sysdeps/s390/s390-32/elf/configure: Delete file.
2717 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2718 * sysdeps/s390/s390-32/start.S: ... here.
2720 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2721 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2722 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2723 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2724 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2725 * sysdeps/s390/s390-64/setjmp.S: ... here.
2726 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2727 * sysdeps/s390/s390-64/configure.in: ... here
2728 * sysdeps/s390/s390-64/elf/configure: Delete file.
2729 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2730 * sysdeps/s390/s390-64/start.S: ... here.
2731 * sysdeps/s390/s390-64/elf/configure: Delete.
2733 * configure.in: Remove support for elf directories in sysdeps.
2735 * configure: Regenerated.
2736 * sysdeps/i386/configure: Regenerated.
2737 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2738 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2739 * sysdeps/s390/s390-32/configure: Regenerated.
2740 * sysdeps/s390/s390-64/configure: Regenerated.
2741 * sysdeps/sh/configure: Regenerated.
2742 * sysdeps/sparc/configure: Regenerated.
2743 * sysdeps/x86_64/configure: Regenerated.
2745 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2750 denormal result into account.
2752 2012-03-25 Roland McGrath <roland@hack.frob.com>
2754 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2755 Reported by Allan McRae <allan@archlinux.org>.
2757 2012-03-23 Jeff Law <law@redhat.com>
2759 * nss/getnssent.c (__nss_getent): Fix typo.
2761 2012-03-23 David S. Miller <davem@davemloft.net>
2763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2765 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2767 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2768 to pad to uint64_t for each field.
2769 (dl_tls_index): Replace unsigned long with uint64_t.
2771 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2772 Paul Pluzhnikov <ppluzhnikov@google.com>
2775 * grp/Makefile (otherlibs): Don't set it.
2776 * inet/Makefile (otherlibs): Likewise.
2777 * login/Makefile (otherlibs): Likewise.
2778 * nscd/Makefile (otherlibs): Likewise.
2779 * posix/Makefile (otherlibs): Likewise.
2780 * pwd/Makefile (otherlibs): Likewise.
2781 * rt/Makefile (otherlibs): Likewise.
2782 * sunrpc/Makefile (otherlibs): Likewise.
2783 * nss/Makefile (otherlibs): Likewise.
2784 Add libnss_files to routines and static-only-routines.
2785 ($(objpfx)getent): Remove rule.
2786 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2787 static-only-routines.
2789 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2792 * math/s_cexp.c: Include <float.h>.
2793 (__cexp): Handle exp result overflowing not necessarily
2794 overflowing both real and imaginary parts of result.
2795 * math/s_cexpf.c: Likewise.
2796 * math/s_cexpl.c: Likewise.
2797 * math/libm-test.inc (cexp_test): Add more tests.
2798 * sysdeps/i386/fpu/libm-test-ulps: Update.
2799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2803 * include/link.h (ELFW): New macro.
2804 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2805 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2807 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2809 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2812 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2814 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2816 (struct La_x32_retval): Likewise.
2818 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2820 * sysdeps/x86_64/preconfigure.in: New file.
2821 * sysdeps/x86_64/preconfigure: New generated file.
2823 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2826 * math/e_exp2l.c: Include <float.h>.
2827 (__ieee754_exp2l): Handle overflow and underflow cases
2828 separately. Only pass fractional part of argument to
2830 * math/libm-test.inc (exp2_test): Add more tests.
2832 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2833 negating x to take absolute value.
2834 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2836 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2839 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2840 computing low part if x was negated.
2841 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2843 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2845 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2847 (pltexit): Cast int_retval to ptrdiff_t.
2848 * elf/tst-auditmod3b.c: Likewise.
2849 * elf/tst-auditmod4b.c: Likewise.
2850 * elf/tst-auditmod5b.c: Likewise.
2851 * elf/tst-auditmod6b.c: Likewise.
2852 * elf/tst-auditmod6c.c: Likewise.
2853 * elf/tst-auditmod7b.c: Likewise.
2855 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2856 and x32_gnu_pltexit.
2858 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2860 (La_x32_regs): New macro.
2861 (La_x32_retval): Likewise.
2862 (la_x32_gnu_pltenter): New function prototype.
2863 (la_x32_gnu_pltexit): Likewise.
2865 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2872 * configure.in (libc_cv_cc_nofma): Check for option to disable
2873 generation of FMA instructions.
2874 * configure: Regenerate.
2875 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2876 * sysdeps/ieee754/dbl-64/Makefile: New file.
2877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2878 Remove brandred-fma4.
2879 (CFLAGS-brandred-fma4.c): Remove.
2880 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2881 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2883 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2886 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2888 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2889 LLONG_MAX != LONG_MAX.
2890 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2891 (_fitoa_word): Likewise.
2892 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2893 LLONG_MAX != LONG_MAX.
2894 * stdio-common/_itowa.h: Include <_itoa.h>.
2895 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2896 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2897 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2898 only if not defined.
2899 (_ITOA_WORD_TYPE): Likewise.
2900 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2901 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2903 2012-03-21 David S. Miller <davem@davemloft.net>
2905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2907 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2909 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2910 of x86_64 when setting libc_cv_slibdir, libdir and
2912 * sysdeps/unix/sysv/linux/configure: Regenerated.
2914 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2916 * manual/lang.texi (Old Varargs): Remove section.
2917 (How Variadic): Update menu.
2918 (va_start): Do not mention varargs.h.
2920 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2921 Joseph Myers <joseph@codesourcery.com>
2923 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2925 * configure: Regenerated.
2927 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2929 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2930 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2933 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2936 * Makefile (files-for-dist): Remove NOTES.
2937 (NOTES): Remove rule.
2938 * README: Don't refer to NOTES.
2939 * manual/creature.texi: Don't include macros.texi.
2940 * manual/intro.texi (creature.texi): Remove comment referring to
2943 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2944 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2945 * configure: Regenerated.
2946 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2948 (libc_cv_as_i686): Likewise.
2949 (libc_cv_cc_avx): Likewise.
2950 (libc_cv_cc_sse2avx): Likewise.
2951 (libc_cv_cc_fma4): Likewise.
2952 (libc_cv_cc_novzeroupper): Likewise.
2953 * sysdeps/i386/configure: Regenerated.
2956 * sysdeps/i386/fpu/s_cexp.S: Remove.
2957 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2958 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2959 * math/libm-test.inc (cexp_test): Add more tests.
2960 * sysdeps/i386/fpu/libm-test-ulps: Update.
2961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2963 2012-03-21 Allan McRae <allan@archlinux.org>
2965 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2967 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2970 * math/w_exp2.c: Do not include <float.h>.
2971 (o_threshold, u_threshold): Remove.
2972 (__exp2): Calculate result before checking finiteness and calling
2974 * math/w_exp2f.c: Likewise.
2975 * math/w_exp2l.c: Likewise.
2976 * math/libm-test.inc (exp2_test): Require overflow exception for
2980 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2981 range of signed 64-bit integers before using fistpll. Remove
2982 checks for whether integers fit in mantissa bits.
2983 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2984 the range of signed 32-bit integers before using fistpl. Remove
2985 checks for whether integers fit in mantissa bits.
2986 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2987 (__ieee754_powl): Test for y outside the range of signed 64-bit
2988 integers before using fistpll. Reduce 64-bit values to 63-bit
2990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2991 divide-by-zero is raised for zero to large negative powers.
2992 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2993 (__ieee754_powl): Test for y outside the range of signed 64-bit
2994 integers before using fistpll. Reduce 64-bit values to 63-bit
2996 * math/libm-test.inc (pow_test): Add more tests.
2998 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3000 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3001 <stdio-common/_itoa.h>.
3002 * debug/segfault.c: Likewise.
3003 * elf/dl-cache.c: Likewise.
3004 * elf/dl-minimal.c: Likewise.
3005 * elf/dl-misc.c: Likewise.
3006 * elf/dl-sysdep.c: Likewise.
3007 * elf/dl-version.c: Likewise.
3008 * elf/rtld.c: Likewise.
3009 * hurd/hurdsock.c: Likewise.
3010 * hurd/lookup-retry.c: Likewise.
3011 * malloc/malloc.c: Likewise.
3012 * malloc/mtrace.c: Likewise.
3013 * nscd/nscd_getgr_r.c: Likewise.
3014 * nscd/nscd_getpw_r.c: Likewise.
3015 * nscd/nscd_getserv_r.c: Likewise.
3016 * posix/getopt_init.c: Likewise.
3017 * posix/wordexp.c: Likewise.
3018 * stdio-common/_itoa.c: Likewise.
3019 * stdio-common/printf_fphex.c: Likewise.
3020 * stdio-common/vfprintf.c: Likewise.
3021 * string/_strerror.c: Likewise.
3022 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3023 * sysdeps/i386/i686/hp-timing.h: Likewise.
3024 * sysdeps/mach/_strerror.c: Likewise.
3025 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3026 * sysdeps/mach/hurd/sethostid.c: Likewise.
3027 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3028 * sysdeps/mach/xpg-strerror.c: Likewise.
3029 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3030 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3031 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3032 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3033 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3034 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3035 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3036 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3037 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3038 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3039 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3040 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3041 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3043 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3044 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3045 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3046 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3047 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3048 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3049 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3051 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3053 * stdio-common/_itoa.h: Moved to ...
3054 * sysdeps/generic/_itoa.h: Here.
3056 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3058 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3059 instead of "_itoa.h" and "_itowa.h".
3060 * stdio-common/vfprintf.: Likewise.
3062 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3064 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3066 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3067 (__signbit): Likwise.
3071 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3073 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3076 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3078 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3079 OVERFLOW_EXCEPTION_OK.
3080 * math/libm-test.inc ("Philosophy"): Update comment about
3082 (OVERFLOW_EXCEPTION): Define.
3083 (OVERFLOW_EXCEPTION_OK): Likewise.
3084 (INVALID_EXCEPTION_OK): Renumber.
3085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3086 (IGNORE_ZERO_INF_SIGN): Likewise.
3087 (test_exceptions): Handle FE_OVERFLOW.
3088 (exp10_test): Expect overflow exceptions.
3089 (exp2_test): Likewise.
3090 (expm1_test): Likewise.
3091 (nextafter_test): Likewise.
3092 (pow_test): Likewise.
3093 (scalbn_test): Likewise.
3094 (scalbln_test): Likewise.
3096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3098 * sysdeps/x86_64/bits/atomic.h
3099 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3101 (atomic_exchange_acq): Likewise.
3102 (__arch_exchange_and_add_body): Likewise.
3103 (__arch_add_body): Likewise.
3104 (atomic_add_negative): Likewise.
3105 (atomic_add_zero): Likewise.
3107 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3109 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3110 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3112 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3114 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3115 Check __x86_64__ instead of __WORDSIZE.
3117 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3119 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3121 2012-03-19 David S. Miller <davem@davemloft.net>
3123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3125 * sysdeps/sparc/fpu/fenv_private.h: New file.
3126 * sysdeps/sparc/fpu/math_private.h: Use it.
3127 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3129 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3130 (libc_feholdexcept_setroundl): Remove.
3131 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3133 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3134 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3136 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3138 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3139 int64_t instead of long int.
3140 (INSERT_WORDS64): Likwise.
3142 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3144 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3145 _Unwind_GetCFA return to _Unwind_Ptr first.
3147 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3150 * math/s_clog.c: Include <float.h>.
3151 (__clog): Scale large or subnormal inputs.
3152 * math/s_clogf.c: Likewise.
3153 * math/s_clogl.c: Likewise.
3154 * math/s_clog10.c: Include <float.h>.
3155 (M_LOG10_2): Define.
3156 (__clog10): Scale large or subnormal inputs.
3157 * math/s_clog10f.c: Likewise.
3158 * math/s_clog10l.c: Likewise.
3159 * math/libm-test.inc (clog_test): Add more tests.
3160 (clog10_test): Likewise.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3165 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3167 * math/libm-test.inc (atan2_test): Add another test.
3169 * Makerules (common-objdir-compile): Remove.
3170 * sysdeps/unix/Makefile (config-generated): Do not add
3171 $(unix-generated) to variable.
3172 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3173 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3175 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3177 [generic bits/local_lim.h] (before-compile): Do not append to
3179 [generic bits/local_lim.h] (common-generated): Likewise.
3180 [generic sys/param.h] (before-compile): Do not append to variable.
3181 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3182 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3183 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3184 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3186 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3187 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3188 [generic sys/param.h] ($(addprefix
3189 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3190 [generic sys/param.h] (common-generated): Do not append to
3192 [generic sys/param.h] (sysdep_headers): Likewise.
3193 [generic bits/errno.h] (before-compile): Do not append to
3195 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3197 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3198 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3199 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3200 [generic bits/errno.h] (common-generated): Do not append to
3202 [generic bits/ioctls.h] (before-compile): Do not append to
3204 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3206 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3207 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3208 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3210 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3211 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3212 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3213 [generic bits/ioctls.h] (common-generated): Do not append to
3215 [generic sys/syscall.h] (syscall.h): Remove variable.
3216 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3218 [generic sys/syscall.h] (before-compile): Do not append to
3220 [generic sys/syscall.h] (common-generated): Likewise.
3221 * sysdeps/unix/errnos-tmpl.c: Remove file.
3222 * sysdeps/unix/errnos.awk: Likewise.
3223 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3224 * sysdeps/unix/ioctls.awk: Likewise.
3225 * sysdeps/unix/mk-local_lim.c: Likewise.
3226 * sysdeps/unix/snarf-ioctls: Likewise.
3228 2012-03-19 Richard Henderson <rth@twiddle.net>
3230 * sysdeps/i386/fpu/fenv_private.h: New file.
3231 * sysdeps/i386/fpu/math_private.h: Use it.
3232 (math_opt_barrier, math_force_eval): Remove.
3233 (libc_feholdexcept_setround_53bit): Remove.
3234 (libc_feupdateenv_53bit): Remove.
3235 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3236 (math_opt_barrier, math_force_eval): Remove.
3237 (libc_feholdexcept): Remove.
3238 (libc_feholdexcept_setround): Remove.
3239 (libc_fetestexcept, libc_fesetenv): Remove.
3240 (libc_feupdateenv_test): Remove.
3241 (libc_feupdateenv, libc_feholdsetround): Remove.
3242 (libc_feresetround): Remove.
3244 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3245 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3247 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3248 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3249 (libc_feupdateenv_testl): New.
3250 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3251 (libc_feupdateenv_testf): New.
3252 (libc_feupdateenv): Use libc_feupdateenv_test.
3253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3254 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3256 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3257 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3258 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3259 (libc_feresetround_noex): New.
3260 (libc_feresetround_noexf): New.
3261 (libc_feresetround_noexl): New.
3262 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3263 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3264 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3265 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3267 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3268 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3270 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3271 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3272 SET_RESTORE_ROUND_NOEX.
3273 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3274 SET_RESTORE_ROUND_NOEXF.
3275 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3276 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3277 (libc_feholdsetroundf): New.
3278 (libc_feresetround, libc_feresetroundf): New.
3280 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3281 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3282 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3284 * sysdeps/generic/math_private.h: Include <fenv.h>.
3285 (default_libc_feholdexcept): New.
3286 (default_libc_feholdexcept_setround): New.
3287 (default_libc_fesetenv, default_libc_feupdateenv): New.
3288 (libc_feholdexcept): Only define if undefined.
3289 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3290 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3291 (libc_feholdexcept_setroundl): Likewise.
3292 (libc_feholdexcept_setround_53bit): Likewise.
3293 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3294 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3295 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3296 (libc_feupdateenv_53bit): Likewise.
3297 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3298 (libc_feholdexcept): Convert from macro to inline function.
3299 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3300 (libc_fesetenv, libc_feupdateenv): Likewise.
3302 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3303 not previously defined.
3304 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3305 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3306 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3307 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3308 * sysdeps/ieee754/flt-32/math_private.h: New file.
3309 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3310 math_private.h below SET_FLOAT_WORD.
3311 (__isnan, __isinf_ns, __finite): Remove.
3312 (__isnanf, __isinf_nsf, __finitef): Remove.
3314 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3318 2012-03-17 David S. Miller <davem@davemloft.net>
3321 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3324 2012-03-16 David S. Miller <davem@davemloft.net>
3326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3330 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3332 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3333 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3334 sysdep_routines when subdir is sysvipc.
3335 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3338 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3340 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3342 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3345 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3347 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3348 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3349 (__lround): Renamed to ...
3350 (__llround): This. Replace long int with long long int.
3351 Define lround functions as aliases of llround functions.
3352 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3354 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3356 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3357 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3358 adresses to uintptr_t. Replace "long int" and "unsigned long
3359 int" with "greg_t" on va_arg.
3361 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3363 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3364 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3366 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3367 Move e_machine check before EI_CLASS check. Handle x32
3368 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3369 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3370 SKIP_EM_IA_64 and include
3371 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3373 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3374 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3375 (add_system_dir): New macro.
3377 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3378 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3380 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3391 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3393 * math/w_j0f.c (j0f): Likewise.
3395 * math/w_j0l.c (__j0l): Likewise.
3397 * math/w_j1.c (j1): Likewise.
3399 * math/w_j1f.c (j1f): Likewise.
3401 * math/w_j1l.c (__j1l): Likewise.
3403 * math/w_jn.c (jn): Likewise.
3405 * math/w_jnf.c (jnf): Likewise.
3407 * math/w_jnl.c (__jnl): Likewise.
3409 * math/libm-test.inc (j0_test): Add more tests.
3410 (j1_test): Likewise.
3411 (jn_test): Likewise. Add trailing semicolon to existing test.
3412 (y0_test): Likewise.
3413 (y1_test): Likewise.
3414 * sysdeps/i386/fpu/libm-test-ulps: Update.
3415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3419 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3420 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3421 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3422 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3423 (__tanl): Set errno for infinite argument.
3424 * sysdeps/i386/fpu/mptan.c: Remove.
3425 * sysdeps/i386/fpu/s_tan.S: Likewise.
3426 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3427 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3428 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3429 * math/libm-test.inc (tan_test): Add more tests and enable more
3430 tests for double and long double.
3431 * sysdeps/i386/fpu/libm-test-ulps: Update.
3432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3436 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3437 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3439 2012-03-16 Roland McGrath <roland@hack.frob.com>
3441 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3442 * configure.in: Use it for both main tree and add-ons.
3443 * configure: Regenerated.
3445 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3447 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3449 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3451 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3455 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3456 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3458 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3459 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3461 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3464 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3465 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3466 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3467 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3468 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3469 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3470 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3471 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3472 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3473 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3474 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3475 * math/libm-test.inc (cos_test): Add more tests and enable more
3476 tests for long double.
3477 (sin_test): Likewise.
3478 (sincos_test): Likewise.
3479 * sysdeps/i386/fpu/libm-test-ulps: Update.
3480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3482 2012-03-16 David S. Miller <davem@davemloft.net>
3484 * sysdeps/sparc/fpu/math_private.h: New file.
3486 2012-03-15 David S. Miller <davem@davemloft.net>
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3502 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3503 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3505 * sysdeps/sparc/sparc-ifunc.h: New file.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3549 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3551 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3553 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3557 2012-03-15 Andreas Jaeger <aj@suse.de>
3560 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3561 ieee754/flt-32 implementation for sin, cos and sincos.
3562 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3563 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3564 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3565 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3566 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3567 ieee754/flt-32 implementation for tan.
3569 * math/libm-test.inc (cos_test): Enable some large input tests for
3571 (sin_test): Likewise.
3572 (sincos_test): Likewise.
3573 (tan_test): Add tests for large input.
3575 * sysdeps/i386/fpu/libm-test-ulps: Update.
3577 2012-03-15 Andreas Jaeger <aj@suse.de>
3580 * math/libm-test.inc (cos_test): Add more test cases.
3581 (sin_test): Likewise.
3582 (sincos_test): Likewise.
3584 2012-03-15 Andreas Jaeger <aj@suse.de>
3587 * math/libm-test.inc (cos_test): Add a test case for large input
3589 (sin_test): Likewise.
3590 (sincos_test): Likewise.
3592 2012-03-15 Andreas Jaeger <aj@suse.de>,
3593 Joseph Myers <joseph@codesourcery.com>
3596 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3597 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3598 * sysdeps/i386/fpu/branred.c: Likewise.
3599 * sysdeps/i386/fpu/dosincos.c: Likewise.
3600 * sysdeps/i386/fpu/mpa.c: Likewise.
3601 * sysdeps/i386/fpu/s_cos.S: Likewise.
3602 * sysdeps/i386/fpu/s_sin.S: Likewise.
3603 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3604 * sysdeps/i386/fpu/sincos32.c: Likewise.
3606 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3608 (libc_feupdateenv_53bit): Define.
3609 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3611 (libc_feupdateenv_53bit): Define.
3613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3614 53 bit (without extend i386 double precision).
3616 * math/libm-test.inc (sincos_test): Add tests for large input.
3620 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3622 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3626 2012-03-15 David S. Miller <davem@davemloft.net>
3628 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3656 fmin/fmax sysdep routines.
3657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3659 2012-03-14 David S. Miller <davem@davemloft.net>
3661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3666 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3671 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3679 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3683 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3733 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3738 * sysdeps/sparc/configure.in: New file.
3739 * sysdeps/sparc/configure: Generate.
3740 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3741 * configure: Regenerate.
3742 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3743 * config.make.in (have-as-vis3): New.
3744 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3745 available use -Av9d instead of -Av9a.
3746 * sysdeps/sparc/sparc64/Makefile: Likewise.
3747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3756 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3760 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3762 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3763 fzeros/fnegs to load 0x80000000 into a float register instead of
3765 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3767 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3771 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3772 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3773 ($(inst_includedir)/bits/syscall.h): Remove rule.
3774 ($(objpfx)bits/syscall.d): Include instead of
3775 $(objpfx)syscall-list.d.
3776 (generated): Change syscall-list.h and syscall-list.d to
3777 bits/syscall.h and bits/syscall.d.
3779 2012-03-14 Roland McGrath <roland@hack.frob.com>
3782 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3784 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3787 * math/s_csqrt.c: Include <float.h>.
3788 (__csqrt): Scale large or subnormal inputs.
3789 * math/s_csqrtf.c: Likewise.
3790 * math/s_csqrtl.c: Likewise.
3791 * math/libm-test.inc (csqrt_test): Add more tests.
3792 * sysdeps/i386/fpu/libm-test-ulps: Update.
3793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3796 * math/libm-test.inc (hypot_test): Add more tests.
3798 2012-03-13 David S. Miller <davem@davemloft.net>
3801 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3802 double-precision for the calculation instead of scaling.
3804 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3806 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3807 manipulate bits before adding and subtracting TWO52[sx].
3808 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3809 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3811 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3813 2012-03-13 David S. Miller <davem@davemloft.net>
3815 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3816 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3818 rtld-global-offsets.h
3819 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3821 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3824 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3826 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3827 'err' in the ifdef scope in which it is actually used.
3829 * nss/nss_db/db-init.c: Include string.h
3831 2012-03-12 David S. Miller <davem@davemloft.net>
3833 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3834 masking out of the most significant byte of random value used.
3835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3836 Fix coding style in previous change.
3838 * sysdeps/unix/sysv/linux/kernel-features.h
3839 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3840 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3842 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3845 2012-03-11 David S. Miller <davem@davemloft.net>
3847 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3848 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3849 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3850 for 'resultvar' otherwise things get truncated on 64-bit.
3852 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3853 Fix masking out of the most significant byte of random value used.
3855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3857 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3861 2012-03-09 David S. Miller <davem@davemloft.net>
3863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3864 variables with appropriate CPP guards.
3865 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3866 frame pointer, not the stack pointer. Correct layout comments. Fix test
3867 on resulting framesize and the management of the outregs buffer for pltexit.
3868 Preserve floating point return values across _dl_call_pltexit call.
3869 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3870 framesize and the management of the outregs buffer for pltexit.
3871 Preserve floating point return values across _dl_call_pltexit
3873 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3874 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3875 (print_exit): Fix format string for return register value.
3877 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3879 * sunrpc/Makefile (others): Add rpcgen.
3880 ($(objpfx)rpcgen): Remove special build rule and dependency on
3882 * sunrpc/rpcgen.c: New file.
3884 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3887 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3888 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3889 * sysdeps/i386/crti.S: Likewise.
3890 * sysdeps/i386/crtn.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3892 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3893 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3894 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3895 * sysdeps/sh/crti.S: Likewise.
3896 * sysdeps/sh/crtn.S: Likewise.
3897 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3900 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3902 * locale/programs/locfile-kw.gperf: Likewise.
3903 * locale/programs/charmap-kw.h: Regenerated.
3904 * locale/programs/locfile-kw.h: Likewise.
3907 * intl/plural.y: Replace FSF snail mail address with URL.
3908 * intl/plural.c: Regenerated.
3910 2012-03-09 Richard Henderson <rth@twiddle.net>
3912 * include/math_private.h: Remove file.
3913 * math/math_private.h: Move file ...
3914 * sysdeps/generic/math_private.h: ... here.
3916 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3917 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3918 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3920 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3921 and <math_private.h>.
3922 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3923 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3924 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3925 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3926 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4010 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4013 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4015 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4017 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4019 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4020 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4022 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4023 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4024 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4027 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4035 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4041 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4042 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4043 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4044 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4045 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4050 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4051 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4052 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4055 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4056 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4058 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4059 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4060 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4064 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4066 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4069 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4071 * sysdeps/ieee754/k_standard.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4220 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4232 * sysdeps/ieee754/s_lib_version.c: Likewise.
4233 * sysdeps/ieee754/s_matherr.c: Likewise.
4234 * sysdeps/ieee754/s_signgam.c: Likewise.
4235 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4236 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4237 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4238 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4239 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4240 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4241 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4242 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4243 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4244 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4245 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4246 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4247 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4248 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4249 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4252 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4253 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4257 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4259 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4260 * sunrpc/rpc_main.c: Likewise.
4261 * sunrpc/rpc_svcout.c: Likewise.
4263 2012-03-09 David S. Miller <davem@davemloft.net>
4265 * include/math_private.h: New file.
4267 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4269 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4270 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4271 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4272 from <bits/socket_type.h>.
4273 (enum __socket_type): Don't define here.
4274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4279 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4282 * Makerules ($(inst_includedir)/%.h): New rule.
4283 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4284 (install-others): Remove variable setting.
4285 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4287 2012-03-08 Richard Henderson <rth@twiddle.net>
4289 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4290 from macro to inline function; merge with the
4291 !__LIBC_INTERNAL_MATH_INLINES version.
4292 (__ieee754_sqrtf): Likewise.
4294 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4296 (__rintf, __floor, __floorf): Likewise.
4298 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4299 macro to inline function.
4300 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4303 not <math/math_private.h>.
4305 2012-03-08 David S. Miller <davem@davemloft.net>
4307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4309 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4311 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4313 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4315 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4316 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4318 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4320 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4321 be defined individually, they must be defined as a block. Define
4322 S for printing a string instead of hidint the different by using a
4323 macro for adding the 'l'.
4324 * stdio-common/tst-fphex-wide.c: Adjust.
4326 2012-03-07 Marek Polacek <polacek@redhat.com>
4328 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4330 2012-03-08 Marek Polacek <polacek@redhat.com>
4333 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4334 * stdio-common/tst-fphex.c: Define a few macros to make the
4335 test reusable. Use them.
4336 * stdio-common/tst-fphex-wide.c: New file.
4338 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4341 * manual/macros.texi (gnusystems): New macro.
4342 (nongnusystems): Likewise.
4343 (gnulinuxhurdsystems): Likewise.
4344 (gnuhurdsystems): Likewise..
4345 (gnulinuxsystems): Likewise.
4346 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4347 variants of the GNU system, not "GNU system".
4348 * manual/conf.texi: Likewise.
4349 * manual/errno.texi: Likewise. Update example of errno macro
4351 * manual/filesys.texi: Likewise.
4352 (getumask): Document as specific to GNU/Hurd.
4353 * manual/install.texi: Likewise. Reword some references to
4355 * manual/intro.texi: Likewise.
4356 * manual/io.texi: Likewise.
4357 (File Name Portability): Detail which constraints are inapplicable
4358 to all GNU systems and which are only inapplicable to GNU/Hurd.
4359 * manual/job.texi: Likewise.
4360 * manual/llio.texi: Likewise.
4361 (O_NOCTTY): Document as present on GNU/Linux.
4362 * manual/maint.texi: Likewise.
4363 * manual/memory.texi: Likewise.
4364 * manual/pattern.texi: Likewise.
4365 * manual/pipe.texi: Likewise.
4366 * manual/process.texi: Likewise.
4367 * manual/resource.texi: Likewise.
4368 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4370 * manual/setjmp.texi: Likewise.
4371 * manual/signal.texi: Likewise.
4372 * manual/startup.texi: Likewise.
4373 * manual/stdio.texi: Likewise.
4374 * manual/terminal.texi: Likewise.
4375 (ONLCR): Document as POSIX.
4376 (OXTABS): Document availability on GNU/Linux as XTABS.
4377 (ONOEOT): Document availability separately from other bits.
4378 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4379 * manual/time.texi: Likewise.
4380 * manual/users.texi: Likewise.
4381 * INSTALL: Regenerated.
4382 * sysdeps/gnu/errlist.c: Regenerated.
4384 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4385 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4386 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4388 * configure: Regenerated.
4390 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4392 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4393 default includes instead of AC_HEADER_CHECK.
4394 * sysdeps/i386/configure: Regenerated.
4397 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4398 * math/s_cacoshf.c (__cacoshf): Likewise.
4399 * math/s_cacoshl.c (__cacoshl): Likewise.
4400 * math/s_casinh.c (__casinh): Set signs of result from argument.
4401 * math/s_casinhf.c (__casinhf): Likewise.
4402 * math/s_casinhl.c (__casinhl): Likewise.
4403 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4404 (casinh_test): Add more tests.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4410 * po/zh_TW.po: Update from translation team.
4412 * login/Makefile (distribute): Remove variable.
4413 * catgets/Makefile: Likewise.
4414 * mach/Makefile: Likewise.
4415 * malloc/Makefile: Likewise.
4416 * misc/Makefile: Likewise.
4417 * iconv/Makefile: Likewise.
4418 * nscd/Makefile: Likewise.
4419 * hurd/Makefile: Likewise.
4420 * manual/Makefile: Likewise.
4421 * locale/Makefile: Likewise.
4422 * intl/Makefile: Likewise.
4423 * conform/Makefile: Likewise.
4424 * nss/Makefile: Likewise.
4425 * time/Makefile: Likewise.
4426 * soft-fp/Makefile: Likewise.
4427 * dirent/Makefile: Likewise.
4428 * gmon/Makefile: Likewise.
4429 * po/Makefile: Likewise.
4430 * rt/Makefile: Likewise.
4431 * socket/Makefile: Likewise.
4432 * math/Makefile: Likewise.
4433 * signal/Makefile: Likewise.
4434 * debug/Makefile: Likewise.
4435 * elf/Makefile: Likewise.
4436 * timezone/Makefile: Likewise.
4437 * stdlib/Makefile: Likewise.
4438 * iconvdata/Makefile: Likewise.
4439 * sunrpc/Makefile: Likewise.
4440 * io/Makefile: Likewise.
4441 * argp/Makefile: Likewise.
4442 * inet/Makefile: Likewise.
4443 * hesiod/Makefile: Likewise.
4444 * grp/Makefile: Likewise.
4445 * csu/Makefile: Likewise.
4446 * wctype/Makefile: Likewise.
4447 * crypt/Makefile: Likewise.
4448 * libio/Makefile: Likewise.
4449 * string/Makefile: Likewise.
4450 * nis/Makefile: Likewise.
4451 * resolv/Makefile: Likewise.
4452 * stdio-common/Makefile: Likewise.
4453 * wcsmbs/Makefile: Likewise.
4454 * dlfcn/Makefile: Likewise.
4455 * posix/Makefile: Likewise.
4458 * timezone/Makefile: Don't install timezone files, just the programs
4461 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4463 * nss/databases.def: Add missing gshadow entry.
4465 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4467 2012-03-06 Marek Polacek <polacek@redhat.com>
4470 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4471 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4472 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4473 * stdio-common/tst-long-dbl-fphex.c: New file.
4475 2012-03-06 David S. Miller <davem@davemloft.net>
4477 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4478 (set_obp_int): New function.
4479 (get_obp_int): New function.
4480 (__get_clockfreq_via_dev_openprom): Likewise.
4481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4482 Avoid unused variable warnings on 'val' and use builtin_expect.
4483 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4485 (INLINE_CLONE_SYSCALL): Likewise.
4487 2012-03-05 David S. Miller <davem@davemloft.net>
4489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4491 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4497 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4499 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4502 Replace gettimeofday with __vdso_gettimeofday.
4504 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4505 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4506 __vdso_clock_gettime and __vdso_getcpu.
4508 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4509 time with __vdso_time.
4511 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4513 * manual/lang.texi (size_t): Note types to which size_t may be
4514 equivalent with the GNU C Library, but do not describe when
4515 differences between them are significant.
4517 2012-03-05 Andreas Jaeger <aj@suse.de>
4519 * sysdeps/i386/fpu/libm-test-ulps: Update.
4521 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4525 (__ieee754_pow): Save and restore rounding mode and use
4526 round-to-nearest for main computations.
4527 * math/libm-test.inc (pow_test_tonearest): New function.
4528 (pow_test_towardzero): Likewise.
4529 (pow_test_downward): Likewise.
4530 (pow_test_upward): Likewise.
4531 (main): Call the new functions.
4532 * sysdeps/i386/fpu/libm-test-ulps: Update.
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4536 * math/libm-test.inc (cosh_test_tonearest): New function.
4537 (cosh_test_towardzero): Likewise.
4538 (cosh_test_downward): Likewise.
4539 (cosh_test_upward): Likewise.
4540 (sinh_test_tonearest): Likewise.
4541 (sinh_test_towardzero): Likewise.
4542 (sinh_test_downward): Likewise.
4543 (sinh_test_upward): Likewise.
4544 (main): Call the new functions.
4545 * sysdeps/i386/fpu/libm-test-ulps: Update.
4546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4548 2012-03-05 Tom de Vries <tom@codesourcery.com>
4550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4551 default stack guard is set in last bytes.
4552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4554 2012-03-05 Kees Cook <keescook@chromium.org>
4556 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4559 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4560 possibly allocate from heap instead of stack.
4561 * stdio-common/bug-vfprintf-nargs.c: New file.
4562 * stdio-common/Makefile (tests): Add nargs overflow test.
4564 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4568 2012-03-03 Marek Polacek <polacek@redhat.com>
4570 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4571 * math/math_private.h: Likewise.
4572 * stdlib/tst-strtod.c: Likewise.
4573 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4574 * sysdeps/x86_64/bits/atomic.h: Likewise.
4576 2012-03-02 David S. Miller <davem@davemloft.net>
4578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4582 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4583 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4584 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4585 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4587 2012-03-02 Roland McGrath <roland@hack.frob.com>
4590 * manual/examples/README: New file, says the example source files
4591 can be used under GPL>=2.
4592 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4593 line containing just "*/".
4594 * manual/examples/add.c: Add copyright header (GPL>=2).
4595 * manual/examples/argp-ex1.c: Likewise.
4596 * manual/examples/argp-ex2.c: Likewise.
4597 * manual/examples/argp-ex3.c: Likewise.
4598 * manual/examples/argp-ex4.c: Likewise.
4599 * manual/examples/atexit.c: Likewise.
4600 * manual/examples/db.c: Likewise.
4601 * manual/examples/dir.c: Likewise.
4602 * manual/examples/dir2.c: Likewise.
4603 * manual/examples/execinfo.c: Likewise.
4604 * manual/examples/filecli.c: Likewise.
4605 * manual/examples/filesrv.c: Likewise.
4606 * manual/examples/fmtmsgexpl.c: Likewise.
4607 * manual/examples/genpass.c: Likewise.
4608 * manual/examples/inetcli.c: Likewise.
4609 * manual/examples/inetsrv.c: Likewise.
4610 * manual/examples/isockad.c: Likewise.
4611 * manual/examples/longopt.c: Likewise.
4612 * manual/examples/memopen.c: Likewise.
4613 * manual/examples/memstrm.c: Likewise.
4614 * manual/examples/mkfsock.c: Likewise.
4615 * manual/examples/mkisock.c: Likewise.
4616 * manual/examples/mygetpass.c: Likewise.
4617 * manual/examples/pipe.c: Likewise.
4618 * manual/examples/popen.c: Likewise.
4619 * manual/examples/rprintf.c: Likewise.
4620 * manual/examples/search.c: Likewise.
4621 * manual/examples/select.c: Likewise.
4622 * manual/examples/setjmp.c: Likewise.
4623 * manual/examples/sigh1.c: Likewise.
4624 * manual/examples/sigusr.c: Likewise.
4625 * manual/examples/stpcpy.c: Likewise.
4626 * manual/examples/strdupa.c: Likewise.
4627 * manual/examples/strftim.c: Likewise.
4628 * manual/examples/strncat.c: Likewise.
4629 * manual/examples/subopt.c: Likewise.
4630 * manual/examples/swapcontext.c: Likewise.
4631 * manual/examples/termios.c: Likewise.
4632 * manual/examples/testopt.c: Likewise.
4633 * manual/examples/testpass.c: Likewise.
4634 * manual/examples/timeval_subtract.c: Likewise.
4637 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4639 * manual/timeval_subtract.c.texi: ... here, new file.
4641 2012-03-02 David S. Miller <davem@davemloft.net>
4643 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4645 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4648 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4649 (__sin): Save and restore rounding mode and use round-to-nearest
4650 for all computations.
4651 (__cos): Save and restore rounding mode and use round-to-nearest
4652 for all computations.
4653 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4655 (tan): Save and restore rounding mode and use round-to-nearest for
4657 * math/libm-test.inc (cos_test_tonearest): New function.
4658 (cos_test_towardzero): Likewise.
4659 (cos_test_downward): Likewise.
4660 (cos_test_upward): Likewise.
4661 (sin_test_tonearest): Likewise.
4662 (sin_test_towardzero): Likewise.
4663 (sin_test_downward): Likewise.
4664 (sin_test_upward): Likewise.
4665 (tan_test_tonearest): Likewise.
4666 (tan_test_towardzero): Likewise.
4667 (tan_test_downward): Likewise.
4668 (tan_test_upward): Likewise.
4669 (main): Call the new functions.
4670 * sysdeps/i386/fpu/libm-test-ulps: Update.
4671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4674 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4675 small n, then large n, before computing and testing k+n.
4676 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4679 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4681 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4682 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4683 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4684 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4688 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4689 * math/libm-test.inc (scalbn_test): Add more tests.
4690 (scalbln_test): Likewise.
4692 * manual/filesys.texi (mode_t): Describe constraints on size and
4693 signedness, not exact equivalence to a particular type.
4695 (ino64_t): Likewise.
4697 (nlink_t): Likewise.
4698 (blkcnt_t): Likewise.
4699 (blkcnt64_t): Likewise.
4700 * manual/llio.texi (off_t): Likewise.
4703 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4704 (__ieee754_exp): Save and restore rounding mode and use
4705 round-to-nearest for all computations.
4706 * math/libm-test.inc (exp_test_tonearest): New function.
4707 (exp_test_towardzero): Likewise.
4708 (exp_test_downward): Likewise.
4709 (exp_test_upward): Likewise.
4710 (main): Call the new functions.
4711 * sysdeps/i386/fpu/libm-test-ulps: Update.
4712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4714 2012-03-01 Chris Demetriou <cgd@google.com>
4716 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4717 have predictable order.
4719 2012-03-01 David S. Miller <davem@davemloft.net>
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4723 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4724 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4725 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4728 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4729 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4730 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4732 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4733 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4734 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4735 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4736 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4741 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4742 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4744 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4745 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4747 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4748 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4751 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4752 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4753 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4754 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4760 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4761 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4762 * sysdeps/sparc/elf/configure: Regenerated.
4764 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4766 * configure.in (AS, LD): Require binutils 2.20 or later.
4767 * configure: Regenerated.
4768 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4769 as required minimum version.
4770 * INSTALL: Regenerated.
4774 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4775 before squaring exponent.
4776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4777 bottom long double and 27 bits of top long double before squaring
4779 * math/libm-test.inc (erfc_test): Add more tests.
4780 * sysdeps/i386/fpu/libm-test-ulps: Update.
4781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4784 2012-03-01 Kai Tietz <ktietz@redhat.com>
4786 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4787 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4788 containing bit-fields.
4789 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4790 * soft-fp/single.h (_FP_UNION_S): Likewise.
4791 * soft-fp/double.h (_FP_UNION_D): Likewise.
4793 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4796 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4797 not include ../strcmp.S.
4798 [USE_AS_STRNCASECMP_L]: Likewise.
4799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4800 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4801 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4802 (__strncasecmp_l_ia32): Define as alias to
4803 __strncasecmp_l_nonascii.
4806 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4807 * sysdeps/i386/fpu/libm-test-ulps: Update.
4808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4810 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4813 2012-02-29 Jeff Law <law@redhat.com>
4815 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4818 2012-02-29 Marek Polacek <polacek@redhat.com>
4821 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4822 * elf/Makefile: Add rules to run tst-unused-dep.out.
4824 2012-02-28 David S. Miller <davem@davemloft.net>
4826 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4827 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4833 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4835 * math/libm-test.inc (llround_test): Move one test from
4836 lround_test. Use TEST_f_L in moved test.
4837 (lround_test): Move misplaced test to llround_test. Add testcase
4840 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4842 * sysdeps/x86_64/fpu/e_expf.S: New file.
4843 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4845 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4848 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4849 of remain_len that may cause incomplete multi-byte character and
4851 * posix/bug-regex33.c: New file.
4852 * posix/Makefile (tests): Add bug-regex33.
4854 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4856 * manual/macros.texi: New file.
4857 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4858 * manual/libc.texinfo: Include macros.texi.
4859 * manual/creatute.texi: Likewise.
4860 * manual/install.texi: Likewise.
4861 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4862 @glibcadj{} in references to the GNU C Library.
4863 * manual/charset.texi: Likewise.
4864 * manual/conf.texi: Likewise.
4865 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4866 when not using those macros.
4867 * manual/creature.texi: Likewise.
4868 * manual/crypt.texi: Likewise.
4869 * manual/errno.texi: Likewise.
4870 * manual/filesys.texi: Likewise.
4871 * manual/header.texi: Likewise.
4872 * manual/install.texi: Likewise.
4873 * manual/intro.texi: Likewise.
4874 * manual/io.texi: Likewise.
4875 * manual/job.texi: Likewise.
4876 * manual/lang.texi: Likewise.
4877 * manual/libc.texiinfo: Likewise.
4878 * manual/llio.texi: Likewise.
4879 * manual/locale.texi: Likewise.
4880 * manual/maint.texi: Likewise.
4881 * manual/math.texi: Likewise.
4882 * manual/memory.texi: Likewise.
4883 * manual/message.texi: Likewise.
4884 * manual/nss.texi: Likewise.
4885 * manual/pattern.texi: Likewise.
4886 * manual/process.texi: Likewise.
4887 * manual/resource.texi: Likewise.
4888 * manual/search.texi: Likewise.
4889 * manual/setjmp.texi: Likewise.
4890 * manual/signal.texi: Likewise.
4891 * manual/socket.texi: Likewise.
4892 * manual/startup.texi: Likewise.
4893 * manual/stdio.texi: Likewise.
4894 * manual/string.texi: Likewise.
4895 * manual/sysinfo.texi: Likewise.
4896 * manual/syslog.texi: Likewise.
4897 * manual/terminal.texi: Likewise.
4898 * manual/time.texi: Likewise.
4899 * manual/users.texi: Likewise.
4900 * INSTALL: Regenerated.
4901 * NOTES: Regenerated.
4902 * sysdeps/gnu/errlist.c: Regenerated.
4904 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4906 * include/dirent.h: Include <dirstream.h> before
4909 2012-02-28 David S. Miller <davem@davemloft.net>
4911 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4912 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4913 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4916 2012-02-27 David S. Miller <davem@davemloft.net>
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4920 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4921 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4924 frame pointer instead of stack pointer relative arg slot.
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4926 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4927 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4929 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4932 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4934 2012-02-27 David S. Miller <davem@davemloft.net>
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4942 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4945 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4947 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4948 later. Allow versions 5-9.
4949 * configure: Regenerated.
4950 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4951 required minimum version and 4.6 as recommended version. Do not
4952 mention bugs in GCC 2.7 and 2.8.
4953 * INSTALL: Regenerated.
4955 2012-02-27 David S. Miller <davem@davemloft.net>
4957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4961 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4963 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4964 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4966 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4967 manipulate bits before adding and subtracting TWO112[sx].
4968 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4970 2012-02-27 Roland McGrath <roland@hack.frob.com>
4973 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4974 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4975 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4976 being in POSIX, because they are in 1003.1-2008.
4978 * rt/tst-aio.c: Include <fcntl.h>.
4979 * rt/tst-aio7.c: Likewise.
4980 * rt/tst-aio64.c: Likewise.
4982 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4984 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4986 * manual/install.texi (--with-headers): Describe headers as
4987 interface headers, not private headers.
4988 (Specific advice for GNU/Linux systems): Describe use of headers
4989 from "make headers_install", not private headers from older
4991 * INSTALL: Regenerated.
4992 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4994 * sysdeps/unix/sysv/linux/configure: Regenerated.
4996 * manual/llio.texi (fclean): Remove documentation.
4998 * manual/Makefile (libc-texi-generated): New variable. Include
5000 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5001 $(libc-texi-generated), not duplicated list of files.
5002 (version.texi, stamp-version): New rules.
5003 (realclean): Remove $(libc-texi-generated), not individual files
5004 from that list. Do not remove dir-add.texinfo.
5005 * manual/libc.texinfo: Comment out uses of edition numbers and
5006 references to printed manual. Remove last-updated dates.
5007 (EDITION): Comment out.
5009 (VERSION, UPDATED): Remove.
5010 (version.texi): Include.
5012 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5014 * sysdeps/posix/spawni.c: Include <signal.h>.
5015 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5016 * sysdeps/pthread/aio_fsync.c: Likewise.
5018 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5020 * conform/Makefile (tests): Run only when not cross-compiling and
5021 when fast-check is not defined.
5023 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5024 * conform/data/limits.h-data: Fixes for POSIX2008.
5025 * conform/run-conformtest.sh: Run all tests.
5026 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5028 * include/bits/dlfcn.h: Likewise.
5029 * include/langinfo.h: Likewise.
5030 * include/monetary.h: Likewise.
5031 * include/sys/poll.h: Likewise.
5033 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5035 * posix/spawn.h: Define __need_sigset_t.
5036 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5037 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5038 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5039 to get sigevent_t only.
5040 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5043 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5044 process_vm_writev only for __USE_GNU.
5045 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5047 * conform/Makefile: For now ignore errors from run-conformtest.
5048 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5049 POSIX to avoid namespace pollution. Don't prepend headers.
5050 * conform/data/aio.h-data: Fixes for POSIX testing.
5051 * conform/data/fcntl.h-data: Likewise.
5052 * conform/data/glob.h-data: Likewise.
5053 * conform/data/grp.h-data: Likewise.
5054 * conform/data/pthread.h-data: Likewise.
5055 * conform/data/pwd.h-data: Likewise.
5056 * conform/data/signal.h-data: Likewise.
5057 * conform/data/spawn.h-data: Likewise.
5058 * conform/data/stdio.h-data: Likewise.
5059 * conform/data/stdlib.h-data: Likewise.
5060 * conform/data/stropts.h-data: Likewise.
5061 * conform/data/sys/mman.h-data: Likewise.
5062 * conform/data/sys/stat.h-data: Likewise.
5063 * conform/data/sys/types.h-data: Likewise.
5064 * conform/data/sys/wait.h-data: Likewise.
5065 * conform/data/time.h-data: Likewise.
5066 * conform/data/unistd.h-data: Likewise.
5067 * conform/data/utime.h-data: Likewise.
5069 * io/sys/stat.h: fchmod was always in POSIX.
5070 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5071 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5072 * rt/aio.h: Define __need_timespec before including <time.h>.
5073 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5074 struct. Add forward declaration of pthread_attr_t and use it in
5076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5078 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5079 always remove CLK_TCK definition.
5081 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5083 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5085 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5087 * conform/run-conformtest.sh: New file.
5088 * conform/Makefile: Run run-conformtest for tests.
5089 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5092 * conform/data/uchar.h-data: New file.
5093 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5094 * conform/data/arpa/inet.h-data: Likewise.
5095 * conform/data/assert.h-data: Likewise.
5096 * conform/data/complex.h-data: Likewise.
5097 * conform/data/cpio.h-data: Likewise.
5098 * conform/data/ctype.h-data: Likewise.
5099 * conform/data/dirent.h-data: Likewise.
5100 * conform/data/dlfcn.h-data: Likewise.
5101 * conform/data/errno.h-data: Likewise.
5102 * conform/data/fcntl.h-data: Likewise.
5103 * conform/data/float.h-data: Likewise.
5104 * conform/data/fmtmsg.h-data: Likewise.
5105 * conform/data/fnmatch.h-data: Likewise.
5106 * conform/data/ftw.h-data: Likewise.
5107 * conform/data/glob.h-data: Likewise.
5108 * conform/data/grp.h-data: Likewise.
5109 * conform/data/iconv.h-data: Likewise.
5110 * conform/data/inttypes.h-data: Likewise.
5111 * conform/data/langinfo.h-data: Likewise.
5112 * conform/data/libgen.h-data: Likewise.
5113 * conform/data/limits.h-data: Likewise.
5114 * conform/data/locale.h-data: Likewise.
5115 * conform/data/math.h-data: Likewise.
5116 * conform/data/monetary.h-data: Likewise.
5117 * conform/data/mqueue.h-data: Likewise.
5118 * conform/data/ndbm.h-data: Likewise.
5119 * conform/data/net/if.h-data: Likewise.
5120 * conform/data/netdb.h-data: Likewise.
5121 * conform/data/netinet/in.h-data: Likewise.
5122 * conform/data/nl_types.h-data: Likewise.
5123 * conform/data/poll.h-data: Likewise.
5124 * conform/data/pthread.h-data: Likewise.
5125 * conform/data/pwd.h-data: Likewise.
5126 * conform/data/regex.h-data: Likewise.
5127 * conform/data/sched.h-data: Likewise.
5128 * conform/data/search.h-data: Likewise.
5129 * conform/data/semaphore.h-data: Likewise.
5130 * conform/data/setjmp.h-data: Likewise.
5131 * conform/data/signal.h-data: Likewise.
5132 * conform/data/spawn.h-data: Likewise.
5133 * conform/data/stdarg.h-data: Likewise.
5134 * conform/data/stdio.h-data: Likewise.
5135 * conform/data/stdlib.h-data: Likewise.
5136 * conform/data/string.h-data: Likewise.
5137 * conform/data/strings.h-data: Likewise.
5138 * conform/data/stropts.h-data: Likewise.
5139 * conform/data/sys/ipc.h-data: Likewise.
5140 * conform/data/sys/mman.h-data: Likewise.
5141 * conform/data/sys/msg.h-data: Likewise.
5142 * conform/data/sys/resource.h-data: Likewise.
5143 * conform/data/sys/select.h-data: Likewise.
5144 * conform/data/sys/sem.h-data: Likewise.
5145 * conform/data/sys/shm.h-data: Likewise.
5146 * conform/data/sys/socket.h-data: Likewise.
5147 * conform/data/sys/stat.h-data: Likewise.
5148 * conform/data/sys/statvfs.h-data: Likewise.
5149 * conform/data/sys/time.h-data: Likewise.
5150 * conform/data/sys/timeb.h-data: Likewise.
5151 * conform/data/sys/times.h-data: Likewise.
5152 * conform/data/sys/types.h-data: Likewise.
5153 * conform/data/sys/uio.h-data: Likewise.
5154 * conform/data/sys/un.h-data: Likewise.
5155 * conform/data/sys/utsname.h-data: Likewise.
5156 * conform/data/sys/wait.h-data: Likewise.
5157 * conform/data/syslog.h-data: Likewise.
5158 * conform/data/tar.h-data: Likewise.
5159 * conform/data/termios.h-data: Likewise.
5160 * conform/data/utime.h-data: Likewise.
5161 * conform/data/utmpx.h-data: Likewise.
5162 * conform/data/varargs.h-data: Likewise.
5163 * conform/data/wchar.h-data: Likewise.
5164 * conform/data/wctype.h-data: Likewise.
5165 * conform/data/wordexp.h-data: Likewise.
5167 * include/stropts.h: New file.
5168 * include/uchar.h: New file.
5169 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5170 * include/assert.h: Likewise.
5171 * include/ctype.h: Likewise.
5172 * include/dirent.h: Likewise.
5173 * include/dlfcn.h: Likewise.
5174 * include/fcntl.h: Likewise.
5175 * include/fnmatch.h: Likewise.
5176 * include/glob.h: Likewise.
5177 * include/grp.h: Likewise.
5178 * include/libio.h: Likewise.
5179 * include/locale.h: Likewise.
5180 * include/math.h: Likewise.
5181 * include/net/if.h: Likewise.
5182 * include/netdb.h: Likewise.
5183 * include/netinet/in.h: Likewise.
5184 * include/pthread.h: Likewise.
5185 * include/pwd.h: Likewise.
5186 * include/regex.h: Likewise.
5187 * include/sched.h: Likewise.
5188 * include/search.h: Likewise.
5189 * include/setjmp.h: Likewise.
5190 * include/signal.h: Likewise.
5191 * include/stdio.h: Likewise.
5192 * include/stdlib.h: Likewise.
5193 * include/string.h: Likewise.
5194 * include/sys/cdefs.h: Likewise.
5195 * include/sys/mman.h: Likewise.
5196 * include/sys/msg.h: Likewise.
5197 * include/sys/resource.h: Likewise.
5198 * include/sys/select.h: Likewise.
5199 * include/sys/socket.h: Likewise.
5200 * include/sys/stat.h: Likewise.
5201 * include/sys/statvfs.h: Likewise.
5202 * include/sys/time.h: Likewise.
5203 * include/sys/times.h: Likewise.
5204 * include/sys/uio.h: Likewise.
5205 * include/sys/utsname.h: Likewise.
5206 * include/sys/wait.h: Likewise.
5207 * include/termios.h: Likewise.
5208 * include/time.h: Likewise.
5209 * include/ulimit.h: Likewise.
5210 * include/unistd.h: Likewise.
5211 * include/utime.h: Likewise.
5212 * include/wchar.h: Likewise.
5213 * include/wctype.h: Likewise.
5214 * include/wordexp.h: Likewise.
5216 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5218 * time/time.h: TIME_UTC must be a macro.
5219 Make timespec_get available for ISO C11 only as well.
5221 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5223 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5224 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5226 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5228 * configure.in: Use -o not -a in test for unsupported multi-arch.
5230 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5232 * manual/texinfo.tex: Update to version 2012-01-19.16.
5234 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5236 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5238 2012-02-24 Roland McGrath <roland@hack.frob.com>
5241 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5242 * manual/fdl-1.3.texi: New file.
5243 * manual/fdl-1.1.texi: File removed.
5246 * manual/libc.texinfo (FDL_VERSION): New @set.
5247 Use it for mention of FDL in cover text.
5248 (Documentation License): Use it in @include file name.
5250 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5251 Roland McGrath <roland@hack.frob.com>
5254 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5255 not LONG_LONG_MAX and LONG_LONG_MIN.
5256 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5257 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5259 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5261 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5265 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5266 manipulate bits before adding and subtracting TWO23[sx].
5267 * math/libm-test.inc (nearbyint_test): Add more tests.
5269 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5272 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5273 bits before adding and subtracting TWO23[sx].
5274 * math/libm-test.inc (rint_test): Add more tests.
5275 (rint_test_tonearest): Likewise.
5276 (rint_test_towardzero): Likewise.
5277 (rint_test_downward): Likewise.
5278 (rint_test_upward: Likewise.
5280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5283 * include/stdc-predef.h: New file. Extracted from features.h.
5284 * include/features.h: Include stdc-predef.h.
5285 * Makefile (headers): Add stdc-predef.h.
5286 * CONFORMANCE (Compiler limitations): Update.
5288 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5290 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5292 2012-02-21 David S. Miller <davem@davemloft.net>
5294 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5297 2012-02-20 David S. Miller <davem@davemloft.net>
5299 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5300 using a normal save/restore sequence, rather than allocating a
5301 dummy stack frame just to store a frame pointer and restore.
5302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5306 * manual/install.texi: Fix stray word in line-wrapped comment.
5308 2012-02-20 David S. Miller <davem@davemloft.net>
5310 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5311 both binutils and gcc support GOTDATA.
5313 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5314 "rd %pc" in the PIC register setup sequences.
5316 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5317 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5319 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5325 (SYSCALL_ERROR_HANDLER): Likewise.
5326 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5329 (SYSCALL_ERROR_HANDLER): Likewise.
5331 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5332 (HAVE_GCC_GOTDATA): New.
5333 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5334 relocation support in both binutils and gcc.
5335 * sysdeps/sparc/elf/configure: Regenerate.
5337 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5338 * sysdeps/sparc/sparc32/elf/configure: Delete.
5339 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5340 * sysdeps/sparc/sparc64/elf/configure: Delete.
5341 * sysdeps/sparc/elf/configure.in: New file.
5342 * sysdeps/sparc/elf/configure: Generate.
5344 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5345 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5346 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5347 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5348 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5350 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5352 * manual/install.texi: Do not mention specific glibc version
5354 * manual/libc.texinfo (VERSION, UPDATED): Update.
5355 (@copying): Use @copyright{} and range of years.
5357 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5360 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5361 [crti.S not in sysdirs] (generated): Do not append.
5362 [crti.S not in sysdirs] (omit-deps): Likewise.
5363 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5364 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5365 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5366 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5367 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5369 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5370 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5371 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5372 * csu/defs.awk: Remove file.
5373 * sysdeps/generic/initfini.c: Likewise.
5374 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5376 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5379 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5381 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5382 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5383 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5386 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5388 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5389 (__EPOLL_PACKED): Define to empty if not defined by
5391 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5395 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5397 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5398 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5400 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5402 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5408 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5410 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5411 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5412 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5415 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5417 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5418 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5420 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5422 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5423 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5425 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5427 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5430 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5432 * math/w_acos.c: Use non-signaling floating-point comparisons.
5433 * math/w_acosf.c: Likewise.
5434 * math/w_acosh.c: Likewise.
5435 * math/w_acoshf.c: Likewise.
5436 * math/w_acoshl.c: Likewise.
5437 * math/w_acosl.c: Likewise.
5438 * math/w_asin.c: Likewise.
5439 * math/w_asinf.c: Likewise.
5440 * math/w_asinl.c: Likewise.
5441 * math/w_atanh.c: Likewise.
5442 * math/w_atanhf.c: Likewise.
5443 * math/w_atanhl.c: Likewise.
5444 * math/w_exp2.c: Likewise.
5445 * math/w_exp2f.c: Likewise.
5446 * math/w_exp2l.c: Likewise.
5447 * math/w_j0.c: Likewise.
5448 * math/w_j0f.c: Likewise.
5449 * math/w_j0l.c: Likewise.
5450 * math/w_j1.c: Likewise.
5451 * math/w_j1f.c: Likewise.
5452 * math/w_j1l.c: Likewise.
5453 * math/w_jn.c: Likewise.
5454 * math/w_jnf.c: Likewise.
5455 * math/w_log.c: Likewise.
5456 * math/w_log10.c: Likewise.
5457 * math/w_log10f.c: Likewise.
5458 * math/w_log10l.c: Likewise.
5459 * math/w_log2.c: Likewise.
5460 * math/w_log2f.c: Likewise.
5461 * math/w_log2l.c: Likewise.
5462 * math/w_logf.c: Likewise.
5463 * math/w_logl.c: Likewise.
5464 * math/w_sqrt.c: Likewise.
5465 * math/w_sqrtf.c: Likewise.
5466 * math/w_sqrtl.c: Likewise.
5467 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5468 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5469 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5473 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5476 * manual/string.texi (strnlen): Use correct parameter name in
5477 equivalent expression.
5479 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5482 * manual/users.texi (seteuid): Consistently use neweuid for
5485 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5488 * manual/nss.texi (Services in the NSS configuration): Correct
5489 list of services in example configuration file.
5491 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5494 * manual/arith.texi: Remove statements about negative zero
5495 behaving identically to zero.
5497 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5500 * manual/install.texi: Do not document upgrading from libc5.
5502 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5505 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5507 2012-02-18 David S. Miller <davem@davemloft.net>
5509 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5510 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5511 %o7 across the call.
5512 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5517 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5518 * sysdeps/sparc/crtn.S: Likewise.
5520 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5522 * aout/Makefile: Remove.
5524 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5527 * manual/examples/argp-ex1.c (main): Format definition in GNU
5529 * manual/examples/argp-ex2.c (main): Likewise.
5530 * manual/examples/argp-ex3.c (main): Likewise.
5531 * manual/examples/argp-ex4.c (main): Likewise.
5532 * manual/examples/longopt.c (main): Use new-style prototype
5534 * manual/examples/strncat.c (main): Specify return type and use
5535 (void) for arguments.
5536 * manual/examples/subopt.c (main): Use char **argv argument.
5538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5541 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5544 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5547 * manual/string.texi (strchr): Change when strchrnul is
5550 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5553 * manual/locale.texi (setlocale): Document LOCPATH.
5555 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5558 * manual/process.texi (execle): Move @dots{} before last argument.
5560 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5563 * manual/charset.texi (Generic Charset Conversion): Fix typo
5564 (LC_TYPE -> LC_CTYPE).
5566 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5569 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5570 (scalbnf): Likewise.
5571 (scalbnl): Likewise.
5572 (scalbln): Likewise.
5573 (scalblnf): Likewise.
5574 (scalblnl): Likewise.
5575 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5579 * manual/filesys.texi (telldir): Use braces around return type.
5580 * manual/llio.texi (mmap): Add space after comma.
5582 * manual/math.texi (jn): Use @var{} on parameter names.
5588 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5590 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5592 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5593 (sched_get_priority_max): Likewise.
5594 * manual/signal.texi (sigvec): Add space after comma.
5595 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5597 (if_indextoname): Likewise.
5598 (if_freenameindex): Likewise.
5599 (sendto): Use ',' instead of '.' in prototype.
5600 * manual/startup.texi (syscall): Use @dots{} instead of literal
5602 * manual/stdio.texi (__fpending): Separate initial words of
5603 paragraph from @deftypefun line.
5604 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5606 (vsyslog): Use @var{} on parameter names.
5607 * manual/terminal.texi (stty): Use @var{} on parameter names.
5608 * manual/users.texi (getutmp): Use @var{} on parameter names.
5609 (getutmpx): Likewise.
5611 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5614 * manual/stdio.texi (fopen): Fix typos in description of
5617 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5620 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5621 get clock_id definition.
5623 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5626 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5627 (madvise): Cast every argument to void on its own.
5629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5632 * manual/startup.texi (Exit Status): Fix typo.
5634 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5637 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5638 * manual/examples/argp-ex2.c: Likewise.
5639 * manual/examples/argp-ex3.c: Likewise.
5641 2012-02-16 Richard Henderson <rth@redhat.com>
5643 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5644 * sysdeps/s390/s390-32/initfini.c: Remove.
5645 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5646 * sysdeps/s390/s390-64/initfini.c: Remove.
5648 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5650 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5651 compiler output for sysdeps/generic/initfini.c.
5652 * sysdeps/sh/elf/initfini.c: Remove file.
5654 2012-02-16 David S. Miller <davem@davemloft.net>
5657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5659 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5660 * sysdeps/sparc/crti.S: New file.
5661 * sysdeps/sparc/crtn.S: New file.
5662 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5663 * sysdeps/sparc/sparc64/Makefile: Likewise.
5665 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5668 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5670 2012-02-15 Roland McGrath <roland@hack.frob.com>
5673 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5675 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5676 (write, read, close): Likewise.
5677 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5679 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5681 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5682 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5683 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5684 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5686 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5690 2012-02-14 Marek Polacek <polacek@redhat.com>
5692 * sysdeps/x86_64/crti.S: New file.
5693 * sysdeps/x86_64/crtn.S: New file.
5694 * sysdeps/x86_64/elf/initfini.c: Remove file.
5696 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5698 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5699 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5700 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5701 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5703 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5704 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5707 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5709 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5710 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5712 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5714 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5718 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5720 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5721 __feraiseexcept instead of feraiseexcept.
5723 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5724 nanosleep invocations.
5725 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5726 strings, and add error checking for a nanosleep invocations.
5728 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5730 Replace FSF snail mail address with URLs, as per GNU coding standards.
5731 Most of the snail mail addresses were wrong anyway, and omitting
5732 them makes the source code easier to maintain. Almost all of the
5733 changes are to license notices and to locale LC_IDENTIFICATION
5734 addresses, except for this one:
5735 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5736 not its snail mail address.
5738 2012-02-09 Richard Henderson <rth@twiddle.net>
5740 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5741 of kernel-features.h.
5743 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5745 2012-02-08 Marek Polacek <polacek@redhat.com>
5747 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5748 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5749 * sysdeps/gnu/_G_config.h: Likewise.
5750 * sysdeps/generic/_G_config.h: Likewise.
5752 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5754 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5758 * sysdeps/powerpc/powerpc32/crti.S: New file.
5759 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5760 * sysdeps/powerpc/powerpc64/crti.S: New file.
5761 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5763 * Makeconfig (have-initfini): Don't set.
5764 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5765 * configure.in (nopic_initfini): Don't substitute.
5766 * config.h.in (HAVE_INITFINI): Don't #undef.
5767 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5768 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5770 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5772 Support crti.S and crtn.S provided directly by architectures.
5773 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5774 [crti.S in sysdirs] (omit-deps): Likewise.
5775 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5776 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5777 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5778 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5779 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5780 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5781 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5782 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5783 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5784 compiler output for sysdeps/generic/initfini.c.
5785 * sysdeps/i386/elf/Makefile: Remove file.
5786 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5788 2012-02-07 Marek Polacek <polacek@redhat.com>
5790 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5791 * sysdeps/gnu/_G_config.h: Likewise.
5792 * sysdeps/mach/hurd/_G_config.h: Likewise.
5794 2012-02-07 Marek Polacek <polacek@redhat.com>
5796 * math/Makefile (tests): Add tst-CMPLX2.
5797 * math/tst-CMPLX2.c: New file.
5799 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5801 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5803 * math/libm-test.inc (jn_test): Add missing L suffix.
5805 2012-02-06 Marek Polacek <polacek@redhat.com>
5807 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5808 * sysdeps/i386/fpu/e_powf.S: Likewise.
5809 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5810 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5811 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5812 * sysdeps/i386/fpu/e_pow.S: Likewise.
5813 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5814 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5815 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5816 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5817 * sysdeps/i386/fpu/e_log2.S: Likewise.
5818 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5819 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5820 * sysdeps/i386/fpu/e_powl.S: Likewise.
5821 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5822 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5823 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5824 * sysdeps/i386/fpu/e_logl.S: Likewise.
5825 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5826 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5831 * sysdeps/i386/fpu/e_log.S: Likewise.
5832 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5834 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5835 * sysdeps/i386/fpu/e_logf.S: Likewise.
5836 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5837 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5838 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5839 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5840 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5841 * sysdeps/i386/fpu/e_log10.S: Likewise.
5842 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5843 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5844 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5845 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5846 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5847 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5848 * sysdeps/i386/asm-syntax.h: Likewise.
5849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5852 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5853 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5858 * sysdeps/powerpc/sysdep.h: Likewise.
5859 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5860 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5862 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5865 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5867 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5869 * sysdeps/i386/sysdep.h: Include <features.h>.
5870 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5873 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5875 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5877 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5880 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5883 (SETUP_PIC_REG): Use GET_PC_THUNK.
5884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5887 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5889 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5890 for non-PIC compilation.
5891 (SETUP_PIC_REG): Add .p2align directive.
5892 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5893 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5894 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5895 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5896 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5897 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5898 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5900 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5901 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5902 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5903 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5904 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5905 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5912 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5913 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5915 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5917 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5920 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5921 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5922 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5923 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5924 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5925 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5926 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5927 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5928 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5929 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5930 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5931 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5932 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5934 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5936 * math/tst-CMPLX.c: Include <stdio.h>.
5938 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5940 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5942 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5943 * sysdeps/sparc/bits/mathdef.h: Likewise.
5945 2012-01-31 Marek Polacek <polacek@redhat.com>
5947 * libio/libio.h: Don't define _PARAMS.
5948 * locale/programs/config.h: Don't define PARAMS.
5949 * stdlib/strtol_l.c: Likewise.
5950 (__strtol_l): Remove PARAMS from the prototype.
5952 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5954 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5955 names. Just use the correct names. Remove unnecessary wrapper
5957 * malloc/arena.c: Likewise.
5958 * malloc/hooks.c: Likewise.
5960 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5961 ARENA_TEST says not to. Simplify test for creation of a new arena.
5962 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5964 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5966 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5968 (update_get_addr): New function.
5969 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5970 GET_ADDR_MODULE parameter.
5972 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5974 * crypt/cert.c: Remove __STDC__ conditionals.
5975 * crypt/crypt-entry.c: Likewise.
5976 * crypt/crypt_util.c: Likewise.
5977 * libio/filedoalloc.c: Likewise.
5978 * libio/fileops.c: Likewise.
5979 * libio/genops.c: Likewise.
5980 * libio/iofclose.c: Likewise.
5981 * libio/iofdopen.c: Likewise.
5982 * libio/iofopen.c: Likewise.
5983 * libio/iofopen64.c: Likewise.
5984 * libio/iogetdelim.c: Likewise.
5985 * libio/iopopen.c: Likewise.
5986 * libio/obprintf.c: Likewise.
5987 * libio/oldfileops.c: Likewise.
5988 * libio/oldiofclose.c: Likewise.
5989 * libio/oldiofdopen.c: Likewise.
5990 * libio/oldiofopen.c: Likewise.
5991 * libio/oldiopopen.c: Likewise.
5992 * libio/wfiledoalloc.c: Likewise.
5993 * libio/wgenops.c: Likewise.
5994 * locale/programs/xmalloc.c: Likewise.
5995 * misc/syslog.c: Likewise.
5996 * stdio-common/xbug.c: Likewise.
5997 * string/memchr.c: Likewise.
5998 * string/memcmp.c: Likewise.
5999 * string/memrchr.c: Likewise.
6000 * string/rawmemchr.c: Likewise.
6001 * sysdeps/posix/getcwd.c: Likewise.
6002 * time/strftime_l.c: Likewise.
6004 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6006 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6007 * config.make.in (config-cflags-sse2avx): Define.
6008 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6011 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6013 * scripts/config.guess: Update from upstream config git repository.
6014 * scripts/config.sub: Likewise.
6016 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6018 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6020 (R_TILEPRO_*, R_TILEGX_*): New macros.
6022 * scripts/firstversions.awk: Fix bug in version range handling.
6024 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6026 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6028 * include/sys/epoll.h: New file.
6029 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6032 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6034 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6035 Avoid unnecessary __WORDSIZE == 64 test.
6036 (fmaxf): Use VEX format if possible.
6041 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6042 * math/math_private.h: Remove libc_fegetround* and
6044 * sysdeps/i386/configure.in: Check for -msse2avx.
6045 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6046 also if SSE2AVX is defined.
6047 Remove libc_fegetround* and libc_fesetround*.
6048 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6049 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6053 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6054 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6055 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6056 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6058 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6060 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6064 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6066 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6069 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6071 * Makeconfig (libm): Define.
6072 * elf/Makefile: Add rules to build and run tst-relsort1.
6073 * elf/tst-relsort1.c: New file.
6074 * elf/tst-relsort1mod1.c: New file.
6075 * elf/tst-relsort1mod2.c: New file.
6077 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6079 * math/s_ldexp.c: Remove __STDC__ conditionals.
6080 * math/s_ldexpf.c: Likewise.
6081 * math/s_ldexpl.c: Likewise.
6082 * math/s_nextafter.c: Likewise.
6083 * math/s_nexttowardf.c: Likewise.
6084 * math/s_significand.c: Likewise.
6085 * math/s_significandf.c: Likewise.
6086 * math/s_significandl.c: Likewise.
6087 * math/w_jnl.c: Likewise.
6088 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6089 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6090 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6091 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6092 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6107 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6108 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6114 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6118 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6119 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6120 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6122 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6123 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6124 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6125 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6126 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6127 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6128 * sysdeps/ieee754/k_standard.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6198 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6204 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6208 * sysdeps/ieee754/s_matherr.c: Likewise.
6209 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6210 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6212 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6214 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6216 * crypt/md5.h: Remove __STDC__ conditionals.
6217 * libio/libioP.h: Likewise.
6218 * locale/programs/config.h: Likewise.
6219 * sysdeps/generic/sysdep.h: Likewise.
6220 * sysdeps/i386/asm-syntax.h: Likewise.
6221 * sysdeps/s390/asm-syntax.h: Likewise.
6222 * sysdeps/unix/sysdep.h: Likewise.
6223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6226 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6228 * libio/libio.h: Remove __STDC__ conditionals.
6229 * malloc/obstack.h: Likewise.
6230 * math/complex.h: Likewise.
6231 * math/math.h: Likewise.
6232 * sysdeps/generic/_G_config.h: Likewise.
6233 * sysdeps/gnu/_G_config.h: Likewise.
6234 * sysdeps/mach/hurd/_G_config.h: Likewise.
6235 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6236 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6237 * sysdeps/sparc/bits/mathdef.h: Likewise.
6239 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6242 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6243 Clean up HAS_* macros.
6244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6245 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6249 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6250 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6253 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6255 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6257 * elf/tst-unique3.cc (gets): Remove declaration.
6258 * elf/tst-unique3lib.cc (gets): Likewise.
6259 * elf/tst-unique3lib2.cc (gets): Likewise.
6260 * elf/tst-unique4.cc (gets): Likewise.
6262 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6264 * include/stdio.h: Add C++ protection. Add gets declarations and
6266 * debug/tst-chk1.c: Don't declare gets here.
6267 * stdio-common/tst-gets.c: Likewise.
6269 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6271 * posix/glob: Remove directory.
6273 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6275 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6277 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6279 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6280 of the non-standard EPFNOSUPPORT.
6282 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6284 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6285 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6286 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6288 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6290 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6292 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6294 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6296 * nscd/grpcache.c (cache_addgr): Likewise.
6297 * nscd/hstcache.c (cache_addhst): Likewise.
6298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6299 * nscd/pwdcache.c (cache_addpw): Likewise.
6300 * nscd/servicescache.c (cache_addserv): Likewise.
6302 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6304 * malloc/malloc.c: Various cleanups.
6305 * malloc/hooks.c: Likewise.
6307 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6308 * stdlib/bug-fmtmsg1.c: New file.
6310 * stdlib/fmtmsg.c (init): Add missing unlock.
6311 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6313 2012-01-12 Marek Polacek <polacek@redhat.com>
6315 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6318 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6320 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6321 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6322 macro to ensure uniqueness of label name.
6323 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6324 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6326 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6328 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6330 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6331 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6332 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6335 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6337 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6339 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6340 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6343 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6346 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6350 * math/bits/math-finite.h: Add ldexp support.
6352 2012-01-10 Marek Polacek <polacek@redhat.com>
6354 * locale/programs/localedef.h (show_archive_content): Add noreturn
6357 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6359 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6361 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6363 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6365 * io/Makefile (headers): Add bits/poll2.h.
6367 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6370 typo #include statement.
6372 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6374 * include/sys/cdefs.h: Define __attribute_alloc_size.
6375 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6376 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6377 * elf/pldd.c: Likewise.
6378 * iconv/iconv_charmap.c: Likewise.
6379 * iconv/iconvconfig.c: Likewise.
6380 * iconv/strtab.c: Likewise.
6381 * locale/programs/locale.c: Likewise.
6382 * locale/programs/localedef.h: Likewise.
6383 * locale/programs/simple-hash.c: Likewise.
6384 * nscd/nscd.h: Likewise.
6385 * nss/makedb.c: Likewise.
6386 * sysdeps/generic/ldconfig.h: Likewise.
6387 * locale/programs/localedef.c: Remove xmalloc prototype.
6388 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6390 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6392 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6395 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6397 * math/Makefile (tests): Add tst-CMPLX.
6398 * math/tst-CMPLX.c: New file.
6400 * math/complex.h (CMPLXL): Fix typo.
6402 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6403 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6405 * debug/tst-chk1.c: Add poll and ppoll tests.
6406 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6407 * include/sys/poll.h: Add hidden proto for ppoll.
6408 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6409 * sysdeps/mach/hurd/ppoll.c: Likewise.
6410 * io/ppoll.c: Likewise.
6411 * debug/poll_chk.c: New file.
6412 * debug/ppoll_chk.c: New file.
6413 * include/bits/poll2.h: New file.
6414 * io/bits/poll2.h: New file.
6417 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6419 * configure.in: static is always set to yes. Remove.
6420 * config.make.in: Don't set build-static.
6421 * Makeconfig: Remove use of build-static.
6422 * dlfcn/Makefile: Likewise.
6423 * elf/Makefile: Likewise.
6424 * math/Makefile: Likewise.
6425 * misc/Makefile: Likewise.
6426 * nptl/Makefile: Likewise.
6427 * sysdeps/mach/hurd/Makefile: Likewise.
6429 * configure.in: PWD_P is not used anymore.
6430 * config.make.in: Remove PWD_P entry.
6432 * configure.in: Remove last remnants of RANLIB.
6433 No need to check for signed size_t anymore.
6434 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6436 Remove __builtin_expect test because we require at least gcc 3.4.
6437 * aclocal.m4: Likewise.
6439 * wcsmbs/mbrtoc16.c: Implement using towc function.
6440 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6441 * wcsmbs/wcsmbsload.c: Likewise.
6442 * iconv/gconv_simple.c: Likewise.
6443 * iconv/gconv_int.h: Likewise.
6444 * iconv/gconv_builtin.h: Likewise.
6445 * iconv/iconv_prog.c: Remove CHAR16 handling.
6447 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6449 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6451 * configure.in: Remove --with-elf and --enable-bounded options.
6452 Dont set base_machine for ia64. More non-ELF conditions removed.
6453 Remove testing and setting of leading underscore information.
6454 * config.make.in (build-bounded): Set to no.
6455 * config.h.in: Remove NO_UNDERSCORES entry.
6456 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6458 * csu/start.c: Remove !NO_UNDERSCORE code.
6459 * locale/localeinfo.h: Likewise.
6460 * sysdeps/generic/machine-gmon.h: Likewise.
6461 * sysdeps/generic/sysdep.h: Likewise.
6462 * sysdeps/i386/sysdep.h: Likewise.
6463 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6464 * sysdeps/mach/sysdep.h: Likewise.
6465 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6466 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6467 * sysdeps/sh/sysdep.h: Likewise.
6468 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6469 * sysdeps/unix/i386/sysdep.S: Likewise.
6470 * sysdeps/unix/sparc/start.c: Likewise.
6471 * sysdeps/unix/sparc/sysdep.S: Likewise.
6472 * sysdeps/unix/sparc/sysdep.h: Likewise.
6473 * sysdeps/unix/start.c: Likewise.
6474 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6475 * sysdeps/x86_64/sysdep.h: Likewise.
6477 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6480 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6482 * argp/argp-fmtstream.h: Use const instead __const.
6483 * argp/argp.h: Likewise.
6484 * assert/assert.h: Likewise.
6485 * bits/fenv.h: Likewise.
6486 * bits/sched.h: Likewise.
6487 * bits/sigset.h: Likewise.
6488 * bits/sigthread.h: Likewise.
6489 * catgets/nl_types.h: Likewise.
6490 * conform/data/pthread.h-data: Likewise.
6491 * crypt/crypt-private.h: Likewise.
6492 * crypt/crypt.h: Likewise.
6493 * crypt/crypt_util.c: Likewise.
6494 * ctype/ctype.h: Likewise.
6495 * debug/execinfo.h: Likewise.
6496 * debug/mbsnrtowcs_chk.c: Likewise.
6497 * debug/mbsrtowcs_chk.c: Likewise.
6498 * debug/wcsnrtombs_chk.c: Likewise.
6499 * debug/wcsrtombs_chk.c: Likewise.
6500 * debug/wcstombs_chk.c: Likewise.
6501 * dirent/dirent.h: Likewise.
6502 * dlfcn/dlfcn.h: Likewise.
6503 * elf/neededtest4.c: Likewise.
6504 * grp/grp.h: Likewise.
6505 * gshadow/gshadow.h: Likewise.
6506 * iconv/gconv.h: Likewise.
6507 * iconv/gconv_int.h: Likewise.
6508 * iconv/gconv_simple.c: Likewise.
6509 * iconv/iconv.h: Likewise.
6510 * iconv/loop.c: Likewise.
6511 * iconv/skeleton.c: Likewise.
6512 * include/aio.h: Likewise.
6513 * include/aliases.h: Likewise.
6514 * include/argz.h: Likewise.
6515 * include/arpa/inet.h: Likewise.
6516 * include/assert.h: Likewise.
6517 * include/dirent.h: Likewise.
6518 * include/dlfcn.h: Likewise.
6519 * include/execinfo.h: Likewise.
6520 * include/fcntl.h: Likewise.
6521 * include/fenv.h: Likewise.
6522 * include/glob.h: Likewise.
6523 * include/grp.h: Likewise.
6524 * include/libintl.h: Likewise.
6525 * include/mntent.h: Likewise.
6526 * include/netdb.h: Likewise.
6527 * include/pwd.h: Likewise.
6528 * include/rpc/netdb.h: Likewise.
6529 * include/sched.h: Likewise.
6530 * include/search.h: Likewise.
6531 * include/shadow.h: Likewise.
6532 * include/signal.h: Likewise.
6533 * include/stdio.h: Likewise.
6534 * include/stdlib.h: Likewise.
6535 * include/string.h: Likewise.
6536 * include/sys/socket.h: Likewise.
6537 * include/sys/stat.h: Likewise.
6538 * include/sys/statfs.h: Likewise.
6539 * include/sys/statvfs.h: Likewise.
6540 * include/sys/syslog.h: Likewise.
6541 * include/sys/time.h: Likewise.
6542 * include/sys/uio.h: Likewise.
6543 * include/time.h: Likewise.
6544 * include/unistd.h: Likewise.
6545 * include/utmp.h: Likewise.
6546 * include/wchar.h: Likewise.
6547 * include/wctype.h: Likewise.
6548 * inet/aliases.h: Likewise.
6549 * inet/arpa/inet.h: Likewise.
6550 * inet/netinet/ether.h: Likewise.
6551 * inet/netinet/in.h: Likewise.
6552 * intl/libintl.h: Likewise.
6553 * io/bits/fcntl2.h: Likewise.
6554 * io/fcntl.h: Likewise.
6555 * io/ftw.h: Likewise.
6556 * io/sys/poll.h: Likewise.
6557 * io/sys/stat.h: Likewise.
6558 * io/sys/statfs.h: Likewise.
6559 * io/sys/statvfs.h: Likewise.
6560 * io/utime.h: Likewise.
6561 * libio/bits/stdio.h: Likewise.
6562 * libio/bits/stdio2.h: Likewise.
6563 * libio/libio.h: Likewise.
6564 * libio/libioP.h: Likewise.
6565 * libio/stdio.h: Likewise.
6566 * locale/lc-ctype.c: Likewise.
6567 * locale/locale.h: Likewise.
6568 * login/utmp.h: Likewise.
6569 * malloc/arena.c: Likewise.
6570 * malloc/malloc.c: Likewise.
6571 * malloc/malloc.h: Likewise.
6572 * malloc/mcheck.c: Likewise.
6573 * malloc/mtrace.c: Likewise.
6574 * math/bits/mathcalls.h: Likewise.
6575 * math/fenv.h: Likewise.
6576 * math/math_private.h: Likewise.
6577 * misc/bits/error.h: Likewise.
6578 * misc/bits/syslog.h: Likewise.
6579 * misc/err.h: Likewise.
6580 * misc/error.h: Likewise.
6581 * misc/fstab.h: Likewise.
6582 * misc/mntent.h: Likewise.
6583 * misc/regexp.h: Likewise.
6584 * misc/search.h: Likewise.
6585 * misc/sgtty.h: Likewise.
6586 * misc/sys/mman.h: Likewise.
6587 * misc/sys/syslog.h: Likewise.
6588 * misc/sys/uio.h: Likewise.
6589 * misc/sys/xattr.h: Likewise.
6590 * misc/ttyent.h: Likewise.
6591 * nis/rpcsvc/ypclnt.h: Likewise.
6592 * nss/nss.h: Likewise.
6593 * posix/bits/unistd.h: Likewise.
6594 * posix/fnmatch.h: Likewise.
6595 * posix/glob.h: Likewise.
6596 * posix/sched.h: Likewise.
6597 * posix/spawn.h: Likewise.
6598 * posix/sys/wait.h: Likewise.
6599 * posix/unistd.h: Likewise.
6600 * posix/wordexp.h: Likewise.
6601 * pwd/pwd.h: Likewise.
6602 * resolv/netdb.h: Likewise.
6603 * resource/sys/resource.h: Likewise.
6604 * rt/aio.h: Likewise.
6605 * rt/bits/mqueue2.h: Likewise.
6606 * rt/mqueue.h: Likewise.
6607 * shadow/shadow.h: Likewise.
6608 * signal/signal.h: Likewise.
6609 * socket/send.c: Likewise.
6610 * socket/sendto.c: Likewise.
6611 * socket/sys/socket.h: Likewise.
6612 * stdio-common/printf.h: Likewise.
6613 * stdlib/bits/stdlib.h: Likewise.
6614 * stdlib/fmtmsg.h: Likewise.
6615 * stdlib/monetary.h: Likewise.
6616 * stdlib/stdlib.h: Likewise.
6617 * stdlib/ucontext.h: Likewise.
6618 * streams/stropts.h: Likewise.
6619 * string/argz.h: Likewise.
6620 * string/bits/string2.h: Likewise.
6621 * string/string.h: Likewise.
6622 * string/strings.h: Likewise.
6623 * sunrpc/rpc/auth.h: Likewise.
6624 * sunrpc/rpc/auth_des.h: Likewise.
6625 * sunrpc/rpc/clnt.h: Likewise.
6626 * sunrpc/rpc/netdb.h: Likewise.
6627 * sunrpc/rpc/pmap_clnt.h: Likewise.
6628 * sunrpc/rpc/xdr.h: Likewise.
6629 * sysdeps/generic/inttypes.h: Likewise.
6630 * sysdeps/generic/net/if.h: Likewise.
6631 * sysdeps/generic/sys/swap.h: Likewise.
6632 * sysdeps/gnu/net/if.h: Likewise.
6633 * sysdeps/gnu/utmpx.h: Likewise.
6634 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6635 * sysdeps/i386/i486/bits/string.h: Likewise.
6636 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6637 * sysdeps/s390/bits/string.h: Likewise.
6638 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6639 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6640 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6641 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6642 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6643 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6644 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6645 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6646 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6647 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6648 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6649 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6650 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6652 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6653 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6654 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6657 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6659 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6660 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6661 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6662 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6663 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6664 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6665 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6666 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6667 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6668 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6669 * sysvipc/sys/ipc.h: Likewise.
6670 * sysvipc/sys/msg.h: Likewise.
6671 * sysvipc/sys/sem.h: Likewise.
6672 * sysvipc/sys/shm.h: Likewise.
6673 * termios/termios.h: Likewise.
6674 * time/sys/time.h: Likewise.
6675 * time/time.h: Likewise.
6676 * wcsmbs/bits/wchar2.h: Likewise.
6677 * wcsmbs/uchar.h: Likewise.
6678 * wcsmbs/wchar.h: Likewise.
6679 * wctype/wctype.h: Likewise.
6682 * Makeconfig: Remove all but ELF support including AIX support.
6683 * Makerules: Likewise.
6684 * config.h.in: Likewise.
6685 * config.make.in: Likewise.
6686 * configure: Likewise.
6687 * configure.in: Likewise.
6688 * csu/Makefile: Likewise.
6689 * csu/version.c: Likewise.
6690 * debug/Makefile: Likewise.
6691 * dlfcn/Makefile: Likewise.
6692 * elf/Makefile: Likewise.
6693 * extra-lib.mk: Likewise.
6694 * iconv/Makefile: Likewise.
6695 * include/libc-symbols.h: Likewise.
6696 * include/shlib-compat.h: Likewise.
6697 * resolv/Makefile: Likewise.
6698 * resolv/res_libc.c: Likewise.
6699 * rt/Makefile: Likewise.
6700 * sysdeps/i386/asm-syntax.h: Likewise.
6701 * sysdeps/i386/sysdep.h: Likewise.
6702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6703 * sysdeps/mach/sysdep.h: Likewise.
6704 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6705 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6706 * sysdeps/s390/asm-syntax.h: Likewise.
6707 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6709 * sysdeps/sh/sysdep.h: Likewise.
6710 * sysdeps/unix/sparc/sysdep.h: Likewise.
6711 * sysdeps/wordsize-32/divdi3.c: Likewise.
6712 * sysdeps/x86_64/sysdep.h: Likewise.
6714 * argp/Versions: Remove _argp_unlock_xxx.
6717 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6718 * abilist/libBrokenLocale.abilist: Likewise.
6719 * abilist/libanl.abilist: Likewise.
6720 * abilist/libc.abilist: Likewise.
6721 * abilist/libcrypt.abilist: Likewise.
6722 * abilist/libdl.abilist: Likewise.
6723 * abilist/libm.abilist: Likewise.
6724 * abilist/libnsl.abilist: Likewise.
6725 * abilist/libpthread.abilist: Likewise.
6726 * abilist/libresolv.abilist: Likewise.
6727 * abilist/librt.abilist: Likewise.
6728 * abilist/libthread_db.abilist: Likewise.
6729 * abilist/libutil.abilist: Likewise.
6730 * abilist/libnss_db.abilist: New file.
6732 * scripts/abilist.awk: Add support for indirect functions.
6734 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6736 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6738 * shlib-versions: Remove entries for ports architectures.
6740 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6742 * elf/stackguard-macros.h: Remove support for IA-64.
6743 * elf/tst-auditmod1.c: Likewise.
6744 * sysdeps/generic/ldsodefs.h: Likewise.
6746 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6747 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6751 * configure.in: Remove --enable-omitfp support.
6753 * config.make.in: Likewise.
6754 * Makeconfig: Likewise.
6755 * manual/install.texi: Likewise.
6757 In case anyone cares, the IA-64 architecture could move to ports.
6758 * sysdeps/ia64/*: Removed.
6759 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6760 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6763 * configure.in: Remove entries for unsupported architectures.
6766 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6767 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6769 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6770 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6771 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6772 fall back to using wcrtomb.
6773 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6774 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6776 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6777 * wcsmbs/tst-c16c32-1.c: New file.
6779 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6782 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6784 * elf/tst-unique3.cc: Add explicit declaration of gets.
6785 * elf/tst-unique3lib.cc: Likewise.
6786 * elf/tst-unique3lib2.cc: Likewise.
6787 * elf/tst-unique4.cc: Likewise.
6789 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6791 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6794 * assert/assert.h (static_assert): Don't define for C++.
6795 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6796 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6798 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6800 * iconv/loop.c (single loop): Fix assertion in storing of
6803 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6805 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6807 * posix/getconf.c: Update copyright year.
6808 * nss/getent.c: Likewise.
6809 * nss/makedb.c: Likewise.
6810 * iconv/iconvconfig.c: Likewise.
6811 * iconv/iconv_prog.c: Likewise.
6812 * elf/ldconfig.c: Likewise.
6813 * elf/pldd.c: Likewise.
6814 * elf/sotruss.ksh: Likewise.
6815 * catgets/gencat.c: Likewise.
6816 * csu/version.c: Likewise.
6817 * elf/ldd.bash.in: Likewise.
6818 * elf/sprof.c (print_version): Likewise.
6819 * locale/programs/locale.c: Likewise.
6820 * locale/programs/localedef.c: Likewise.
6821 * login/programs/pt_chown.c: Likewise.
6822 * nscd/nscd.c (print_version): Likewise.
6823 * debug/xtrace.sh: Likewise.
6824 * malloc/memusage.sh: Likewise.
6825 * malloc/mtrace.pl: Likewise.
6826 * debug/catchsegv.sh: Likewise.
6828 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6830 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6833 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6836 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6837 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6839 * iconv/gconv_int.h: Likewise.
6840 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6841 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6842 from libc for GLIBC_2.16.
6843 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6844 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6845 * wcsmbs/uchar.h: Really define mbstate_t.
6846 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6847 * wcsmbs/c16rtomb.c: New file.
6848 * wcsmbs/mbrtoc16.c: New file.
6849 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6851 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6852 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6854 * wcsmbs/wchar.h: Add missing __restrict.
6856 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6859 * time/Makefile (routines): Add timespec_get.
6860 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6861 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6862 timespec for ISO C11.
6863 * time/timespec_get.c: New file.
6864 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6865 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6868 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6869 * stdlib/stdlib.h: Declare aligned_alloc.
6870 * Versions.def: Add GLIBC_2.16 for libc.
6871 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6874 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6877 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6881 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6884 * assert/assert.h (static_assert): Define.
6886 * version.h: Update for 2.16 development version.
6889 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6892 * version.h (RELEASE): Bump for 2.15 release.
6893 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6895 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6896 Patch by Marek Polacek <mpolacek@redhat.com>.
6898 * bits/byteswap.h: Protect long long constants with __extension__.
6899 * sysdeps/i386/bits/byteswap.h: Likewise.
6900 * sysdeps/ia64/bits/byteswap.h: Likewise.
6901 * sysdeps/s390/bits/byteswap.h: Likewise.
6902 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6904 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6907 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6909 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6911 2011-12-23 Marek Polacek <polacek@redhat.com>
6913 * elf/dl-addr.c (determine_info): Add inline keyword.
6914 * elf/tst-auditmod4b.c (check_avx): Likewise.
6915 * elf/tst-auditmod6b.c (check_avx): Likewise.
6916 * elf/tst-auditmod6c.c (check_avx): Likewise.
6917 * elf/tst-auditmod7b.c (check_avx): Likewise.
6919 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6921 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6924 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6927 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6928 processing for last bytes.
6930 2011-08-06 Bruno Haible <bruno@clisp.org>
6933 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6934 U+0385, not to U+1FEE.
6937 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6938 entry for U+00A5 U+0301.
6940 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6943 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6944 buffer for the output is too small.
6946 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6950 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6951 SSE flags if possible.
6953 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6957 processing for last bytes.
6959 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6962 (syscall-list-default-options, syscall-list-default-condition)
6963 (syscall-list-includes): Define.
6964 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6965 list of ABIs and options and #if conditions for each ABI. Do not
6966 handle common syscalls between ABIs specially.
6967 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6969 (syscall-list-variants, syscall-list-32bit-options)
6970 (syscall-list-32bit-condition, syscall-list-64bit-options)
6971 (syscall-list-64bit-condition): Define.
6972 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6973 (syscall-list-variants, syscall-list-32bit-options)
6974 (syscall-list-32bit-condition, syscall-list-64bit-options)
6975 (syscall-list-64bit-condition): Define.
6976 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6978 (syscall-list-variants, syscall-list-32bit-options)
6979 (syscall-list-32bit-condition, syscall-list-64bit-options)
6980 (syscall-list-64bit-condition): Define.
6981 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6983 (syscall-list-variants, syscall-list-32bit-options)
6984 (syscall-list-32bit-condition, syscall-list-64bit-options)
6985 (syscall-list-64bit-condition): Define.
6987 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6989 * locale/iso-639.def: Add brx entry.
6992 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6993 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6995 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6996 __feraiseexcept_renamed.
6998 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7001 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7002 EPOLLET with unsigned values.
7003 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7004 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7006 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7007 to large cancellation.
7008 * math/s_cacoshf.c: Likewise.
7009 * math/s_cacoshl.c: Likewise.
7011 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7015 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7016 * math/s_cacoshf.c: Likewise.
7017 * math/s_cacoshl.c: Likewise.
7019 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7022 * iconv/gconv.h: Define __GCONV_SWAP.
7023 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7024 * iconvdata/utf-16.c: Likewise.
7025 * iconvdata/utf-32.c: Likewise.
7027 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7030 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7031 numerator after shifting it by one limb.
7033 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7036 under [__USE_EXTERN_INLINES].
7038 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7041 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7043 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7045 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7046 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7048 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7049 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7050 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7051 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7052 for strncasecmp/strncasecmp_l compilation.
7053 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7054 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7056 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7059 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7062 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7065 * time/tzfile.c (__tzfile_read): Check values from file header.
7067 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7069 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7070 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7071 * powerpc/powerpc32/dl-start.S: Likewise.
7072 * powerpc/powerpc32/elf/start.S: Likewise.
7073 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7074 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7075 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7076 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7077 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7078 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7079 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7080 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7081 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7082 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7083 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7084 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7085 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7086 * powerpc/powerpc32/memset.S: Likewise.
7087 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7088 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7089 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7090 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7091 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7092 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7093 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7094 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7095 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7096 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7097 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7098 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7099 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7101 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103 * math/libm-test.inc: Added more nearbyint tests.
7104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7109 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7111 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7114 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7116 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7117 Add wcscpy-ssse3 wcscpy-c.
7118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7119 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7120 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7121 * sysdeps/x86_64/wcschr.S: New file.
7122 * sysdeps/x86_64/wcsrchr.S: New file.
7123 * string/test-strcmp.c: Remove checking of wcscmp function for
7125 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7126 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7127 wcsrchr-sse2 wcsrchr-c.
7128 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7129 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7130 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7131 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7132 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7133 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7134 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7135 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7137 * wcsmbc/wcschr.c (WCSCHR): New macro.
7139 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7141 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7142 * wcsmbs/test-wcsrchr.c: New file.
7143 * string/test-strrchr.c: Add wcsrchr support.
7145 * wcsmbs/test-wcscpy.c: New file.
7146 * string/test-strcpy.c: Add wcscpy support.
7149 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7151 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7154 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7157 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7159 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7161 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7162 Minor optimizations.
7164 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7165 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7166 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7168 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7170 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7171 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7172 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7173 for gcc to avoid warnings.
7174 * inet/Makefile (tests): Add tst-checks.
7175 * inet/tst-checks.c: New file.
7177 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7180 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7183 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7184 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7186 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7188 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7190 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7193 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7195 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7198 conditional on GCC version.
7199 (__arch_compare_and_exchange_val_8_acq)
7200 (__arch_compare_and_exchange_val_16_acq)
7201 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7202 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7203 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7205 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7207 * sysdeps/sh/backtrace.c: New file.
7209 2011-12-02 Andreas Schwab <schwab@redhat.com>
7211 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7214 2011-12-01 Andreas Schwab <schwab@redhat.com>
7216 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7217 falling back to utime.
7219 2011-11-30 Andreas Schwab <schwab@redhat.com>
7221 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7222 expectations for float.
7224 2011-11-29 Andreas Schwab <schwab@redhat.com>
7226 * locale/weight.h (findidx): Add parameter len.
7227 * locale/weightwc.h (findidx): Likewise.
7228 * posix/fnmatch_loop.c (FCT): Adjust caller.
7229 * posix/regcomp.c (build_equiv_class): Likewise.
7230 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7231 * posix/regexec.c (check_node_accept_bytes): Likewise.
7232 * string/strcoll_l.c (STRCOLL): Likewise.
7233 * string/strxfrm_l.c (STRXFRM): Likewise.
7235 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7237 * Makefile.in: Remove CVSOPT handling.
7238 * configure.in: Remove use of AC_REVISION.
7239 * iconvdata/Makefile (distribute): No need to filter out CVS.
7240 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7243 2011-11-16 Andreas Schwab <schwab@redhat.com>
7245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7246 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7247 [USE_AS_STRNCASECMP_L]: Likewise.
7248 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7249 NO_TLS_DIRECT_SEG_REFS.
7250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7251 Fix argument offsets for non-PIC.
7252 [USE_AS_STRNCASECMP_L]: Likewise.
7253 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7254 NO_TLS_DIRECT_SEG_REFS.
7256 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7258 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7260 * locale/loadlocale.c (_nl_load_locale): Likewise.
7262 2011-11-15 Andreas Schwab <schwab@redhat.com>
7264 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7265 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7266 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7267 (SYSCALL_GETTIME): Set errno on error.
7269 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7270 count references to noai6ai_cached.
7272 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7274 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7276 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7277 FD_CLOEXEC for /proc/self/maps.
7279 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7280 FD_CLOEXEC for /proc/meminfo.
7282 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7285 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7286 FD_CLOEXEC for given file.
7288 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7290 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7291 FD_CLOEXEC for /etc/hosts.
7292 (_gethtent): Likewise.
7294 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7296 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7297 cancellation and set FD_CLOEXEC for /etc/netgroup.
7299 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7300 reading /etc/publickey.
7302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7303 allow cancellation when reading /etc/group.
7305 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7307 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7309 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7310 when using data file.
7312 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7314 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7315 (write_nis_obj): Use "c" and "e" in fopen.
7317 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7319 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7321 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7323 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7325 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7328 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7330 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7332 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7334 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7335 file parsing and set FD_CLOEXEC.
7337 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7339 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7341 2011-11-14 Andreas Schwab <schwab@redhat.com>
7343 * malloc/arena.c (arena_get2): Don't call reused_arena when
7344 _int_new_arena failed.
7346 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7348 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7349 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7351 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7352 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7353 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7354 to compile strcasecmp and strncasecmp.
7355 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7356 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7360 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7362 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7363 locale-defines.sym to gen-as-const-headers.
7364 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7365 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7367 to compile strcasecmp and strncasecmp.
7368 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7369 strcasecmp_l and strncasecmp_l.
7370 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7371 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7372 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7373 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7374 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7376 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7377 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7378 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7379 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7380 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7382 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7384 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7385 result of SYSDEP_GETTIME_CPU to retval.
7386 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7387 parameter list to macro. Remove trailing semicolon. Adjust users.
7389 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7392 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7394 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7396 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7397 from unused variable.
7399 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7401 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7404 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7407 * sunrpc/rpc_prot.c (rejected): Fix case value.
7409 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7410 unsigned long long int to avoid warnings in shift.
7412 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7414 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7417 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7418 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7419 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7421 * nis/nis_table.c (nis_list): Use variable of correct type for
7422 result of __follow_path call.
7424 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7426 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7427 of math functions ceil, trunc, floor, round, and sqrt, when
7428 avaliable on the platform.
7429 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7431 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7432 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7433 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7435 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7437 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7440 2011-11-11 Roland McGrath <roland@hack.frob.com>
7442 * include/unistd.h: Fix __readlink return type.
7443 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7445 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7447 * stdlib/ucontext.h: Undo last change for makecontext.
7449 2011-11-11 Andreas Schwab <schwab@redhat.com>
7451 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7453 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7454 * setjmp/setjmp.h: Mark functions as non-leaf.
7455 * setjmp/bits/setjmp2.h: Likewise.
7456 * stdlib/ucontext.h: Likewise.
7458 2011-11-10 Andreas Schwab <schwab@redhat.com>
7460 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7461 (reused_arena): Don't check arena limit.
7462 (arena_get2): Atomically check arena limit.
7464 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7466 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7467 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7469 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7472 2011-11-07 Andreas Schwab <schwab@redhat.com>
7474 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7475 handler when locking.
7477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7478 Fix size of allocated buffer.
7480 2011-11-04 Andreas Schwab <schwab@redhat.com>
7483 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7484 declarations for long double functions.
7485 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7487 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7489 2011-11-03 Andreas Schwab <schwab@redhat.com>
7491 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7494 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7497 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7499 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7501 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7503 * include/alloca.h (stackinfo_alloca_round): Define.
7504 (extend_alloca): Use it.
7505 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7506 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7509 * scripts/check-local-headers.sh: Ignore libaudit.h.
7511 * nscd/Makefile (extra-objs): Make recursively expanded.
7513 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7515 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7516 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7518 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7519 * posix/tst-rfc3484-2.c: Likewise.
7520 * posix/tst-rfc3484-3.c: Likewise.
7522 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7524 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7526 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7527 process_vm_writev from libc using GLIBC_2.15 version.
7529 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7531 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7533 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7536 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7539 * nss/getent.c (initgroups_keys): Show error message in case no group
7542 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7543 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7544 __bump_nl_timestamp.
7545 * nscd/connections (nscd_init): When host database is served open
7546 netlink socket and request notification about configuration changes.
7547 (main_loop_poll): Track netlink file descriptor and bump timestamp
7548 in case data becomes available.
7549 (main_loop_epoll): Likewise.
7550 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7551 (database_pers_head): Add extra_data fileds.
7552 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7553 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7554 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7557 in6ai data, call __free_in6ai.
7558 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7560 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7561 interface information. Reuse previous data if netlink timestamp
7563 (__bump_nl_timestamp): New function.
7564 (__free_in6ai): New function.
7566 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7569 close_not_cancel_no_status here.
7570 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7575 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7578 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7579 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7580 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7582 2011-07-03 Andreas Jaeger <aj@suse.de>
7585 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7586 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7587 * math/libm-test.inc (sin_test): Add test case.
7589 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7592 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7593 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7595 * elf/chroot_canon.c (chroot_canon): Cleanups.
7597 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7600 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7601 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7603 * string/test-strchr.c: Make usable for strchrnul testing.
7604 * string/test-strchrnul.c: New file.
7605 * string/Makefile (strop-tests): Add strchrnul.
7607 * po/it.po: Update from translation team.
7608 * po/es.po: Likewise.
7610 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7612 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7613 the three constants needed as parameters. Drop the others.
7614 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7615 __m128i_strloadu_tolower.
7616 Create and initialize variable zero and use it in all the places
7617 where _mm_setzero_si128 was used.
7619 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7620 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7621 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7624 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7625 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7626 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7627 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7629 __mpranred, __mptan.
7630 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7631 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7632 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7633 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7634 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7635 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7637 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7638 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7640 2011-10-28 Andreas Schwab <schwab@redhat.com>
7642 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7644 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7647 wide char related routines to wcsmbs subdir.
7649 2011-10-27 Andreas Schwab <schwab@redhat.com>
7652 * misc/sys/cdefs.h (__THROWNL): Define.
7653 * posix/unistd.h: Use __THREADNL instead of __THREAD
7654 for memory synchronization functions.
7656 2011-10-26 Roland McGrath <roland@hack.frob.com>
7659 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7661 * manual/stdio.texi (Obstack Streams): Node removed.
7663 2011-10-26 Andreas Schwab <schwab@redhat.com>
7665 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7666 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7669 * math/math_private.h (math_force_eval): Allow non-addressable
7671 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7673 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7678 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7679 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7680 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7681 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7682 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7683 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7684 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7685 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7687 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7688 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7689 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7690 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7691 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7692 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7693 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7694 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7697 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7698 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7699 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7700 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7701 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7702 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7703 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7704 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7705 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7707 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7708 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7710 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7711 place. Use VEX encoding when compiling for AVX.
7713 2011-10-25 Andreas Schwab <schwab@redhat.com>
7715 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7718 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7720 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7722 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7723 useless if() expression.
7724 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7733 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7734 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7735 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7738 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7744 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7746 2011-10-25 Andreas Schwab <schwab@redhat.com>
7748 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7750 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7752 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7754 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7755 .text section. Avoid duplicate constants.
7756 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7766 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7768 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7771 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7773 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7783 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7784 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7785 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7786 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7787 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7789 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7790 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7791 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7792 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7793 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7794 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7795 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7798 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7799 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7800 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7802 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7804 * sysdeps/x86_64/dla.h: Move to ...
7805 * sysdeps/x86_64/fpu/dla.h: ...here.
7806 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7807 situations. Use __builtin_fma only for gcc 4.6 and up.
7809 * config.make.in: Add have-mfma4 entry.
7810 * configure.in: Substitute libc_cv_cc_fma4.
7811 * math/Makefile (dbl-only-routines): Add sincostab.
7812 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7813 Use __sincostab not sincos.
7814 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7821 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7822 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7823 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7824 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7826 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7827 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7829 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7830 define aliases when function name is a macro.
7831 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7832 sysdeps/ieee754/dbl-64/sincos.tbl.
7833 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7834 fma4-enabled routines.
7835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7836 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7837 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7838 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7840 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7841 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7842 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7845 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7846 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7847 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7857 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7859 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7861 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7866 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7869 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7873 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7874 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7875 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7877 2011-10-24 Andreas Schwab <schwab@redhat.com>
7879 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7881 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7883 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7885 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7887 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7889 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7890 Remove unused variable magic_bits.
7891 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7893 * string/strnlen.c: Define and use STRNLEN macro.
7894 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7895 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7897 * wcsmbs/wcslen.c: Define and use WCSLEN.
7898 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7899 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7900 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7901 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7902 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7903 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7906 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7909 strnlen-sse2-no-bsf.
7910 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7911 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7912 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7913 Add strnlen support.
7914 (USE_AS_STRNLEN): New macro.
7915 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7916 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7917 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7918 * sysdeps/x86_64/wcslen.S: New file.
7920 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7922 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7923 XMM-moves are used for copying on small sizes.
7925 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7927 * wcsmbs/Makefile (strop-tests): Add wcschr.
7928 * wcsmbs/test-wcschr.c: New file.
7929 * string/test-strchr.c: Update.
7933 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7935 * wcsmbs/Makefile (strop-tests): Add wcslen.
7936 * wcsmbs/test-wcslen.c: New file.
7937 * string/test-strlen.c: Update.
7941 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7943 * po/it.po: Update from translation team.
7945 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7947 * sysdeps/x86_64/wcscmp.S: Update.
7948 Fix wrong comparison semantics.
7949 wcscmp shall use signed comparison not unsigned.
7950 Don't use substraction to avoid overflow bug.
7951 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7952 * wcsmbc/wcscmp.c: Likewise.
7953 * string/test-strcmp.c: Likewise.
7954 Add new tests to check cases with negative values.
7956 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7958 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7959 * sysdeps/x86_64/dla.h: ...here. New file.
7960 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7970 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7973 __ynl_finite aliases.
7975 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7979 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7981 [DLA_FMA] (EMULV): Use DLA_FMA.
7982 [DLA_FMA] (MUL12): Use EMULV.
7983 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7984 that are not needed.
7985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7988 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7991 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7993 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7995 * math/s_nan.c: Undef __nan.
7996 * math/s_nanf.c: Undef __nanf.
7997 * math/s_nanl.c: Undef __nanl.
7998 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8001 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8003 * math/s_catan.c: Add branch predictions.
8004 * math/s_catanf.c: Likewise.
8005 * math/s_catanh.c: Likewise.
8006 * math/s_catanhf.c: Likewise.
8007 * math/s_catanhl.c: Likewise.
8008 * math/s_catanl.c: Likewise.
8009 * math/s_cexp.c: Likewise.
8010 * math/s_cexpf.c: Likewise.
8011 * math/s_cexpl.c: Likewise.
8012 * math/s_clog.c: Likewise.
8013 * math/s_clog10.c: Likewise.
8014 * math/s_clog10f.c: Likewise.
8015 * math/s_clog10l.c: Likewise.
8016 * math/s_clogf.c: Likewise.
8017 * math/s_clogl.c: Likewise.
8018 * math/s_csqrt.c: Likewise.
8019 * math/s_csqrtf.c: Likewise.
8020 * math/s_csqrtl.c: Likewise.
8021 * math/s_ctanf.c: Likewise.
8022 * math/s_ctanh.c: Likewise.
8023 * math/s_ctanhf.c: Likewise.
8024 * math/s_ctanhl.c: Likewise.
8025 * math/s_ctanl.c: Likewise.
8027 * math/math_private.h: Define __nan, __nanf, __nanl.
8028 * math/s_cacosh.c: Include <math_private.h>.
8029 * math/s_cacoshl.c: Likewise.
8030 * math/s_casinh.c: Likewise.
8031 * math/s_casinhf.c: Likewise.
8032 * math/s_casinhl.c: Likewise.
8033 * math/s_ccos.c: Rely entire on ccosh.
8034 * math/s_ccosf.c: Rely entire on ccoshf.
8035 * math/s_ccosl.c: Rely entirely on ccoshl.
8036 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8037 Remove tests for FE_INVALID.
8038 * math/s_ccoshf.c: Likewise.
8039 * math/s_ccoshl.c: Likewise.
8040 * math/s_csin.c: Likewise.
8041 * math/s_csinf.c: Likewise.
8042 * math/s_csinh.c Likewise.
8043 * math/s_csinhf.c: Likewise.
8044 * math/s_csinhl.c: Likewise.
8045 * math/s_csinl.c: Likewise.
8046 * math/s_ctan.c: Likewise.
8047 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8048 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8049 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8051 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8054 compilation problems.
8056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8059 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8061 * sysdeps/i386/configure.in: Test for -mfma4 option.
8062 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8063 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8064 COMMON_CPUID_INDEX_80000001.
8065 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8066 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8067 use it if FMA3 is not supported.
8068 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8070 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8071 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8073 2011-10-20 Andreas Schwab <schwab@redhat.com>
8076 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8077 it would create a cycle with a link time dependency.
8079 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8081 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8083 * string/Makefile (strop-tests): Add rawmemchr.
8084 * string/test-rawmemchr.c: New file.
8086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8087 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8088 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8089 when compiling str{,n}casecmp and when AVX is available. Hook up
8090 new optimized code in initializers.
8092 2011-10-19 Andreas Schwab <schwab@redhat.com>
8094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8095 __feraiseexcept instead of feraiseexcept.
8097 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8099 * math/math_private.h: Define defaults for libc_fetestexcept and
8101 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8102 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8104 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8105 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8106 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8107 libc_fetestexcept and libc_feupdateenv.
8109 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8110 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8111 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8112 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8113 libc_feholdexcept_setround.
8115 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8116 Add s_nearbyint-c and s_nearbyintf-c.
8117 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8120 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8122 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8124 * math/math_private.h: Define defaults for libc_fegetround,
8125 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8126 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8127 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8128 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8129 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8132 Remove comments and hacks for old compiler versions.
8133 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8134 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8137 2011-10-18 Andreas Schwab <schwab@redhat.com>
8139 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8140 (__feraiseexcept_renamed): Add __NTH.
8141 (feraiseexcept): Add __NTH. Rename local variables to fix
8142 namespace violations.
8144 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8148 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8150 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8151 recently added interfaces.
8152 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8154 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8155 about macro parameter expansion.
8157 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8158 __NO_MATH_INLINES is defined. Cleanups.
8160 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8161 and __floorf is target has SSE4.1.
8162 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8164 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8165 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8167 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8171 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8173 2011-10-17 Andreas Schwab <schwab@redhat.com>
8175 * misc/sys/cdefs.h: Fix last change.
8177 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8180 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8182 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8184 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8185 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8190 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8191 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8192 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8193 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8194 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8195 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8196 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8197 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8198 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8199 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8200 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8201 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8202 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8203 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8204 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8205 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8207 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8208 ceil, ceilf, floor, floorf.
8210 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8211 Perform IRELATIVE relocations last.
8213 * elf/do-rel.h: Add another parameter nrelative, replacing the
8214 local variable with the same name. Change name of the function
8215 to end in Rel or Rela (uppercase).
8216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8217 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8218 elf_dynamic_do_##reloc function.
8220 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8222 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8223 is sufficient, at least on modern CPUs.
8225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8227 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8228 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8230 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8232 * math/bits/math-finite.h: Add entries for exp.
8233 * math/e_expl.c: Add __*_finite alias.
8234 * sysdeps/i386/fpu/e_exp.S: Likewise.
8235 * sysdeps/i386/fpu/e_expf.S: Likewise.
8236 * sysdeps/i386/fpu/e_expl.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8238 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8239 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8240 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8245 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8246 is sufficient, at least on modern CPUs.
8248 * ctype/ctype-info.c (__ctype_init): Define.
8249 * include/ctype.h (__ctype_init): Declare.
8250 (__ctype_b_loc): The variable is always initialized.
8251 (__ctype_toupper_loc): Likewise.
8252 (__ctype_tolower_loc): Likewise.
8253 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8254 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8256 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8258 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8260 * configure.in: Also look in $cxxmachine/include for C++ system
8263 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8265 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8266 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8267 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8268 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8270 (USE_AS_WMEMCMP): New macro.
8272 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8273 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8274 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8275 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8276 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8277 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8278 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8279 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8280 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8281 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8282 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8283 (USE_AS_WMEMCMP): New macro.
8284 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8285 * sysdeps/string/test-memcmp.c: Update.
8288 * wcsmbs/wmemcmp.c: Update.
8289 (WMEMCMP): New macro.
8292 2011-10-12 Andreas Jaeger <aj@suse.de>
8295 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8299 * libio/iofwide.c (do_length): Avoid warning.
8301 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8303 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8305 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8307 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8308 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8309 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8310 * sysdeps/i386/i686/fpu/e_log.S: New file.
8311 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8312 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8314 * ctype/ctype.h: Add support for inlined isXXX functions when
8317 2011-10-14 Andreas Schwab <schwab@redhat.com>
8319 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8323 2011-10-13 Roland McGrath <roland@hack.frob.com>
8326 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8328 2011-10-13 Andreas Schwab <schwab@redhat.com>
8330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8331 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8334 * sysdeps/x86_64/memrchr.S: Check for zero size.
8336 * string/stratcliff.c: Add memrchr tests.
8338 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8341 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8342 rawmemchr-sse2 rawmemchr-sse2-bsf.
8343 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8344 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8345 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8346 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8347 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8348 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8349 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8350 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8352 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8353 * string/memrchr.c (MEMRCHR): New macro.
8355 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8357 Add integration with gcc's -ffinite-math-only and optimize wrapper
8359 * Versions.def: Define GLIBC_2.15 version for libm.
8360 * math/Makefile (headers): Add bits/math-finite.h.
8361 * math/bits/math-finite.h: New file.
8362 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8363 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8364 * math/e_acoshl.c: Add __*_finite alias.
8365 * math/e_acosl.c: Likewise.
8366 * math/e_asinl.c: Likewise.
8367 * math/e_atan2l.c: Likewise.
8368 * math/e_atanhl.c: Likewise.
8369 * math/e_coshl.c: Likewise.
8370 * math/e_exp10.c: Likewise.
8371 * math/e_exp10f.c: Likewise.
8372 * math/e_exp10l.c: Likewise.
8373 * math/e_exp2l.c: Likewise.
8374 * math/e_fmodl.c: Likewise.
8375 * math/e_gammal_r.c: Likewise.
8376 * math/e_hypotl.c: Likewise.
8377 * math/e_j0l.c: Likewise.
8378 * math/e_j1l.c: Likewise.
8379 * math/e_jnl.c: Likewise.
8380 * math/e_lgammal_r.c: Likewise.
8381 * math/e_log10l.c: Likewise.
8382 * math/e_log2l.c: Likewise.
8383 * math/e_logl.c: Likewise.
8384 * math/e_powl.c: Likewise.
8385 * math/e_sinhl.c: Likewise.
8386 * math/e_sqrtl.c: Likewise.
8387 * math/e_scalb.c: Completely rewritten and optimized.
8388 * math/e_scalbf.c: Likewise.
8389 * math/e_scalbl.c: Likewise.
8390 * math/w_acos.c: Likewise.
8391 * math/w_acosf.c: Likewise.
8392 * math/w_acosl.c: Likewise.
8393 * math/w_acosh.c: Likewise.
8394 * math/w_acoshf.c: Likewise.
8395 * math/w_acoshl.c: Likewise.
8396 * math/w_asin.c: Likewise.
8397 * math/w_asinf.c: Likewise.
8398 * math/w_asinl.c: Likewise.
8399 * math/w_atan2.c: Likewise.
8400 * math/w_atan2f.c: Likewise.
8401 * math/w_atan2l.c: Likewise.
8402 * math/w_atanh.c: Likewise.
8403 * math/w_atanhf.c: Likewise.
8404 * math/w_atanhl.c: Likewise.
8405 * math/w_exp10.c: Likewise.
8406 * math/w_exp10f.c: Likewise.
8407 * math/w_exp10l.c: Likewise.
8408 * math/w_fmod.c: Likewise.
8409 * math/w_fmodf.c: Likewise.
8410 * math/w_fmodl.c: Likewise.
8411 * math/w_j0.c: Likewise.
8412 * math/w_j0f.c: Likewise.
8413 * math/w_j0l.c: Likewise.
8414 * math/w_j1.c: Likewise.
8415 * math/w_j1f.c: Likewise.
8416 * math/w_j1l.c: Likewise.
8417 * math/w_jn.c: Likewise.
8418 * math/w_jnf.c: Likewise.
8419 * math/w_log.c: Likewise.
8420 * math/w_logf.c: Likewise.
8421 * math/w_logl.c: Likewise.
8422 * math/w_log10.c: Likewise.
8423 * math/w_log10f.c: Likewise.
8424 * math/w_log10l.c: Likewise.
8425 * math/w_log2.c: Likewise.
8426 * math/w_log2f.c: Likewise.
8427 * math/w_log2l.c: Likewise.
8428 * math/w_pow.c: Likewise.
8429 * math/w_powf.c: Likewise.
8430 * math/w_powl.c: Likewise.
8431 * math/w_remainder.c: Likewise.
8432 * math/w_remainderf.c: Likewise.
8433 * math/w_remainderl.c: Likewise.
8434 * math/w_scalb.c: Likewise.
8435 * math/w_scalbf.c: Likewise.
8436 * math/w_scalbl.c: Likewise.
8437 * math/w_sqrt.c: Likewise.
8438 * math/w_sqrtf.c: Likewise.
8439 * math/w_sqrtl.c: Likewise.
8440 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8441 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8443 * math/math_private.h: Declare __kernel_standard_f.
8444 * math/w_cosh.c: Remove cruft and optimize a bit.
8445 * math/w_coshf.c: Likewise.
8446 * math/w_coshl.c: Likewise.
8447 * math/w_exp2.c: Likewise.
8448 * math/w_exp2f.c: Likewise.
8449 * math/w_exp2l.c: Likewise.
8450 * math/w_hypot.c: Likewise.
8451 * math/w_hypotf.c: Likewise.
8452 * math/w_hypotl.c: Likewise.
8453 * math/w_lgamma.c: Likewise.
8454 * math/w_lgamma_r.c: Likewise.
8455 * math/w_lgammaf.c: Likewise.
8456 * math/w_lgammaf_r.c: Likewise.
8457 * math/w_lgammal.c: Likewise.
8458 * math/w_lgammal_r.c: Likewise.
8459 * math/w_sinh.c: Likewise.
8460 * math/w_sinhf.c: Likewise.
8461 * math/w_sinhl.c: Likewise.
8462 * math/w_tgamma.c: Likewise.
8463 * math/w_tgammaf.c: Likewise.
8464 * math/w_tgammal.c: Likewise.
8465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8466 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8467 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8468 Minor optimizations. Pretty printing. Remove cruft.
8469 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8470 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8471 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8473 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8474 * sysdeps/i386/fpu/e_asin.S: Likewise.
8475 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8476 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8477 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8478 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8480 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8481 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8482 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8483 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8484 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8485 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8486 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8487 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8488 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8489 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8490 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8491 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8492 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8493 * sysdeps/i386/fpu/e_log.S: Likewise.
8494 * sysdeps/i386/fpu/e_log10.S: Likewise.
8495 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8497 * sysdeps/i386/fpu/e_log2.S: Likewise.
8498 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8499 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8500 * sysdeps/i386/fpu/e_logf.S: Likewise.
8501 * sysdeps/i386/fpu/e_logl.S: Likewise.
8502 * sysdeps/i386/fpu/e_pow.S: Likewise.
8503 * sysdeps/i386/fpu/e_powf.S: Likewise.
8504 * sysdeps/i386/fpu/e_powl.S: Likewise.
8505 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8506 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8507 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8508 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8509 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8510 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8511 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8512 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8513 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8536 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8537 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8538 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8539 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8540 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8541 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8552 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8553 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8554 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8555 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8594 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8597 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8599 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8600 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8602 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8605 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8607 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8608 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8609 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8610 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8611 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8612 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8613 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8614 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8615 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8616 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8617 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8618 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8619 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8621 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8622 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8623 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8624 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8625 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8626 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8627 (__isnanf): Likewise.
8628 (__isinf_ns): Likewise.
8629 (__isinf_nsf): Likewise.
8630 (__finite): Likewise.
8631 (__finitef): Likewise.
8632 (__ieee754_sqrt): Define as macro.
8633 (__ieee754_sqrtf): Define as macro.
8634 (__ieee754_sqrtl): Define as macro.
8635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8637 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8638 __FINITE_MATH_ONLY__ consistent.
8639 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8641 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8643 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8646 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8648 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8650 * po/ja.po: Update from translation team.
8652 2011-10-08 Roland McGrath <roland@hack.frob.com>
8654 * locale/programs/locarchive.c (prepare_address_space): New function.
8655 (create_archive, enlarge_archive, open_archive): Use it.
8657 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8658 inside [SHARED], where it is used.
8660 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8662 * nss/getent.c (netgroup_keys): Remove unused variable.
8663 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8665 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8667 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8668 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8670 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8671 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8672 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8673 * math/Makefile (libm-calls): Add s_isinf_ns.
8674 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8675 * math/multc3.c: Likewise.
8676 * math/s_casin.c: Likewise.
8677 * math/s_casinf.c: Likewise.
8678 * math/s_casinl.c: Likewise.
8679 * math/s_ccos.c: Likewise.
8680 * math/s_ccosf.c: Likewise.
8681 * math/s_ccosl.c: Likewise.
8682 * math/s_ctan.c: Likewise.
8683 * math/s_ctanf.c: Likewise.
8684 * math/s_ctanh.c: Likewise.
8685 * math/s_ctanhf.c: Likewise.
8686 * math/s_ctanhl.c: Likewise.
8687 * math/s_ctanl.c: Likewise.
8688 * math/w_fmod.c: Likewise.
8689 * math/w_fmodf.c: Likewise.
8690 * math/w_fmodl.c: Likewise.
8691 * math/w_remainder.c: Likewise.
8692 * math/w_remainderf.c: Likewise.
8693 * math/w_remainderl.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8695 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8698 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8699 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8700 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8701 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8703 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8705 * stdio-common/printf_fphex.c: Likewise.
8706 * stdio-common/printf_size.c: Likewise.
8708 * math/e_exp10.c: Include math_private.h using <...> not "...".
8709 * math/e_exp10f.c: Likewise.
8710 * math/e_exp10l.c: Likewise.
8711 * math/e_exp2l.c: Likewise.
8712 * math/e_j0l.c: Likewise.
8713 * math/e_j1l.c: Likewise.
8714 * math/e_jnl.c: Likewise.
8715 * math/e_lgammal_r.c: Likewise.
8716 * math/e_rem_pio2l.c: Likewise.
8717 * math/e_scalb.c: Likewise.
8718 * math/e_scalbf.c: Likewise.
8719 * math/e_scalbl.c: Likewise.
8720 * math/k_cosl.c: Likewise.
8721 * math/k_sinl.c: Likewise.
8722 * math/k_tanl.c: Likewise.
8723 * math/s_cacoshf.c: Likewise.
8724 * math/s_catan.c: Likewise.
8725 * math/s_catanf.c: Likewise.
8726 * math/s_catanh.c: Likewise.
8727 * math/s_catanhf.c: Likewise.
8728 * math/s_catanhl.c: Likewise.
8729 * math/s_catanl.c: Likewise.
8730 * math/s_ccosh.c: Likewise.
8731 * math/s_ccoshf.c: Likewise.
8732 * math/s_ccoshl.c: Likewise.
8733 * math/s_cexp.c: Likewise.
8734 * math/s_cexpf.c: Likewise.
8735 * math/s_cexpl.c: Likewise.
8736 * math/s_clog.c: Likewise.
8737 * math/s_clog10.c: Likewise.
8738 * math/s_clog10f.c: Likewise.
8739 * math/s_clog10l.c: Likewise.
8740 * math/s_clogf.c: Likewise.
8741 * math/s_clogl.c: Likewise.
8742 * math/s_csin.c: Likewise.
8743 * math/s_csinf.c: Likewise.
8744 * math/s_csinh.c: Likewise.
8745 * math/s_csinhf.c: Likewise.
8746 * math/s_csinhl.c: Likewise.
8747 * math/s_csinl.c: Likewise.
8748 * math/s_csqrt.c: Likewise.
8749 * math/s_csqrtf.c: Likewise.
8750 * math/s_csqrtl.c: Likewise.
8751 * math/s_ctan.c: Likewise.
8752 * math/s_ctanf.c: Likewise.
8753 * math/s_ctanh.c: Likewise.
8754 * math/s_ctanhf.c: Likewise.
8755 * math/s_ctanhl.c: Likewise.
8756 * math/s_ctanl.c: Likewise.
8757 * math/s_ldexp.c: Likewise.
8758 * math/s_ldexpf.c: Likewise.
8759 * math/s_ldexpl.c: Likewise.
8760 * math/s_significand.c: Likewise.
8761 * math/s_significandf.c: Likewise.
8762 * math/s_significandl.c: Likewise.
8763 * math/w_acos.c: Likewise.
8764 * math/w_acosf.c: Likewise.
8765 * math/w_acosh.c: Likewise.
8766 * math/w_acoshf.c: Likewise.
8767 * math/w_acoshl.c: Likewise.
8768 * math/w_acosl.c: Likewise.
8769 * math/w_asin.c: Likewise.
8770 * math/w_asinf.c: Likewise.
8771 * math/w_asinl.c: Likewise.
8772 * math/w_atan2.c: Likewise.
8773 * math/w_atan2f.c: Likewise.
8774 * math/w_atan2l.c: Likewise.
8775 * math/w_atanh.c: Likewise.
8776 * math/w_atanhf.c: Likewise.
8777 * math/w_atanhl.c: Likewise.
8778 * math/w_cosh.c: Likewise.
8779 * math/w_coshf.c: Likewise.
8780 * math/w_coshl.c: Likewise.
8781 * math/w_dremf.c: Likewise.
8782 * math/w_exp10.c: Likewise.
8783 * math/w_exp10f.c: Likewise.
8784 * math/w_exp10l.c: Likewise.
8785 * math/w_exp2.c: Likewise.
8786 * math/w_exp2f.c: Likewise.
8787 * math/w_fmod.c: Likewise.
8788 * math/w_fmodf.c: Likewise.
8789 * math/w_fmodl.c: Likewise.
8790 * math/w_hypot.c: Likewise.
8791 * math/w_hypotf.c: Likewise.
8792 * math/w_hypotl.c: Likewise.
8793 * math/w_j0.c: Likewise.
8794 * math/w_j0f.c: Likewise.
8795 * math/w_j0l.c: Likewise.
8796 * math/w_j1.c: Likewise.
8797 * math/w_j1f.c: Likewise.
8798 * math/w_j1l.c: Likewise.
8799 * math/w_jn.c: Likewise.
8800 * math/w_jnf.c: Likewise.
8801 * math/w_jnl.c: Likewise.
8802 * math/w_lgamma.c: Likewise.
8803 * math/w_lgamma_r.c: Likewise.
8804 * math/w_lgammaf.c: Likewise.
8805 * math/w_lgammaf_r.c: Likewise.
8806 * math/w_lgammal.c: Likewise.
8807 * math/w_lgammal_r.c: Likewise.
8808 * math/w_log.c: Likewise.
8809 * math/w_log10.c: Likewise.
8810 * math/w_log10f.c: Likewise.
8811 * math/w_log10l.c: Likewise.
8812 * math/w_log2.c: Likewise.
8813 * math/w_log2f.c: Likewise.
8814 * math/w_log2l.c: Likewise.
8815 * math/w_logf.c: Likewise.
8816 * math/w_logl.c: Likewise.
8817 * math/w_pow.c: Likewise.
8818 * math/w_powf.c: Likewise.
8819 * math/w_powl.c: Likewise.
8820 * math/w_remainder.c: Likewise.
8821 * math/w_remainderf.c: Likewise.
8822 * math/w_remainderl.c: Likewise.
8823 * math/w_scalb.c: Likewise.
8824 * math/w_scalbf.c: Likewise.
8825 * math/w_scalbl.c: Likewise.
8826 * math/w_sinh.c: Likewise.
8827 * math/w_sinhf.c: Likewise.
8828 * math/w_sinhl.c: Likewise.
8829 * math/w_sqrt.c: Likewise.
8830 * math/w_sqrtf.c: Likewise.
8831 * math/w_sqrtl.c: Likewise.
8832 * math/w_tgamma.c: Likewise.
8833 * math/w_tgammaf.c: Likewise.
8834 * math/w_tgammal.c: Likewise.
8836 * po/ja.po: Update from translation team.
8838 2011-09-29 Andreas Jaeger <aj@suse.de>
8841 * sunrpc/netname.c (netname2host): Fix logic.
8845 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8847 * math/w_remainder.c (__remainder): Likewise.
8848 * math/w_remainderf.c (__remainderf): Likewise.
8849 * math/libm-test.inc (remainder_test): Add test cases.
8851 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8853 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8856 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8858 * string/test-memcmp.c: Avoid unncessary #defines.
8859 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8861 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8863 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8864 Use new sse2 version for core i3 - i7 as it's faster
8866 (bit_Prefer_PMINUB_for_stringop): New.
8867 * sysdeps/x86_64/rawmemchr.S: Update.
8868 Replace with faster SSE2 version.
8869 * sysdeps/x86_64/memrchr.S: New file.
8870 * sysdeps/x86_64/memchr.S: Update.
8871 Replace with faster SSE2 version.
8873 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8875 * elf/dl-load.c (lose): Add cast to avoid warning.
8877 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8879 * po/ca.po: Update from translation team.
8881 * inet/getnetgrent_r.c: Hook up nscd.
8882 * nscd/Makefile (routines): Add nscd_netgroup.
8883 (nscd-modules): Add netgroupcache.
8884 (CFLAGS-netgroupcache.c): Define.
8885 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8886 (cache_search): Add const to second parameter.
8887 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8889 (dbs): Add netgrdb entry.
8890 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8891 (verify_persistent_db): Handle netgrdb.
8892 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8893 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8895 (netgroup_response_header): Define.
8896 (innetgroup_response_header): Define.
8897 (datahead): Add netgroup_response_header and innetgroup_response_header
8899 * nscd/nscd.conf: Add entries for netgroup cache.
8900 * nscd/nscd.h (dbtype): Add netgrdb.
8901 (_PATH_NSCD_NETGROUP_DB): Define.
8902 (netgroup_iov_disabled): Declare.
8903 (xmalloc, xcalloc, xrealloc): Move declarations here.
8904 (cache_search): Adjust prototype.
8905 Add netgroup-related prototypes.
8906 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8907 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8908 (__nscd_innetgr): Declare.
8909 * nscd/selinux.c (perms): Use access_vector_t as element type and
8910 add netgroup-related initializers.
8911 * nscd/netgroupcache.c: New file.
8912 * nscd/nscd_netgroup.c: New file.
8913 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8914 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8915 For four parameters use innetgr.
8916 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8917 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8918 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8919 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8921 * nscd/connections.c (register_traced_file): Don't register file
8922 for disabled databases.
8924 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8926 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8928 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8929 from tree and freeing node.
8931 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8933 * nss/nsswitch.c (__nss_database_lookup): Handle
8934 nss_parse_service_list out of memory case.
8936 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8938 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8941 2011-10-04 Andreas Schwab <schwab@redhat.com>
8943 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8944 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8946 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8947 elf_machine_rela, elf_machine_lazy_rel.
8948 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8949 (ELF_DYNAMIC_DO_REL): Likewise.
8950 (ELF_DYNAMIC_DO_RELA): Likewise.
8951 (ELF_DYNAMIC_RELOCATE): Likewise.
8952 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8953 to ELF_DYNAMIC_DO_REL.
8954 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8955 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8956 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8958 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8959 skip_ifunc, don't call ifunc function if non-zero.
8960 (elf_machine_rela): Likewise.
8961 (elf_machine_lazy_rel): Likewise.
8962 (elf_machine_lazy_rela): Likewise.
8963 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8964 (elf_machine_lazy_rel): Likewise.
8965 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8967 (elf_machine_lazy_rel): Likewise.
8968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8970 (elf_machine_lazy_rel): Likewise.
8971 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8972 (elf_machine_lazy_rel): Likewise.
8973 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8974 (elf_machine_lazy_rel): Likewise.
8975 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8976 (elf_machine_lazy_rel): Likewise.
8977 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8978 (elf_machine_lazy_rel): Likewise.
8979 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8980 (elf_machine_lazy_rel): Likewise.
8981 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8982 (elf_machine_lazy_rel): Likewise.
8984 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8986 * nss/nss_files/files-init.c (_nss_files_init): Use static
8987 initialization for all the *_traced_file variables.
8989 2011-09-28 Andreas Schwab <schwab@redhat.com>
8991 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8993 2011-09-27 Roland McGrath <roland@hack.frob.com>
8996 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8998 2011-09-27 Andreas Schwab <schwab@redhat.com>
9000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9001 Reread the line before reparsing it.
9003 2011-09-26 Andreas Schwab <schwab@redhat.com>
9005 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9007 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9008 Maxim Kuvyrkov <maxim@codesourcery.com>
9009 Joseph Myers <joseph@codesourcery.com>
9011 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9012 if needed for __stack_chk_guard.
9014 2011-09-19 Roland McGrath <roland@hack.frob.com>
9016 * sysdeps/posix/spawni.c (script_execute): Always define it.
9017 It will be optimized away if unused.
9018 (maybe_script_execute): New function.
9019 (__spawni): Call it.
9021 * Makerules: Don't include tls.make.
9022 (config-tls): Always set to thread.
9023 * tls.make.c: File removed.
9025 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9027 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9028 * config.make.in (CPPFLAGS-config): New substituted variable.
9030 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9032 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9035 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9036 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9038 2011-09-15 Roland McGrath <roland@hack.frob.com>
9040 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9041 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9043 (CALL_FAIL): Likewise.
9044 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9045 (CALL_FAIL): Macro removed.
9046 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9050 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9051 for __FINITE_MATH_ONLY__ == 1.
9053 2011-09-15 Andreas Schwab <schwab@redhat.com>
9055 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9056 __ieee754_sqrt instead of sqrt.
9057 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9058 __ieee754_sqrtf instead of sqrtf.
9059 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9060 __floorf instead of floorf.
9061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9062 __floorf, __truncf instead of floorf, truncf.
9064 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9066 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9068 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9069 __extern_always_inline.
9070 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9073 2011-09-14 Andreas Schwab <schwab@redhat.com>
9075 * elf/rtld.c (dl_main): Also relocate in dependency order when
9076 doing symbol dependency testing.
9078 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9080 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9081 Always define `refsym'.
9083 2011-09-13 Andreas Schwab <schwab@redhat.com>
9085 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9086 (__FD_ELT): Renamed from __FDELT.
9087 * misc/bits/select2.h (__FD_ELT): Likewise.
9088 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9089 __FD_MASK instead of __FDELT, __FDMASK.
9090 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9092 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9095 * elf/Makefile (gen-ldd): Fix pattern.
9097 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9098 (init_tls): Likewise.
9100 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9104 2011-09-12 Andreas Schwab <schwab@redhat.com>
9106 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9107 `struct cmsghdr *' instead of `void *'.
9108 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9111 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9113 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9115 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9118 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9120 * configure.in: Remove --with-tls option.
9121 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9122 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9123 out in case it is missing.
9124 * sysdeps/ia64/elf/configure.in: Likewise.
9125 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9126 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9127 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9128 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9129 * sysdeps/sh/elf/configure.in: Likewise.
9130 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9131 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9132 * sysdeps/x86_64/elf/configure.in: Likewise.
9133 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9134 * sysdeps/mach/hurd/tls.h: Likewise.
9137 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9140 * configure.in: Fix use of AC_INIT.
9142 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9144 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9146 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9148 * malloc/hooks.c: Likewise.
9151 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9152 variables statically.
9153 (narenas): Initialize.
9154 (list_lock): Initialize.
9155 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9156 initializtion of main_arena and list_lock. Small cleanups.
9157 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9158 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9159 Add initializers to main_arena and mp_.
9160 (malloc_state): Remove pagesize member. Change all users to use
9163 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9164 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9165 is always initialized.
9167 * malloc/malloc.c: Removed unused configurations and dead code.
9168 * malloc/arena.c: Likewise.
9169 * malloc/hooks.c: Likewise.
9170 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9172 * include/tls.h: Removed. USE___THREAD must always be defined.
9173 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9174 * elf/dl-libc.c: Likewise.
9175 * elf/dl-tsd.c: Likewise.
9176 * include/errno.h: Likewise.
9177 * include/netdb.h: Likewise.
9178 * include/resolv.h: Likewise.
9179 * inet/herrno-loc.c: Likewise.
9180 * inet/herrno.c: Likewise.
9181 * malloc/arena.c: Likewise.
9182 * malloc/hooks.c: Likewise.
9183 * malloc/malloc.c: Likewise.
9184 * resolv/res-state.c: Likewise.
9185 * resolv/res_libc.c: Likewise.
9186 * sysdeps/i386/dl-machine.h: Likewise.
9187 * sysdeps/ia64/dl-machine.h: Likewise.
9188 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9189 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9191 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9192 * sysdeps/sh/dl-machine.h: Likewise.
9193 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9194 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9195 * sysdeps/unix/i386/sysdep.S: Likewise.
9196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9197 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9206 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9207 * sysdeps/x86_64/dl-machine.h: Likewise.
9208 * tls.make.c: Likewise.
9210 * configure.in: Remove --with-__thread option. Make tests for
9211 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9212 tls_model attribute fail if no support is available. Remove
9214 * Makeconfig: Adjust for dropped configure option. All features are
9216 * Makerules: Likewise.
9217 * Versions.def: Likewise.
9218 * argp/argp-fmtstream.c: Likewise.
9219 * argp/argp-fmtstream.h: Likewise.
9220 * argp/argp-help.c: Likewise.
9221 * assert/assert.c: Likewise.
9222 * config.h.in: Likewise.
9223 * config.make.in: Likewise.
9224 * configure: Likewise.
9225 * configure.in: Likewise.
9226 * csu/Versions: Likewise.
9227 * csu/init.c: Likewise.
9228 * elf/tst-audit2.c: Likewise.
9229 * elf/tst-tls10.c: Likewise.
9230 * elf/tst-tls10.h: Likewise.
9231 * elf/tst-tls11.c: Likewise.
9232 * elf/tst-tls12.c: Likewise.
9233 * elf/tst-tls14.c: Likewise.
9234 * elf/tst-tlsmod11.c: Likewise.
9235 * elf/tst-tlsmod12.c: Likewise.
9236 * elf/tst-tlsmod13.c: Likewise.
9237 * elf/tst-tlsmod13a.c: Likewise.
9238 * elf/tst-tlsmod14a.c: Likewise.
9239 * elf/tst-tlsmod15b.c: Likewise.
9240 * elf/tst-tlsmod16a.c: Likewise.
9241 * elf/tst-tlsmod16b.c: Likewise.
9242 * elf/tst-tlsmod7.c: Likewise.
9243 * elf/tst-tlsmod8.c: Likewise.
9244 * elf/tst-tlsmod9.c: Likewise.
9245 * gmon/gmon.c: Likewise.
9246 * grp/fgetgrent_r.c: Likewise.
9247 * grp/putgrent.c: Likewise.
9248 * hurd/fopenport.c: Likewise.
9249 * include/libc-symbols.h: Likewise.
9250 * include/tls.h: Likewise.
9251 * intl/gettextP.h: Likewise.
9252 * intl/loadinfo.h: Likewise.
9253 * locale/global-locale.c: Likewise.
9254 * locale/localeinfo.h: Likewise.
9255 * mach/devstream.c: Likewise.
9256 * malloc/arena.c: Likewise.
9257 * malloc/set-freeres.c: Likewise.
9258 * misc/err.c: Likewise.
9259 * misc/getttyent.c: Likewise.
9260 * misc/mntent_r.c: Likewise.
9261 * posix/getopt.c: Likewise.
9262 * posix/wordexp.c: Likewise.
9263 * pwd/fgetpwent_r.c: Likewise.
9264 * resolv/Versions: Likewise.
9265 * resolv/res_hconf.c: Likewise.
9266 * shadow/fgetspent_r.c: Likewise.
9267 * shadow/putspent.c: Likewise.
9268 * stdio-common/printf_fphex.c: Likewise.
9269 * stdio-common/tmpfile.c: Likewise.
9270 * stdlib/abort.c: Likewise.
9271 * stdlib/fmtmsg.c: Likewise.
9272 * sunrpc/auth_unix.c: Likewise.
9273 * sunrpc/clnt_perr.c: Likewise.
9274 * sunrpc/clnt_tcp.c: Likewise.
9275 * sunrpc/clnt_udp.c: Likewise.
9276 * sunrpc/clnt_unix.c: Likewise.
9277 * sunrpc/openchild.c: Likewise.
9278 * sunrpc/svc_simple.c: Likewise.
9279 * sunrpc/svc_tcp.c: Likewise.
9280 * sunrpc/svc_udp.c: Likewise.
9281 * sunrpc/svc_unix.c: Likewise.
9282 * sunrpc/xdr.c: Likewise.
9283 * sunrpc/xdr_array.c: Likewise.
9284 * sunrpc/xdr_rec.c: Likewise.
9285 * sunrpc/xdr_ref.c: Likewise.
9286 * sunrpc/xdr_stdio.c: Likewise.
9288 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9290 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9292 2011-07-03 Andreas Jaeger <aj@suse.de>
9294 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9295 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9296 regenerate with gen-libm-tests.pl.
9298 2010-05-12 Petr Baudis <pasky@suse.cz>
9301 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9302 around j0() zero points by switching to j1().
9303 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9304 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9306 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9308 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9310 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9312 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9314 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9315 Patch in part by Pavel Roskin <proski@gnu.org>.
9318 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9320 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9321 Free memory block if necessary.
9324 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9325 be NULL. Don't lock in this case.
9327 2011-09-09 Roland McGrath <roland@hack.frob.com>
9329 * elf/elf.h (ELFOSABI_GNU): New macro.
9330 (ELFOSABI_LINUX): Define to that.
9332 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9334 * string/strncat.c (strncat): Undef the symbol in case it has been
9335 defined in bits/string.h.
9337 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9339 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9341 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9344 2011-08-17 Andreas Jaeger <aj@suse.de>
9346 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9348 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9349 Ian Lance Taylor <iant@google.com>
9351 * math/libm-test.inc (lround_test): New testcase.
9352 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9354 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9356 * Makefile: Remove support for automatic cvs check-ins.
9357 * Makerules: Likewise.
9358 * config.make.in: Likewise.
9359 * configure.in: Likewise.
9360 * intl/Makefile: Likewise.
9361 * locale/Makefile: Likewise.
9362 * po/Makefile: Likewise.
9363 * posix/Makefile: Likewise.
9364 * sysdeps/gnu/Makefile: Likewise.
9365 * sysdeps/mach/hurd/Makefile: Likewise.
9366 * sysdeps/sparc/sparc32/Makefile: Likewise.
9369 * posix/Makefile (bug-regex32-ENV): Define.
9370 Patch by John Stanley <jpsinthemix@verizon.net>.
9372 * misc/Makefile (headers): Add bits/select2.h.
9373 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9374 * misc/bits/select2.h: New file.
9375 * include/bits/select2.h: New file.
9376 * debug/Makefile (routines): Add fdelt_chk.
9377 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9378 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9380 * debug/fdelt_chk.c: New file.
9382 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9383 * wcsmbs/test-wmemcmp.c: Likewise.
9384 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9385 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9387 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9389 * string/Makefile (strop-tests): Add memcmp.
9390 * string/test-wmemcmp.c: New file.
9391 * string/test-memcmp.c: Add wmemcmp support.
9393 2011-09-08 Roland McGrath <roland@hack.frob.com>
9396 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9399 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9400 garbage value in a __mach_port_mod_refs call in the cases of the
9401 task-self and thread-self ports.
9403 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9405 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9407 2011-09-08 Andreas Schwab <schwab@redhat.com>
9409 * elf/dl-load.c (lose): Check for non-null L.
9411 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9413 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9415 * elf/dl-libc.c (dlerror_run): Pass back error code from
9419 * elf/dl-load.c (lose): Free l_origin if it is valid.
9421 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9423 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9428 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9430 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9432 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9433 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9434 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9435 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9436 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9437 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9438 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9439 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9440 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9441 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9443 2011-08-15 Alan Modra <amodra@gmail.com>
9446 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9447 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9448 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9449 ppc_mcount to static-only-routines.
9450 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9452 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9453 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9455 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9457 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9458 for finite and infinity parameters.
9460 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9462 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9463 and add nop instructions for throughput optimization.
9464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9466 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9468 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9469 aligned copy for power7 with vector-scalar instructions.
9470 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9472 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9474 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9477 2011-09-07 Andreas Schwab <schwab@redhat.com>
9480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9483 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9486 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9487 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9488 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9491 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9493 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9494 Forgot to demangle the pointer.
9496 * sysdeps/i386/sysdep.h: Define atom_text_section.
9497 * sysdeps/x86_64/sysdep.h: Likewise.
9498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9499 section with atom_text_section.
9500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9503 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9504 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9508 already be defined. Change to take two parameters and don't assign
9509 result to variable. Adjust all users.
9510 Define INTERNAL_GETTIME if not already defined.
9511 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9514 HAVE_CLOCK_GETTIME_VSYSCALL.
9515 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9518 gettimeofday vsyscall, just use time.
9520 2011-09-06 Andreas Schwab <schwab@redhat.com>
9522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9525 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9527 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9529 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9531 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9533 syscall if possible.
9535 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9537 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9538 e_ident. Don't pass to find_mapsXX.
9539 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9541 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9544 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9545 * sysdeps/x86_64/multiarch/strchr.S: Update.
9546 Check bit_slow_BSF bit.
9547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9548 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9551 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9554 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9557 (__spawni): Change last parameter to be flag. Test
9558 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9559 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9560 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9561 * posix/spawni.c: Likewise.
9562 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9563 * posix/spawnp.c: Likewise. Change normal version to use
9564 SPAWN_XFLAGS_USE_PATH.
9565 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9566 SPAWN_XFLAGS_TRY_SHELL.
9569 * posix/glob.h: Remove gcc 1.x support.
9572 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9574 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9577 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9579 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9580 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9581 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9583 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9586 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9588 * sysdeps/x86_64/wcscmp.S: New file.
9590 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9591 wcscmp-c wcscmp-sse2
9592 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9593 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9595 * wcsmbs/wcscmp.c: Allow renaming.
9597 2011-09-05 David S. Miller <davem@davemloft.net>
9599 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9600 stack slot, rather than the struct return pointer slot.
9601 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9602 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9604 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9606 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9608 * po/ja.po: Update from translation team.
9611 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9612 kernel in 64-bit binaries.
9614 2011-09-01 David S. Miller <davem@davemloft.net>
9616 * elf/elf.h (HWCAP_SPARC_*): Move to..
9617 * sysdeps/sparc/sysdep.h: this new file and add new values.
9618 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9619 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9620 _DL_HWCAP_COUNT to 24.
9621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9623 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9624 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9625 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9626 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9627 instead of magic constants.
9628 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9630 2011-08-31 David S. Miller <davem@davemloft.net>
9632 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9634 Reimplement to do errno handling inline.
9635 (SYSCALL_ERROR_HANDLER): New macro.
9636 (__SYSCALL_STRING): Do not do errno handling in asm.
9637 (__CLONE_SYSCALL_STRING): Delete.
9638 (__INTERNAL_SYSCALL_STRING): Delete.
9639 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9640 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9641 (PSEUDO): Reimplement to do errno handling inline.
9642 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9643 (SYSCALL_ERROR_HANDLER): New macro.
9644 (__SYSCALL_STRING): Do not do errno handling in asm.
9645 (__CLONE_SYSCALL_STRING): Delete.
9646 (__INTERNAL_SYSCALL_STRING): Delete.
9647 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9648 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9650 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9651 (inline_syscall*): Add 'err' argument.
9652 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9653 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9654 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9655 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9657 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9658 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9660 2011-08-30 Andreas Schwab <schwab@redhat.com>
9662 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9664 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9666 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9669 2011-08-24 David S. Miller <davem@davemloft.net>
9671 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9673 2011-08-24 Andreas Schwab <schwab@redhat.com>
9675 * elf/Makefile: Add rules to build and run unload8 test.
9676 * elf/unload8.c: New file.
9677 * elf/unload8mod1.c: New file.
9678 * elf/unload8mod1x.c: New file.
9679 * elf/unload8mod2.c: New file.
9680 * elf/unload8mod3.c: New file.
9682 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9685 2011-08-23 David S. Miller <davem@davemloft.net>
9687 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9688 subtract stack bias.
9689 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9690 %sp not %fp in calculations.
9691 (_JMPBUF_UNWINDS_ADJ): Likewise.
9693 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9694 (aio_suspend): Call it to force an exception region around the
9695 AIO_MISC_WAIT() invocation.
9697 2011-08-23 Andreas Schwab <schwab@redhat.com>
9699 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9702 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9704 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9706 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9708 (Elf64_FuncDesc): Remove.
9710 2011-08-22 David S. Miller <davem@davemloft.net>
9712 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9713 sigaltstack check, add missing cfi directives.
9714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9715 missing cfi directives, and sigaltstack handling.
9717 2011-08-16 Andreas Schwab <schwab@redhat.com>
9720 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9721 object is seen twice.
9722 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9724 * elf/Makefile (distribute): Add tst-initorder2.c.
9725 (tests): Add tst-initorder2.
9726 (modules-names): Add tst-initorder2a tst-initorder2b
9727 tst-initorder2c tst-initorder2d. Add rules to build them.
9728 ($(objpfx)tst-initorder2.out): New rule.
9729 * elf/tst-initorder2.c: New file.
9730 * elf/tst-initorder2.exp: New file.
9732 2011-08-22 Andreas Schwab <schwab@redhat.com>
9734 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9736 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9737 dependencies back to end of function.
9739 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9742 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9745 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9747 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9748 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9749 of __vdso_gettimeofday.
9750 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9751 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9753 (_libc_vdso_platform_setup): Remove initialization of
9754 __vdso_gettimeofday and __vdso_time.
9756 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9758 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9760 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9763 * elf/dl-open.c (add_to_global): Report additions to the global scope
9764 for LD_DEBUG=scopes.
9765 (dl_open_worker): Also print scope of newly loaded dependencies.
9766 (_dl_show_scope): Indicate if there is no scope.
9769 * stdio-common/Makefile (tests): Add bug24.
9770 * stdio-common/bug24.c: New file.
9772 2011-08-19 Andreas Jaeger <aj@suse.de>
9775 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9776 non-existant file when using close-on-exec mode.
9778 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9781 the very first instruction.
9783 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9784 the CFI state in the end.
9785 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9786 inclusion of dl-trampoline.h.
9787 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9789 2011-08-19 Andreas Schwab <schwab@redhat.com>
9791 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9792 expectations for long double.
9794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9795 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9797 2011-08-14 David S. Miller <davem@davemloft.net>
9799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9800 artificual limit depends upon the system page size.
9802 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9804 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9805 * resolv/Makefile: Define CFLAGS-libresolv.
9807 2011-08-17 Andreas Schwab <schwab@redhat.com>
9809 * nss/makedb.c (compute_tables): Make variables used in nested
9812 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9814 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9815 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9816 if buffer was too small.
9818 * elf/pldd.c (main): Attach to all threads in the process.
9819 Rewrite /proc handling to use *at functions.
9821 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9823 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9824 specifies first scope to show.
9825 (dl_open_worker): Update callers. Move printing scope of new
9826 object to before the relocation.
9827 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9828 * sysdeps/generic/ldsodefs.h: Update declaration.
9830 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9831 string for the scope number.
9833 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9835 * nscd/servicescache.c (cache_addserv): Make sure written is always
9838 2011-08-14 Roland McGrath <roland@hack.frob.com>
9840 * sysdeps/i386/i486/bits/atomic.h
9841 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9842 statement expression, so as to suppress "set but not used" warning.
9843 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9845 * string/strncat.c (STRNCAT): Use prototype definition.
9847 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9848 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9850 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9851 (localedef-modules): Add localedef.
9852 (locale-modules): Add locale.
9854 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9855 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9858 2011-08-14 David S. Miller <davem@davemloft.net>
9860 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9861 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9863 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9865 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9866 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9867 * elf/rtld.c (dl_main): Set l_name of vDSO.
9868 Call _dl_show_scope when DL_DEBUG_SCOPES.
9869 (process_dl_debug): Recognize scopes flag and also set it for all.
9870 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9871 Declare _dl_show_scope.
9873 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9874 (do_dlopen): Pass caller_dlopen to dl_open.
9875 (__libc_dlopen_mode): Initialize caller_dlopen.
9877 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9878 of libc. Make tolower call locale-independent. Optimize a bit by
9879 using isdigit instead of isalnum.
9880 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9882 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9884 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9885 was a dependency or dynamically loaded.
9887 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9889 * intl/l10nflist.c: Allow architecture-specific pop function.
9890 * sysdeps/x86_64/l10nflist.c: New file.
9892 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9895 2011-08-10 Andreas Schwab <schwab@redhat.com>
9897 * include/dirent.h: Add libc_hidden_proto for scandirat and
9898 scandirat64. Don't declare __scandirat64.
9899 * dirent/scandirat.c: Add libc_hidden_def.
9900 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9901 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9903 2011-08-10 David S. Miller <davem@davemloft.net>
9905 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9907 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9908 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9909 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9911 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9913 * Versions.def [libc]: Add GLIBC_2.15.
9914 * dirent/Makefile (routines): Add scandirat and scandirat64.
9915 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9917 * dirent/dirent.h: Declare scandirat and scandirat64.
9918 * dirent/scandirat.c: New file.
9919 * dirent/scandirat64.c: New file.
9920 * sysdeps/wordsize-64/scandirat.c: New file.
9921 * sysdeps/wordsize-64/scandirat64.c: New file.
9922 * dirent/opendir.c: Define opendirat.
9923 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9925 * dirent/scandir64.c: Adjust for scandir.c change.
9926 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9927 __scandirat64, and __scandir_cancel_handler.
9928 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9929 additional parameter and use openat instead of open (outside of ld.so).
9930 Add new __opendir as wrapper around __opendirat.
9931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9932 here without requiring old scandirat implementation.
9934 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9936 * dirent/scandir.c (cancel_handler): Renamed to
9937 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9938 defined. Adjust users.
9939 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9942 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9944 * string/test-string.h (IMPL): Use __STRING to expand name and then
9947 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9950 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9952 * string/Makefile: Update.
9953 (strop-tests): Append strncat.
9954 * string/test-wcscmp.c: New file.
9955 New comprehensive test for wcscmp.
9956 * string/test-strcmp.c: Update.
9959 2011-07-22 Andreas Schwab <schwab@redhat.com>
9961 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9964 2011-07-26 Andreas Schwab <schwab@redhat.com>
9966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9967 encoding to ACE if AI_IDN.
9969 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9972 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9974 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9977 Fix overflow bug in strncat.
9978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9980 * string/test-strncat.c: Update.
9981 Add new tests for checking overflow bugs.
9983 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9986 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9987 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9988 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9989 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9990 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9991 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9992 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9993 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9996 (USE_AS_STRCAT): Define.
9997 Add strcat and strncat support.
9998 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10000 2011-07-25 Andreas Schwab <schwab@redhat.com>
10002 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10003 __n bigger than INT_MAX+1.
10004 (__strncmp_g): Likewise.
10006 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10008 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10009 * libio/stido.h: Likewise.
10011 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10016 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10017 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10018 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10019 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10023 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10028 (_dl_x86_64_save_sse): Likewise.
10030 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10032 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10034 (_dl_x86_64_save_sse): Likewise.
10036 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10038 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10040 2011-07-21 Andreas Schwab <schwab@redhat.com>
10042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10044 (_dl_x86_64_save_sse): Use correct AVX check.
10046 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10048 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10049 bug in strncpy/strncat.
10050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10052 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10054 * string/tester.c (test_strcat): Add tests for different alignments
10055 of source and destination.
10056 (test_strncat): Likewise.
10058 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10061 * posix/glob.c (glob): Check passed in values before using them in
10062 expressions to avoid some overflows.
10063 (glob_in_dir): Likewise.
10066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10067 check for AVX enablement so that we don't crash with old kernels and
10069 * elf/tst-audit4.c: Add same checks here.
10070 * elf/tst-audit6.c: Likewise.
10072 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10074 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10076 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10078 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10080 * po/cs.po: Update from translation team.
10081 * po/bg.po: Likewise.
10083 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10085 * misc/sys/cdefs.h: Add support for const attribute.
10086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10087 to gnu_dev_{major,minor,makedev} functions.
10089 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10091 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10093 2011-07-20 Andreas Schwab <schwab@redhat.com>
10095 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10098 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10101 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10102 register in order to avoid conflicts with the soft frame pointer
10103 being held in r11 when necessary.
10104 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10105 (INTERNAL_VSYSCALL_NCS): Likewise.
10107 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10109 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10110 * elf/dl-fini.c (_dl_fini): Adjust caller.
10111 * elf/dl-close.c (_dl_close_worker): Likewise.
10112 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10114 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10116 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10117 "aux_cache->nlibs < 0".
10119 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10120 in the reload-count case.
10122 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10125 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10126 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10127 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10128 * sysdeps/x86_64/multiarch/strcat.S: New file.
10129 * sysdeps/x86_64/multiarch/strncat.S: New file.
10130 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10131 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10132 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10133 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10135 (USE_AS_STRCAT): Define.
10136 Add strcat and strncat support.
10137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10139 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10140 * string/strncat.c: Update.
10141 (USE_AS_STRNCAT): Define.
10142 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10143 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10145 * sysdeps/x86_64/multiarch/init-arch.h
10146 (bit_Prefer_PMINUB_for_stringop): New.
10147 (index_Prefer_PMINUB_for_stringop): Likewise.
10148 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10149 bit_Prefer_PMINUB_for_stringop.
10151 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10153 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10155 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10156 of casting of buffer.
10157 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10158 buffer32 and buffer64.
10159 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10160 writes instead of casting of buffer.
10161 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10163 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10166 2011-07-19 Andreas Schwab <schwab@redhat.com>
10168 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10170 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10172 * nscd/nscd.c (termination_handler): Don't do anything for a database
10173 if it has not yet been initialized.
10175 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10177 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10179 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10181 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10183 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10185 * po/nl.po: Update from translation team.
10186 * po/sv.po: Likewise.
10188 2011-07-16 Roland McGrath <roland@hack.frob.com>
10190 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10191 now disallowed by GCC.
10193 * configure.in (use-default-link): Default to yes if a test -shared
10194 link meets our qualifications.
10195 * configure: Regenerated.
10197 * config.make.in (output-format): New variable.
10198 * configure.in: Check for ld --print-output-format support.
10199 * configure: Regenerated.
10200 * Makerules ($(common-objpfx)format.lds)
10201 [$(output-format) != unknown]: Just use $(output-format),
10202 instead of the linker-script munging.
10204 2011-07-14 Roland McGrath <roland@hack.frob.com>
10206 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10207 of $(common-objpfx)shlib.lds.
10208 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10210 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10211 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10213 * configure.in (-z relro check): Adjust test code to add a large
10214 writable data section after it.
10215 * configure: Regenerated.
10217 2011-07-11 Roland McGrath <roland@hack.frob.com>
10219 * configure.in (-z relro check): Fix test code to make the variable
10221 * configure: Regenerated.
10223 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10225 * nscd/nscd.h (struct traced_file): Define.
10226 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10227 elements. Add traced_files.
10228 (inotify_fd): Declare.
10229 (register_traced_file): Declare.
10230 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10231 (inotify_fd): Export.
10232 (resolv_conf_descr): Remove.
10233 (nscd_init): Move inotify descriptor creation to main.
10234 Don't register files for notification here.
10235 (register_traced_file): New function.
10236 (invalidate_cache): Don't use reset_res to determine whether to call
10237 res_init, go through the list of registered files.
10238 (main_loop_poll): The inotify descriptors are now stored in the
10239 structures for the traced files.
10240 (main_loop_epoll): Likewise
10241 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10242 to __nss_disable_nscd.
10243 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10244 for a database anymore. Check the records for all the registered
10246 * nss/Makefile (libnss_files-routines): Add files-init.
10247 (libnss_db-routines): Add db-init.
10248 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10249 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10250 * nss/nss_db/db-init.c: New file.
10251 * nss/nss_files/files-init.c: New file.
10252 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10253 __nss_lookup_function.
10254 (__nss_lookup_function): Call nss_load_library.
10255 (nss_load_all_libraries): New function.
10256 (__nss_disable_nscd): Take parameter with callback function for files
10257 to register. Set is_nscd. Load all the DSOs for the NSS modules
10258 used for the cached services.
10259 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10260 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10261 options for features to all the files in nscd.
10263 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10265 2011-07-10 Roland McGrath <roland@hack.frob.com>
10267 * csu/elf-init.c (__libc_csu_init): Comment typo.
10269 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10271 * po/pl.po: Update from translation team.
10272 * po/ja.po: Likewise.
10273 * po/ru.po: Likewise.
10274 * po/ko.po: Likewise.
10275 * po/fr.po: Likewise.
10277 2011-07-09 Roland McGrath <roland@hack.frob.com>
10279 * configure.in (.ctors/.dtors header and trailer check):
10280 Use an empirical test on a built program.
10281 * configure: Regenerated.
10283 * configure.in (-z relro check): Use an empirical test on a built DSO.
10284 Detect, but do not require, on ia64.
10285 * configure: Regenerated.
10287 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10288 Update tests that use readelf to use $READELF instead.
10289 * configure: Regenerated.
10291 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10293 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10294 if the result is not used.
10296 2011-07-05 Andreas Jaeger <aj@suse.de>
10299 * stdlib/tst-strtod.c: Add testcase.
10301 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10303 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10304 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10305 The latter has a higher limit. Take additional parameter to pass to
10307 (__pathconf): Pass file to __statfs_link_max.
10308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10310 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10314 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10315 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10317 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10318 (__statfs_filesize_max): Likewise.
10319 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10321 2011-07-05 Andreas Jaeger <aj@suse.de>
10323 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10325 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10327 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10329 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10332 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10334 * Makefile (strop-tests): Add strncat.
10335 * string/test-strncat.c: New file.
10337 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10339 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10341 2011-06-21 Andreas Jaeger <aj@suse.de>
10343 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10344 Copy rule from iconvdata/Makefile.
10346 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10349 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10350 but no long options are defined, just return 'W'.
10352 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10355 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10357 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10359 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10361 (innetgr): Likewise.
10363 2011-07-05 Roland McGrath <roland@hack.frob.com>
10365 * config.make.in (install_root): Default to $(DESTDIR).
10367 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10371 2011-07-02 Roland McGrath <roland@hack.frob.com>
10373 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10375 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10376 containing directory rather than embedding absolute directory names.
10378 * scripts/check-local-headers.sh: Rewritten using awk.
10379 Match by word, not by line. Print error messages for matches.
10380 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10382 * Makerules [shlib-lds-flags empty]:
10383 ($(common-objpfx)libc_pic.opts): New target.
10384 ($(common-objpfx)libc_pic.os.clean): New target.
10385 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10387 * config.make.in (OBJCOPY): New variable.
10388 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10389 * configure: Regenerated.
10391 * config.make.in (use-default-link): New variable.
10392 * configure.in (use_default_link): Grok --with-default-link to set it.
10393 * configure: Regenerated.
10394 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10395 (shlib-lds, shlib-lds-flags): Define to empty.
10397 * Makerules (shlib-lds): New variable.
10398 (shlib-lds-flags): New variable.
10399 (build-shlib, build-moduile, build-module-asneeded): Use it.
10400 ($(common-objpfx)libc.so): Use $(shlib-lds).
10401 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10404 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10405 DT_FLAGS/DT_FLAGS_1 with zero flags.
10407 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10408 linker script munging.
10410 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10412 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10414 * crypt/sha512.c (sha512_process_block): Perform total addition using
10415 128-bit if possible.
10416 (__sha512_finish_ctx): Likewise.
10417 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10419 * crypt/sha256.c (SWAP64): Define.
10420 (sha256_process_block): Perform total addition using 64-bit if
10422 (__sha256_finish_ctx): Likewise.
10424 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10426 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10428 * nscd/hstcache.c (cache_addhst): Likewise.
10429 * nscd/grpcache.c (cache_addgr): Likewise.
10430 * nscd/aicache.c (addhstaiX): Likewise
10431 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10433 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10435 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10437 * nscd/hstcache.c (cache_addhst): Likewise.
10438 * nscd/grpcache.c (cache_addgr): Likewise.
10439 * nscd/aicache.c (addhstaiX): Likewise
10441 2011-07-01 Andreas Schwab <schwab@redhat.com>
10443 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10444 domain only when needed.
10446 2011-06-30 Andreas Schwab <schwab@redhat.com>
10448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10449 is always restored.
10451 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10453 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10454 are re-adding the entry.
10455 * nscd/servicescache.c (cache_addserv): Likewise.
10457 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10459 * sysdeps/generic/dl-irel.h: fix protection against multiple
10461 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10463 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10466 * malloc/memusage.sh: Fix quoting in message.
10467 * debug/xtrace.sh: Likewise.
10469 * configure.in: Remove support for --experimental-malloc option, make
10471 * config.make.in: Likewise.
10472 * malloc/Makefile: Likewise.
10474 2011-06-27 Andreas Schwab <schwab@redhat.com>
10476 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10477 two-byte characters.
10479 2011-06-27 Roland McGrath <roland@hack.frob.com>
10481 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10482 AC_CACHE_CHECK invocation.
10483 * configure: Regenerated.
10485 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10487 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10490 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10491 bit from old_res_options.
10493 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10495 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10496 value type for setfct.
10498 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10501 __gettimeofday instead of gettimeofday.
10503 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10505 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10507 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10511 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10514 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10517 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10518 strcpy-sse2-unaligned strncpy-sse2-unaligned
10519 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10520 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10521 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10522 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10523 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10524 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10526 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10527 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10528 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10529 (STRCPY): Support SSE2 and SSSE3 versions.
10531 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10534 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10535 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10536 kernels which artificially limit size of requests.
10538 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10541 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10542 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10543 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10544 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10545 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10546 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10547 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10548 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10549 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10550 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10551 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10552 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10553 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10554 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10556 Enable unaligned load optimization for Intel Core i3, i5 and i7
10558 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10560 (index_Fast_Unaligned_Load): Define.
10561 (HAS_FAST_UNALIGNED_LOAD): Define.
10563 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10565 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10567 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10570 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10571 until it is clear that the information is realy needed.
10572 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10574 2011-06-22 Andreas Schwab <schwab@redhat.com>
10576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10578 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10581 /sys/devices/system/cpu/online if it is usable.
10583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10584 reading the information from the /proc filesystem to once a second.
10586 2011-06-21 Andreas Jaeger <aj@suse.de>
10588 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10589 NULL after inclusion of kernel headers.
10591 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10593 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10594 calls to internal_setent.
10597 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10598 addresses using gethostbyname4_r ignore IPv4 addresses.
10600 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10601 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10603 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10605 2011-06-20 David S. Miller <davem@davemloft.net>
10607 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10609 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10611 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10612 (elf_irel): Use it.
10613 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10614 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10615 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10616 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10617 * sysdeps/x86_64/dl-irel.h: Likewise.
10619 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10620 * elf/dl-sym.c: Likewise.
10622 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10624 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10625 need to dereference resplen2.
10627 2011-06-14 Andreas Schwab <schwab@redhat.com>
10629 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10631 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10633 * Makeconfig: Define vardbdir and inst_vardbdir.
10634 * nss/Makefile: Add rules to install db-Makefile.
10636 * nss/nss_db/db-XXX.c: Cleanup.
10638 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10639 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10641 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10642 * nss/makedb.c: Implement -g option to specify that value strings
10643 are generated and should not be added to table iterated over for
10645 * nss/nss_db/db-initgroups.c: New file.
10647 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10650 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10651 (internal_getgrouplist): Adjust to name change.
10652 Update use_initgroups_entry if this is not the first call.
10653 * nss/databases.def: Add initgroups entry.
10655 * nss/makedb.c (compute_tables): Check result of multiple hash table
10656 sizes to minimize maximum chain length.
10658 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10660 * Versions.def: Add entry for libnss_db.
10661 * shlib-versions: Likewise.
10662 * nss/Makefile: Add rules to build libnss_db.
10663 * nss/Versions: Add libnss_db information. Organize libnss_files
10665 * nss/db-Makefile: Add gshadow support. Change rules for the new
10666 makedb progra. Some minor improvements to generate smaller files.
10667 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10669 * nss/makedb.c: ...here.
10670 Improve database format to be smaller and require less memory at
10672 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10674 * nss/nss_db/db-netgrp.c: Likewise.
10675 * nss/nss_db/db-open.c: Likewise.
10676 * nss/nss_files/flies-XXX.x: Adjust comments.
10677 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10678 * nss/nss_files/files-grp.c: Likewise.
10679 * nss/nss_files/files-hosts.c: Likewise.
10680 * nss/nss_files/files-network.c: Likewise.
10681 * nss/nss_files/files-proto.c: Likewise.
10682 * nss/nss_files/files-pwd.c: Likewise.
10683 * nss/nss_files/files-rpc.c: Likewise.
10684 * nss/nss_files/files-service.c: Likewise.
10685 * nss/nss_files/files-sgrp.c: Likewise.
10686 * nss/nss_files/files-spwd.c: Likewise.
10687 * nss/nss_db/db-alias.c: Removed.
10688 * nss/nss_db/dummy-db.h: Removed.
10690 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10692 * nss/makedb.c: Rewritten to not use database library.
10693 * nss/Makefile: Update to build new makedb program.
10695 2011-06-14 Andreas Jaeger <aj@suse.de>
10697 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10698 memset declaration.
10700 2011-06-10 Andreas Schwab <schwab@redhat.com>
10702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10705 2011-06-10 Roland McGrath <roland@hack.frob.com>
10707 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10708 * elf/Makefile ($(objpfx)ld.so): Likewise.
10710 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10711 Don't list ld.so twice in dependencies.
10713 * posix/bug-regex31.c: Include <stdlib.h>.
10715 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10717 * nis/nss_compat/compat-spwd.c
10718 (getspent_next_nss_netgr): Remove unused variable.
10719 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10721 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10722 nonmembers" output to use the right array.
10724 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10726 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10728 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10729 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10730 * catgets/gencat.c (read_input_file): Likewise.
10731 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10733 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10734 variable definition inside #if's controlling its use.
10736 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10738 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10740 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10742 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10745 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10747 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10748 * configure: Regenerated.
10750 * Makerules: Revert last change.
10751 * elf/Makefile: Likewise.
10753 2011-06-09 Roland McGrath <roland@hack.frob.com>
10755 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10756 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10757 (reloc-link): Likewise.
10759 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10761 * elf/Makefile: Add rules to build pldd.
10762 * elf/pldd.c: New file.
10763 * elf/pldd-xx.c: New file.
10765 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10767 * version.h: Update for 2.15 development version.
10769 2011-06-07 David S. Miller <davem@davemloft.net>
10771 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10773 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10774 elf_machine_lazy_rel): Likewise.
10775 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10777 elf_machine_lazy_rel): Likewise.
10778 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10779 dl_hwcap via passed in argument.
10780 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10783 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10785 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10787 2011-06-06 Roland McGrath <roland@hack.frob.com>
10790 * manual/fdl-1.1.texi: New file, verbatim from:
10791 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10792 * manual/lgpl-2.1.texi: New file, verbatim from:
10793 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10794 * manual/Makefile (licenses): New variable, list those new file names.
10796 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10798 * manual/fdl.texi: File removed.
10799 * manual/lesser.texi: File removed.
10800 * manual/libc.texinfo (Copying, Documentation License):
10801 Use new @include file names, put @appendix directive before @include.
10803 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10806 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10807 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10808 (mq_open): Add __NTH.
10810 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10813 Assume Intel Core i3/i5/i7 processor if AVX is available.
10815 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10820 2011-05-31 Andreas Schwab <schwab@redhat.com>
10822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10823 memory. Use alloca_account. Fix memory leak when retrying.
10825 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10827 * version.h (RELEASE): Bump for 2.14 release.
10828 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10830 * config.make.in (RANLIB): Remove entry.
10832 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10834 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10835 (libc.pot): Work around missing support for .ksh extension in xgettext.
10838 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10839 if both request failed.
10840 (send_dg): In case of server errors clear resplen or *resplen2.
10843 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10844 when there are multiple maps.
10845 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10846 (_dl_fini): Remove test here.
10848 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10850 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10853 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10854 bit from old_res_options.
10855 (gaih_inet): Likewise.
10858 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10861 * resolv/res_init.c (res_setoptions): Make the code more compact.
10864 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10868 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10870 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10873 * malloc/malloc.h: Declare malloc hook variables as volatile.
10875 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10879 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10880 raise in the comment.
10881 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10883 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10885 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10888 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10889 grow the buffers more if it already has to be sufficient.
10890 (build_wcs_upper_buffer): Likewise.
10891 * posix/regexec.c (check_matching): Likewise.
10892 (clean_state_log_if_needed): Likewise.
10893 (extend_buffers): Don't enlarge buffers beyond size of the input
10895 Patches mostly by Emil Wojak <emil@wojak.eu>.
10896 * posix/bug-regex32.c: New file.
10897 * posix/Makefile (tests): Add bug-regex32.
10899 * locale/findlocale.c (_nl_find_locale): Return right away if
10900 _nl_explode_name failed.
10901 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10903 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10905 * debug/xtrace.sh: Unify messages.
10906 * malloc/memusage.sh: Likewise.
10909 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10910 time symbol from vDSO. Substitute with vsyscall if not available.
10911 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10914 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10915 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10917 Add sendmmsg and internal_sendmmsg.
10918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10919 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10920 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10922 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10923 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10924 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10926 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10929 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10930 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10936 * iconvdata/Makefile (tests): Add bug-iconv9.
10937 * iconvdata/bug-iconv9.c: New file.
10939 2011-05-27 Andreas Schwab <schwab@redhat.com>
10942 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10944 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10946 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10947 (struct user_regs_struct): Change intcs field back to cs.
10949 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10951 * po/ja.po: Update from translation team.
10953 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10956 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10957 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10959 2011-05-20 Andreas Schwab <schwab@redhat.com>
10961 * stdlib/longlong.h: Update from GCC.
10963 2011-05-23 Andreas Schwab <schwab@redhat.com>
10965 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10967 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10968 Add parameter name.
10969 (__sysconf): Pass it down.
10971 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10974 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10976 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10977 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10978 add in in __libc_use_alloca calls. Adjust callers.
10979 (glob): Use malloc in some situations.
10981 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10982 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10985 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10987 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10988 and CLOCK_BOOTTIME_ALARM.
10991 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10994 * string/_strerror.c (__strerror_r): Print negative errors as signed
10998 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10999 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11000 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11002 * configure.in: Fix typo in redirection and correct removal of test
11003 files in two cases.
11006 * locale/setlocale.c (new_composite_name): Fix test to check for
11007 identical name of all categories.
11010 * libio/filedoalloc.c (local_isatty): New function.
11011 (_IO_file_doallocate): Use local_isatty.
11012 * stdio-common/perror.c (perror): In case a new stream is used
11013 forward the stream error.
11014 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11017 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11022 * include/alloca.h (extend_alloca_account): Define.
11025 * posix/regex.h: Fix comments with documentation of user-accessible
11026 fields after compilation and describe correct free'ing of pattern
11027 after re_compile_pattern.
11028 Patch by Reuben Thomas <rrt@sc3d.org>.
11030 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11032 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11033 and -mno-altivec to prevent the compiler from using Altivec and/or
11034 VSX instructions when the corresponding registers are not available.
11036 2011-05-19 Andreas Schwab <schwab@redhat.com>
11038 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11040 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11042 * libio/freopen.c (freopen): Use __dup2, not dup2.
11043 * libio/freopen64.c (freopen64): Likewise.
11045 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11048 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11049 * math/Makefile (tests): Add test-powl.
11050 (CFLAGS-test-powl.c): Define.
11051 * math/test-powl.c: New file.
11053 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11055 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11057 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11060 * iconvdata/gb18030.c: Update to GB18020-2005.
11062 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11064 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11065 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11066 Patch by Aharon Robbins <arnold@skeeve.com>.
11069 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11073 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11074 through underflows.
11077 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11078 point to strings before performing equality test for error_one_per_line
11082 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11085 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11086 (struct user_fpregs_struct): Avoid __uint*_t types.
11089 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11090 symbol info. Use it instead of calling _dl_addr locally.
11091 (lock_and_info): New function.
11092 (tr_freehook): Call lock_and_info and pass symbol info as additional
11093 parameter to tr_where.
11094 (tr_mallochook): Likewise.
11095 (tr_reallochook): Likewise.
11096 (tr_memalignhook): Likewise.
11098 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11099 used and couldn't be at all thread-safe.
11101 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11103 * libio/freopen.c (freopen): Don't close old file descriptor
11104 before the new one is opened. Instead dup the new file descriptor
11105 to the old one after the new stream is created.
11106 * libio/freopen64.c (freopen64): Likewise.
11107 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11108 * libio/fileops.c (_IO_new_file_close_it): Handle new
11109 _IO_FLAGS2_NOCLOSE flag.
11110 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11111 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11112 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11113 _IO_FLAGS2_NOCLOSE flag.
11114 * include/unistd.h: Add hidden_proto for dup3.
11115 Define __have_dup3.
11116 * io/dup3.c: Define hidden symbol.
11117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11120 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11121 when an incomplete long option is used.
11122 * posix/tst-getopt_long1.c: New file.
11123 * posix/Makefile (tests): Add tst-getopt_long1.
11126 * scripts/config.guess: Update from autoconf-2.68.
11127 * scripts/config.sub: Likewise.
11130 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11132 (has_cpuclock): ...this. New function.
11133 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11134 macro here based on has_cpuclock code.
11137 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11138 First byte (not low byte) is now always NUL.
11139 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11142 Use non-cancelable interfaces.
11145 * locale/iso-639.def: Add entry for Sorani.
11148 * include/stdlib.h: Move include protection to the right place.
11149 Define abort_msg_s. Declare __abort_msg with it.
11150 * stdlib/abort.c (__abort_msg): Adjust type.
11151 * assert/assert.c (__assert_fail_base): New function. Majority
11152 of code from __assert_fail. Allocate memory for __abort_msg with
11154 (__assert_fail): Now call __assert_fail_base.
11155 * assert/assert-perr.c: Remove bulk of implementation. Use
11156 __assert_fail_base.
11157 * include/assert.hL Declare __assert_fail_base.
11158 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11160 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11162 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11166 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11167 until all modules are registered in the DTV.
11168 * elf/Makefile: Add rules to build and run tst-tls19.
11169 * elf/tst-tls19.c: New file.
11170 * elf/tst-tls19mod1.c: New file.
11171 * elf/tst-tls19mod2.c: New file.
11172 * elf/tst-tls19mod3.c: New file.
11173 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11176 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11180 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11181 two-byte sequence errors.
11182 * iconvdata/Makefile (tests): Add bug-iconv8.
11183 * iconvdata/bug-iconv8.c: New file.
11186 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11189 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11192 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11193 (dummy_getcfa): New function.
11194 (init): Get _Unwind_GetCFA address, use dummy if not found.
11195 (backtrace_helper): In recursion check, also check whether CFA changes.
11196 (__backtrace): Completely initialize arg.
11198 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11199 storing incomplete byte sequence in state object. Avoid testing for
11200 guaranteed too small input if we know there is enough data available.
11202 2011-05-11 Andreas Schwab <schwab@redhat.com>
11204 * Makeconfig (+link-pie): Indent.
11205 * Rules (binaries-pie): Define if $(have-fpie) and
11207 (binaries-shared): Also filter out $(binaries-pie).
11208 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11209 * nscd/Makefile (others-pie): Add nscd.
11210 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11211 ($(objpfx)nscd): Remove command override.
11212 * login/Makefile (others-pie): Add pt_chown.
11213 ($(objpfx)pt_chown): Remove command override.
11214 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11215 remove command overrides.
11217 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11219 * libio/tst_putwc.c: Fix error messages.
11222 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11223 currently writing and seek to current position when not.
11224 * libio/Makefile (tests): Add bug-fclose1.
11225 * libio/bug-fclose1.c: New file.
11227 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11230 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11231 don't set DF_1_NODELETE here.
11232 (do_lookup_x): When entering new entry test for copy relocation
11233 and if necessary set DF_1_NODELETE flag.
11234 * elf/tst-unique4.cc: New file.
11235 * elf/tst-unique4.h: New file.
11236 * elf/tst-unique4lib.cc: New file.
11237 * elf/Makefile: Add rules to build and run tst-unique4.
11238 Patch by Piotr Bury <pbury@goahead.com>.
11240 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11243 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11246 * misc/mntent_r.c (addmntent): Flush the stream after the output
11249 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11250 (is_trusted_path_normalize): Skip initial colon. Append slash
11251 to empty buffer. Duplicate is_trusted_path code but allow
11252 constructed patch to be prefix.
11253 (is_dst): Allow $ORIGIN followed by /.
11254 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11255 Correct testing of result of is_trusted_path_normalize
11256 (decompose_rpath): Fix warning.
11258 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11261 * grp/initgroups.c (internal_getgrouplist): When we found the service
11262 list through the initgroups entry in nsswitch.conf do not always
11263 continue on a successful lookup. Don't always use the
11264 __nss_group_database value if it is set.
11265 * nss/nsswitch.conf (initgroups): Change action for successful db
11266 lookup to continue for compatibility.
11268 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11271 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11273 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11275 * iconvdata/tst-tables.sh: Likewise.
11276 * iconvdata/cp770.c: New file.
11277 * iconvdata/cp771.c: New file.
11278 * iconvdata/cp772.c: New file.
11279 * iconvdata/cp773.c: New file.
11280 * iconvdata/cp774.c: New file.
11281 * iconvdata/testdata/CP770: New file.
11282 * iconvdata/testdata/CP770..UTF8: New file.
11283 * iconvdata/testdata/CP771: New file.
11284 * iconvdata/testdata/CP771..UTF8: New file.
11285 * iconvdata/testdata/CP772: New file.
11286 * iconvdata/testdata/CP772..UTF8: New file.
11287 * iconvdata/testdata/CP773: New file.
11288 * iconvdata/testdata/CP773..UTF8: New file.
11289 * iconvdata/testdata/CP774: New file.
11290 * iconvdata/testdata/CP774..UTF8: New file.
11292 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11294 * iconvdata/gen-8bit-gap.sh: Likewise.
11295 * iconvdata/gen-8bit.sh: Likewise.
11297 * locale/iso-639.def: Add ary entry.
11300 * locale/C-translit.h.in: Add U20A1 transliteration.
11303 * locale/iso-639.def: Add wae entry.
11304 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11307 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11311 * locale/C-translit.h.in: Add entry for U20B9.
11312 Patch by pravin.d.s@gmail.com.
11314 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11317 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11318 ENAMETOOLONG use generic getcwd.
11319 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11320 in rtld. Use *stat64.
11321 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11322 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11323 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11324 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11325 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11326 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11327 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11328 __fstatat64 macros.
11329 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11330 * dirent/rewinddir.c: Add libc_hidden_def.
11331 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11332 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11334 * include/dirent.h (__alloc_dir): Add flags parameter.
11335 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11336 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11338 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11339 from fdopendir if O_CLOEXEC is already set.
11341 2011-03-15 Alan Modra <amodra@gmail.com>
11343 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11344 l_tls_firstbyte_offset non-zero. Save padding offset in
11345 l_tls_firstbyte_offset for later use.
11346 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11347 freeing static tls block.
11349 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11351 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11352 where #ifdef was intended. The intent is to prevent ARG_MAX from
11353 being defined by the kernel headers.
11355 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11358 * resolv/resolv.h: Define RES_NOTLDQUERY.
11359 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11360 no-tld-query and set RES_NOTLDQUERY.
11361 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11362 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11363 modern BIND to search name as TLD unless forbidden.
11365 2011-05-07 Petr Baudis <pasky@suse.cz>
11366 Ulrich Drepper <drepper@gmail.com>
11369 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11370 (is_trusted_path): ...to here.
11371 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11372 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11373 using is_trusted_path_normalize() in setuid scripts.
11375 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11377 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11378 __BEGIN/__END_DECLS.
11380 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11383 NSS_STATUS_NOTFOUND if no record was found.
11385 2011-05-05 Andreas Schwab <schwab@redhat.com>
11387 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11388 (headers-not-in-tirpc): Remove rpc/netdb.h
11389 * resolv/netdb.h: Revert last change.
11391 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11393 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11394 circular dependency between libgcc.a and libc.a.
11396 2011-05-05 Andreas Schwab <schwab@redhat.com>
11398 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11399 * nis/Makefile: Don't install rpcsvc/*.
11400 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11401 instead of <rpc/types.h>.
11402 (MAXHOSTNAMELEN): Define.
11404 2011-05-03 Andreas Schwab <schwab@redhat.com>
11406 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11408 2011-04-28 Maciej Babinski <mbabinski@google.com>
11411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11412 gethostbyname4_r when IPv6 results are possible.
11414 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11417 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11418 _PC_PIPE_BUF handling.
11420 2011-04-30 Bruno Haible <bruno@clisp.org>
11423 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11424 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11426 * inet/getnameinfo.c (getnameinfo): Likewise.
11428 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11430 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11431 to groups setting in database lookup.
11432 * nss/nsswitch.conf: Add initgroups entry.
11434 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11437 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11439 Patch by Eric Blake <eblake@redhat.com>.
11441 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11443 * sunrpc/Makefile (need-export-routines): Add svc_run.
11444 (routines): Remove svc_run.
11445 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11446 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11447 * sunrpc/svc_run.c (svc_run): Likewise.
11448 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11450 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11452 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11453 problem in reallocation in last patch.
11455 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11457 * sunrpc/Makefile: Move inclusion of Rules.
11459 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11461 * nss/nss_files/files-initgroups.c: New file.
11462 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11463 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11464 _nss_files_initgroups_dyn.
11466 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11468 * elf/elf.h (R_ARM_IRELATIVE): Define.
11470 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11472 * po/ru.po: Update from translation team.
11474 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11476 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11479 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11483 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11484 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11486 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11488 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11490 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11493 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11496 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11499 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11501 * stdlib/bug-getcontext.c: New file.
11502 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11504 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11506 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11507 instructions into .machine "z9-109".
11508 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11509 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11511 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11513 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11514 between environment variables and auxiliary vector.
11516 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11518 * Makefile: Add rules to build linkobj/libc.so.
11519 * include/libc-symbols.h: Define libc_hidden_nolink.
11520 * include/rpc/auth.h: Mark functions which are to be hidden.
11521 * include/rpc/auth_des.h: Likewise.
11522 * include/rpc/auth_unix.h: Likewise.
11523 * include/rpc/clnt.h: Likewise.
11524 * include/rpc/des_crypt.h: Likewise.
11525 * include/rpc/key_prot.h: Likewise.
11526 * include/rpc/pmap_clnt.h: Likewise.
11527 * include/rpc/pmap_prot.h: Likewise.
11528 * include/rpc/pmap_rmt.h: Likewise.
11529 * include/rpc/rpc_msg.h: Likewise.
11530 * include/rpc/svc.h: Likewise.
11531 * include/rpc/svc_auth.h: Likewise.
11532 * include/rpc/xdr.h: Likewise.
11533 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11534 * nss/Makefile: Likewise.
11535 * sunrpc/Makefile: Don't install headers. Build library with normal
11536 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11537 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11538 for the compat linking library. Remove use of INTDEF/INTUSE.
11539 * sunrpc/auth_none.c: Likewise.
11540 * sunrpc/auth_unix.c: Likewise.
11541 * sunrpc/authdes_prot.c: Likewise.
11542 * sunrpc/authuxprot.c: Likewise.
11543 * sunrpc/clnt_gen.c: Likewise.
11544 * sunrpc/clnt_perr.c: Likewise.
11545 * sunrpc/clnt_raw.c: Likewise.
11546 * sunrpc/clnt_simp.c: Likewise.
11547 * sunrpc/clnt_tcp.c: Likewise.
11548 * sunrpc/clnt_udp.c: Likewise.
11549 * sunrpc/clnt_unix.c: Likewise.
11550 * sunrpc/des_crypt.c: Likewise.
11551 * sunrpc/des_soft.c: Likewise.
11552 * sunrpc/get_myaddr.c: Likewise.
11553 * sunrpc/key_call.c: Likewise.
11554 * sunrpc/key_prot.c: Likewise.
11555 * sunrpc/netname.c: Likewise.
11556 * sunrpc/pm_getmaps.c: Likewise.
11557 * sunrpc/pm_getport.c: Likewise.
11558 * sunrpc/pmap_clnt.c: Likewise.
11559 * sunrpc/pmap_prot.c: Likewise.
11560 * sunrpc/pmap_prot2.c: Likewise.
11561 * sunrpc/pmap_rmt.c: Likewise.
11562 * sunrpc/publickey.c: Likewise.
11563 * sunrpc/rpc_cmsg.c: Likewise.
11564 * sunrpc/rpc_common.c: Likewise.
11565 * sunrpc/rpc_dtable.c: Likewise.
11566 * sunrpc/rpc_prot.c: Likewise.
11567 * sunrpc/rpc_thread.c: Likewise.
11568 * sunrpc/rtime.c: Likewise.
11569 * sunrpc/svc.c: Likewise.
11570 * sunrpc/svc_auth.c: Likewise.
11571 * sunrpc/svc_authux.c: Likewise.
11572 * sunrpc/svc_raw.c: Likewise.
11573 * sunrpc/svc_run.c: Likewise.
11574 * sunrpc/svc_simple.c: Likewise.
11575 * sunrpc/svc_tcp.c: Likewise.
11576 * sunrpc/svc_udp.c: Likewise.
11577 * sunrpc/svc_unix.c: Likewise.
11578 * sunrpc/svcauth_des.c: Likewise.
11579 * sunrpc/xcrypt.c: Likewise.
11580 * sunrpc/xdr.c: Likewise.
11581 * sunrpc/xdr_array.c: Likewise.
11582 * sunrpc/xdr_float.c: Likewise.
11583 * sunrpc/xdr_intXX_t.c: Likewise.
11584 * sunrpc/xdr_mem.c: Likewise.
11585 * sunrpc/xdr_rec.c: Likewise.
11586 * sunrpc/xdr_ref.c: Likewise.
11587 * sunrpc/xdr_sizeof.c: Likewise.
11588 * sunrpc/xdr_stdio.c: Likewise.
11590 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11593 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11594 * sysdeps/ia64/dl-tls.h: Likewise.
11595 * sysdeps/powerpc/dl-tls.h: Likewise.
11596 * sysdeps/s390/dl-tls.h: Likewise.
11597 * sysdeps/sh/dl-tls.h: Likewise.
11598 * sysdeps/sparc/dl-tls.h: Likewise.
11599 * sysdeps/x86_64/dl-tls.h: Likewise.
11600 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11602 2011-03-14 Andreas Schwab <schwab@redhat.com>
11604 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11605 rpath element also skip the following colon.
11606 (expand_dynamic_string_token): Add is_path parameter and pass
11607 down to DL_DST_REQUIRED and _dl_dst_substitute.
11608 (decompose_rpath): Call expand_dynamic_string_token with
11609 non-zero is_path. Ignore empty rpaths.
11610 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11613 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11618 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11621 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11622 Patch by Filipe David Manana <fdmanana@apache.org>.
11624 2011-04-07 Andreas Schwab <schwab@redhat.com>
11626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11627 Maintain aligned stack.
11628 (CHECK_RSP): Remove unused macro.
11630 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11632 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11633 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11635 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11637 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11639 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11641 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11644 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11645 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11646 * sysdeps/x86_64/memmove.c: New file.
11647 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11648 (memcpy): Renamed to ...
11649 (__new_memcpy): This.
11650 (memcpy): Provide GLIBC_2_14 memcpy.
11651 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11652 (memcpy): Provide GLIBC_2_2_5 memcpy.
11654 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11657 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11659 2011-03-30 Andreas Schwab <schwab@redhat.com>
11661 * misc/syncfs.c: New file.
11662 * misc/Makefile (routines): Add syncfs.
11663 * posix/unistd.h: Declare syncfs.
11664 * sysdeps/unix/syscalls.list: Add syncfs.
11666 2011-04-01 Andreas Schwab <schwab@redhat.com>
11668 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11675 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11676 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11678 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11680 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11682 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11688 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11689 sync_file_range.c with -fexceptions.
11690 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11691 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11694 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11695 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11696 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11697 sync_file_range as cancellation point
11698 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11699 now a wrapper around __call_sync_file_range with cancellation handling.
11700 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11701 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11702 function name to __call_sync_file_range.
11703 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11704 Add call_sync_file_range.
11706 2011-04-01 Andreas Schwab <schwab@redhat.com>
11708 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11711 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11713 * iconv/iconv.h: Fix typo in comment.
11714 * io/fcntl.h: Likewise.
11715 * libio/stdio.h: Likewise.
11716 * posix/spawn.h: Likewise.
11717 * posix/unistd.h: Likewise.
11718 * stdlib/stdlib.h: Likewise.
11719 * time/time.h: Likewise.
11720 * wcsmbs/wchar.h: Likewise.
11722 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11723 open_by_handle): Add.
11724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11725 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11726 Augment a few comments.
11727 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11732 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11735 * io/fcntl.h (AT_EMPTY_PATH): Define.
11737 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11739 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11740 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11741 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11743 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11744 * Versions.def: Add GLIBC_2.14.
11745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11748 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11752 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11754 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11757 * string/test-strncmp.c (do_page_test): New function.
11758 (check2): Likewise.
11759 (test_main): Call check2.
11760 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11762 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11766 Handle cache information in CPU leaf 4.
11767 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11769 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11772 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11773 character representation.
11774 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11776 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11779 END(__isnan) to END(__isnanf) to match function entry point/label
11780 EALIGN(__isnanf,...).
11782 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11784 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11786 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11789 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11790 copy from the symbol referenced in the relocation to initialize the
11792 Patch by Piotr Bury <pbury@goahead.com>.
11793 * elf/Makefile: Add rules to build and tst-unique3.
11794 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11795 * elf/tst-unique3.cc: New file.
11796 * elf/tst-unique3.h: New file.
11797 * elf/tst-unique3lib.cc: New file.
11798 * elf/tst-unique3lib2.cc: New file.
11800 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11802 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11804 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11805 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11808 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11810 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11811 to-be-loaded object along a path to loader is ld.so.
11813 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11814 Ulrich Drepper <drepper@gmail.com>
11816 * sysdeps/x86_64/memset.S: After aligning destination, code
11817 branches to different locations depending on the value of
11818 misalignment, when multiarch is enabled. Fix this.
11820 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11822 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11823 Set _x86_64_preferred_memory_instruction for AMD processsors.
11824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11825 Set bit_Prefer_SSE_for_memop for AMD processors.
11827 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11829 * libio/fmemopen.c (fmemopen): Optimize a bit.
11831 2011-03-03 Andreas Schwab <schwab@redhat.com>
11833 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11835 2011-03-03 Roland McGrath <roland@redhat.com>
11837 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11839 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11841 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11842 __bzero_ultra1 instead of __memset_ultra1.
11844 2011-02-23 Andreas Schwab <schwab@redhat.com>
11845 Ulrich Drepper <drepper@gmail.com>
11848 * include/link.h (struct link_map): Add l_orig_initfini.
11849 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11850 returning unsuccessfully.
11851 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11852 close of a file loaded at startup, restore the original l_initfini
11854 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11855 list, store the pointer.
11856 * elf/Makefile ($(objpfx)noload-mem): New rule.
11857 (noload-ENV): Define.
11858 (tests): Add $(objpfx)noload-mem.
11859 * elf/noload.c: Include <memcheck.h>.
11860 (main): Call mtrace. Close all opened handles.
11862 2011-02-17 Andreas Schwab <schwab@redhat.com>
11865 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11866 dependencies are missing.
11868 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11870 Fix __if_freereq crash: Unlike the generic version which uses free,
11872 * sysdeps/mach/hurd/ifreq.h: New file.
11874 2011-01-27 Petr Baudis <pasky@suse.cz>
11875 Ulrich Drepper <drepper@gmail.com>
11878 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11879 to extend_alloca().
11880 * stdio-common/bug23.c: New file.
11881 * stdio-common/Makefile (tests): Add bug23.
11883 2010-09-28 Andreas Schwab <schwab@redhat.com>
11884 Ulrich Drepper <drepper@gmail.com>
11887 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11888 before performing relro protection. At old place add assertion
11889 to make sure nothing changed.
11891 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11892 Glauber de Oliveira Costa <glommer@gmail.com>
11894 * elf/elf.h: Add new ARM TLS relocs.
11896 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11899 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11901 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11903 * sysdeps/wordsize-64/tst-writev.c: New file.
11905 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11907 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11908 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11909 insns in _dl_start to prevent a TOC reference before relocs are
11912 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11915 * Makeconfig: Remove RANLIB definition.
11916 * Makerules: Don't use RANLIB.
11917 * aclocal.m4: Remove ranlib test.
11918 * configure.in: No need to check for ranlib.
11919 * elf/rtld-Rules: Don't use RANLIB.
11921 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11923 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11925 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11926 inclusion protection macro.
11928 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11929 SIGRTMIN and SIGRTMAX and print information in that case only when
11930 SIGRTMIN is defined.
11932 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11934 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11935 arginfo fn returning -1.
11937 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11938 and thousands string is zero terminated.
11940 2011-02-03 Andreas Schwab <schwab@redhat.com>
11942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11943 sysdeps/unix/sysv/linux/bits/socket.h.
11945 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11947 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11948 (__CPU_COUNT): Remove old macros.
11949 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11950 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11951 (__CPU_ALLOC, __CPU_FREE): Add macros.
11952 (__sched_cpualloc, __sched_cpufree): Add declarations.
11954 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11956 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11957 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11958 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11959 (readdhstai): Return value of addhstaiX call.
11960 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11961 (addgrbyX): Return value returned by cache_addgr.
11962 (readdgrbyname): Return value returned by addgrbyX.
11963 (readdgrbygid): Likewise.
11964 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11965 (addpwbyX): Return value returned by cache_addpw.
11966 (readdpwbyname): Return value returned by addhstbyX.
11967 (readdpwbyuid): Likewise.
11968 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11969 (addservbyX): Return value returned by cache_addserv.
11970 (readdservbyname): Return value returned by addservbyX:
11971 (readdservbyport): Likewise.
11972 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11973 (addhstbyX): Return value returned by cache_addhst.
11974 (readdhstbyname): Return value returned by addhstbyX.
11975 (readdhstbyaddr): Likewise.
11976 (readdhstbynamev6): Likewise.
11977 (readdhstbyaddrv6): Likewise.
11978 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11979 (readdinitgroups): Return value returned by addinitgroupsX.
11980 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11981 (prune_cache): Keep track of timeout value of re-added entries.
11982 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11983 * nscd/nscd.h: Adjust prototypes of readd* functions.
11985 2011-02-04 Roland McGrath <roland@redhat.com>
11987 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11988 (nis_stats): Likewise.
11989 * nis/nis_modify.c (nis_modify): Likewise.
11990 * nis/nis_remove.c (nis_remove): Likewise.
11991 * nis/nis_add.c (nis_add): Likewise.
11993 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11995 * posix/fnmatch_loop.c: Add some consts.
11997 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11999 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12002 * config.make.in (config-cflags-novzeroupper): Define.
12003 * configure.in: Substitute libc_cv_cc_novzeroupper.
12004 * elf/Makefile (AVX-CFLAGS): Define.
12005 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12006 (CFLAGS-tst-auditmod4a.c): Likewise.
12007 (CFLAGS-tst-auditmod4b.c): Likewise.
12008 (CFLAGS-tst-auditmod6b.c): Likewise.
12009 (CFLAGS-tst-auditmod6c.c): Likewise.
12010 (CFLAGS-tst-auditmod7b.c): Likewise.
12011 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12013 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12015 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12016 function to the callback.
12017 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12019 2011-02-02 Andreas Schwab <schwab@redhat.com>
12021 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12024 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12027 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12029 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12031 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12034 * elf/Makefile: Add rules to build and run new test.
12035 * elf/tst-initorder.c: New file.
12036 * elf/tst-initorder.exp: New file.
12037 * elf/tst-initordera1.c: New file.
12038 * elf/tst-initordera2.c: New file.
12039 * elf/tst-initordera3.c: New file.
12040 * elf/tst-initordera4.c: New file.
12041 * elf/tst-initorderb1.c: New file.
12042 * elf/tst-initorderb2.c: New file.
12043 * elf/tst-order-a1.c: New file.
12044 * elf/tst-order-a2.c: New file.
12045 * elf/tst-order-a3.c: New file.
12046 * elf/tst-order-a4.c: New file.
12047 * elf/tst-order-b1.c: New file.
12048 * elf/tst-order-b2.c: New file.
12049 * elf/tst-order-main.c: New file.
12050 New test case by George Gensure <werkt0@gmail.com>.
12052 2010-10-01 Andreas Schwab <schwab@redhat.com>
12054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12055 decoding ACE if AI_CANONIDN.
12057 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12059 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12061 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12063 * version.h (RELEASE): Bump for 2.13 release.
12064 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12066 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12070 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12073 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12075 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12077 * posix/getconf.c: Update copyright year.
12078 * catgets/gencat.c: Likewise.
12079 * csu/version.c: Likewise.
12080 * debug/catchsegv.sh: Likewise.
12081 * debug/xtrace.sh: Likewise.
12082 * elf/ldconfig.c: Likewise.
12083 * elf/ldd.bash.in: Likewise.
12084 * elf/sprof.c (print_version): Likewise.
12085 * iconv/iconv_prog.c: Likewise.
12086 * iconv/iconvconfig.c: Likewise.
12087 * locale/programs/locale.c: Likewise.
12088 * locale/programs/localedef.c: Likewise.
12089 * malloc/memusage.sh: Likewise.
12090 * malloc/mtrace.pl: Likewise.
12091 * nscd/nscd.c (print_version): Likewise.
12092 * nss/getent.c: Likewise.
12094 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12095 PF_CAIF, and PF_ALG.
12096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12098 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12100 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12101 (modules-names): Use them.
12102 (ifunc-test-modules, ifunc-pie-tests): Define.
12103 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12104 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12105 (test-extras): Likewise.
12106 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12107 $(compile-command.c).
12108 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12109 (all-built-dso): Define.
12110 (check-textrel.out, check-execstack.out): Depend on it.
12112 * configure.in: Don't override --enable-multi-arch.
12114 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12117 * nscd/hstcache.c (tryagain): Define.
12118 (cache_addhst): Return tryagain not notfound for temporary errors.
12119 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12122 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12125 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12126 to make the syscall.
12127 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12130 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12131 and fall back to matching as normal character if the string ends before
12132 the matching ']' is found. This is what POSIX requires.
12133 * posix/testfnm.c: Adjust test result.
12134 * posix/globtest.sh: Adjust test result. Add new test.
12135 * posix/tst-fnmatch.input: Likewise.
12136 * posix/tst-fnmatch2.c: Add new test.
12138 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12140 * elf/Makefile (check-execstack): Revert last change. Depend on
12142 (check-execstack.h): New target.
12143 (generated): Add check-execstack.h.
12144 * elf/check-execstack.c: Include "check-execstack.h".
12145 (main): Revert last change.
12146 (handle_file): Return zero if GNU_STACK is absent and
12147 DEFAULT_STACK_PERMS doesn't include PF_X.
12149 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12151 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12152 in child fails because the descriptor is already closed.
12153 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12154 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12155 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12158 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12162 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12163 temporary buffer used to handle multi lookups locally.
12164 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12166 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12168 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12171 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12173 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12174 alignment for SSE2.
12176 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12179 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12180 characters. When rounding increased number of integer digits recompute
12182 * stdio-common/tst-grouping.c: New file.
12183 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12185 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12187 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12188 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12190 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12192 * bits/select.h: Likewise.
12194 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12196 * po/ja.po: Update from translation team.
12198 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12201 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12202 implementation just like for lxstat, fxstatat, et al.
12204 2010-12-27 Jim Meyering <meyering@redhat.com>
12207 * posix/regexec.c (build_trtable): Return failure indication upon
12208 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12210 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12213 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12214 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12215 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12219 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12222 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12223 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12225 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12227 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12228 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12229 script has SORT_BY_INIT_PRIORITY.
12230 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12231 NO_CTORS_DTORS_SECTIONS is defined.
12232 * elf/soinit.c: Likewise.
12233 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12234 NO_CTORS_DTORS_SECTIONS is defined.
12235 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12236 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12237 * sysdeps/sh/init-first.c: Likewise.
12238 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12240 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12242 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12243 always use the slow path.
12245 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12247 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12248 similar rule which adds the sysdep directories to the header search in
12249 order to pick up the correct platform stackinfo.h.
12250 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12251 perform test if it is, otherwise return successfully without testing.
12252 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12253 DEFAULT_STACK_PERMS define in stackinfo.h.
12254 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12255 defined in stackinfo.h.
12256 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12257 DEFAULT_STACK_PERMS defined in stackinfo.h.
12258 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12259 * sysdeps/ia64/stackinfo.h: Likewise.
12260 * sysdeps/s390/stackinfo.h: Likewise.
12261 * sysdeps/sh/stackinfo.h: Likewise.
12262 * sysdeps/sparc/stackinfo.h: Likewise.
12263 * sysdeps/x86_64/stackinfo.h: Likewise.
12264 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12265 PF_X for powerpc64. Retain PF_X for powerpc32.
12267 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12269 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12271 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12272 GETDENTS_64BIT_ALIGNED.
12274 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12276 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12278 2010-12-10 Andreas Schwab <schwab@redhat.com>
12280 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12283 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12284 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12286 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12287 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12289 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12292 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12295 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12297 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12299 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12301 * po/it.po: Update from translation team.
12303 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12308 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12310 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12312 2010-11-24 Andreas Schwab <schwab@redhat.com>
12314 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12316 (gaih_getanswer_slice): Likewise.
12318 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12322 2010-05-31 Petr Baudis <pasky@suse.cz>
12325 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12326 silently even in the chroot mode.
12328 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12331 last patch a bit. Pretty printing
12333 2010-05-31 Petr Baudis <pasky@suse.cz>
12336 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12337 initialization of skip_initgroups_dyn.
12339 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12342 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12344 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12346 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12348 2010-11-11 Andreas Schwab <schwab@redhat.com>
12350 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12351 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12352 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12353 ($(objpfx)tst-fnmatch-mem): New rule.
12354 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12355 * posix/tst-fnmatch.c (main): Call mtrace.
12357 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12360 Support Intel processor model 6 and model 0x2c.
12362 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12367 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12370 * string/test-strncasecmp.c (check_result): New function.
12371 (do_one_test): Use it.
12372 (check1): New function.
12373 (test_main): Use it.
12374 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12375 Support strcasecmp and strncasecmp.
12377 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12380 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12381 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12383 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12385 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12389 * sysdeps/x86_64/multiarch/bzero.S: New file.
12390 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12391 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12392 * sysdeps/x86_64/multiarch/memset.S: New file.
12393 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12395 Set bit_Prefer_SSE_for_memop for Intel processors.
12396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12398 (index_Prefer_SSE_for_memop): Define.
12399 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12401 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12406 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12409 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12410 (__x86_64_raw_data_cache_size_half): Likewise.
12411 (__x86_64_raw_shared_cache_size): Likewise.
12412 (__x86_64_raw_shared_cache_size_half): Likewise.
12414 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12415 (__x86_64_raw_data_cache_size_half): Likewise.
12416 (__x86_64_raw_shared_cache_size): Likewise.
12417 (__x86_64_raw_shared_cache_size_half): Likewise.
12418 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12419 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12420 and __x86_64_raw_shared_cache_size_half. Round
12421 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12422 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12423 to multiple of 256 bytes.
12425 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12428 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12429 of inacessible symlinks. Verify result of symlink before returning it.
12430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12431 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12433 2010-10-28 Erich Ritz <erichritz@gmail.com>
12435 * math/math.h (isinf): Fix typo in comment.
12437 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12439 * po/da.po: Update from translation team.
12441 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12443 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12444 is added to the list.
12446 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12447 Ulrich Drepper <drepper@gmail.com>
12449 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12450 the global list here. Move code to...
12451 (_dl_add_to_namespace_list): ...here. New function.
12452 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12453 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12454 * elf/dl-load.c (lose): Don't remove the element from the list.
12455 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12456 (_dl_map_object): Likewise.
12458 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12461 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12462 into all bytes of SSE register.
12463 Patch by Richard Li <richardpku@gmail.com>.
12465 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12468 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12471 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12473 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12474 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12476 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12481 2010-10-22 Andreas Schwab <schwab@redhat.com>
12483 * include/dlfcn.h (__RTLD_SECURE): Define.
12484 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12485 mode & __RTLD_SECURE instead.
12486 (open_path): Rename preloaded parameter to secure.
12487 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12488 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12489 * elf/dl-deps.c (openaux): Likewise.
12490 * elf/rtld.c (struct map_args): Remove is_preloaded.
12491 (map_doit): Don't use it.
12492 (dl_main): Likewise.
12493 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12494 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12496 2010-09-09 Andreas Schwab <schwab@redhat.com>
12498 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12499 (sysd-rules-targets): Remove duplicates.
12500 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12501 rtld-%.$o dependency.
12503 2010-10-18 Andreas Schwab <schwab@redhat.com>
12505 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12506 _dl_map_object do it.
12508 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12510 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12511 fast fma builtins, define the macros in the C99 standard.
12512 (FP_FAST_FMAF): Likewise.
12513 (FP_FAST_FMAL): Likewise.
12514 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12516 * bits/mathdef.h: Update copyright year.
12517 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12519 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12521 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12522 builtins, define the macros in the C99 standard.
12523 (FP_FAST_FMAF): Likewise.
12524 (FP_FAST_FMAL): Likewise.
12525 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12527 (FP_FAST_FMAF): Likewise.
12529 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12532 * math/libm-test.inc (fma_test): Some new testcases.
12533 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12534 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12535 y and infinite z. Do multiplication by C already in long double.
12536 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12538 y and infinite z. Do bitwise or of inexact bit into u.d.
12539 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12540 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12541 * sysdeps/i386/fpu/s_fma.S: Removed.
12542 * sysdeps/i386/fpu/s_fmal.S: Removed.
12544 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12547 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12549 computation is not scheduled after fetestexcept. Fix value
12550 of minimum denormal long double.
12552 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12555 * math/libm-test.inc (fma_test): Add some more tests.
12556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12559 2010-10-15 Andreas Schwab <schwab@redhat.com>
12561 * scripts/data/localplt-s390-linux-gnu.data: New file.
12562 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12564 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12567 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12568 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12570 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12572 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12573 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12574 if one of x and y is very large and the other is subnormal.
12575 * sysdeps/s390/fpu/s_fmaf.c: New file.
12576 * sysdeps/s390/fpu/s_fma.c: New file.
12577 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12578 * sysdeps/powerpc/fpu/s_fma.S: New file.
12579 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12580 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12581 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12583 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12586 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12588 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12589 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12590 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12591 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12592 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12593 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12596 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12599 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12600 * posix/bug-regex31.input: Add test case.
12602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12604 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12605 * posix/bug-regex31.input: New file.
12608 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12609 (parse_sub_exp): Fix last change, use postorder.
12611 * posix/bug-regex31.c: New file.
12612 * posix/Makefile: Add rules to build and run bug-regex31.
12614 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12617 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12620 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12621 to have entries in sys_siglist.
12624 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12627 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12630 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12631 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12632 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12633 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12635 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12636 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12637 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12638 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12639 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12640 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12641 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12642 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12643 * math/ftestexcept.c (fetestexcept): Likewise.
12644 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12645 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12646 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12647 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12648 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12649 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12650 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12652 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12655 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12658 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12660 * string/bug-strstr1.c: New file.
12661 * string/Makefile: Add rules to build and run bug-strstr1.
12663 2010-10-05 Eric Blake <eblake@redhat.com>
12666 * string/str-two-way.h (two_way_long_needle): Always clear memory
12667 when skipping input due to the shift table.
12669 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12672 * malloc/mcheck.c: Handle large requests.
12675 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12676 for strncmp and strncasecmp.
12677 * string/stratcliff.c: Add tests for strcmp and strncmp.
12678 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12680 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12682 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12685 2010-09-30 Andreas Jaeger <aj@suse.de>
12687 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12688 (CGROUP_SUPER_MAGIC): Define.
12689 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12690 Handle btrfs and cgroup file systems.
12691 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12694 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12696 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12697 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12699 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12702 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12703 trying to locate the ELF header.
12705 2010-09-27 Andreas Schwab <schwab@redhat.com>
12708 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12709 Mask out sign-bit copies when constructing f_fsid.
12711 2010-09-24 Petr Baudis <pasky@suse.cz>
12713 * debug/stack_chk_fail_local.c: Add missing licence exception.
12714 * debug/warning-nop.c: Likewise.
12716 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12718 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12719 implementing getdents64 using getdents syscall, set d_type if
12720 __ASSUME_GETDENTS32_D_TYPE.
12722 2010-09-16 Andreas Schwab <schwab@redhat.com>
12724 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12725 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12727 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12730 * posix/unistd.h: Undo change of feature selection for ftruncate from
12733 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12735 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12738 2010-09-20 Andreas Schwab <schwab@redhat.com>
12740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12742 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12744 2010-09-14 Andreas Schwab <schwab@redhat.com>
12746 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12747 variables after CHECK_SP call.
12748 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12750 2010-09-13 Andreas Schwab <schwab@redhat.com>
12751 Ulrich Drepper <drepper@redhat.com>
12753 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12754 re-relocationg ld.so.
12755 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12756 _dl_init_paths call.
12757 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12760 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12762 * resolv/res_init.c (__res_vinit): Count the default server we added.
12764 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12765 Ulrich Drepper <drepper@redhat.com>
12768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12769 (____longjmp_chk): Use %ebx for saving value across system call.
12772 2010-09-06 Andreas Schwab <schwab@redhat.com>
12774 * manual/Makefile: Don't mix pattern rules with normal rules.
12776 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12778 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12780 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12781 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12782 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12783 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12784 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12787 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12790 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12791 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12793 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12795 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12796 * sysdeps/x86_64/addmul_1.S: Likewise.
12797 * sysdeps/x86_64/lshift.S: Likewise.
12798 * sysdeps/x86_64/mul_1.S: Likewise.
12799 * sysdeps/x86_64/rshift.S: Likewise.
12800 * sysdeps/x86_64/sub_n.S: Likewise.
12801 * sysdeps/x86_64/submul_1.S: Likewise.
12803 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12805 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12806 Define __sched_param instead of SCHED_* and sched_param when
12807 <bits/sched.h> is included with __need_schedparam defined.
12808 * bits/sched.h [__need_schedparam]
12809 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12810 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12811 (__defined_schedparam): Define to 1.
12812 (__sched_param): New structure, identical to sched_param.
12813 (__need_schedparam): Undefine.
12815 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12817 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12818 (epoll_create1): Declare.
12820 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12822 2010-08-31 Andreas Schwab <schwab@redhat.com>
12825 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12826 shifting retval into place.
12828 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12830 * nis/rpcsvc/nis.h: Update copyright notice.
12831 * nis/rpcsvc/nis.x: Likewise.
12832 * nis/rpcsvc/nis_callback.h: Likewise.
12833 * nis/rpcsvc/nis_callback.x: Likewise.
12834 * nis/rpcsvc/nis_object.x: Likewise.
12835 * nis/rpcsvc/nis_tags.h: Likewise.
12836 * nis/rpcsvc/yp.h: Likewise.
12837 * nis/rpcsvc/yp.x: Likewise.
12838 * nis/rpcsvc/ypupd.h: Likewise.
12839 * nis/yp_xdr.c: Likewise.
12840 * nis/ypupdate_xdr.c: Likewise.
12842 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12843 mainly the body of pmap_getport. Add parameters to specify timeouts.
12844 (pmap_getport): Use __libc_rpc_getport.
12845 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12846 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12847 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12849 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12854 2010-08-27 Roland McGrath <roland@redhat.com>
12856 * sysdeps/i386/i686/multiarch/Makefile
12857 (CFLAGS-varshift.c): New variable.
12859 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12861 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12862 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12864 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12866 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12868 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12870 * sysdeps/x86_64/strlen.S: Unroll the loop.
12871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12872 strlen-sse2 strlen-sse2-bsf.
12873 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12874 __strlen_no_bsf if bit_Slow_BSF is set.
12875 (__strlen_sse42): Removed.
12876 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12877 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12879 2010-08-25 Roland McGrath <roland@redhat.com>
12881 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12882 * sysdeps/x86_64/multiarch/varshift.c: New file.
12883 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12884 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12885 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12886 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12888 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12891 strlen-sse2 strlen-sse2-bsf.
12892 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12893 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12894 (__strlen_sse2): Removed.
12895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12896 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12898 bit_Slow_BSF for Atom.
12899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12900 (index_Slow_BSF): Define.
12901 (HAS_SLOW_BSF): Define.
12903 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12906 * resolv/res_init.c (__res_vinit): When no server address at all
12907 is given default to loopback.
12909 2010-08-24 Roland McGrath <roland@redhat.com>
12911 * configure.in: Remove config-name.h generation.
12912 * configure: Regenerated.
12913 * config-name.in: File removed.
12914 * scripts/config-uname.sh: New file.
12915 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12916 ($(objdir)config-name.h): New target.
12918 * sunrpc/rpc_parse.h: Avoid nested comment.
12920 2010-08-24 Richard Henderson <rth@redhat.com>
12921 Ulrich Drepper <drepper@redhat.com>
12922 H.J. Lu <hongjiu.lu@intel.com>
12924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12926 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12927 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12928 _mm_alignr_epi8 with _mm_loadu_si128.
12929 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12930 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12931 (__m128i_shift_right): Removed.
12932 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12933 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12934 * sysdeps/x86_64/multiarch/varshift.h: New file.
12935 * sysdeps/x86_64/multiarch/varshift.S: New file.
12937 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12939 * configure.in: Move assembler checks to before sysdep dir checking.
12941 2010-08-20 Petr Baudis <pasky@suse.cz>
12943 * LICENSES: Sync the sunrpc license.
12945 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12947 * sunrpc/auth_des.c: Update copyright notice once again.
12948 * sunrpc/auth_none.c: Likewise.
12949 * sunrpc/auth_unix.c: Likewise.
12950 * sunrpc/authdes_prot.c: Likewise.
12951 * sunrpc/authuxprot.c: Likewise.
12952 * sunrpc/bindrsvprt.c: Likewise.
12953 * sunrpc/clnt_gen.c: Likewise.
12954 * sunrpc/clnt_perr.c: Likewise.
12955 * sunrpc/clnt_raw.c: Likewise.
12956 * sunrpc/clnt_simp.c: Likewise.
12957 * sunrpc/clnt_tcp.c: Likewise.
12958 * sunrpc/clnt_udp.c: Likewise.
12959 * sunrpc/clnt_unix.c: Likewise.
12960 * sunrpc/des_crypt.c: Likewise.
12961 * sunrpc/des_soft.c: Likewise.
12962 * sunrpc/get_myaddr.c: Likewise.
12963 * sunrpc/getrpcport.c: Likewise.
12964 * sunrpc/key_call.c: Likewise.
12965 * sunrpc/key_prot.c: Likewise.
12966 * sunrpc/openchild.c: Likewise.
12967 * sunrpc/pm_getmaps.c: Likewise.
12968 * sunrpc/pm_getport.c: Likewise.
12969 * sunrpc/pmap_clnt.c: Likewise.
12970 * sunrpc/pmap_prot.c: Likewise.
12971 * sunrpc/pmap_prot2.c: Likewise.
12972 * sunrpc/pmap_rmt.c: Likewise.
12973 * sunrpc/rpc/auth.h: Likewise.
12974 * sunrpc/rpc/auth_unix.h: Likewise.
12975 * sunrpc/rpc/clnt.h: Likewise.
12976 * sunrpc/rpc/des_crypt.h: Likewise.
12977 * sunrpc/rpc/key_prot.h: Likewise.
12978 * sunrpc/rpc/netdb.h: Likewise.
12979 * sunrpc/rpc/pmap_clnt.h: Likewise.
12980 * sunrpc/rpc/pmap_prot.h: Likewise.
12981 * sunrpc/rpc/pmap_rmt.h: Likewise.
12982 * sunrpc/rpc/rpc.h: Likewise.
12983 * sunrpc/rpc/rpc_des.h: Likewise.
12984 * sunrpc/rpc/rpc_msg.h: Likewise.
12985 * sunrpc/rpc/svc.h: Likewise.
12986 * sunrpc/rpc/svc_auth.h: Likewise.
12987 * sunrpc/rpc/types.h: Likewise.
12988 * sunrpc/rpc/xdr.h: Likewise.
12989 * sunrpc/rpc_clntout.c: Likewise.
12990 * sunrpc/rpc_cmsg.c: Likewise.
12991 * sunrpc/rpc_common.c: Likewise.
12992 * sunrpc/rpc_cout.c: Likewise.
12993 * sunrpc/rpc_dtable.c: Likewise.
12994 * sunrpc/rpc_hout.c: Likewise.
12995 * sunrpc/rpc_main.c: Likewise.
12996 * sunrpc/rpc_parse.c: Likewise.
12997 * sunrpc/rpc_parse.h: Likewise.
12998 * sunrpc/rpc_prot.c: Likewise.
12999 * sunrpc/rpc_sample.c: Likewise.
13000 * sunrpc/rpc_scan.c: Likewise.
13001 * sunrpc/rpc_scan.h: Likewise.
13002 * sunrpc/rpc_svcout.c: Likewise.
13003 * sunrpc/rpc_tblout.c: Likewise.
13004 * sunrpc/rpc_util.c: Likewise.
13005 * sunrpc/rpc_util.h: Likewise.
13006 * sunrpc/rpcinfo.c: Likewise.
13007 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13008 * sunrpc/rpcsvc/key_prot.x: Likewise.
13009 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13010 * sunrpc/rpcsvc/mount.x: Likewise.
13011 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13012 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13013 * sunrpc/rpcsvc/rex.x: Likewise.
13014 * sunrpc/rpcsvc/rstat.x: Likewise.
13015 * sunrpc/rpcsvc/rusers.x: Likewise.
13016 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13017 * sunrpc/rpcsvc/spray.x: Likewise.
13018 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13019 * sunrpc/rtime.c: Likewise.
13020 * sunrpc/svc.c: Likewise.
13021 * sunrpc/svc_auth.c: Likewise.
13022 * sunrpc/svc_authux.c: Likewise.
13023 * sunrpc/svc_raw.c: Likewise.
13024 * sunrpc/svc_run.c: Likewise.
13025 * sunrpc/svc_simple.c: Likewise.
13026 * sunrpc/svc_tcp.c: Likewise.
13027 * sunrpc/svc_udp.c: Likewise.
13028 * sunrpc/svc_unix.c: Likewise.
13029 * sunrpc/svcauth_des.c: Likewise.
13030 * sunrpc/xcrypt.c: Likewise.
13031 * sunrpc/xdr.c: Likewise.
13032 * sunrpc/xdr_array.c: Likewise.
13033 * sunrpc/xdr_float.c: Likewise.
13034 * sunrpc/xdr_mem.c: Likewise.
13035 * sunrpc/xdr_rec.c: Likewise.
13036 * sunrpc/xdr_ref.c: Likewise.
13037 * sunrpc/xdr_sizeof.c: Likewise.
13038 * sunrpc/xdr_stdio.c: Likewise.
13040 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13043 2010-08-19 Andreas Schwab <schwab@redhat.com>
13045 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13047 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13049 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13050 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13052 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13054 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13055 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13056 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13057 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13058 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13059 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13060 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13061 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13062 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13064 2010-07-26 Anton Blanchard <anton@samba.org>
13066 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13067 * malloc/arena.c (heap_trim): Likewise.
13069 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13071 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13073 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13074 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13076 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13078 * sysdeps/i386/elf/Makefile: New file.
13080 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13082 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13083 from fanotify_init.
13084 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13085 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13087 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13089 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13091 * sysdeps/multiarch/strcmp.S: Likewise.
13093 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13095 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13096 strncase_l-nonascii.
13097 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13098 Add strncase_l-ssse3.
13099 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13100 * sysdeps/x86_64/strcmp.S: Likewise.
13101 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13102 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13103 * sysdeps/x86_64/strncase.S: New file.
13104 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13105 * sysdeps/x86_64/strncase_l.S: New file.
13106 * string/Makefile (strop-tests): Add strncasecmp.
13107 * string/test-strncasecmp.c: New file.
13109 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13112 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13113 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13115 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13117 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13119 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13121 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13122 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13123 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13125 2010-05-01 Alan Modra <amodra@gmail.com>
13127 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13128 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13129 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13130 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13131 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13132 tidying. Don't tail-call __sigjmp_save for static lib.
13133 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13135 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13136 (CALL_MCOUNT): Add eh info, and nop after bl.
13137 (TAIL_CALL_SYSCALL_ERROR): New macro.
13138 (PSEUDO_RET): Use it.
13139 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13140 Correct save location of integer regs and cr.
13141 (_dl_profile_resolve): Correct cr save location. Delete nops
13142 after bl when SHARED. Reduce cfi size a little by better
13143 placement of cfi directives.
13144 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13145 make a stack frame. Instead use parm save area as a temp.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13147 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13149 Don't make a stack frame for parent, use parm save area.
13150 Increase child stack frame to 112 bytes. Don't save unused reg,
13151 and adjust reg usage. Set up cfi on error recovery and
13152 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13154 (__makecontext): Add dummy nop after jump to exit.
13155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13156 Use correct parm save area and cr save, reduce stack frame.
13157 Correct cfi for possible PSEUDO_RET frame setup.
13158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13159 Branch to local label emitted by PSEUDO_RET rather than
13162 2010-08-12 Andreas Schwab <schwab@redhat.com>
13165 * locale/programs/locale.c (print_assignment): New function.
13166 (show_locale_vars): Use it.
13168 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13170 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13172 (struct statfs64): Likewise.
13173 (_STATFS_F_FLAGS): Define.
13174 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13175 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13176 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13177 (ST_VALID): Define locally.
13178 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13179 __statvfs_getflags, use the provided value.
13180 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13181 __ASSUME_STATFS_F_FLAGS.
13183 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13186 Add sys/fanotify.h.
13187 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13188 fanotify_mask for GLIBC_2.13.
13189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13190 fanotify_init and fanotify_mark.
13191 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13192 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13196 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13197 prlimit64 for GLIBC_2.13.
13198 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13204 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13206 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13208 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13211 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13212 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13214 * nss/Makefile: Add rules to build and run tst-nss-test1.
13215 * shlib-versions: Add entry for libnss_test1.
13216 * nss/nss_test1.c: New file.
13217 * nss/tst-nss-test1.c: New file.
13219 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13220 (__nss_configure_lookup): Set appropriate entry in
13221 __nss_configure_lookup to true.
13222 * nss/nsswitch.h: Define enum with indeces of databases in
13223 databases and __nss_database_custom arrays. Declare
13224 __nss_database_custom.
13225 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13226 to avoid using nscd when custom rules are installed.
13227 * nss/getXXbyYY_r.c: Likewise.
13228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13230 * nss/nss_files/files-parse.c: Whitespace fixes.
13232 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13235 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13236 * posix/fnmatch_loop.c: Likewise.
13238 2010-07-17 Andi Kleen <ak@linux.intel.com>
13240 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13241 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13242 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13243 * Versions.def [GLIBC_2.13]: Add.
13245 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13248 Also fail if tpwd after pwuid call is NULL.
13250 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13252 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13253 when converting to ms.
13255 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13257 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13258 EOPNOTSUPP errors with ENOTTY.
13259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13260 EOPNOTSUPP errors with ENOTTY.
13262 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13264 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13265 Add strcasecmp_l-ssse3.
13266 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13268 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13269 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13270 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13272 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13274 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13276 * string/Makefile (strop-tests): Add strcasecmp.
13277 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13278 strcasecmp_l-nonascii.
13279 (gen-as-const-headers): Add locale-defines.sym.
13280 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13281 * sysdeps/x86_64/strcasecmp.S: New file.
13282 * sysdeps/x86_64/strcasecmp_l.S: New file.
13283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13284 * sysdeps/x86_64/locale-defines.sym: New file.
13285 * string/test-strcasecmp.c: New file.
13287 * string/test-strcasestr.c: Test both ends of the range of characters.
13288 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13290 2010-07-29 Roland McGrath <roland@redhat.com>
13293 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13295 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13297 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13300 2010-07-27 Andreas Schwab <schwab@redhat.com>
13302 * manual/memory.texi (Malloc Tunable Parameters): Document
13305 2010-07-26 Roland McGrath <roland@redhat.com>
13308 * configure.in (-fgnu89-inline check): Set and substitute
13309 gnu89_inline, not libc_cv_gnu89_inline.
13310 * configure: Regenerated.
13311 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13313 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13315 * string/test-strnlen.c: New file.
13316 * string/Makefile (strop-tests): Add strnlen.
13317 * string/tester.c (test_strnlen): Add a few more test cases.
13318 * string/tst-strlen.c: Better error reporting.
13320 * sysdeps/x86_64/strnlen.S: New file.
13322 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13324 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13325 lower-latency instructions.
13327 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13329 * string/test-strcasestr.c: New file.
13330 * string/test-strstr.c: New file.
13331 * string/Makefile (strop-tests): Add strstr and strcasestr.
13332 * string/str-two-way.h: Don't undefine MAX.
13333 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13335 2010-07-21 Andreas Schwab <schwab@redhat.com>
13337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13338 strcasestr-nonascii.
13339 (CFLAGS-strcasestr-nonascii.c): Define.
13340 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13341 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13342 Remove unused attribute.
13344 2010-07-20 Roland McGrath <roland@redhat.com>
13346 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13347 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13348 ld.so.cache was broken. With it, there is no way to disable dsocaps
13349 like LD_HWCAP_MASK can disable hwcaps.
13351 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13353 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13355 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13357 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13358 call in strcasestr.
13359 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13360 __strcasestr_sse42_nonascii.
13361 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13362 strcasestr-nonascii.c.
13363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13365 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13368 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13370 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13372 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13377 2010-07-06 Andreas Schwab <schwab@redhat.com>
13380 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13383 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13386 _PC_PIPE_BUF using F_GETPIPE_SZ.
13388 2010-07-05 Roland McGrath <roland@redhat.com>
13390 * manual/arith.texi (Rounding Functions): Fix rint description
13391 implicit in round description.
13393 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13395 * elf/Makefile: Fix linking for a few tests to make recent linker
13398 2010-06-30 Andreas Schwab <schwab@redhat.com>
13400 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13401 $(common-objpfx)libc_nonshared.a.
13403 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13405 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13406 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13407 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13408 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13409 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13411 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13412 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13427 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13428 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13429 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13430 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13431 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13432 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13433 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13434 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13435 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13436 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13437 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13438 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13454 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13456 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13457 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13458 * string/memmove.c (memmove): Renamed to ...
13459 (MEMMOVE): ...this. Default to memmove.
13460 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13461 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13464 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13465 mempcpy-ssse3-back memmove-ssse3-back.
13466 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13469 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13470 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13471 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13472 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13473 * sysdeps/x86_64/multiarch/memmove.c: New file.
13474 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13475 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13476 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13477 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13478 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13481 (index_Fast_Copy_Backward): Define.
13482 (HAS_ARCH_FEATURE): Define.
13483 (HAS_FAST_REP_STRING): Define.
13484 (HAS_FAST_COPY_BACKWARD): Define.
13486 2010-06-21 Andreas Schwab <schwab@redhat.com>
13488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13489 Restore proper fallback handling.
13491 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13494 * posix/group_member.c (__group_member): Correct checking loop.
13496 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13497 OOM in getpwuid_r correctly. Return error number when the caller
13498 should return, otherwise -1.
13499 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13500 call returning > 0 value.
13501 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13503 2010-06-07 Andreas Schwab <schwab@redhat.com>
13505 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13506 libc_nonshared.a from targets in modules-names.
13508 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13510 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13513 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13516 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13520 2010-06-02 Andreas Schwab <schwab@redhat.com>
13522 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13524 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13535 2010-06-14 Roland McGrath <roland@redhat.com>
13537 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13539 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13541 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13542 __REDIRECT followed by __THROW.
13543 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13544 * posix/getopt.h (getopt): Likewise.
13546 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13548 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13549 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13550 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13552 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13553 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13555 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13559 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13563 Properly check family and model.
13565 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13567 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13569 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13571 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13573 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13575 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13578 2010-05-19 Andreas Schwab <schwab@redhat.com>
13580 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13583 2010-05-21 Andreas Schwab <schwab@redhat.com>
13585 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13586 and internal_recvmmsg.
13587 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13588 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13590 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13592 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13593 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13594 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13596 2010-05-20 Andreas Schwab <schwab@redhat.com>
13598 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13600 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13602 POWER7 optimizations.
13603 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13604 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13606 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13608 * version.h: Update for 2.13 development version.
13610 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13612 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13613 exceptions. Return 0.
13615 2010-05-07 Roland McGrath <roland@redhat.com>
13617 * elf/ldconfig.c (main): Add a const.
13619 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13621 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13622 (args_options): Add no-idn option.
13623 (ahosts_keys_int): Add idn_flags to ai_flags.
13624 (parse_option): Handle 'i' option to clear idn_flags.
13626 * malloc/malloc.c (_int_free): Possible race in the most recently
13627 added check. Only act on the data if no current modification
13630 See ChangeLog.17 for earlier changes.