]> sourceware.org Git - glibc.git/blob - ChangeLog
Hurd: dup3
[glibc.git] / ChangeLog
1 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2
3 dup3 for GNU Hurd.
4 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6 implement dup3 and do some further code clean-ups.
7 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
8 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9
10 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11
12 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13
14 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15 HURD_CRITICAL_END around holding _hurd_dtable_lock.
16 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19 d->port.lock.
20
21 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
23 when handler == SIG_ERR, not when handler != SIG_ERR.
24
25 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26
27 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29 definitions.
30
31 accept4 for GNU Hurd.
32 * include/sys/socket.h (__libc_accept4): New prototype.
33 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34 to implement __libc_accept4.
35 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36 __libc_accept4.
37 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38
39 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42 signal-defines.sym.
43
44 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45
46 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47
48 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
49
50 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51 assertion on O_CLOEXEC flag.
52 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53 * hurd/intern-fd.c: Likewise.
54 * hurd/port2fd.c: Likewise.
55
56 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
57
58 [BZ #3906]
59 * bits/in.h (IPV6_PKTINFO): Define new macro.
60 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61
62 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63
64 [BZ #13954]
65 [BZ #13955]
66 [BZ #13956]
67 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
70 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73 * math/libm-test.inc (logb_test) : Additional logb tests.
74
75 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
76 Andreas Jaeger <aj@suse.de>
77
78 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79 * configure: Regenerated.
80 * config.h.in (LINK_OBSOLETE_RPC): New macro.
81 * config.make.in (link-obsolete-rpc): New substituted variable.
82 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
84 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
85 (shared-only-routines): Don't set it under [link-obsolete-rpc],
86 so that libc.a contains the symbols.
87 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
88 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
89 * sunrpc/auth_none.c: Likewise.
90 * sunrpc/auth_unix.c: Likewise.
91 * sunrpc/authdes_prot.c: Likewise.
92 * sunrpc/authuxprot.c: Likewise.
93 * sunrpc/clnt_gen.c: Likewise.
94 * sunrpc/clnt_perr.c: Likewise.
95 * sunrpc/clnt_raw.c: Likewise.
96 * sunrpc/clnt_simp.c: Likewise.
97 * sunrpc/clnt_tcp.c: Likewise.
98 * sunrpc/clnt_udp.c: Likewise.
99 * sunrpc/clnt_unix.c: Likewise.
100 * sunrpc/des_crypt.c: Likewise.
101 * sunrpc/des_soft.c: Likewise.
102 * sunrpc/get_myaddr.c: Likewise.
103 * sunrpc/key_call.c: Likewise.
104 * sunrpc/key_prot.c: Likewise.
105 * sunrpc/netname.c: Likewise.
106 * sunrpc/pm_getmaps.c: Likewise.
107 * sunrpc/pm_getport.c: Likewise.
108 * sunrpc/pmap_clnt.c: Likewise.
109 * sunrpc/pmap_prot.c: Likewise.
110 * sunrpc/pmap_prot2.c: Likewise.
111 * sunrpc/pmap_rmt.c: Likewise.
112 * sunrpc/publickey.c: Likewise.
113 * sunrpc/rpc_cmsg.c: Likewise.
114 * sunrpc/rpc_common.c: Likewise.
115 * sunrpc/rpc_dtable.c: Likewise.
116 * sunrpc/rpc_prot.c: Likewise.
117 * sunrpc/rpc_thread.c: Likewise.
118 * sunrpc/rtime.c: Likewise.
119 * sunrpc/svc.c: Likewise.
120 * sunrpc/svc_auth.c: Likewise.
121 * sunrpc/svc_raw.c: Likewise.
122 * sunrpc/svc_run.c: Likewise.
123 * sunrpc/svc_tcp.c: Likewise.
124 * sunrpc/svc_udp.c: Likewise.
125 * sunrpc/svc_unix.c: Likewise.
126 * sunrpc/svcauth_des.c: Likewise.
127 * sunrpc/xcrypt.c: Likewise.
128 * sunrpc/xdr.c: Likewise.
129 * sunrpc/xdr_array.c: Likewise.
130 * sunrpc/xdr_float.c: Likewise.
131 * sunrpc/xdr_intXX_t.c: Likewise.
132 * sunrpc/xdr_mem.c: Likewise.
133 * sunrpc/xdr_rec.c: Likewise.
134 * sunrpc/xdr_ref.c: Likewise.
135 * sunrpc/xdr_sizeof.c: Likewise.
136 * sunrpc/xdr_stdio.c: Likewise.
137
138 2012-05-10 Roland McGrath <roland@hack.frob.com>
139
140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
141 change. Update copyright years.
142
143 2012-05-10 Joseph Myers <joseph@codesourcery.com>
144
145 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
146
147 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
148 Joseph Myers <joseph@codesourcery.com>
149 Paul Pluzhnikov <ppluzhnikov@google.com>
150
151 [BZ #14012]
152 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
153 requiring rpcgen.
154 [cross-compiling] (extra-libs): Likewise.
155 [cross-compiling] (extra-libs-others): Likewise.
156 [cross-compiling] (librpcsvc-routines): Likewise.
157 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
158 [cross-compiling] (omit-deps): Likewise.
159 (sunrpc-CPPFLAGS): New variable.
160 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
161 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
162 (cross-rpcgen-objs): New variable.
163 (extra-objs): Append $(cross-rpcgen-objs).
164 ($(cross-rpcgen-objs)): New rule.
165 ($(objpfx)cross-rpcgen): Likewise.
166 (rpcgen-cmd): Define to use $(built-program-file). Expand
167 comment.
168 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
169 ($(objpfx)x%.stmp): Likewise.
170 * sunrpc/proto.h [IS_IN_build] (_): Define.
171 [IS_IN_build] (_libc_intl_domainname): Likewise.
172
173 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
174
175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
176 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
177 and R_X86_64_TPOFF64.
178
179 2012-05-10 Joseph Myers <joseph@codesourcery.com>
180
181 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
182 sysdeps/unix/sysv/syscalls.list.
183 (stime): Likewise.
184 (utime): Likewise.
185 * sysdeps/unix/sysv/syscalls.list: Remove file.
186
187 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
188
189 [BZ #3440]
190 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
191 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
192 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
193 (__LC_IDENTIFICATION): Make these macros useful in #if
194 expressions, as required by C99.
195
196 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
197
198 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
199 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
200 after this.
201
202 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
203
204 * stdlib/longlong.h: Updated from GCC.
205
206 2012-05-09 Andreas Jaeger <aj@suse.de>
207
208 * nscd/nscd.c (run_modes): Make named enum, reorder so that
209 default is first entry.
210 (run_mode): Set type.
211 (main): Remove informal message about syslog.
212 (options): Fix typo.
213
214 [BZ #14053]
215 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
216 to asm.
217 (lrint): Likewise.
218 (llrintf): Likewise.
219 (llrint): Likewise.
220 (rint): Likewise.
221 (rintf): Likewise.
222 (nearbyint): Likewise.
223 (nearbyintf): Likewise.
224
225 2012-05-09 Andreas Jaeger <aj@suse.de>
226 Pedro Alves <palves@redhat.com>
227
228 * nscd/nscd.c (run_mode): Use enum.
229 (main): Cleanup coding style issue.
230
231 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
232 Andreas Jaeger <aj@suse.de>
233
234 * nscd/nscd.c (go_background): Replaced with...
235 (run_mode): ... this.
236 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
237 (options): Add -F --foreground.
238 (main): Implement it.
239 (parse_opt): Parse it.
240
241 2012-05-09 Andreas Jaeger <aj@suse.de>
242
243 [BZ #14083]
244 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
245 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
246 -Wconversion warning.
247 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
248 Likewise.
249
250 2012-05-09 Joseph Myers <joseph@codesourcery.com>
251
252 * conform/data/locale.h-data (NULL): Use macro-constant. Require
253 == 0.
254 (LC_ALL): Use macro-int-constant.
255 (LC_COLLATE): Likewise.
256 (LC_CTYPE): Likewise.
257 (LC_MESSAGES): Likewise.
258 (LC_MONETARY): Likewise.
259 (LC_NUMERIC): Likewise.
260 (LC_TIME): Likewise.
261 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
262 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
264 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
265 Specify type.
266 [C99-based standards] (float_t): Expect type.
267 [C99-based standards] (double_t): Expect type.
268 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
269 type.
270 [C99-based standards] (HUGE_VALL): Likewise.
271 [C99-based standards] (INFINITY): Likewise.
272 [C99-based standards] (NAN): Likewise.
273 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
274 [C99-based standards] (FP_NAN): Likewise.
275 [C99-based standards] (FP_NORMAL): Likewise.
276 [C99-based standards] (FP_SUBNORMAL): Likewise.
277 [C99-based standards] (FP_ZERO): Likewise.
278 [C99-based standards] (FP_FAST_FMA): Use
279 optional-macro-int-constant. Specify type. Require == 1.
280 [C99-based standards] (FP_FAST_FMAF): Likewise.
281 [C99-based standards] (FP_FAST_FMAL): Likewise.
282 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
283 [C99-based standards] (FP_ILOGBNAN): Likewise.
284 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
285 Specify type.
286 [C99-based standards] (MATH_ERREXCEPT): Likewise.
287 [C99-based standards] (math_errhandling): Specify type.
288 [ISO99 || ISO11] (signgam): Do not allow.
289 [non-C99-based standards] (copysignf): Do not allow.
290 [non-C99-based standards] (exp2f): Likewise.
291 [non-C99-based standards] (log2f): Likewise.
292 [non-C99-based standards] (modff): Allow.
293 [non-C99-based standards] (erff): Do not allow.
294 [non-C99-based standards] (erfcf): Likewise.
295 [non-C99-based standards] (gammaf): Likewise.
296 [non-C99-based standards] (hypotf): Likewise.
297 [non-C99-based standards] (j0f): Likewise.
298 [non-C99-based standards] (j1f): Likewise.
299 [non-C99-based standards] (jnf): Likewise.
300 [non-C99-based standards] (lgammaf): Likewise.
301 [non-C99-based standards] (tgammaf): Likewise.
302 [non-C99-based standards] (y0f): Likewise.
303 [non-C99-based standards] (y1f): Likewise.
304 [non-C99-based standards] (ynf): Likewise.
305 [non-C99-based standards] (isnanf): Likewise.
306 [non-C99-based standards] (acoshf): Likewise.
307 [non-C99-based standards] (asinhf): Likewise.
308 [non-C99-based standards] (atanhf): Likewise.
309 [non-C99-based standards] (cbrtf): Likewise.
310 [non-C99-based standards] (expm1f): Likewise.
311 [non-C99-based standards] (ilogbf): Likewise.
312 [non-C99-based standards] (log1pf): Likewise.
313 [non-C99-based standards] (logbf): Likewise.
314 [non-C99-based standards] (nextafterf): Likewise.
315 [non-C99-based standards] (remainderf): Likewise.
316 [non-C99-based standards] (rintf): Likewise.
317 [non-C99-based standards] (scalbf): Likewise.
318 [non-C99-based standards] (copysignl): Likewise.
319 [non-C99-based standards] (exp2l): Likewise.
320 [non-C99-based standards] (log2l): Likewise.
321 [non-C99-based standards] (modfl): Allow.
322 [non-C99-based standards] (erfl): Do not allow.
323 [non-C99-based standards] (erfcl): Likewise.
324 [non-C99-based standards] (gammal): Likewise.
325 [non-C99-based standards] (hypotl): Likewise.
326 [non-C99-based standards] (j0l): Likewise.
327 [non-C99-based standards] (j1l): Likewise.
328 [non-C99-based standards] (jnl): Likewise.
329 [non-C99-based standards] (lgammal): Likewise.
330 [non-C99-based standards] (tgammal): Likewise.
331 [non-C99-based standards] (y0l): Likewise.
332 [non-C99-based standards] (y1l): Likewise.
333 [non-C99-based standards] (ynl): Likewise.
334 [non-C99-based standards] (isnanl): Likewise.
335 [non-C99-based standards] (acoshl): Likewise.
336 [non-C99-based standards] (asinhl): Likewise.
337 [non-C99-based standards] (atanhl): Likewise.
338 [non-C99-based standards] (cbrtl): Likewise.
339 [non-C99-based standards] (expm1l): Likewise.
340 [non-C99-based standards] (ilogbl): Likewise.
341 [non-C99-based standards] (log1pl): Likewise.
342 [non-C99-based standards] (logbl): Likewise.
343 [non-C99-based standards] (nextafterl): Likewise.
344 [non-C99-based standards] (remainderl): Likewise.
345 [non-C99-based standards] (rintl): Likewise.
346 [non-C99-based standards] (scalbl): Likewise.
347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
348 [non-C99-based standards] (FP_*): Do not allow.
349 [C99-based standards] (FP_*): Change to
350 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
351 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
352 allow.
353 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
354 (SIG_ERR): Likewise.
355 [X/Open-based standards] (SIG_HOLD): Likewise.
356 (SIG_IGN): Likewise.
357 (SIGABRT): Use macro-int-constant. Specify type. Require
358 positive value.
359 (SIGFPE): Likewise.
360 (SIGILL): Likewise.
361 (SIGINT): Likewise.
362 (SIGSEGV): Likewise.
363 (SIGTER): Likewise.
364 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
365 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
366 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
367 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
368 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
369 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
370 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
371 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
372 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
373 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
374 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
375 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
376 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
377 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
378 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
379 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
380 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
381 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
382 [X/Open-based standards] (SIGTRAP): Likewise.
383 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
384 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
385 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
386 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
387 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
388 allow.
389
390 2012-05-08 Ian Wienand <ianw@vmware.com>
391
392 [BZ #14080]
393 * time/tzset.c (__tzset_parse_tz): Update default rules for
394 daylight time changes in the Energy Policy Act of 2005.
395
396 2012-05-09 Andreas Jaeger <aj@suse.de>
397
398 [BZ #13983]
399 * elf/ldconfig.c (parse_conf): Change string to make clear that
400 ldconfig only issued a warning if ld.so.conf does not exist.
401
402 2012-05-08 David S. Miller <davem@davemloft.net>
403
404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
405 movxtod instead of popping the value on the stack.
406
407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
408
409 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
410
411 * config.h.in: Add HAVE_ARM_PCS_VFP.
412
413 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
414
415 [BZ #13979]
416 * include/features.h: Warn if user requests __FORTIFY_SOURCE
417 checking but the checks are disabled for any reason.
418
419 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
420
421 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
422 and ELF64_R_TYPE with ELFW(R_TYPE).
423
424 2012-05-08 Joseph Myers <joseph@codesourcery.com>
425
426 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
427 (ulimit): Likewise.
428
429 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
430 (settimeofday): Likewise.
431
432 2012-05-08 Mike Frysinger <vapier@gentoo.org>
433
434 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
435 a struct th_u2 inside the union, and move tu_block/tu_code into
436 a new th_u3 union of tu_block/tu_code inside of that. Move
437 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
438 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
439 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
440 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
441 (th_stuff): Change to th_u1.tu_stuff.
442 (th_data): Define.
443 (th_msg): Change to th_u1.th_u2.tu_data.
444
445 2012-05-07 David S. Miller <davem@davemloft.net>
446
447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
448
449 [BZ #14074]
450 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
451 (SETUP_PIC_REG): Use it.
452 (SETUP_PIC_REG_LEAF): Use it.
453
454 2012-05-07 Joseph Myers <joseph@codesourcery.com>
455
456 [BZ #13885]
457 [BZ #13923]
458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
459 USE_AS_EXPM1L.
460 (EXPL_FINITE): Likewise.
461 (FLDLOG): Likewise.
462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
463 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
464 e_expl.S.
465 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
466 USE_AS_EXPM1L.
467 (EXPL_FINITE): Likewise.
468 (FLDLOG): Likewise.
469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
470 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
471 e_expl.S.
472 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
473 test of -max_value argument for long double.
474 * sysdeps/i386/fpu/libm-test-ulps: Update.
475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476
477 2012-05-06 David S. Miller <davem@davemloft.net>
478
479 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
480 quad soft-float symbols whose references which are compiler
481 generated.
482 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
483
484 2012-05-06 Joseph Myers <joseph@codesourcery.com>
485
486 [BZ #13884]
487 [BZ #13914]
488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
489 USE_AS_EXP10L.
490 (EXPL_FINITE): Likewise.
491 (FLDLOG): Likewise.
492 (c0): Likewise.
493 (c1): Likewise.
494 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
495 Adjust comments for base varying.
496 (__expl_finite): Change alias to EXPL_FINITE.
497 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
498 e_expl.S.
499 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
500 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
501 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
502 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
503 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
504 USE_AS_EXP10L.
505 (EXPL_FINITE): Likewise.
506 (FLDLOG): Likewise.
507 (c0): Likewise.
508 (c1): Likewise.
509 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
510 Adjust comments for base varying.
511 (__expl_finite): Change alias to EXPL_FINITE.
512 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
513 tests for bugs.
514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
515
516 [BZ #14064]
517 * math/libm-test.inc (check_float_internal): Correct ulp
518 calculation for subnormal expected results.
519
520 2012-05-06 Andreas Jaeger <aj@suse.de>
521
522 * Makeconfig (+math-flags): New, set to -frounding-math.
523 (+cflags): Add +math-flags so that all of glibc gets compiled with
524 it.
525
526 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
527
528 2012-05-05 Joseph Myers <joseph@codesourcery.com>
529
530 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
531 Disable one test.
532
533 [BZ #13787]
534 [BZ #13922]
535 [BZ #14036]
536 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
537 (__ieee754_expl): Allow for and saturate large arguments.
538 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
539 (u_threshold): Likewise.
540 (__exp): Call __ieee754_exp before checking for overflow and
541 underflow.
542 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
543 (u_threshold): Likewise.
544 (__expf): Call __ieee754_expf before checking for overflow and
545 underflow.
546 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
547 (u_threshold): Likewise.
548 (__expl): Call __ieee754_expl before checking for overflow and
549 underflow.
550 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
551 (__ieee754_expl): Allow for and saturate large arguments.
552 * math/libm-test.inc (exp_test): Add another test. Do not allow
553 missing overflow exception on overflow.
554 (expm1_test): Do not allow missing overflow exception on overflow.
555
556 * sysdeps/i386/fpu/e_expl.c: Move to ...
557 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
558 rather than using inline asm.
559 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
560 * sysdeps/x86_64/fpu/e_expl.S: Copy from
561 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
562
563 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
564 (nice): Likewise.
565 (poll): Likewise.
566 (signal): Likewise.
567 (time): Likewise.
568 (times): Likewise.
569
570 2012-05-04 Joseph Myers <joseph@codesourcery.com>
571
572 * sysdeps/unix/syscalls.list (adjtime): Add entry from
573 sysdeps/unix/common/syscalls.list.
574 (fchmod): Likewise.
575 (fchown): Likewise.
576 (ftruncate): Likewise.
577 (getrusage): Likewise.
578 (gettimeofday): Likewise.
579 (setpgid): Likewise.
580 (setregid): Likewise.
581 (setreuid): Likewise.
582 (sigaction): Likewise.
583 (truncate): Likewise.
584 (vhangup): Likewise.
585 * sysdeps/unix/common/syscalls.list: Remove file.
586 * sysdeps/unix/bsd/Implies: Don't include unix/common.
587 * sysdeps/unix/sysv/linux/Implies: Likewise.
588
589 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
590
591 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
593 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
594 Moved to ...
595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
596 Here.
597 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
598 to ...
599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
600 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
601 to ...
602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
603 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
604 to ...
605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
606 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
607 to ...
608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
609 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
610 to ...
611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
612 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
613 to ...
614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
615 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
616 to ...
617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
618 Here.
619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
620 to ...
621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
622 Here.
623 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
624 to ...
625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
626 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
627 Moved to ...
628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
629 Here.
630 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
631 to ...
632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
633
634 2012-05-04 Joseph Myers <joseph@codesourcery.com>
635
636 * sysdeps/unix/common/bits/dirent.h: Remove file.
637 * sysdeps/unix/common/bits/fcntl.h: Likewise.
638
639 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
640 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
641 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
642 * sysdeps/unix/bsd/isatty.c: Likewise.
643 * sysdeps/unix/bsd/tcdrain.c: Likewise.
644 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
645 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
646
647 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
648
649 [BZ #13563]
650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
651 long double comparison inaccuracies.
652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
654
655 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
656
657 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
659
660 2012-05-04 Joseph Myers <joseph@codesourcery.com>
661
662 [BZ #14049]
663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
664 nonzero digits before rounding a hex value.
665 * stdlib/tst-strtod.c (tests): Add another test.
666
667 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
668
669 * sysdeps/s390/fpu/libm-test-ulps: Update.
670
671 2012-05-03 Andreas Jaeger <aj@suse.de>
672
673 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
674 does not get optimized out.
675 (malloc_opt_barrier): New.
676
677 2012-05-03 Andreas Jaeger <aj@suse.de>
678 Roland McGrath <roland@hack.frob.com>
679
680 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
681 intermediate file deletion.
682 (generated): Add .symlist files.
683
684 2012-05-03 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #13775]
687 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
688 Redirect under this condition.
689 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
690 [__USE_GNU] (__dprintf_chk): Not under this condition.
691 [__USE_GNU] (__vdprintf_chk): Likewise.
692 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
693 under this condition.
694 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
695 [__USE_XOPEN2K8] (dprintf): Define under this condition.
696 [__USE_XOPEN2K8] (vdprintf): Likewise.
697 [__USE_GNU] (__dprintf_chk): Not under this condition.
698 [__USE_GNU] (__vdprintf_chk): Likewise.
699 [__USE_GNU] (dprintf): Likewise.
700 [__USE_GNU] (vdprintf): Likewise.
701
702 2012-05-03 Roland McGrath <roland@hack.frob.com>
703
704 * elf/Makefile (common-generated): Set this instead of generated for
705 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
706 $(all-built-dso)-derived lists.
707
708 2012-05-03 Andreas Jaeger <aj@suse.de>
709
710 * sysdeps/i386/fpu/libm-test-ulps: Update.
711
712 * FAQ: Removed.
713 * FAQ.in: Likewise.
714 * scripts/gen-FAQ.pl: Likewise.
715 * manual/install.texi (Installation): Point to online location of
716 FAQ.
717 * Makefile (files-for-dist): Remove FAQ.
718 (FAQ): Remove.
719
720 2012-05-02 Allan McRae <allan@archlinux.org>
721
722 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
723 (LDFLAGS-reldepmod5.so): Likewise.
724 (LDFLAGS-reldep6mod1.so): Likewise.
725 (LDFLAGS-reldep6mod4.so): Likewise.
726 (LDFLAGS-reldep8mod3.so): Likewise.
727 (LDFLAGS-unload4mod1.so): Likewise.
728 (LDFLAGS-unload4mod2.so): Likewise.
729 (LDFLAGS-tst-initorder): Likewise.
730 (LDFLAGS-tst-initordera2.so): Likewise.
731 (LDFLAGS-tst-initordera3.so): Likewise.
732 (LDFLAGS-tst-initordera4.so): Likewise.
733 (LDFLAGS-tst-initorderb2.so): Likewise.
734 (LDFLAGS-noload): Likewise.
735 (LDFLAGS-next): Likewise.
736 (LDFLAGS-order2mod1.so): Likewise.
737 (LDFLAGS-order2mod2.so): Likewise.
738 (LDFLAGS-tst-initorder2): Likewise.
739 (LDFLAGS-tst-initorder2a.so): Likewise.
740 (LDFLAGS-tst-initorder2b.so): Likewise.
741 (LDFLAGS-tst-initorder2c.so): Likewise.
742 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
743
744 2012-05-02 David S. Miller <davem@davemloft.net>
745
746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
747
748 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
749
750 [BZ #14055]
751 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
752
753 2012-05-02 Andreas Jaeger <aj@suse.de>
754
755 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
756 since we manipulate rounding mode.
757 (CPPFLAGS-test-idouble.c): Likewise.
758 (CPPFLAGS-test-ifloat.c): Likewise.
759 (CFLAGS-test-ldouble.c): Likewise.
760 (CFLAGS-test-double.c): Likewise.
761 (CFLAGS-test-float.c): Likewise.
762 (CFLAGS-test-misc.c): Likewise.
763 (CFLAGS-test-test-fenv.c): Likewise.
764
765 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
766
767 [BZ #2550]
768 [BZ #2570]
769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
770 comparisons to determine direction to adjust input.
771
772 2012-05-01 Roland McGrath <roland@hack.frob.com>
773
774 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
775 output to the target.
776
777 * scripts/localplt.awk: New file.
778 * elf/Makefile ($(objpfx)check-localplt): Target removed.
779 (check-localplt-CFLAGS): Variable removed.
780 ($(all-built-dso:=.jmprel)): New static pattern rule.
781 (generated): Add those targets.
782 (localplt-built-dso): New variable.
783 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
784
785 * elf/check-localplt.c: File removed.
786
787 * scripts/check-execstack.awk: New file.
788 * elf/Makefile ($(objpfx)check-execstack): Target removed.
789 (check-execstack-CFLAGS): Variable removed.
790 ($(objpfx)check-execstack.h): Target removed.
791 ($(objpfx)execstack-default): New target.
792 (generated): Add that instead of check-execstack.h.
793 ($(all-built-dso:=.phdr)): New static pattern rule.
794 (generated): Add those targets.
795 * elf/check-execstack.c: File removed.
796
797 * scripts/check-textrel.awk: New file.
798 * elf/Makefile ($(objpfx)check-textrel): Target removed.
799 (check-textrel-CFLAGS): Variable removed.
800 (all-built-dso): Use := to define.o
801 ($(all-built-dso:=.dyn)): New static pattern rule.
802 (generated): Add those targets.
803 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
804 * config.make.in (READELF): New substituted variable.
805 * elf/check-textrel.c: File removed.
806
807 2012-05-01 Joseph Myers <joseph@codesourcery.com>
808
809 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
810 allow.
811 * conform/data/ctype.h-data [C99-based standards] (isblank):
812 Expect function.
813 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
814 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
816 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
817 Specify type. Require positive value.
818 (EILSEQ): Likewise.
819 (ERANGE): Likewise.
820 [ISO || POSIX] (EILSEQ): Do not expect.
821 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
822 Specify type. Require positive value.
823 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
824 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
825 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
826 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
827 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
828 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
829 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
830 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
831 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
832 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
833 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
834 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
835 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
836 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
837 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
838 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
839 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
840 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
841 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
842 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
843 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
844 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
845 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
846 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
847 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
848 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
849 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
850 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
851 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
852 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
853 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
854 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
855 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
856 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
857 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
858 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
859 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
860 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
861 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
862 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
863 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
864 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
865 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
866 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
867 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
868 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
869 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
870 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
871 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
872 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
873 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
874 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
875 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
876 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
877 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
878 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
879 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
880 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
881 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
882 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
883 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
884 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
885 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
886 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
887 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
888 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
889 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
890 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
891 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
892 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
893 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
894 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
895 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
896 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
897 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
898 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
899 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
900 Require >= 2.
901 (FLT_ROUNDS): Expect as macro, not constant.
902 (FLT_MANT_DIG): Use macro-int-constant.
903 (DBL_MANT_DIG): Likewise.
904 (LDBL_MANT_DIG): Likewise.
905 (FLT_DIG): Likewise.
906 (DBL_DIG): Likewise.
907 (LDBL_DIG): Likewise.
908 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
909 (DBL_MIN_EXP): Likewise.
910 (LDBL_MIN_EXP): Likewise.
911 (FLT_MAX_EXP): Use macro-int-constant.
912 (DBL_MAX_EXP): Likewise.
913 (LDBL_MAX_EXP): Likewise.
914 (FLT_MAX_10_EXP): Likewise.
915 (DBL_MAX_10_EXP): Likewise.
916 (LDBL_MAX_10_EXP): Likewise.
917 (FLT_MAX): Use macro-constant.
918 (DBL_MAX): Likewise.
919 (LDBL_MAX): Likewise.
920 (FLT_EPSILON): Use macro-constant. Give upper bound.
921 (DBL_EPSILON): Likewise.
922 (LDBL_EPSILON): Likewise.
923 (FLT_MIN): Likewise.
924 (DBL_MIN): Likewise.
925 (LDBL_MIN): Likewise.
926 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
927 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
928 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
929 [ISO11] (FLT_HAS_SUBNORM): Likewise.
930 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
931 [ISO11] (DBL_DECIMAL_DIG): Likewise.
932 [ISO11] (FLT_DECIMAL_DIG): Likewise.
933 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
934 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
935 [ISO11] (FLT_TRUE_MIN): Likewise.
936 [ISO11] (LDBL_TRUE_MIN): Likewise.
937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
938 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
939 (SCHAR_MIN): Use macro-int-constant. Specify type.
940 (SCHAR_MAX): Likewise.
941 (UCHAR_MAX): Likewise.
942 (CHAR_MIN): Likewise.
943 (CHAR_MAX): Likewise.
944 (MB_LEN_MAX): Use macro-int-constant.
945 (SHRT_MIN): Use macro-int-constant. Specify type.
946 (SHRT_MAX): Likewise.
947 (USHRT_MAX): Likewise.
948 (INT_MAX): Likewise.
949 (INT_MIN): Use macro-int-constant. Specify type. Make upper
950 bound negative.
951 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
952 bound with "U".
953 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
954 bound with "L".
955 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
956 bound negative. Suffix upper bound with "L".
957 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
958 bound with "UL".
959 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
960 Specify type.
961 [C99-based standards] (LLONG_MAX): Likewise.
962 [C99-based standards] (ULLONG_MAX): Likewise.
963 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
964 == 0.
965 [ISO11] (max_align_t): Require type.
966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
967
968 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
969 from $CFLAGS, without defining away __attribute__ calls.
970 (checknamespace): Use $CFLAGS_namespace.
971
972 * conform/conformtest.pl (@keywords): Only include C99 keywords
973 for standards based on C99 or C11.
974
975 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
976 Disable tests.
977 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
978 UNIX98]: Likewise.
979
980 * conform/conformtest.pl: Handle "macro-int-constant" and test for
981 usability of symbols in #if.
982
983 * conform/conformtest.pl: If macro or constant types start
984 "promoted:", expect the symbol to be of the following type
985 promoted by the integer promotions.
986
987 * conform/conformtest.pl: Parse all "constant" and "macro" lines
988 in one place. Also handle "macro-constant".
989
990 * conform/conformtest.pl: Only accept expected macro values with
991 "==". Parse all "macro" lines in one place.
992 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
993
994 * conform/conformtest.pl: Handle braced types on "constant" lines
995 instead of handling "typed-constant".
996 * conform/data/signal.h-data: Use "constant" instead of
997 "typed-constant".
998
999 * conform/conformtest.pl: Handle "optional-" at start of lines in
1000 one place rather than duplicating several cases. Handle each
1001 format of "macro" line with initial "optional-".
1002
1003 * conform/conformtest.pl: Only accept expected constant or
1004 optional-constant values with "==". Parse all "constant" lines in
1005 one place. Parse all "optional-constant" lines in one place.
1006 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1007 * conform/data/fmtmsg.h-data: Likewise.
1008 * conform/data/netinet/in.h-data: Likewise.
1009 * conform/data/tar.h-data: Likewise.
1010 * conform/data/limits.h-data: Use "==" form on "constant" and
1011 "optional-constant" lines.
1012
1013 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1014 Use -std=c99 for XOPEN2K.
1015 (@knownproblems): Remove.
1016 (newtoken): Don't check %isknown.
1017
1018 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1019 Do not expect macro.
1020 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1032 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1033 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1050 [XPG3] (acosh): Likewise.
1051 [XPG3] (asinh): Likewise.
1052 [XPG3] (atanh): Likewise.
1053 [XPG3] (cbrt): Likewise.
1054 [XPG3] (expm1): Likewise.
1055 [XPG3] (ilogb): Likewise.
1056 [XPG3] (log1p): Likewise.
1057 [XPG3] (logb): Likewise.
1058 [XPG3] (nextafter): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1061 [XPG3] (remainder): Likewise.
1062 [XPG3] (rint): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1070 [UNIX98 || XOPEN2K] (scalb): Expect.
1071 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1072 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1153 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1154 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1155 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1156 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1157 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1158 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1159 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1160 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1161 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1162 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1163 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1164 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1165 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1166 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1168 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1169 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1170 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1171 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1172 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1173 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1174 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1175 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1177 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1178 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1179 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1180 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1181 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1182 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1183 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1184 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1185 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1186 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1187 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1188 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1189 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1190 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1191 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1192 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1193 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1194 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1195 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1196 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1197 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1198 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1199 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1200 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1201 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1202 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1203 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1204 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1205 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1206 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1207 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1208
1209 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1210 _XOPEN_SOURCE_EXTENDED for XPG4.
1211
1212 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1213
1214 * Makeconfig (localtime): Remove variable.
1215 (inst_localtime-file): Likewise.
1216
1217 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1218
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1220 Update.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1222 Update.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1224 Update.
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1226 Update.
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1228 Update.
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1230 Update.
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1232 Update.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1234 Update.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1236 Update.
1237
1238 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1239
1240 [BZ #2550]
1241 [BZ #2570]
1242 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1243 comparisons to determine direction to adjust input.
1244 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1245 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1247 Likewise.
1248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1249 Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1251 Likewise.
1252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1254 Likewise.
1255 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1256 Likewise.
1257 * math/libm-test.inc (nexttoward_test): Add more tests.
1258
1259 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1260
1261 [BZ #14040]
1262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1263 in version GLIBC_2.1, not GLIBC_2.0.
1264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1265 Likewise.
1266
1267 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #13942]
1270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1271 (1 - x) * (1 + x).
1272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1273 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1274 * math/libm-test.inc (acos_test): Add more tests.
1275 (asin_test): Likewise.
1276 * sysdeps/i386/fpu/libm-test-ulps: Update.
1277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1278
1279 [BZ #14034]
1280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1281 of square root.
1282 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1283 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1284 * math/libm-test.inc (acos_test_tonearest): New function.
1285 (acos_test_towardzero): Likewise.
1286 (acos_test_downward): Likewise.
1287 (acos_test_upward): Likewise.
1288 (asin_test_tonearest): Likewise.
1289 (asin_test_towardzero): Likewise.
1290 (asin_test_downward): Likewise.
1291 (asin_test_upward): Likewise.
1292 (main): Call the new functions.
1293 * sysdeps/i386/fpu/libm-test-ulps: Update.
1294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1295
1296 [BZ #13884]
1297 [BZ #13924]
1298 * math/e_exp10.c: Include <float.h>.
1299 (__ieee754_exp10): Handle underflow here rather than multiplying
1300 large negative argument by M_LN10.
1301 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1302 of __ieee754_expf.
1303 * math/e_exp10l.c: Include <float.h>.
1304 (__ieee754_exp10l): Handle underflow here rather than multiplying
1305 large negative argument by M_LN10l.
1306 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1307 spurious overflow exception on underflow.
1308
1309 2012-04-29 Marek Polacek <polacek@redhat.com>
1310
1311 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1312 (__fortify_function): New macro.
1313 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1314 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1315 __extern_always_inline.
1316 * libio/bits/stdio2.h: Likewise.
1317 * libio/bits/stdio.h: Likewise.
1318 * string/string.h: Likewise.
1319 * string/bits/string3.h: Likewise.
1320 * include/stdio.h: Likewise.
1321 * stdlib/bits/stdlib.h: Likewise.
1322 * stdlib/stdlib.h: Likewise.
1323 * rt/bits/mqueue2.h: Likewise.
1324 * rt/mqueue.h: Likewise.
1325 * posix/bits/unistd.h: Likewise.
1326 * posix/unistd.h: Likewise.
1327 * io/bits/poll2.h: Likewise.
1328 * io/bits/fcntl2.h: Likewise.
1329 * io/fcntl.h: Likewise.
1330 * io/sys/poll.h: Likewise.
1331 * misc/bits/syslog.h: Likewise.
1332 * misc/bits/syslog-ldbl.h: Likewise.
1333 * misc/sys/syslog.h: Likewise.
1334 * socket/bits/socket2.h: Likewise.
1335 * socket/sys/socket.h: Likewise.
1336 * debug/tst-chk1.c: Likewise.
1337 * wcsmbs/bits/wchar2.h: Likewise.
1338 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1339 * wcsmbs/wchar.h: Likewise.
1340
1341 2012-04-29 Andreas Jaeger <aj@suse.de>
1342
1343 * Makerules (tests): Remove enable-check-abi protection.
1344 (check-abi-warn): Remove.
1345 (check-abi-%): Remove check-abi-warn usage.
1346
1347 * configure.in: Remove check-abi configure option.
1348 * configure: Regenerated.
1349 * config.make.in (enable-check-abi): Remove.
1350
1351 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1352
1353 [BZ #14033]
1354 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1355 double functions to double *_finite functions.
1356
1357 [BZ #13941]
1358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1359 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1360 LDBL_MIN_EXP.
1361 * stdio-common/Makefile (tests): Add tst-sprintf3.
1362 * stdio-common/tst-sprintf3.c: New file.
1363
1364 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1365 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1366
1367 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1368
1369 * conform/conformtest.pl: Remove duplicate typed-constant
1370 handling.
1371
1372 2012-04-28 David S. Miller <davem@davemloft.net>
1373
1374 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1375 (check-abi-%): Remove AWK script prerequisite and explicit
1376 abilist directory.
1377 (check-abi): Rewrite to just diff the symlist with the abilist.
1378 (config-tls, config-abi-config): Delete, no longer used.
1379 (update-abi-%): Remove AWK script and explicit abilist directory.
1380 (update-abi): Rewrite to simply compare and conditionally copy the
1381 symlist and the sysdep abilist file. Remove update-abi-config
1382 checks.
1383 * abilist/ld.abilist: Remove.
1384 * abilist/libBrokenLocale.abilist: Remove.
1385 * abilist/libanl.abilist: Remove.
1386 * abilist/libcrypt.abilist: Remove.
1387 * abilist/libdl.abilist: Remove.
1388 * abilist/librt.abilist: Remove.
1389 * abilist/libthread_db.abilist: Remove.
1390 * abilist/libutil.abilist: Remove.
1391 * scripts/extract-abilist.awk: Remove.
1392 * scripts/merge-abilist.awk: Remove.
1393 * sysdeps/generic/libcidn.abilist: New file.
1394 * sysdeps/generic/libnss_compat.abilist: New file.
1395 * sysdeps/generic/libnss_db.abilist: New file.
1396 * sysdeps/generic/libnss_dns.abilist: New file.
1397 * sysdeps/generic/libnss_files.abilist: New file.
1398 * sysdeps/generic/libnss_hesiod.abilist: New file.
1399 * sysdeps/generic/libnss_nis.abilist: New file.
1400 * sysdeps/generic/libnss_nisplus.abilist: New file.
1401 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1403 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1404 file.
1405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1407 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1408 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1409 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1410 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1411 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1412 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1413 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1414 file.
1415 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1416 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1417 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1418 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1419 file.
1420 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1421 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1423 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1425 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1426 file.
1427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1430 file.
1431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1433 New file.
1434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1435 New file.
1436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1437 New file.
1438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1439 New file.
1440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1441 New file.
1442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1443 New file.
1444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1445 New file.
1446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1447 New file.
1448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1449 New file.
1450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1451 New file.
1452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1453 New file.
1454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1455 New file.
1456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1457 New file.
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1459 file.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1461 New file.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1463 New file.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1465 file.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1467 New file.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1469 New file.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1471 file.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1473 New file.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1475 New file.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1477 New file.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1479 New file.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1481 New file.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1483 New file.
1484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1486 file.
1487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1488 New file.
1489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1490 file.
1491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1492 file.
1493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1494 file.
1495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1496 file.
1497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1498 file.
1499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1500 New file.
1501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1502 file.
1503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1504 file.
1505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1506 New file.
1507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1508 file.
1509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1511 file.
1512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1513 New file.
1514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1515 file.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1517 file.
1518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1519 file.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1521 file.
1522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1523 file.
1524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1525 New file.
1526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1527 file.
1528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1529 file.
1530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1531 New file.
1532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1533 file.
1534 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1535 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1536 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1537 file.
1538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1539 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1540 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1541 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1542 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1543 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1544 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1545 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1547 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1550 file.
1551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1552 New file.
1553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1554 file.
1555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1556 file.
1557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1558 file.
1559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1560 file.
1561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1562 file.
1563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1564 New file.
1565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1566 New file.
1567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1568 file.
1569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1570 New file.
1571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1572 file.
1573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1575 file.
1576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1577 New file.
1578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1579 file.
1580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1581 file.
1582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1583 file.
1584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1585 file.
1586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1587 file.
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1589 New file.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1591 New file.
1592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1593 file.
1594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1595 New file.
1596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1597 file.
1598
1599 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1600
1601 * conform/conformtest.pl: Fix typo in handling typed-constant from
1602 allow-header.
1603
1604 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1605
1606 * README: Cut down references to pre-2.6 Linux kernels and
1607 Linuxthreads. Update lists of configurations in libc and ports
1608 and sort alphabetically. Say "or newer" with Linux kernel version
1609 requirements.
1610
1611 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1612
1613 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1614
1615 [BZ #887]
1616 * math/libm-test.inc (logb_test_downward): New test to expose
1617 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1618 rounding mode.
1619
1620 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1621
1622 [BZ #14027]
1623 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1624 to be done.
1625 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1626 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1627
1628 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1629
1630 * sysdeps/unix/i386/brk.S: Remove file.
1631 * sysdeps/unix/i386/dl-brk.S: Likewise.
1632 * sysdeps/unix/i386/pipe.S: Likewise.
1633 * sysdeps/unix/i386/sigreturn.S: Likewise.
1634 * sysdeps/unix/i386/syscall.S: Likewise.
1635 * sysdeps/unix/i386/vfork.S: Likewise.
1636 * sysdeps/unix/i386/wait.S: Likewise.
1637
1638 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1639 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1640
1641 * configure.in (arm*-none*): Do not allow without
1642 --enable-hacker-mode.
1643 (netbsd*): Remove case setting base_os.
1644 (386bsd*): Likewise.
1645 (freebsd*): Likewise.
1646 (bsdi*): Likewise.
1647 (osf*): Likewise.
1648 (sunos*): Likewise.
1649 (ultrix*): Likewise.
1650 (newsos*): Likewise.
1651 (dynix*): Likewise.
1652 (*bsd*): Likewise.
1653 (sysv*): Likewise.
1654 (isc*): Likewise.
1655 (esix*): Likewise.
1656 (sco*): Likewise.
1657 (minix*): Likewise.
1658 (irix4*): Likewise.
1659 (irix6*): Likewise.
1660 (solaris[2-9]*): Likewise.
1661 (none): Likewise.
1662 * configure: Regenerated.
1663
1664 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 [BZ #11521]
1667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1668 overflow or cancellation in calculating denominator.
1669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1671 down expression to avoid unexpected rounding in newer GCCs.
1672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1673
1674 2012-04-26 David S. Miller <davem@davemloft.net>
1675
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1677 long-double compat symbols.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1691
1692 2012-04-25 David S. Miller <davem@davemloft.net>
1693
1694 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1695 HWCAP_* values only after the memory barriers have been defined.
1696 (atomic_full_barrier): Define.
1697 (atomic_read_barrier): Define.
1698 (atomic_write_barrier): Define.
1699
1700 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1701
1702 * shlib-versions: Add libgcc_s version information.
1703 * sysdeps/generic/libgcc_s.h: Remove.
1704 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1705 libgcc_s.h.
1706 * sysdeps/gnu/unwind-resume.c: Likewise.
1707 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1708
1709 2012-04-25 David S. Miller <davem@davemloft.net>
1710
1711 * sysdeps/unix/sparc/brk.S: Delete.
1712 * sysdeps/unix/sparc/dl-brk.S: Delete.
1713 * sysdeps/unix/sparc/pipe.S: Delete.
1714 * sysdeps/unix/sparc/sysdep.S: Delete.
1715 * sysdeps/unix/sparc/sysdep.h: Delete.
1716 * sysdeps/unix/sparc/vfork.S: Delete.
1717 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1718 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1720 ret_ERRVAL, r0, r1, MOVE): Define.
1721 (JUMPTARGET): Remove.
1722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1723 sysdeps/unix/sparc/sysdep.h
1724 (ENTRY, END): Remove.
1725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1726
1727 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1728
1729 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1730 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1731 -DIS_IN_build.
1732
1733 * timezone/README: Update upstream location and email address for
1734 tzcode and tzdata.
1735 * timezone/zdump.c: Update from tzcode 2012b.
1736 * timezone/zic.c: Likewise.
1737
1738 * configure.in (libc_cv_as_needed): Remove test.
1739 * configure: Regenerated.
1740 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1741 conditional definition.
1742 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1743 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1744 * config.make.in (have-as-needed): Remove variable.
1745
1746 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1747 Paul Pluzhnikov <ppluzhnikov@google.com>
1748
1749 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1750 strings correctly.
1751
1752 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1753
1754 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1755 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1756 * sysdeps/sh/strlen.S: Likewise.
1757
1758 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1759
1760 * sysdeps/unix/fork.S: Remove file.
1761 * sysdeps/unix/i386/fork.S: Likewise.
1762 * sysdeps/unix/sparc/fork.S: Likewise.
1763
1764 * sysdeps/unix/system.c: Remove file.
1765 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1766
1767 * sysdeps/unix/getegid.S: Remove file.
1768 * sysdeps/unix/geteuid.S: Likewise.
1769
1770 2012-04-24 Roland McGrath <roland@hack.frob.com>
1771
1772 * scripts/check-localplt.awk: New file.
1773 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1774 of diff.
1775 * scripts/data/localplt-generic.data: Add a comment.
1776
1777 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1778 NODE when __dir_mkfile failed.
1779 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1780 Reported by Ludovic Courtès <ludo@gnu.org>.
1781
1782 2012-04-24 Andreas Jaeger <aj@suse.de>
1783
1784 * Makerules (common-clean): Also remove gen-as-const-headers
1785 files.
1786
1787 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1788
1789 * Makerules (native-compile): Do not change working directory for
1790 build. Use $(OUTPUT_OPTION) in command.
1791 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1792
1793 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1794
1795 [BZ #13886]
1796 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1797 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1798 * math/libm-test.inc (floor_test): Add more tests.
1799 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1800
1801 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1802
1803 * sysdeps/unix/getdents.c: Remove file.
1804 * sysdeps/unix/sysv/getdents.c: Likewise.
1805 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1806
1807 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1808 sysdeps/unix/mman/syscalls.list.
1809 (mmap): Likewise.
1810 (mprotect): Likewise.
1811 (msync): Likewise.
1812 (munmap): Likewise.
1813 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1814 * sysdeps/unix/mman/syscalls.list: Remove.
1815 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1816
1817 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1818 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1819 * configure: Regenerated.
1820 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1821 $(libgcc_s_suffix).
1822 * config.make.in (libgcc_s_suffix): Remove variable.
1823
1824 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1825
1826 * sysdeps/unix/sysv/gethostname.c: Move to ...
1827 * sysdeps/posix/gethostname.c: ... here.
1828
1829 * sysdeps/unix/execve.S: Remove file.
1830
1831 * sysdeps/unix/_exit.S: Remove file.
1832
1833 2012-04-23 Andreas Jaeger <aj@suse.de>
1834
1835 [BZ #13739]
1836 * manual/Makefile: Remove make dist support, there's no
1837 need for a stand-alone documentation tar ball.
1838 (TEXI2DVI): Define always, it's not in Makeconfig.
1839 (dist): Removed.
1840 (tar-it): Removed.
1841 (edition): Removed.
1842 (glibc-doc-$(edition).tar): Removed
1843 (%.Z): Removed.
1844 (%.gz): Removed.
1845 (%.uu): Removed.
1846 (ETAGS): Remove, it's in Makeconfig.
1847 (move-if-change): Remove, it's in Makeconfig.
1848
1849 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1850
1851 [BZ #13970]
1852 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1853 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1854 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1855 (strtod_l, strtof_l, strtold_l): Remove __wur.
1856 It is not necessarily an error to ignore strtol's return value.
1857 One can reliably look at the stored endptr to decide whether
1858 the number had valid syntax.
1859
1860 2012-04-21 Andreas Jaeger <aj@suse.de>
1861
1862 [BZ #13739]
1863 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1864
1865 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1866
1867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1868 * sysdeps/unix/sysv/Versions: Remove file.
1869
1870 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1871
1872 [BZ #13927]
1873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1874
1875 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1876
1877 [BZ #7064]
1878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1879 version from __vm86.
1880
1881 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1882
1883 * sysdeps/unix/common/lxstat.c: Remove file.
1884 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1885
1886 * sysdeps/unix/sysv/Makefile: Remove file.
1887
1888 * sysdeps/unix/sysv/direct.h: Remove file.
1889
1890 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1891 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1892 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1893 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1894 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1895 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1896 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1897
1898 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1899
1900 * sysdeps/unix/xmknod.c: Remove file.
1901 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1902
1903 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1904
1905 * sysdeps/unix/sysv/i386/time.S: Remove file.
1906
1907 * sysdeps/unix/fxstat.c: Remove file.
1908 * sysdeps/unix/xstat.c: Likewise.
1909 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1910
1911 * sysdeps/unix/sysv/sigaction.c: Remove file.
1912
1913 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1914 (sysdep_headers): Remove variable.
1915 [termio.h not in sysdep_headers] (generated): Likewise.
1916 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1917 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1918 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1919 * sysdeps/unix/sysv/tcflow.c: Likewise.
1920 * sysdeps/unix/sysv/tcflush.c: Likewise.
1921 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1922 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1923 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1924 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1925 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1926
1927 * sysdeps/unix/siglist.c: Remove file.
1928
1929 * sysdeps/unix/getppid.S: Remove file.
1930
1931 * sysdeps/unix/mkdir.c: Remove file.
1932 * sysdeps/unix/rmdir.c: Likewise.
1933
1934 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1935
1936 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1937 ERR_MAX value.
1938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1939 errlist-compat value.
1940
1941 2012-04-18 David S. Miller <davem@davemloft.net>
1942
1943 * sysdeps/generic/memcopy.h (reg_char): Delete.
1944 * debug/strcat_chk.c: Use char, not reg_char.
1945 * debug/strcpy_chk.c: Likewise.
1946 * debug/strncat_chk.c: Likewise.
1947 * debug/strncpy_chk.c: Likewise.
1948 * string/memchr.c: Likewise.
1949 * string/memrchr.c: Likewise.
1950 * string/rawmemchr.c: Likewise.
1951 * string/strcat.c: Likewise.
1952 * string/strchr.c: Likewise.
1953 * string/strchrnul.c: Likewise.
1954 * string/strcmp.c: Likewise.
1955 * string/strcpy.c: Likewise.
1956 * string/strncat.c: Likewise.
1957 * string/strncmp.c: Likewise.
1958 * string/strncpy.c: Likewise.
1959
1960 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1961
1962 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1963 __builtin_memcopy is called when src and dest ranges are known to not
1964 overlap.
1965
1966 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1967
1968 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1969 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1970 fwd_align_merge macro call.
1971 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1972 bwd_align_merge macro call.
1973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1974
1975 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1976
1977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1978 bwd_align_merge macros.
1979 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1980 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1982
1983 2012-04-18 David S. Miller <davem@davemloft.net>
1984
1985 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1986
1987 2012-04-18 Andreas Jaeger <aj@suse.de>
1988
1989 [BZ# 6794]
1990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1991 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1993
1994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1995 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1997
1998 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1999 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2000 Adjust for changed ldbl-128 files.
2001
2002 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2003 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2005
2006 2012-04-17 David S. Miller <davem@davemloft.net>
2007
2008 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2009
2010 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2011
2012 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2013 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2014 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2015 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2017 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2018
2019 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020
2021 [BZ #6794]
2022 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2023 * math/libm-test.inc: Add ilogb errno and exception tests.
2024 * math/w_ilogb.c: New file: ilogb wrapper.
2025 * math/w_ilogbf.c: New file: ilogbf wrapper.
2026 * math/w_ilogbl.c: New file: ilogbl wrapper.
2027 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2028 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2029 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2030 exception being thrown with 0.0 as argument.
2031 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2032 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2033 exception being thrown with 0.0 as argument.
2034 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2035 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2036 exception being thrown with 0.0 as argument.
2037 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2038 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2039 exception being thrown with 0.0 as argument.
2040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2041 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2043 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2045 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2046 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2047 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2048 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2049
2050 2012-04-17 Petr Baudis <pasky@ucw.cz>
2051
2052 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2053 with altivec.
2054
2055 2012-04-16 Marek Polacek <polacek@redhat.com>
2056
2057 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2058
2059 2012-04-16 Marek Polacek <polacek@redhat.com>
2060
2061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2062 operands of fdivp instruction.
2063
2064 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2067 * elf/tst-auditmod3b.c: Likewise.
2068 * elf/tst-auditmod4b.c: Likewise.
2069 * elf/tst-auditmod5b.c: Likewise.
2070 * elf/tst-auditmod6b.c: Likewise.
2071 * elf/tst-auditmod6c.c: Likewise.
2072 * elf/tst-auditmod7b.c: Likewise.
2073 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2074 * sysdeps/x86_64/preconfigure.in: Likewise.
2075 * sysdeps/x86_64/preconfigure: Regenerated.
2076
2077 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2078
2079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2080 __ILP32__.
2081
2082 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2083
2084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2085 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2086
2087 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2088
2089 [BZ #13973]
2090 * locale/iso-639.def: Fix gl language name. Spotted by
2091 Yaron Shahrabani.
2092
2093 2012-04-12 Roland McGrath <roland@hack.frob.com>
2094
2095 [BZ #2074]
2096 * libio/libio.h (__io_write_fn): Update comment.
2097
2098 2012-04-12 Petr Baudis <pasky@ucw.cz>
2099
2100 [BZ #2074]
2101 * stdio.texi (Hook Functions): The user provided writer function
2102 is not allowed to return -1.
2103
2104 2012-04-11 David S. Miller <davem@davemloft.net>
2105
2106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2107
2108 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2109
2110 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2111 Add a leading slash to rtkaio.
2112
2113 2012-04-11 Jim Meyering <meyering@redhat.com>
2114
2115 [BZ #11959]
2116 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2117 It is not necessarily an error to ignore fwrite's return
2118 value. One can reliably use ferror to test for errors after
2119 the fact.
2120
2121 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 * bits/types.h (__snseconds_t): New type.
2124 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2125
2126 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2128 (__SNSECONDS_T_TYPE): Likewise.
2129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2130 (__SNSECONDS_T_TYPE): Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2132 (__SNSECONDS_T_TYPE): Likewise.
2133
2134 2012-04-10 Andreas Jaeger <aj@suse.de>
2135
2136 [BZ #2636]
2137 * manual/time.texi (Processor Time): Return type of times is
2138 elapsed real time since an arbitrary point in the past.
2139 (CPU Time): Move CLK_TCK from here...
2140 (Processor Time): ...to here. Correct description.
2141 * manual/conf.texi (Constants for Sysconf): Correct description of
2142 _SC_CLK_TCK.
2143
2144 2012-04-10 David S. Miller <davem@davemloft.net>
2145
2146 [BZ #13967]
2147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2148 where the is a gap between DT_REL(A) and DT_JMPREL.
2149
2150 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2155
2156 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2157
2158 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2159 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2160 (dl_main): Handle --inhibit-cache.
2161 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2162 _dl_inhibit_cache.
2163 * elf/dl-load.c (_dl_map_object): Use it.
2164 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2165
2166 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2167
2168 [BZ #13872]
2169 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2170 (__ieee754_powl): Saturate large exponents rather than testing for
2171 overflow of y*log2(x).
2172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2173 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2174 exceptions.
2175
2176 [BZ #11521]
2177 * math/s_ctan.c: Include <float.h>.
2178 (__ctan): Avoid internal overflow or cancellation in calculating
2179 denominator.
2180 * math/s_ctanf.c: Likewise.
2181 * math/s_ctanl.c: Likewise.
2182 * math/s_ctanh.c: Likewise.
2183 * math/s_ctanhf.c: Likewise.
2184 * math/s_ctanhl.c: Likewise.
2185 * math/libm-test.inc (ctan_test): Add more tests.
2186 (ctanh_test): Likewise.
2187 * sysdeps/i386/fpu/libm-test-ulps: Update.
2188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2189
2190 2012-04-09 Andreas Jaeger <aj@suse.de>
2191
2192 [BZ #6894]
2193 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2194 is an optional BSD extension.
2195
2196 [BZ #10254]
2197 * manual/stdio.texi (Opening Streams): Document additional fopen
2198 parameters.
2199
2200 2012-04-09 Roland McGrath <roland@hack.frob.com>
2201
2202 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2203 %eax without telling the compiler.
2204
2205 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2206
2207 [BZ # 13963]
2208 * manual/install.texi: Use sourceware.org.
2209
2210 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #13873]
2213 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2214 (__ieee754_pow): Generate overflow and underflow using huge*huge
2215 and tiny*tiny rather than just returning constant infinity or zero
2216 for large exponents.
2217 * math/libm-test.inc (pow_test): Require overflow exceptions for
2218 applicable cases of large exponents.
2219
2220 [BZ #706]
2221 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2222 (__ieee754_pow): Use iterative multiplication algorithm only for
2223 integer exponents with absolute value below 1024. Check for odd
2224 integer exponents when using algorithm for real exponents.
2225 * math/libm-test.inc (pow_test): Add more tests.
2226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2227
2228 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2229
2230 [BZ #13705]
2231 * math/libm-test.inc (exp_test): Do not allow overflow exception
2232 on underflow test.
2233
2234 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2235
2236 [BZ #13705]
2237 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2238 instead of __kernel_standard_f.
2239
2240 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2241
2242 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2243 * sysdeps/x86_64/memset_chk.S: Likewise.
2244
2245 2012-04-08 Andreas Jaeger <aj@suse.de>
2246
2247 [BZ #10153]
2248 * manual/startup.texi (Environment Access): Describe return value
2249 for putenv and setenv.
2250
2251 [BZ #6895]
2252 * manual/filesys.texi (Directory Entries): Add description for
2253 DT_LNK.
2254
2255 [BZ #6890]
2256 * manual/filesys.texi (Directory Entries): Clarify that it's file
2257 system not operating system in the description of DT_UNKNOWN.
2258
2259 [BZ #6578]
2260 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2261
2262 2012-04-08 Stephen Compall <s11@member.fsf.org>
2263
2264 [BZ #6649]
2265 * manual/llio.texi (Opening and Closing Files): Add cross
2266 reference to explain mode argument.
2267
2268 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2269
2270 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2271 * sysdeps/x86_64/memset_chk.S: Likewise.
2272
2273 2012-04-07 David S. Miller <davem@davemloft.net>
2274
2275 * elf/elf.h (R_SPARC_WDISP10): Define.
2276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2277 R_SPARC_SIZE32.
2278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2279 R_SPARC_SIZE64 and R_SPARC_H34.
2280
2281 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2282
2283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2284 conditions and remove no longer applicable assertion.
2285
2286 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2287
2288 * bits/byteswap.h: Include <features.h>.
2289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2291
2292 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2293
2294 * bits/byteswap.h (__bswap_16): Removed.
2295 Include <bits/byteswap-16.h> to get __bswap_16.
2296 * sysdeps/i386/bits/byteswap.h: Likewise.
2297 * sysdeps/s390/bits/byteswap.h: Likewise.
2298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2299 * bits/byteswap-16.h: New file.
2300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2301 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2302 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2303 * string/Makefile (headers): Add bits/byteswap-16.h.
2304
2305 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2306
2307 [BZ #13895]
2308 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2309 extra indirection.
2310 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2311 * nss/tst-nss-static.c: New.
2312
2313 2012-04-06 Robert Millan <rmh@gnu.org>
2314
2315 [BZ #6486]
2316 * manual/llio.texi (File Position Primitive): lseek
2317 refers to WHENCE when it really means OFFSET.
2318
2319 2012-04-06 Andreas Jaeger <aj@suse.de>
2320
2321 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2322 strncmp declarations.
2323
2324 * abilist/libc.abilist: Add __poll and __ppoll.
2325
2326 2012-04-05 David S. Miller <davem@davemloft.net>
2327
2328 * scripts/check-local-headers.sh: Accept a host triplet in the
2329 path matched by the exclude regexp.
2330
2331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2332 definition.
2333 * sysdeps/powerpc/powerpc32/dl-machine.h
2334 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2335 * sysdeps/s390/s390-32/dl-machine.h
2336 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2337 * sysdeps/sparc/sparc32/dl-machine.h
2338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2339 * sysdeps/sparc/sparc64/dl-machine.h
2340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2341
2342 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2343 lazy binding.
2344 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2345 undefined symbol errors.
2346
2347 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2348 DT_NEEDED entries.
2349
2350 2012-04-05 Michael Matz <matz@suse.de>
2351
2352 [BZ #13592]
2353 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2354
2355 2012-04-05 Andreas Jaeger <aj@suse.de>
2356
2357 [BZ #13908]
2358 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2359 comment.
2360
2361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2362
2363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2364 which ROUND is no valid rounding mode.
2365
2366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2367
2368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2369 read again.
2370 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2371
2372 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2373
2374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2375 an exception using FPU order intentionally.
2376
2377 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2378
2379 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2380 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2381 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2382 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2383
2384 2012-04-05 Simon Josefsson <simon@josefsson.org>
2385
2386 [BZ #12340]
2387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2388 EINVAL when BUFLEN is too smal.
2389
2390 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2391
2392 [BZ #13553]
2393 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2394 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2395
2396 2012-04-03 Andreas Jaeger <aj@suse.de>
2397
2398 [BZ #13938]
2399 * manual/setjmp.texi (System V contexts): Fix sentence.
2400
2401 [BZ #13926]
2402 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2403 New macro for this case.
2404 [!__GNUC__] (__bswap_64): New inline function for this case.
2405 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2406 * bits/byteswap.h: Likewise.
2407 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2408 ull, guard with __GLIBC_HAVE_LONG_LONG.
2409
2410 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2411 __GLIBC_HAVE_LONG_LONG.
2412
2413 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2414 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2415
2416 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2417
2418 [BZ #13691]
2419 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2420 inptr and inend, rather than using last_ch.
2421
2422 2012-04-02 David S. Miller <davem@davemloft.net>
2423
2424 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2425 * stdio-common/printf-parse.h (read_int): Change return type to
2426 'int', return -1 on INT_MAX overflow.
2427 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2428 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2429 overflows INT_MAX. Check for overflow of in-format-string precision
2430 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2431 SIZE_MAX not INT_MAX for integer overflow test.
2432 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2433 skip the construct in the format string but do not record anything.
2434 * stdio-common/bug22.c: Adjust to test both width/prevision
2435 INT_MAX overflow as well as total length INT_MAX overflow. Check
2436 explicitly for proper errno values.
2437
2438 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2439
2440 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2441 CHAR_MAX.
2442 * string/test-strcmp.c [! WIDE]: Likewise.
2443 * time/tst-mktime2.c: Likewise for INT_MAX.
2444 * string/test-string.h: #include <sys/param.h> for MIN.
2445
2446 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2447 * sysdeps/i386/init-first.c (init): Likewise.
2448 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2449 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2450 * sysdeps/sh/init-first.c (init): Likewise.
2451
2452 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2453
2454 * po/ru.po: Update from translation team.
2455 * po/vi.po: Likewise.
2456
2457 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2458
2459 * resolv/nss_dns/dns-host.c: Merge copyright years.
2460
2461 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2462
2463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2464 Optimize memcpy with prefetch if
2465 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2466 src, dst pointers have unequal 16 byte alignments.
2467
2468 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2469
2470 [BZ #13928]
2471 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2472 from a CNAME entry and return the minimum ttl for the query.
2473 (gaih_getanswer_slice): Likewise.
2474
2475 2012-03-30 Jeff Law <law@redhat.com>
2476
2477 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2478 due to long keys.
2479 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2480 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2481
2482 * resolv/nss_dns/dns-host.c: Update copyright year.
2483
2484 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2485
2486 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2487 requests to save a system call. Fix check that all bytes are sent.
2488
2489 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2490 comments for sendmmsg.
2491
2492 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2493
2494 [BZ #13691]
2495 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2496 with only 1 character between 0x0041 and 0x01b0.
2497 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2498 * wcsmbs/tst-mbsnrtowcs.c: New file.
2499
2500 2012-03-29 David S. Miller <davem@davemloft.net>
2501
2502 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2503 small copies by hand.
2504
2505 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2506
2507 [BZ #13761]
2508 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2509 _nss_compat_initgroups_dyn): Fall back to malloc/free
2510 for large group memberships.
2511
2512 2012-03-28 David S. Miller <davem@davemloft.net>
2513
2514 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2515 that branches into memcpy.
2516 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2521 bits.
2522 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2523 implementation too.
2524 * sysdeps/sparc/mempcpy.S: New file.
2525
2526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2527 the IFUNC routine in the libc case.
2528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2529
2530 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2532 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2533 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2534 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2535 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2536 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2537 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2538
2539 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2540 loop to 256 bytes instead of 64 bytes and fix test signedness.
2541
2542 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2543 * sysdeps/sparc/sparc32/Makefile: rather than here...
2544 * sysdeps/sparc/sparc64/Makefile: and here.
2545
2546 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2547
2548 * malloc/mallocbug.c: Avoid warnings about unused variables.
2549
2550 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2551
2552 [BZ #13760]
2553 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2554 in the right place. Discard and retry query if response is
2555 larger than input buffer size.
2556
2557 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2558
2559 [BZ #369]
2560 [BZ #2678]
2561 [BZ #3866]
2562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2563 x for large integer exponent.
2564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2566 sign of result as needed afterwards.
2567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2569 result for underflowing pow the same as for overflow.
2570 (__kernel_standard_l): Handle powl overflow and underflow here
2571 rather than calling __kernel_standard.
2572 * math/libm-test.inc (pow_test): Add more tests.
2573
2574 [BZ #3868]
2575 [BZ #13879]
2576 [BZ #13910]
2577 [BZ #13911]
2578 [BZ #13912]
2579 [BZ #13913]
2580 [BZ #13915]
2581 [BZ #13916]
2582 [BZ #13917]
2583 [BZ #13918]
2584 [BZ #13919]
2585 [BZ #13920]
2586 [BZ #13921]
2587 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2588 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2589 (__kernel_standard_l): New function.
2590 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2591 __kernel_standard.
2592 * math/w_acosl.c (__acosl): Likewise.
2593 * math/w_asinl.c (__asinl): Likewise.
2594 * math/w_atan2l.c (__atan2l): Likewise.
2595 * math/w_atanhl.c (__atanhl): Likewise.
2596 * math/w_coshl.c (__coshl): Likewise.
2597 * math/w_exp10l.c (__exp10l): Likewise.
2598 * math/w_exp2l.c (__exp2l): Likewise.
2599 * math/w_fmodl.c (__fmodl): Likewise.
2600 * math/w_hypotl.c (__hypotl): Likewise.
2601 * math/w_j0l.c (__j0l, __y0l): Likewise.
2602 * math/w_j1l.c (__j1l, __y1l): Likewise.
2603 * math/w_jnl.c (__jnl, __ynl): Likewise.
2604 * math/w_lgammal.c (__lgammal): Likewise.
2605 * math/w_log10l.c (__log10l): Likewise.
2606 * math/w_log2l.c (__log2l): Likewise.
2607 * math/w_logl.c (__logl): Likewise.
2608 * math/w_powl.c (__powl): Likewise.
2609 * math/w_remainderl.c (__remainderl): Likewise.
2610 * math/w_scalbl.c (sysv_scalbl): Likewise.
2611 * math/w_sinhl.c (__sinhl): Likewise.
2612 * math/w_sqrtl.c (__sqrtl): Likewise.
2613 * math/w_tgammal.c (__tgammal): Likewise.
2614 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2615 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2616 * math/libm-test.inc (acos_test): Add more tests.
2617 (acosh_test): Likewise.
2618 (asin_test): Likewise.
2619 (atanh_test): Likewise.
2620 (exp_test): Likewise.
2621 (exp10_test): Likewise.
2622 (exp2_test): Likewise.
2623 (expm1_test): Likewise.
2624 (lgamma_test): Likewise.
2625 (log_test): Likewise.
2626 (log10_test): Likewise.
2627 (log1p_test): Likewise.
2628 (log2_test): Likewise.
2629 (pow_test): Do not allow some spurious overflow exceptions.
2630 (sqrt_test): Add more tests.
2631 (tgamma_test): Likewise.
2632 (y0_test): Likewise.
2633 (y1_test): Likewise.
2634 (yn_test): Likewise.
2635
2636 2012-03-27 Anton Blanchard <anton@samba.org>
2637
2638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2639 MAP_HUGETLB.
2640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2643
2644 2012-03-27 David S. Miller <davem@davemloft.net>
2645
2646 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2647
2648 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2649 have-as-vis3 check.
2650
2651 2012-03-27 Andreas Jaeger <aj@suse.de>
2652
2653 * sysdeps/x86_64/elf/configure.in: Moved to ...
2654 * sysdeps/x86_64/configure.in: ... here.
2655 * sysdeps/x86_64/elf/start.S: Moved to ...
2656 * sysdeps/x86_64/start.S: ... here.
2657 * sysdeps/x86_64/elf/configure: Delete.
2658
2659 * sysdeps/x86_64/configure.in: Merge contents from
2660 sysdeps/i386/configure.in (without i686 check).
2661
2662 * sysdeps/i386/elf/Versions: Merge into ...
2663 * sysdeps/i386/Versions: ... this.
2664 * sysdeps/i386/elf/Versions: Delete file.
2665 * sysdeps/i386/elf/start.S: Moved to ...
2666 * sysdeps/i386/start.S: ...here.
2667 * sysdeps/i386/elf/configure.in: Merge into...
2668 * sysdeps/i386/configure.in: ...here.
2669 * sysdeps/i386/elf/configure.in: Delete file.
2670 * sysdeps/i386/elf/configure: Delete file.
2671
2672 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2673 * debug/backtracesyms.c: ... here.
2674 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2675 * debug/backtracesymsfd.c: ... here.
2676 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2677 * sysdeps/generic/ifunc-sel.h: ... here.
2678
2679 * sysdeps/unix/i386/start.c: Delete file.
2680 * sysdeps/unix/sparc/start.c: Delete file.
2681 * sysdeps/unix/start.c: Delete file.
2682
2683 * sysdeps/sh/elf/configure.in: Moved to ...
2684 * sysdeps/sh/configure.in: ... here.
2685 * sysdeps/sh/elf/start.S: Moved to ...
2686 * sysdeps/sh/start.S: ... here.
2687 * sysdeps/sh/elf/configure: Delete file.
2688
2689 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2690 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2691 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2692 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2693 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2694 * sysdeps/powerpc/powerpc64/start.S: here.
2695 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2696 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2697 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2698 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2699 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2700
2701 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2702 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2703 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2704 * sysdeps/powerpc/powerpc32/start.S: ... here.
2705 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2706 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2707 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2708
2709 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2710 * sysdeps/powerpc/ifunc-sel.h: ... here.
2711 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2712 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2713
2714 * sysdeps/sparc/elf/configure.in: Moved to ...
2715 * sysdeps/sparc/configure.in: ... here.
2716 * sysdeps/sparc/elf/configure: Delete file.
2717 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2718 * sysdeps/sparc/sparc32/start.S: ... here.
2719 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2720 * sysdeps/sparc/sparc64/start.S: ... here.
2721 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2722 * sysdeps/sparc/sparc32/Makefile: ... this.
2723 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2724 * sysdeps/sparc/sparc64/Makefile: ... this.
2725
2726 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2727 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2728 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2729 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2730 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2731 * sysdeps/s390/s390-32/setjmp.S: ... here.
2732 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2733 * sysdeps/s390/s390-32/configure.in: ... here.
2734 * sysdeps/s390/s390-32/elf/configure: Delete file.
2735 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2736 * sysdeps/s390/s390-32/start.S: ... here.
2737
2738 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2739 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2740 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2741 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2742 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2743 * sysdeps/s390/s390-64/setjmp.S: ... here.
2744 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2745 * sysdeps/s390/s390-64/configure.in: ... here
2746 * sysdeps/s390/s390-64/elf/configure: Delete file.
2747 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2748 * sysdeps/s390/s390-64/start.S: ... here.
2749 * sysdeps/s390/s390-64/elf/configure: Delete.
2750
2751 * configure.in: Remove support for elf directories in sysdeps.
2752
2753 * configure: Regenerated.
2754 * sysdeps/i386/configure: Regenerated.
2755 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2756 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2757 * sysdeps/s390/s390-32/configure: Regenerated.
2758 * sysdeps/s390/s390-64/configure: Regenerated.
2759 * sysdeps/sh/configure: Regenerated.
2760 * sysdeps/sparc/configure: Regenerated.
2761 * sysdeps/x86_64/configure: Regenerated.
2762
2763 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2764
2765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2766
2767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2768 denormal result into account.
2769
2770 2012-03-25 Roland McGrath <roland@hack.frob.com>
2771
2772 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2773 Reported by Allan McRae <allan@archlinux.org>.
2774
2775 2012-03-23 Jeff Law <law@redhat.com>
2776
2777 * nss/getnssent.c (__nss_getent): Fix typo.
2778
2779 2012-03-23 David S. Miller <davem@davemloft.net>
2780
2781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2782
2783 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2786 to pad to uint64_t for each field.
2787 (dl_tls_index): Replace unsigned long with uint64_t.
2788
2789 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2790 Paul Pluzhnikov <ppluzhnikov@google.com>
2791
2792 [BZ #6528]
2793 * grp/Makefile (otherlibs): Don't set it.
2794 * inet/Makefile (otherlibs): Likewise.
2795 * login/Makefile (otherlibs): Likewise.
2796 * nscd/Makefile (otherlibs): Likewise.
2797 * posix/Makefile (otherlibs): Likewise.
2798 * pwd/Makefile (otherlibs): Likewise.
2799 * rt/Makefile (otherlibs): Likewise.
2800 * sunrpc/Makefile (otherlibs): Likewise.
2801 * nss/Makefile (otherlibs): Likewise.
2802 Add libnss_files to routines and static-only-routines.
2803 ($(objpfx)getent): Remove rule.
2804 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2805 static-only-routines.
2806
2807 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2808
2809 [BZ #13892]
2810 * math/s_cexp.c: Include <float.h>.
2811 (__cexp): Handle exp result overflowing not necessarily
2812 overflowing both real and imaginary parts of result.
2813 * math/s_cexpf.c: Likewise.
2814 * math/s_cexpl.c: Likewise.
2815 * math/libm-test.inc (cexp_test): Add more tests.
2816 * sysdeps/i386/fpu/libm-test-ulps: Update.
2817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2818
2819 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * include/link.h (ELFW): New macro.
2822 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2823 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2824
2825 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2828 with uint64_t.
2829
2830 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2833 declaration.
2834 (struct La_x32_retval): Likewise.
2835
2836 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 * sysdeps/x86_64/preconfigure.in: New file.
2839 * sysdeps/x86_64/preconfigure: New generated file.
2840
2841 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2842
2843 [BZ #13824]
2844 * math/e_exp2l.c: Include <float.h>.
2845 (__ieee754_exp2l): Handle overflow and underflow cases
2846 separately. Only pass fractional part of argument to
2847 __ieee754_expl.
2848 * math/libm-test.inc (exp2_test): Add more tests.
2849
2850 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2851 negating x to take absolute value.
2852 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2853 Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2856 Likewise.
2857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2858 computing low part if x was negated.
2859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2860
2861 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2864 la_x32_gnu_pltexit.
2865 (pltexit): Cast int_retval to ptrdiff_t.
2866 * elf/tst-auditmod3b.c: Likewise.
2867 * elf/tst-auditmod4b.c: Likewise.
2868 * elf/tst-auditmod5b.c: Likewise.
2869 * elf/tst-auditmod6b.c: Likewise.
2870 * elf/tst-auditmod6c.c: Likewise.
2871 * elf/tst-auditmod7b.c: Likewise.
2872
2873 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2874 and x32_gnu_pltexit.
2875
2876 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2877 __ELF_NATIVE_CLASS.
2878 (La_x32_regs): New macro.
2879 (La_x32_retval): Likewise.
2880 (la_x32_gnu_pltenter): New function prototype.
2881 (la_x32_gnu_pltexit): Likewise.
2882
2883 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2884
2885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2886 exponent.
2887
2888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2889
2890 * configure.in (libc_cv_cc_nofma): Check for option to disable
2891 generation of FMA instructions.
2892 * configure: Regenerate.
2893 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2894 * sysdeps/ieee754/dbl-64/Makefile: New file.
2895 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2896 Remove brandred-fma4.
2897 (CFLAGS-brandred-fma4.c): Remove.
2898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2900 define.
2901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2902 define.
2903
2904 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2905
2906 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2907 LLONG_MAX != LONG_MAX.
2908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2909 (_fitoa_word): Likewise.
2910 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2911 LLONG_MAX != LONG_MAX.
2912 * stdio-common/_itowa.h: Include <_itoa.h>.
2913 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2914 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2915 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2916 only if not defined.
2917 (_ITOA_WORD_TYPE): Likewise.
2918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2919 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2920
2921 2012-03-21 David S. Miller <davem@davemloft.net>
2922
2923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2924
2925 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2926
2927 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2928 of x86_64 when setting libc_cv_slibdir, libdir and
2929 libc_cv_localedir.
2930 * sysdeps/unix/sysv/linux/configure: Regenerated.
2931
2932 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2933
2934 * manual/lang.texi (Old Varargs): Remove section.
2935 (How Variadic): Update menu.
2936 (va_start): Do not mention varargs.h.
2937
2938 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2939 Joseph Myers <joseph@codesourcery.com>
2940
2941 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2942 link test.
2943 * configure: Regenerated.
2944
2945 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2946
2947 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2948 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2949 conformtest.pl
2950
2951 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2952
2953 * NOTES: Remove.
2954 * Makefile (files-for-dist): Remove NOTES.
2955 (NOTES): Remove rule.
2956 * README: Don't refer to NOTES.
2957 * manual/creature.texi: Don't include macros.texi.
2958 * manual/intro.texi (creature.texi): Remove comment referring to
2959 NOTES.
2960
2961 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2962 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2963 * configure: Regenerated.
2964 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2965 LIBC_TRY_CC_OPTION.
2966 (libc_cv_as_i686): Likewise.
2967 (libc_cv_cc_avx): Likewise.
2968 (libc_cv_cc_sse2avx): Likewise.
2969 (libc_cv_cc_fma4): Likewise.
2970 (libc_cv_cc_novzeroupper): Likewise.
2971 * sysdeps/i386/configure: Regenerated.
2972
2973 [BZ #13883]
2974 * sysdeps/i386/fpu/s_cexp.S: Remove.
2975 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2976 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2977 * math/libm-test.inc (cexp_test): Add more tests.
2978 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2980
2981 2012-03-21 Allan McRae <allan@archlinux.org>
2982
2983 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2984
2985 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #13871]
2988 * math/w_exp2.c: Do not include <float.h>.
2989 (o_threshold, u_threshold): Remove.
2990 (__exp2): Calculate result before checking finiteness and calling
2991 __kernel_standard.
2992 * math/w_exp2f.c: Likewise.
2993 * math/w_exp2l.c: Likewise.
2994 * math/libm-test.inc (exp2_test): Require overflow exception for
2995 1e6 input.
2996
2997 [BZ #3866]
2998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2999 range of signed 64-bit integers before using fistpll. Remove
3000 checks for whether integers fit in mantissa bits.
3001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3002 the range of signed 32-bit integers before using fistpl. Remove
3003 checks for whether integers fit in mantissa bits.
3004 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3005 (__ieee754_powl): Test for y outside the range of signed 64-bit
3006 integers before using fistpll. Reduce 64-bit values to 63-bit
3007 ones as needed.
3008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3009 divide-by-zero is raised for zero to large negative powers.
3010 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3011 (__ieee754_powl): Test for y outside the range of signed 64-bit
3012 integers before using fistpll. Reduce 64-bit values to 63-bit
3013 ones as needed.
3014 * math/libm-test.inc (pow_test): Add more tests.
3015
3016 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3019 <stdio-common/_itoa.h>.
3020 * debug/segfault.c: Likewise.
3021 * elf/dl-cache.c: Likewise.
3022 * elf/dl-minimal.c: Likewise.
3023 * elf/dl-misc.c: Likewise.
3024 * elf/dl-sysdep.c: Likewise.
3025 * elf/dl-version.c: Likewise.
3026 * elf/rtld.c: Likewise.
3027 * hurd/hurdsock.c: Likewise.
3028 * hurd/lookup-retry.c: Likewise.
3029 * malloc/malloc.c: Likewise.
3030 * malloc/mtrace.c: Likewise.
3031 * nscd/nscd_getgr_r.c: Likewise.
3032 * nscd/nscd_getpw_r.c: Likewise.
3033 * nscd/nscd_getserv_r.c: Likewise.
3034 * posix/getopt_init.c: Likewise.
3035 * posix/wordexp.c: Likewise.
3036 * stdio-common/_itoa.c: Likewise.
3037 * stdio-common/printf_fphex.c: Likewise.
3038 * stdio-common/vfprintf.c: Likewise.
3039 * string/_strerror.c: Likewise.
3040 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3041 * sysdeps/i386/i686/hp-timing.h: Likewise.
3042 * sysdeps/mach/_strerror.c: Likewise.
3043 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3044 * sysdeps/mach/hurd/sethostid.c: Likewise.
3045 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3046 * sysdeps/mach/xpg-strerror.c: Likewise.
3047 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3049 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3050 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3051 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3052 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3053 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3054 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3055 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3056 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3057 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3058 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3059 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3060 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3061 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3063 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3064 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3065 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3066 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3067 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3068
3069 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3070
3071 * stdio-common/_itoa.h: Moved to ...
3072 * sysdeps/generic/_itoa.h: Here.
3073
3074 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3075
3076 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3077 instead of "_itoa.h" and "_itowa.h".
3078 * stdio-common/vfprintf.: Likewise.
3079
3080 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3081
3082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3083 <bits/wordsize.h>.
3084 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3085 (__signbit): Likwise.
3086 (llrintf): Likwise.
3087 (llrint): Likwise.
3088
3089 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3090
3091 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3092 __WORDSIZE != 64.
3093
3094 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3095
3096 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3097 OVERFLOW_EXCEPTION_OK.
3098 * math/libm-test.inc ("Philosophy"): Update comment about
3099 exception testing.
3100 (OVERFLOW_EXCEPTION): Define.
3101 (OVERFLOW_EXCEPTION_OK): Likewise.
3102 (INVALID_EXCEPTION_OK): Renumber.
3103 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3104 (IGNORE_ZERO_INF_SIGN): Likewise.
3105 (test_exceptions): Handle FE_OVERFLOW.
3106 (exp10_test): Expect overflow exceptions.
3107 (exp2_test): Likewise.
3108 (expm1_test): Likewise.
3109 (nextafter_test): Likewise.
3110 (pow_test): Likewise.
3111 (scalbn_test): Likewise.
3112 (scalbln_test): Likewise.
3113
3114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * sysdeps/x86_64/bits/atomic.h
3117 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3118 64bit integer.
3119 (atomic_exchange_acq): Likewise.
3120 (__arch_exchange_and_add_body): Likewise.
3121 (__arch_add_body): Likewise.
3122 (atomic_add_negative): Likewise.
3123 (atomic_add_zero): Likewise.
3124
3125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3126
3127 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3128 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3129
3130 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3131
3132 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3133 Check __x86_64__ instead of __WORDSIZE.
3134
3135 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3136
3137 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3138
3139 2012-03-19 David S. Miller <davem@davemloft.net>
3140
3141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3142
3143 * sysdeps/sparc/fpu/fenv_private.h: New file.
3144 * sysdeps/sparc/fpu/math_private.h: Use it.
3145 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3146 Remove.
3147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3148 (libc_feholdexcept_setroundl): Remove.
3149 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3150 Remove.
3151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3153
3154 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3155
3156 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3157 int64_t instead of long int.
3158 (INSERT_WORDS64): Likwise.
3159
3160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3163 _Unwind_GetCFA return to _Unwind_Ptr first.
3164
3165 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #13629]
3168 * math/s_clog.c: Include <float.h>.
3169 (__clog): Scale large or subnormal inputs.
3170 * math/s_clogf.c: Likewise.
3171 * math/s_clogl.c: Likewise.
3172 * math/s_clog10.c: Include <float.h>.
3173 (M_LOG10_2): Define.
3174 (__clog10): Scale large or subnormal inputs.
3175 * math/s_clog10f.c: Likewise.
3176 * math/s_clog10l.c: Likewise.
3177 * math/libm-test.inc (clog_test): Add more tests.
3178 (clog10_test): Likewise.
3179 * sysdeps/i386/fpu/libm-test-ulps: Update.
3180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3181
3182 [BZ #11451]
3183 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3184 x and y.
3185 * math/libm-test.inc (atan2_test): Add another test.
3186
3187 * Makerules (common-objdir-compile): Remove.
3188 * sysdeps/unix/Makefile (config-generated): Do not add
3189 $(unix-generated) to variable.
3190 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3191 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3192 Remove rule.
3193 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3194 Likewise.
3195 [generic bits/local_lim.h] (before-compile): Do not append to
3196 variable.
3197 [generic bits/local_lim.h] (common-generated): Likewise.
3198 [generic sys/param.h] (before-compile): Do not append to variable.
3199 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3200 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3201 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3202 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3203 include.
3204 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3205 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3206 [generic sys/param.h] ($(addprefix
3207 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3208 [generic sys/param.h] (common-generated): Do not append to
3209 variable.
3210 [generic sys/param.h] (sysdep_headers): Likewise.
3211 [generic bits/errno.h] (before-compile): Do not append to
3212 variable.
3213 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3214 rule.
3215 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3216 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3217 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3218 [generic bits/errno.h] (common-generated): Do not append to
3219 variable.
3220 [generic bits/ioctls.h] (before-compile): Do not append to
3221 variable.
3222 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3223 rule.
3224 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3225 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3226 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3227 rule.
3228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3229 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3230 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3231 [generic bits/ioctls.h] (common-generated): Do not append to
3232 variable.
3233 [generic sys/syscall.h] (syscall.h): Remove variable.
3234 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3235 rule.
3236 [generic sys/syscall.h] (before-compile): Do not append to
3237 variable.
3238 [generic sys/syscall.h] (common-generated): Likewise.
3239 * sysdeps/unix/errnos-tmpl.c: Remove file.
3240 * sysdeps/unix/errnos.awk: Likewise.
3241 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3242 * sysdeps/unix/ioctls.awk: Likewise.
3243 * sysdeps/unix/mk-local_lim.c: Likewise.
3244 * sysdeps/unix/snarf-ioctls: Likewise.
3245
3246 2012-03-19 Richard Henderson <rth@twiddle.net>
3247
3248 * sysdeps/i386/fpu/fenv_private.h: New file.
3249 * sysdeps/i386/fpu/math_private.h: Use it.
3250 (math_opt_barrier, math_force_eval): Remove.
3251 (libc_feholdexcept_setround_53bit): Remove.
3252 (libc_feupdateenv_53bit): Remove.
3253 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3254 (math_opt_barrier, math_force_eval): Remove.
3255 (libc_feholdexcept): Remove.
3256 (libc_feholdexcept_setround): Remove.
3257 (libc_fetestexcept, libc_fesetenv): Remove.
3258 (libc_feupdateenv_test): Remove.
3259 (libc_feupdateenv, libc_feholdsetround): Remove.
3260 (libc_feresetround): Remove.
3261
3262 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3263 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3264
3265 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3266 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3267 (libc_feupdateenv_testl): New.
3268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3269 (libc_feupdateenv_testf): New.
3270 (libc_feupdateenv): Use libc_feupdateenv_test.
3271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3273
3274 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3275 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3276 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3277 (libc_feresetround_noex): New.
3278 (libc_feresetround_noexf): New.
3279 (libc_feresetround_noexl): New.
3280 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3281 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3282 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3284 SET_RESTORE_ROUND.
3285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3287 (__cos): Likewise.
3288 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3290 SET_RESTORE_ROUND_NOEX.
3291 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3292 SET_RESTORE_ROUND_NOEXF.
3293 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3294 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3295 (libc_feholdsetroundf): New.
3296 (libc_feresetround, libc_feresetroundf): New.
3297
3298 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3299 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3300 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3301
3302 * sysdeps/generic/math_private.h: Include <fenv.h>.
3303 (default_libc_feholdexcept): New.
3304 (default_libc_feholdexcept_setround): New.
3305 (default_libc_fesetenv, default_libc_feupdateenv): New.
3306 (libc_feholdexcept): Only define if undefined.
3307 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3309 (libc_feholdexcept_setroundl): Likewise.
3310 (libc_feholdexcept_setround_53bit): Likewise.
3311 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3314 (libc_feupdateenv_53bit): Likewise.
3315 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3316 (libc_feholdexcept): Convert from macro to inline function.
3317 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3318 (libc_fesetenv, libc_feupdateenv): Likewise.
3319
3320 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3321 not previously defined.
3322 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3323 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3324 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3325 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3326 * sysdeps/ieee754/flt-32/math_private.h: New file.
3327 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3328 math_private.h below SET_FLOAT_WORD.
3329 (__isnan, __isinf_ns, __finite): Remove.
3330 (__isnanf, __isinf_nsf, __finitef): Remove.
3331
3332 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3333
3334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3335
3336 2012-03-17 David S. Miller <davem@davemloft.net>
3337
3338 [BZ #6471]
3339 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3340 for 2.16.
3341
3342 2012-03-16 David S. Miller <davem@davemloft.net>
3343
3344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3345 warnings.
3346
3347 [BZ #6471]
3348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3349 properly.
3350 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3351 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3352 sysdep_routines when subdir is sysvipc.
3353 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3354 __getshmlba helper.
3355
3356 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3357
3358 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3359
3360 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3361 [__LP64__].
3362
3363 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3364
3365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3366 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3367 (__lround): Renamed to ...
3368 (__llround): This. Replace long int with long long int.
3369 Define lround functions as aliases of llround functions.
3370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3371
3372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3373
3374 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3375 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3376 adresses to uintptr_t. Replace "long int" and "unsigned long
3377 int" with "greg_t" on va_arg.
3378
3379 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3382 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3383
3384 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3385 Move e_machine check before EI_CLASS check. Handle x32
3386 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3387 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3388 SKIP_EM_IA_64 and include
3389 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3390
3391 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3392 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3393 (add_system_dir): New macro.
3394
3395 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3396 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3397
3398 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3399
3400 [BZ #2551]
3401 [BZ #2552]
3402 [BZ #2553]
3403 [BZ #2554]
3404 [BZ #2562]
3405 [BZ #2563]
3406 [BZ #2565]
3407 [BZ #2566]
3408 [BZ #2576]
3409 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3410 (y0): Likewise.
3411 * math/w_j0f.c (j0f): Likewise.
3412 (y0f): Likewise.
3413 * math/w_j0l.c (__j0l): Likewise.
3414 (__y0l): Likewise.
3415 * math/w_j1.c (j1): Likewise.
3416 (y1): Likewise.
3417 * math/w_j1f.c (j1f): Likewise.
3418 (y1f): Likewise.
3419 * math/w_j1l.c (__j1l): Likewise.
3420 (__y1l): Likewise.
3421 * math/w_jn.c (jn): Likewise.
3422 (yn): Likewise.
3423 * math/w_jnf.c (jnf): Likewise.
3424 (ynf): Likewise.
3425 * math/w_jnl.c (__jnl): Likewise.
3426 (__ynl): Likewise.
3427 * math/libm-test.inc (j0_test): Add more tests.
3428 (j1_test): Likewise.
3429 (jn_test): Likewise. Add trailing semicolon to existing test.
3430 (y0_test): Likewise.
3431 (y1_test): Likewise.
3432 * sysdeps/i386/fpu/libm-test-ulps: Update.
3433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3434
3435 [BZ #13851]
3436 [BZ #13854]
3437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3438 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3439 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3441 (__tanl): Set errno for infinite argument.
3442 * sysdeps/i386/fpu/mptan.c: Remove.
3443 * sysdeps/i386/fpu/s_tan.S: Likewise.
3444 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3445 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3446 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3447 * math/libm-test.inc (tan_test): Add more tests and enable more
3448 tests for double and long double.
3449 * sysdeps/i386/fpu/libm-test-ulps: Update.
3450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3451
3452 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3453
3454 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3455 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3456
3457 2012-03-16 Roland McGrath <roland@hack.frob.com>
3458
3459 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3460 * configure.in: Use it for both main tree and add-ons.
3461 * configure: Regenerated.
3462
3463 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3466
3467 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3468
3469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3470 in comment.
3471
3472 [BZ #13851]
3473 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3474 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3475 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3478 infinite argument.
3479 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3481 != 0 for prec == 2.
3482 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3483 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3484 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3485 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3486 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3487 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3488 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3489 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3490 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3491 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3492 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3493 * math/libm-test.inc (cos_test): Add more tests and enable more
3494 tests for long double.
3495 (sin_test): Likewise.
3496 (sincos_test): Likewise.
3497 * sysdeps/i386/fpu/libm-test-ulps: Update.
3498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3499
3500 2012-03-16 David S. Miller <davem@davemloft.net>
3501
3502 * sysdeps/sparc/fpu/math_private.h: New file.
3503
3504 2012-03-15 David S. Miller <davem@davemloft.net>
3505
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3507 file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3510 file.
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3517 sysdep routines.
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3519
3520 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3521 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3522
3523 * sysdeps/sparc/sparc-ifunc.h: New file.
3524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3525 sparc-ifunc.h
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3528 Likewise.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3530 Likewise.
3531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3535 Likewise.
3536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3541 Likewise.
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3543 Likewise.
3544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3568
3569 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3570
3571 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3572 scaling.
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3574
3575 2012-03-15 Andreas Jaeger <aj@suse.de>
3576
3577 [BZ #13852]
3578 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3579 ieee754/flt-32 implementation for sin, cos and sincos.
3580 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3581 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3582 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3583 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3584 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3585 ieee754/flt-32 implementation for tan.
3586
3587 * math/libm-test.inc (cos_test): Enable some large input tests for
3588 float as well
3589 (sin_test): Likewise.
3590 (sincos_test): Likewise.
3591 (tan_test): Add tests for large input.
3592
3593 * sysdeps/i386/fpu/libm-test-ulps: Update.
3594
3595 2012-03-15 Andreas Jaeger <aj@suse.de>
3596
3597 [BZ #13658]
3598 * math/libm-test.inc (cos_test): Add more test cases.
3599 (sin_test): Likewise.
3600 (sincos_test): Likewise.
3601
3602 2012-03-15 Andreas Jaeger <aj@suse.de>
3603
3604 [BZ #13837]
3605 * math/libm-test.inc (cos_test): Add a test case for large input
3606 value.
3607 (sin_test): Likewise.
3608 (sincos_test): Likewise.
3609
3610 2012-03-15 Andreas Jaeger <aj@suse.de>,
3611 Joseph Myers <joseph@codesourcery.com>
3612
3613 [BZ #13658]
3614 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3615 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3616 * sysdeps/i386/fpu/branred.c: Likewise.
3617 * sysdeps/i386/fpu/dosincos.c: Likewise.
3618 * sysdeps/i386/fpu/mpa.c: Likewise.
3619 * sysdeps/i386/fpu/s_cos.S: Likewise.
3620 * sysdeps/i386/fpu/s_sin.S: Likewise.
3621 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3622 * sysdeps/i386/fpu/sincos32.c: Likewise.
3623
3624 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3625 Define.
3626 (libc_feupdateenv_53bit): Define.
3627 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3628 Define.
3629 (libc_feupdateenv_53bit): Define.
3630
3631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3632 53 bit (without extend i386 double precision).
3633
3634 * math/libm-test.inc (sincos_test): Add tests for large input.
3635 (sin): Likewise.
3636 (cos): Likewise.
3637
3638 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3639
3640 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3641
3642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3643
3644 2012-03-15 David S. Miller <davem@davemloft.net>
3645
3646 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3647 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3648 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3649 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3662 file.
3663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3665 file.
3666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3668 file.
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3671 file.
3672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3674 fmin/fmax sysdep routines.
3675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3676
3677 2012-03-14 David S. Miller <davem@davemloft.net>
3678
3679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3708 routines.
3709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3710 file.
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3713 file.
3714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3716 file.
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3719 file.
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3722 file.
3723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3725 file.
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3727 file.
3728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3729 file.
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3731 file.
3732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3733 New file.
3734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3735 file.
3736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3737 file.
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3740 file.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3743 file.
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3746 file.
3747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3749 VIS3 routines.
3750
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3752 New file.
3753
3754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3755
3756 * sysdeps/sparc/configure.in: New file.
3757 * sysdeps/sparc/configure: Generate.
3758 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3759 * configure: Regenerate.
3760 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3761 * config.make.in (have-as-vis3): New.
3762 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3763 available use -Av9d instead of -Av9a.
3764 * sysdeps/sparc/sparc64/Makefile: Likewise.
3765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3767 New file.
3768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3769 file.
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3771 New file.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3773 file.
3774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3779
3780 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3781 fzeros/fnegs to load 0x80000000 into a float register instead of
3782 using the stack.
3783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3784
3785 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3786
3787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3788 bits/syscall.h.
3789 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3790 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3791 ($(inst_includedir)/bits/syscall.h): Remove rule.
3792 ($(objpfx)bits/syscall.d): Include instead of
3793 $(objpfx)syscall-list.d.
3794 (generated): Change syscall-list.h and syscall-list.d to
3795 bits/syscall.h and bits/syscall.d.
3796
3797 2012-03-14 Roland McGrath <roland@hack.frob.com>
3798
3799 [BZ #13846]
3800 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3801
3802 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3803
3804 [BZ #13841]
3805 * math/s_csqrt.c: Include <float.h>.
3806 (__csqrt): Scale large or subnormal inputs.
3807 * math/s_csqrtf.c: Likewise.
3808 * math/s_csqrtl.c: Likewise.
3809 * math/libm-test.inc (csqrt_test): Add more tests.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update.
3811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812
3813 [BZ #13840]
3814 * math/libm-test.inc (hypot_test): Add more tests.
3815
3816 2012-03-13 David S. Miller <davem@davemloft.net>
3817
3818 [BZ #13840]
3819 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3820 double-precision for the calculation instead of scaling.
3821
3822 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3823
3824 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3825 manipulate bits before adding and subtracting TWO52[sx].
3826 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3828 Likewise.
3829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3830
3831 2012-03-13 David S. Miller <davem@davemloft.net>
3832
3833 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3834 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3836 rtld-global-offsets.h
3837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3838
3839 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3840 large parameters.
3841
3842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3843
3844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3845 'err' in the ifdef scope in which it is actually used.
3846
3847 * nss/nss_db/db-init.c: Include string.h
3848
3849 2012-03-12 David S. Miller <davem@davemloft.net>
3850
3851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3852 masking out of the most significant byte of random value used.
3853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3854 Fix coding style in previous change.
3855
3856 * sysdeps/unix/sysv/linux/kernel-features.h
3857 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3858 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3859 expression.
3860 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3861 later.
3862
3863 2012-03-11 David S. Miller <davem@davemloft.net>
3864
3865 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3866 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3868 for 'resultvar' otherwise things get truncated on 64-bit.
3869
3870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3871 Fix masking out of the most significant byte of random value used.
3872
3873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3874
3875 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3876
3877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3878
3879 2012-03-09 David S. Miller <davem@davemloft.net>
3880
3881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3882 variables with appropriate CPP guards.
3883 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3884 frame pointer, not the stack pointer. Correct layout comments. Fix test
3885 on resulting framesize and the management of the outregs buffer for pltexit.
3886 Preserve floating point return values across _dl_call_pltexit call.
3887 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3888 framesize and the management of the outregs buffer for pltexit.
3889 Preserve floating point return values across _dl_call_pltexit
3890 call.
3891 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3892 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3893 (print_exit): Fix format string for return register value.
3894
3895 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3896
3897 * sunrpc/Makefile (others): Add rpcgen.
3898 ($(objpfx)rpcgen): Remove special build rule and dependency on
3899 libc.
3900 * sunrpc/rpcgen.c: New file.
3901
3902 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3903
3904 [BZ #13673]
3905 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3906 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3907 * sysdeps/i386/crti.S: Likewise.
3908 * sysdeps/i386/crtn.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3911 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3912 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3913 * sysdeps/sh/crti.S: Likewise.
3914 * sysdeps/sh/crtn.S: Likewise.
3915 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3916
3917 [BZ #13673]
3918 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3919 with URL.
3920 * locale/programs/locfile-kw.gperf: Likewise.
3921 * locale/programs/charmap-kw.h: Regenerated.
3922 * locale/programs/locfile-kw.h: Likewise.
3923
3924 [BZ #13673]
3925 * intl/plural.y: Replace FSF snail mail address with URL.
3926 * intl/plural.c: Regenerated.
3927
3928 2012-03-09 Richard Henderson <rth@twiddle.net>
3929
3930 * include/math_private.h: Remove file.
3931 * math/math_private.h: Move file ...
3932 * sysdeps/generic/math_private.h: ... here.
3933
3934 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3935 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3936 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3937
3938 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3939 and <math_private.h>.
3940 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3941 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3942 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3943 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3944 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4028 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4035 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4040 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4041 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4042 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4043 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4045 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4047 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4052 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4056 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4069 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4074 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4075 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4076 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4082 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4083 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4084 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4085 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4086 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4087 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4088 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4089 * sysdeps/ieee754/k_standard.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4239 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4250 * sysdeps/ieee754/s_lib_version.c: Likewise.
4251 * sysdeps/ieee754/s_matherr.c: Likewise.
4252 * sysdeps/ieee754/s_signgam.c: Likewise.
4253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4256 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4257 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4258 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4259 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4260 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4261 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4262 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4263 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4264 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4265 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4267 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4268 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4269 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4274
4275 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4276
4277 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4278 * sunrpc/rpc_main.c: Likewise.
4279 * sunrpc/rpc_svcout.c: Likewise.
4280
4281 2012-03-09 David S. Miller <davem@davemloft.net>
4282
4283 * include/math_private.h: New file.
4284
4285 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4286
4287 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4288 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4289 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4290 from <bits/socket_type.h>.
4291 (enum __socket_type): Don't define here.
4292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4294 bits/socket_type.h.
4295
4296 [BZ #13566]
4297 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4298 checking __USE_GNU.
4299
4300 * Makerules ($(inst_includedir)/%.h): New rule.
4301 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4302 (install-others): Remove variable setting.
4303 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4304
4305 2012-03-08 Richard Henderson <rth@twiddle.net>
4306
4307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4308 from macro to inline function; merge with the
4309 !__LIBC_INTERNAL_MATH_INLINES version.
4310 (__ieee754_sqrtf): Likewise.
4311
4312 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4313 to inline function.
4314 (__rintf, __floor, __floorf): Likewise.
4315
4316 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4317 macro to inline function.
4318 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4319
4320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4321 not <math/math_private.h>.
4322
4323 2012-03-08 David S. Miller <davem@davemloft.net>
4324
4325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4326 copyright year.
4327 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4328
4329 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4330
4331 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4332 normalization.
4333 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4334 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4335
4336 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4337
4338 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4339 be defined individually, they must be defined as a block. Define
4340 S for printing a string instead of hidint the different by using a
4341 macro for adding the 'l'.
4342 * stdio-common/tst-fphex-wide.c: Adjust.
4343
4344 2012-03-07 Marek Polacek <polacek@redhat.com>
4345
4346 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4347
4348 2012-03-08 Marek Polacek <polacek@redhat.com>
4349
4350 [BZ #13806]
4351 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4352 * stdio-common/tst-fphex.c: Define a few macros to make the
4353 test reusable. Use them.
4354 * stdio-common/tst-fphex-wide.c: New file.
4355
4356 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4357
4358 [BZ #6911]
4359 * manual/macros.texi (gnusystems): New macro.
4360 (nongnusystems): Likewise.
4361 (gnulinuxhurdsystems): Likewise.
4362 (gnuhurdsystems): Likewise..
4363 (gnulinuxsystems): Likewise.
4364 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4365 variants of the GNU system, not "GNU system".
4366 * manual/conf.texi: Likewise.
4367 * manual/errno.texi: Likewise. Update example of errno macro
4368 expansion.
4369 * manual/filesys.texi: Likewise.
4370 (getumask): Document as specific to GNU/Hurd.
4371 * manual/install.texi: Likewise. Reword some references to
4372 GNU/Linux.
4373 * manual/intro.texi: Likewise.
4374 * manual/io.texi: Likewise.
4375 (File Name Portability): Detail which constraints are inapplicable
4376 to all GNU systems and which are only inapplicable to GNU/Hurd.
4377 * manual/job.texi: Likewise.
4378 * manual/llio.texi: Likewise.
4379 (O_NOCTTY): Document as present on GNU/Linux.
4380 * manual/maint.texi: Likewise.
4381 * manual/memory.texi: Likewise.
4382 * manual/pattern.texi: Likewise.
4383 * manual/pipe.texi: Likewise.
4384 * manual/process.texi: Likewise.
4385 * manual/resource.texi: Likewise.
4386 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4387 child on GNU/Hurd.
4388 * manual/setjmp.texi: Likewise.
4389 * manual/signal.texi: Likewise.
4390 * manual/startup.texi: Likewise.
4391 * manual/stdio.texi: Likewise.
4392 * manual/terminal.texi: Likewise.
4393 (ONLCR): Document as POSIX.
4394 (OXTABS): Document availability on GNU/Linux as XTABS.
4395 (ONOEOT): Document availability separately from other bits.
4396 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4397 * manual/time.texi: Likewise.
4398 * manual/users.texi: Likewise.
4399 * INSTALL: Regenerated.
4400 * sysdeps/gnu/errlist.c: Regenerated.
4401
4402 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4403 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4404 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4405 puts.
4406 * configure: Regenerated.
4407
4408 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4409
4410 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4411 default includes instead of AC_HEADER_CHECK.
4412 * sysdeps/i386/configure: Regenerated.
4413
4414 [BZ #10716]
4415 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4416 * math/s_cacoshf.c (__cacoshf): Likewise.
4417 * math/s_cacoshl.c (__cacoshl): Likewise.
4418 * math/s_casinh.c (__casinh): Set signs of result from argument.
4419 * math/s_casinhf.c (__casinhf): Likewise.
4420 * math/s_casinhl.c (__casinhl): Likewise.
4421 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4422 (casinh_test): Add more tests.
4423 * sysdeps/i386/fpu/libm-test-ulps: Update.
4424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4425
4426 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4427
4428 * po/zh_TW.po: Update from translation team.
4429
4430 * login/Makefile (distribute): Remove variable.
4431 * catgets/Makefile: Likewise.
4432 * mach/Makefile: Likewise.
4433 * malloc/Makefile: Likewise.
4434 * misc/Makefile: Likewise.
4435 * iconv/Makefile: Likewise.
4436 * nscd/Makefile: Likewise.
4437 * hurd/Makefile: Likewise.
4438 * manual/Makefile: Likewise.
4439 * locale/Makefile: Likewise.
4440 * intl/Makefile: Likewise.
4441 * conform/Makefile: Likewise.
4442 * nss/Makefile: Likewise.
4443 * time/Makefile: Likewise.
4444 * soft-fp/Makefile: Likewise.
4445 * dirent/Makefile: Likewise.
4446 * gmon/Makefile: Likewise.
4447 * po/Makefile: Likewise.
4448 * rt/Makefile: Likewise.
4449 * socket/Makefile: Likewise.
4450 * math/Makefile: Likewise.
4451 * signal/Makefile: Likewise.
4452 * debug/Makefile: Likewise.
4453 * elf/Makefile: Likewise.
4454 * timezone/Makefile: Likewise.
4455 * stdlib/Makefile: Likewise.
4456 * iconvdata/Makefile: Likewise.
4457 * sunrpc/Makefile: Likewise.
4458 * io/Makefile: Likewise.
4459 * argp/Makefile: Likewise.
4460 * inet/Makefile: Likewise.
4461 * hesiod/Makefile: Likewise.
4462 * grp/Makefile: Likewise.
4463 * csu/Makefile: Likewise.
4464 * wctype/Makefile: Likewise.
4465 * crypt/Makefile: Likewise.
4466 * libio/Makefile: Likewise.
4467 * string/Makefile: Likewise.
4468 * nis/Makefile: Likewise.
4469 * resolv/Makefile: Likewise.
4470 * stdio-common/Makefile: Likewise.
4471 * wcsmbs/Makefile: Likewise.
4472 * dlfcn/Makefile: Likewise.
4473 * posix/Makefile: Likewise.
4474
4475 [BZ #6959]
4476 * timezone/Makefile: Don't install timezone files, just the programs
4477 and scripts.
4478
4479 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4480
4481 * nss/databases.def: Add missing gshadow entry.
4482
4483 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4484
4485 2012-03-06 Marek Polacek <polacek@redhat.com>
4486
4487 [BZ #13726]
4488 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4489 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4490 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4491 * stdio-common/tst-long-dbl-fphex.c: New file.
4492
4493 2012-03-06 David S. Miller <davem@davemloft.net>
4494
4495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4496 (set_obp_int): New function.
4497 (get_obp_int): New function.
4498 (__get_clockfreq_via_dev_openprom): Likewise.
4499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4500 Avoid unused variable warnings on 'val' and use builtin_expect.
4501 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4502 __builtin_expect.
4503 (INLINE_CLONE_SYSCALL): Likewise.
4504
4505 2012-03-05 David S. Miller <davem@davemloft.net>
4506
4507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4508
4509 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4510
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4512
4513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4514 only for |x| >= 40.
4515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4516
4517 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4518
4519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4520 Replace gettimeofday with __vdso_gettimeofday.
4521
4522 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4523 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4524 __vdso_clock_gettime and __vdso_getcpu.
4525
4526 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4527 time with __vdso_time.
4528
4529 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4530
4531 * manual/lang.texi (size_t): Note types to which size_t may be
4532 equivalent with the GNU C Library, but do not describe when
4533 differences between them are significant.
4534
4535 2012-03-05 Andreas Jaeger <aj@suse.de>
4536
4537 * sysdeps/i386/fpu/libm-test-ulps: Update.
4538
4539 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4540
4541 [BZ #3976]
4542 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4543 (__ieee754_pow): Save and restore rounding mode and use
4544 round-to-nearest for main computations.
4545 * math/libm-test.inc (pow_test_tonearest): New function.
4546 (pow_test_towardzero): Likewise.
4547 (pow_test_downward): Likewise.
4548 (pow_test_upward): Likewise.
4549 (main): Call the new functions.
4550 * sysdeps/i386/fpu/libm-test-ulps: Update.
4551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4552
4553 [BZ #3976]
4554 * math/libm-test.inc (cosh_test_tonearest): New function.
4555 (cosh_test_towardzero): Likewise.
4556 (cosh_test_downward): Likewise.
4557 (cosh_test_upward): Likewise.
4558 (sinh_test_tonearest): Likewise.
4559 (sinh_test_towardzero): Likewise.
4560 (sinh_test_downward): Likewise.
4561 (sinh_test_upward): Likewise.
4562 (main): Call the new functions.
4563 * sysdeps/i386/fpu/libm-test-ulps: Update.
4564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4565
4566 2012-03-05 Tom de Vries <tom@codesourcery.com>
4567
4568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4569 default stack guard is set in last bytes.
4570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4571
4572 2012-03-05 Kees Cook <keescook@chromium.org>
4573
4574 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4575
4576 [BZ #13656]
4577 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4578 possibly allocate from heap instead of stack.
4579 * stdio-common/bug-vfprintf-nargs.c: New file.
4580 * stdio-common/Makefile (tests): Add nargs overflow test.
4581
4582 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4583
4584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4585
4586 2012-03-03 Marek Polacek <polacek@redhat.com>
4587
4588 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4589 * math/math_private.h: Likewise.
4590 * stdlib/tst-strtod.c: Likewise.
4591 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4592 * sysdeps/x86_64/bits/atomic.h: Likewise.
4593
4594 2012-03-02 David S. Miller <davem@davemloft.net>
4595
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4600 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4601 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4602 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4603 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4604
4605 2012-03-02 Roland McGrath <roland@hack.frob.com>
4606
4607 [BZ #13792]
4608 * manual/examples/README: New file, says the example source files
4609 can be used under GPL>=2.
4610 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4611 line containing just "*/".
4612 * manual/examples/add.c: Add copyright header (GPL>=2).
4613 * manual/examples/argp-ex1.c: Likewise.
4614 * manual/examples/argp-ex2.c: Likewise.
4615 * manual/examples/argp-ex3.c: Likewise.
4616 * manual/examples/argp-ex4.c: Likewise.
4617 * manual/examples/atexit.c: Likewise.
4618 * manual/examples/db.c: Likewise.
4619 * manual/examples/dir.c: Likewise.
4620 * manual/examples/dir2.c: Likewise.
4621 * manual/examples/execinfo.c: Likewise.
4622 * manual/examples/filecli.c: Likewise.
4623 * manual/examples/filesrv.c: Likewise.
4624 * manual/examples/fmtmsgexpl.c: Likewise.
4625 * manual/examples/genpass.c: Likewise.
4626 * manual/examples/inetcli.c: Likewise.
4627 * manual/examples/inetsrv.c: Likewise.
4628 * manual/examples/isockad.c: Likewise.
4629 * manual/examples/longopt.c: Likewise.
4630 * manual/examples/memopen.c: Likewise.
4631 * manual/examples/memstrm.c: Likewise.
4632 * manual/examples/mkfsock.c: Likewise.
4633 * manual/examples/mkisock.c: Likewise.
4634 * manual/examples/mygetpass.c: Likewise.
4635 * manual/examples/pipe.c: Likewise.
4636 * manual/examples/popen.c: Likewise.
4637 * manual/examples/rprintf.c: Likewise.
4638 * manual/examples/search.c: Likewise.
4639 * manual/examples/select.c: Likewise.
4640 * manual/examples/setjmp.c: Likewise.
4641 * manual/examples/sigh1.c: Likewise.
4642 * manual/examples/sigusr.c: Likewise.
4643 * manual/examples/stpcpy.c: Likewise.
4644 * manual/examples/strdupa.c: Likewise.
4645 * manual/examples/strftim.c: Likewise.
4646 * manual/examples/strncat.c: Likewise.
4647 * manual/examples/subopt.c: Likewise.
4648 * manual/examples/swapcontext.c: Likewise.
4649 * manual/examples/termios.c: Likewise.
4650 * manual/examples/testopt.c: Likewise.
4651 * manual/examples/testpass.c: Likewise.
4652 * manual/examples/timeval_subtract.c: Likewise.
4653
4654 [BZ #13792]
4655 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4656 function to ...
4657 * manual/timeval_subtract.c.texi: ... here, new file.
4658
4659 2012-03-02 David S. Miller <davem@davemloft.net>
4660
4661 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4662
4663 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4664
4665 [BZ #3976]
4666 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4667 (__sin): Save and restore rounding mode and use round-to-nearest
4668 for all computations.
4669 (__cos): Save and restore rounding mode and use round-to-nearest
4670 for all computations.
4671 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4672 <fenv.h>.
4673 (tan): Save and restore rounding mode and use round-to-nearest for
4674 all computations.
4675 * math/libm-test.inc (cos_test_tonearest): New function.
4676 (cos_test_towardzero): Likewise.
4677 (cos_test_downward): Likewise.
4678 (cos_test_upward): Likewise.
4679 (sin_test_tonearest): Likewise.
4680 (sin_test_towardzero): Likewise.
4681 (sin_test_downward): Likewise.
4682 (sin_test_upward): Likewise.
4683 (tan_test_tonearest): Likewise.
4684 (tan_test_towardzero): Likewise.
4685 (tan_test_downward): Likewise.
4686 (tan_test_upward): Likewise.
4687 (main): Call the new functions.
4688 * sysdeps/i386/fpu/libm-test-ulps: Update.
4689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4690
4691 [BZ #10135]
4692 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4693 small n, then large n, before computing and testing k+n.
4694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4696 Likewise.
4697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4698 Likewise.
4699 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4700 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4707 * math/libm-test.inc (scalbn_test): Add more tests.
4708 (scalbln_test): Likewise.
4709
4710 * manual/filesys.texi (mode_t): Describe constraints on size and
4711 signedness, not exact equivalence to a particular type.
4712 (ino_t): Likewise.
4713 (ino64_t): Likewise.
4714 (dev_t): Likewise.
4715 (nlink_t): Likewise.
4716 (blkcnt_t): Likewise.
4717 (blkcnt64_t): Likewise.
4718 * manual/llio.texi (off_t): Likewise.
4719
4720 [BZ #3976]
4721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4722 (__ieee754_exp): Save and restore rounding mode and use
4723 round-to-nearest for all computations.
4724 * math/libm-test.inc (exp_test_tonearest): New function.
4725 (exp_test_towardzero): Likewise.
4726 (exp_test_downward): Likewise.
4727 (exp_test_upward): Likewise.
4728 (main): Call the new functions.
4729 * sysdeps/i386/fpu/libm-test-ulps: Update.
4730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4731
4732 2012-03-01 Chris Demetriou <cgd@google.com>
4733
4734 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4735 have predictable order.
4736
4737 2012-03-01 David S. Miller <davem@davemloft.net>
4738
4739 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4740
4741 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4742 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4743 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4744 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4745
4746 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4747 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4748 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4750 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4751 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4752 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4753 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4754 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4755
4756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4757
4758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4759 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4760 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4761
4762 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4771 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4772 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4776 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4778 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4779 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4780 * sysdeps/sparc/elf/configure: Regenerated.
4781
4782 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4783
4784 * configure.in (AS, LD): Require binutils 2.20 or later.
4785 * configure: Regenerated.
4786 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4787 as required minimum version.
4788 * INSTALL: Regenerated.
4789
4790 [BZ #2541]
4791 [BZ #4108]
4792 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4793 before squaring exponent.
4794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4795 bottom long double and 27 bits of top long double before squaring
4796 exponent.
4797 * math/libm-test.inc (erfc_test): Add more tests.
4798 * sysdeps/i386/fpu/libm-test-ulps: Update.
4799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4801
4802 2012-03-01 Kai Tietz <ktietz@redhat.com>
4803
4804 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4805 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4806 containing bit-fields.
4807 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4808 * soft-fp/single.h (_FP_UNION_S): Likewise.
4809 * soft-fp/double.h (_FP_UNION_D): Likewise.
4810
4811 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4812
4813 [BZ #13786]
4814 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4815 not include ../strcmp.S.
4816 [USE_AS_STRNCASECMP_L]: Likewise.
4817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4818 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4819 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4820 (__strncasecmp_l_ia32): Define as alias to
4821 __strncasecmp_l_nonascii.
4822
4823 [BZ #5794]
4824 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4825 * sysdeps/i386/fpu/libm-test-ulps: Update.
4826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4827
4828 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4830
4831 2012-02-29 Jeff Law <law@redhat.com>
4832
4833 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4834 out of bounds read.
4835
4836 2012-02-29 Marek Polacek <polacek@redhat.com>
4837
4838 [BZ #13706]
4839 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4840 * elf/Makefile: Add rules to run tst-unused-dep.out.
4841
4842 2012-02-28 David S. Miller <davem@davemloft.net>
4843
4844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4850
4851 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4852
4853 * math/libm-test.inc (llround_test): Move one test from
4854 lround_test. Use TEST_f_L in moved test.
4855 (lround_test): Move misplaced test to llround_test. Add testcase
4856 from bug 2561.
4857
4858 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4859
4860 * sysdeps/x86_64/fpu/e_expf.S: New file.
4861 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4862
4863 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4864
4865 [BZ #13637]
4866 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4867 of remain_len that may cause incomplete multi-byte character and
4868 false match.
4869 * posix/bug-regex33.c: New file.
4870 * posix/Makefile (tests): Add bug-regex33.
4871
4872 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4873
4874 * manual/macros.texi: New file.
4875 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4876 * manual/libc.texinfo: Include macros.texi.
4877 * manual/creatute.texi: Likewise.
4878 * manual/install.texi: Likewise.
4879 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4880 @glibcadj{} in references to the GNU C Library.
4881 * manual/charset.texi: Likewise.
4882 * manual/conf.texi: Likewise.
4883 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4884 when not using those macros.
4885 * manual/creature.texi: Likewise.
4886 * manual/crypt.texi: Likewise.
4887 * manual/errno.texi: Likewise.
4888 * manual/filesys.texi: Likewise.
4889 * manual/header.texi: Likewise.
4890 * manual/install.texi: Likewise.
4891 * manual/intro.texi: Likewise.
4892 * manual/io.texi: Likewise.
4893 * manual/job.texi: Likewise.
4894 * manual/lang.texi: Likewise.
4895 * manual/libc.texiinfo: Likewise.
4896 * manual/llio.texi: Likewise.
4897 * manual/locale.texi: Likewise.
4898 * manual/maint.texi: Likewise.
4899 * manual/math.texi: Likewise.
4900 * manual/memory.texi: Likewise.
4901 * manual/message.texi: Likewise.
4902 * manual/nss.texi: Likewise.
4903 * manual/pattern.texi: Likewise.
4904 * manual/process.texi: Likewise.
4905 * manual/resource.texi: Likewise.
4906 * manual/search.texi: Likewise.
4907 * manual/setjmp.texi: Likewise.
4908 * manual/signal.texi: Likewise.
4909 * manual/socket.texi: Likewise.
4910 * manual/startup.texi: Likewise.
4911 * manual/stdio.texi: Likewise.
4912 * manual/string.texi: Likewise.
4913 * manual/sysinfo.texi: Likewise.
4914 * manual/syslog.texi: Likewise.
4915 * manual/terminal.texi: Likewise.
4916 * manual/time.texi: Likewise.
4917 * manual/users.texi: Likewise.
4918 * INSTALL: Regenerated.
4919 * NOTES: Regenerated.
4920 * sysdeps/gnu/errlist.c: Regenerated.
4921
4922 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4923
4924 * include/dirent.h: Include <dirstream.h> before
4925 <dirent/dirent.h>.
4926
4927 2012-02-28 David S. Miller <davem@davemloft.net>
4928
4929 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4930 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4931 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4932 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4933
4934 2012-02-27 David S. Miller <davem@davemloft.net>
4935
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4938 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4939 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4940
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4942 frame pointer instead of stack pointer relative arg slot.
4943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4946
4947 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4948
4949 [BZ #3992]
4950 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4951
4952 2012-02-27 David S. Miller <davem@davemloft.net>
4953
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4958 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4959 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4960 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4961 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4962
4963 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4964
4965 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4966 later. Allow versions 5-9.
4967 * configure: Regenerated.
4968 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4969 required minimum version and 4.6 as recommended version. Do not
4970 mention bugs in GCC 2.7 and 2.8.
4971 * INSTALL: Regenerated.
4972
4973 2012-02-27 David S. Miller <davem@davemloft.net>
4974
4975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4981 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4982 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4983
4984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4985 manipulate bits before adding and subtracting TWO112[sx].
4986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4987
4988 2012-02-27 Roland McGrath <roland@hack.frob.com>
4989
4990 [BZ #13775]
4991 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4992 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4993 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4994 being in POSIX, because they are in 1003.1-2008.
4995
4996 * rt/tst-aio.c: Include <fcntl.h>.
4997 * rt/tst-aio7.c: Likewise.
4998 * rt/tst-aio64.c: Likewise.
4999
5000 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5001
5002 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5003
5004 * manual/install.texi (--with-headers): Describe headers as
5005 interface headers, not private headers.
5006 (Specific advice for GNU/Linux systems): Describe use of headers
5007 from "make headers_install", not private headers from older
5008 kernels.
5009 * INSTALL: Regenerated.
5010 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5011 Change to 2.6.19.
5012 * sysdeps/unix/sysv/linux/configure: Regenerated.
5013
5014 * manual/llio.texi (fclean): Remove documentation.
5015
5016 * manual/Makefile (libc-texi-generated): New variable. Include
5017 version.texi.
5018 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5019 $(libc-texi-generated), not duplicated list of files.
5020 (version.texi, stamp-version): New rules.
5021 (realclean): Remove $(libc-texi-generated), not individual files
5022 from that list. Do not remove dir-add.texinfo.
5023 * manual/libc.texinfo: Comment out uses of edition numbers and
5024 references to printed manual. Remove last-updated dates.
5025 (EDITION): Comment out.
5026 (ISBN): Likewise.
5027 (VERSION, UPDATED): Remove.
5028 (version.texi): Include.
5029
5030 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5031
5032 * sysdeps/posix/spawni.c: Include <signal.h>.
5033 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5034 * sysdeps/pthread/aio_fsync.c: Likewise.
5035
5036 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5037
5038 * conform/Makefile (tests): Run only when not cross-compiling and
5039 when fast-check is not defined.
5040
5041 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5042 * conform/data/limits.h-data: Fixes for POSIX2008.
5043 * conform/run-conformtest.sh: Run all tests.
5044 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5045 headers.
5046 * include/bits/dlfcn.h: Likewise.
5047 * include/langinfo.h: Likewise.
5048 * include/monetary.h: Likewise.
5049 * include/sys/poll.h: Likewise.
5050
5051 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5052 for __USE_GNU.
5053 * posix/spawn.h: Define __need_sigset_t.
5054 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5055 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5056 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5057 to get sigevent_t only.
5058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5059 only for __USE_GNU.
5060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5061 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5062 process_vm_writev only for __USE_GNU.
5063 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5064
5065 * conform/Makefile: For now ignore errors from run-conformtest.
5066 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5067 POSIX to avoid namespace pollution. Don't prepend headers.
5068 * conform/data/aio.h-data: Fixes for POSIX testing.
5069 * conform/data/fcntl.h-data: Likewise.
5070 * conform/data/glob.h-data: Likewise.
5071 * conform/data/grp.h-data: Likewise.
5072 * conform/data/pthread.h-data: Likewise.
5073 * conform/data/pwd.h-data: Likewise.
5074 * conform/data/signal.h-data: Likewise.
5075 * conform/data/spawn.h-data: Likewise.
5076 * conform/data/stdio.h-data: Likewise.
5077 * conform/data/stdlib.h-data: Likewise.
5078 * conform/data/stropts.h-data: Likewise.
5079 * conform/data/sys/mman.h-data: Likewise.
5080 * conform/data/sys/stat.h-data: Likewise.
5081 * conform/data/sys/types.h-data: Likewise.
5082 * conform/data/sys/wait.h-data: Likewise.
5083 * conform/data/time.h-data: Likewise.
5084 * conform/data/unistd.h-data: Likewise.
5085 * conform/data/utime.h-data: Likewise.
5086
5087 * io/sys/stat.h: fchmod was always in POSIX.
5088 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5089 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5090 * rt/aio.h: Define __need_timespec before including <time.h>.
5091 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5092 struct. Add forward declaration of pthread_attr_t and use it in
5093 sigevent.
5094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5096 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5097 always remove CLK_TCK definition.
5098
5099 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5100
5101 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5102
5103 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5104
5105 * conform/run-conformtest.sh: New file.
5106 * conform/Makefile: Run run-conformtest for tests.
5107 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5108 support.
5109
5110 * conform/data/uchar.h-data: New file.
5111 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5112 * conform/data/arpa/inet.h-data: Likewise.
5113 * conform/data/assert.h-data: Likewise.
5114 * conform/data/complex.h-data: Likewise.
5115 * conform/data/cpio.h-data: Likewise.
5116 * conform/data/ctype.h-data: Likewise.
5117 * conform/data/dirent.h-data: Likewise.
5118 * conform/data/dlfcn.h-data: Likewise.
5119 * conform/data/errno.h-data: Likewise.
5120 * conform/data/fcntl.h-data: Likewise.
5121 * conform/data/float.h-data: Likewise.
5122 * conform/data/fmtmsg.h-data: Likewise.
5123 * conform/data/fnmatch.h-data: Likewise.
5124 * conform/data/ftw.h-data: Likewise.
5125 * conform/data/glob.h-data: Likewise.
5126 * conform/data/grp.h-data: Likewise.
5127 * conform/data/iconv.h-data: Likewise.
5128 * conform/data/inttypes.h-data: Likewise.
5129 * conform/data/langinfo.h-data: Likewise.
5130 * conform/data/libgen.h-data: Likewise.
5131 * conform/data/limits.h-data: Likewise.
5132 * conform/data/locale.h-data: Likewise.
5133 * conform/data/math.h-data: Likewise.
5134 * conform/data/monetary.h-data: Likewise.
5135 * conform/data/mqueue.h-data: Likewise.
5136 * conform/data/ndbm.h-data: Likewise.
5137 * conform/data/net/if.h-data: Likewise.
5138 * conform/data/netdb.h-data: Likewise.
5139 * conform/data/netinet/in.h-data: Likewise.
5140 * conform/data/nl_types.h-data: Likewise.
5141 * conform/data/poll.h-data: Likewise.
5142 * conform/data/pthread.h-data: Likewise.
5143 * conform/data/pwd.h-data: Likewise.
5144 * conform/data/regex.h-data: Likewise.
5145 * conform/data/sched.h-data: Likewise.
5146 * conform/data/search.h-data: Likewise.
5147 * conform/data/semaphore.h-data: Likewise.
5148 * conform/data/setjmp.h-data: Likewise.
5149 * conform/data/signal.h-data: Likewise.
5150 * conform/data/spawn.h-data: Likewise.
5151 * conform/data/stdarg.h-data: Likewise.
5152 * conform/data/stdio.h-data: Likewise.
5153 * conform/data/stdlib.h-data: Likewise.
5154 * conform/data/string.h-data: Likewise.
5155 * conform/data/strings.h-data: Likewise.
5156 * conform/data/stropts.h-data: Likewise.
5157 * conform/data/sys/ipc.h-data: Likewise.
5158 * conform/data/sys/mman.h-data: Likewise.
5159 * conform/data/sys/msg.h-data: Likewise.
5160 * conform/data/sys/resource.h-data: Likewise.
5161 * conform/data/sys/select.h-data: Likewise.
5162 * conform/data/sys/sem.h-data: Likewise.
5163 * conform/data/sys/shm.h-data: Likewise.
5164 * conform/data/sys/socket.h-data: Likewise.
5165 * conform/data/sys/stat.h-data: Likewise.
5166 * conform/data/sys/statvfs.h-data: Likewise.
5167 * conform/data/sys/time.h-data: Likewise.
5168 * conform/data/sys/timeb.h-data: Likewise.
5169 * conform/data/sys/times.h-data: Likewise.
5170 * conform/data/sys/types.h-data: Likewise.
5171 * conform/data/sys/uio.h-data: Likewise.
5172 * conform/data/sys/un.h-data: Likewise.
5173 * conform/data/sys/utsname.h-data: Likewise.
5174 * conform/data/sys/wait.h-data: Likewise.
5175 * conform/data/syslog.h-data: Likewise.
5176 * conform/data/tar.h-data: Likewise.
5177 * conform/data/termios.h-data: Likewise.
5178 * conform/data/utime.h-data: Likewise.
5179 * conform/data/utmpx.h-data: Likewise.
5180 * conform/data/varargs.h-data: Likewise.
5181 * conform/data/wchar.h-data: Likewise.
5182 * conform/data/wctype.h-data: Likewise.
5183 * conform/data/wordexp.h-data: Likewise.
5184
5185 * include/stropts.h: New file.
5186 * include/uchar.h: New file.
5187 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5188 * include/assert.h: Likewise.
5189 * include/ctype.h: Likewise.
5190 * include/dirent.h: Likewise.
5191 * include/dlfcn.h: Likewise.
5192 * include/fcntl.h: Likewise.
5193 * include/fnmatch.h: Likewise.
5194 * include/glob.h: Likewise.
5195 * include/grp.h: Likewise.
5196 * include/libio.h: Likewise.
5197 * include/locale.h: Likewise.
5198 * include/math.h: Likewise.
5199 * include/net/if.h: Likewise.
5200 * include/netdb.h: Likewise.
5201 * include/netinet/in.h: Likewise.
5202 * include/pthread.h: Likewise.
5203 * include/pwd.h: Likewise.
5204 * include/regex.h: Likewise.
5205 * include/sched.h: Likewise.
5206 * include/search.h: Likewise.
5207 * include/setjmp.h: Likewise.
5208 * include/signal.h: Likewise.
5209 * include/stdio.h: Likewise.
5210 * include/stdlib.h: Likewise.
5211 * include/string.h: Likewise.
5212 * include/sys/cdefs.h: Likewise.
5213 * include/sys/mman.h: Likewise.
5214 * include/sys/msg.h: Likewise.
5215 * include/sys/resource.h: Likewise.
5216 * include/sys/select.h: Likewise.
5217 * include/sys/socket.h: Likewise.
5218 * include/sys/stat.h: Likewise.
5219 * include/sys/statvfs.h: Likewise.
5220 * include/sys/time.h: Likewise.
5221 * include/sys/times.h: Likewise.
5222 * include/sys/uio.h: Likewise.
5223 * include/sys/utsname.h: Likewise.
5224 * include/sys/wait.h: Likewise.
5225 * include/termios.h: Likewise.
5226 * include/time.h: Likewise.
5227 * include/ulimit.h: Likewise.
5228 * include/unistd.h: Likewise.
5229 * include/utime.h: Likewise.
5230 * include/wchar.h: Likewise.
5231 * include/wctype.h: Likewise.
5232 * include/wordexp.h: Likewise.
5233
5234 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5235
5236 * time/time.h: TIME_UTC must be a macro.
5237 Make timespec_get available for ISO C11 only as well.
5238
5239 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5240
5241 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5242 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5243
5244 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5245
5246 * configure.in: Use -o not -a in test for unsupported multi-arch.
5247
5248 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5249
5250 * manual/texinfo.tex: Update to version 2012-01-19.16.
5251
5252 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5253
5254 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5255
5256 2012-02-24 Roland McGrath <roland@hack.frob.com>
5257
5258 [BZ #13738]
5259 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5260 * manual/fdl-1.3.texi: New file.
5261 * manual/fdl-1.1.texi: File removed.
5262
5263 [BZ #13738]
5264 * manual/libc.texinfo (FDL_VERSION): New @set.
5265 Use it for mention of FDL in cover text.
5266 (Documentation License): Use it in @include file name.
5267
5268 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5269 Roland McGrath <roland@hack.frob.com>
5270
5271 [BZ #5461]
5272 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5273 not LONG_LONG_MAX and LONG_LONG_MIN.
5274 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5275 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5276 name.
5277 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5278
5279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5280
5281 [BZ #2547]
5282 [BZ #11365]
5283 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5284 manipulate bits before adding and subtracting TWO23[sx].
5285 * math/libm-test.inc (nearbyint_test): Add more tests.
5286
5287 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5288
5289 [BZ #2548]
5290 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5291 bits before adding and subtracting TWO23[sx].
5292 * math/libm-test.inc (rint_test): Add more tests.
5293 (rint_test_tonearest): Likewise.
5294 (rint_test_towardzero): Likewise.
5295 (rint_test_downward): Likewise.
5296 (rint_test_upward: Likewise.
5297
5298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5299
5300 [BZ #10110]
5301 * include/stdc-predef.h: New file. Extracted from features.h.
5302 * include/features.h: Include stdc-predef.h.
5303 * Makefile (headers): Add stdc-predef.h.
5304 * CONFORMANCE (Compiler limitations): Update.
5305
5306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5307
5308 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5309
5310 2012-02-21 David S. Miller <davem@davemloft.net>
5311
5312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5314
5315 2012-02-20 David S. Miller <davem@davemloft.net>
5316
5317 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5318 using a normal save/restore sequence, rather than allocating a
5319 dummy stack frame just to store a frame pointer and restore.
5320 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5321
5322 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5323
5324 * manual/install.texi: Fix stray word in line-wrapped comment.
5325
5326 2012-02-20 David S. Miller <davem@davemloft.net>
5327
5328 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5329 both binutils and gcc support GOTDATA.
5330
5331 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5332 "rd %pc" in the PIC register setup sequences.
5333
5334 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5335 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5337 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5338 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5340 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5341 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5343 (SYSCALL_ERROR_HANDLER): Likewise.
5344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5347 (SYSCALL_ERROR_HANDLER): Likewise.
5348
5349 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5350 (HAVE_GCC_GOTDATA): New.
5351 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5352 relocation support in both binutils and gcc.
5353 * sysdeps/sparc/elf/configure: Regenerate.
5354
5355 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5356 * sysdeps/sparc/sparc32/elf/configure: Delete.
5357 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5358 * sysdeps/sparc/sparc64/elf/configure: Delete.
5359 * sysdeps/sparc/elf/configure.in: New file.
5360 * sysdeps/sparc/elf/configure: Generate.
5361
5362 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5363 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5364 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5365 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5366 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5367
5368 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5369
5370 * manual/install.texi: Do not mention specific glibc version
5371 numbers.
5372 * manual/libc.texinfo (VERSION, UPDATED): Update.
5373 (@copying): Use @copyright{} and range of years.
5374
5375 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5376
5377 [BZ #13695]
5378 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5379 [crti.S not in sysdirs] (generated): Do not append.
5380 [crti.S not in sysdirs] (omit-deps): Likewise.
5381 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5382 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5383 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5384 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5385 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5386 Likewise.
5387 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5388 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5389 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5390 * csu/defs.awk: Remove file.
5391 * sysdeps/generic/initfini.c: Likewise.
5392 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5393 variable.
5394 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5395 Likewise.
5396
5397 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5398
5399 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5400 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5402 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5404 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5405 <bits/epoll.h>.
5406 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5407 (__EPOLL_PACKED): Define to empty if not defined by
5408 <bits/epoll.h>.
5409 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5411 bits/epoll.h.
5412
5413 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5414
5415 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5416 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5418 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5419 <bits/timerfd.h>.
5420 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5422 bits/timerfd.h.
5423
5424 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5425
5426 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5427 in C locale.
5428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432
5433 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5434
5435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5436 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5437
5438 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5439
5440 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5441 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5442 defined.
5443 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5444 Likewise.
5445 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5446 entry for 2.16.
5447
5448 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5449
5450 * math/w_acos.c: Use non-signaling floating-point comparisons.
5451 * math/w_acosf.c: Likewise.
5452 * math/w_acosh.c: Likewise.
5453 * math/w_acoshf.c: Likewise.
5454 * math/w_acoshl.c: Likewise.
5455 * math/w_acosl.c: Likewise.
5456 * math/w_asin.c: Likewise.
5457 * math/w_asinf.c: Likewise.
5458 * math/w_asinl.c: Likewise.
5459 * math/w_atanh.c: Likewise.
5460 * math/w_atanhf.c: Likewise.
5461 * math/w_atanhl.c: Likewise.
5462 * math/w_exp2.c: Likewise.
5463 * math/w_exp2f.c: Likewise.
5464 * math/w_exp2l.c: Likewise.
5465 * math/w_j0.c: Likewise.
5466 * math/w_j0f.c: Likewise.
5467 * math/w_j0l.c: Likewise.
5468 * math/w_j1.c: Likewise.
5469 * math/w_j1f.c: Likewise.
5470 * math/w_j1l.c: Likewise.
5471 * math/w_jn.c: Likewise.
5472 * math/w_jnf.c: Likewise.
5473 * math/w_log.c: Likewise.
5474 * math/w_log10.c: Likewise.
5475 * math/w_log10f.c: Likewise.
5476 * math/w_log10l.c: Likewise.
5477 * math/w_log2.c: Likewise.
5478 * math/w_log2f.c: Likewise.
5479 * math/w_log2l.c: Likewise.
5480 * math/w_logf.c: Likewise.
5481 * math/w_logl.c: Likewise.
5482 * math/w_sqrt.c: Likewise.
5483 * math/w_sqrtf.c: Likewise.
5484 * math/w_sqrtl.c: Likewise.
5485 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5486 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5490
5491 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5492
5493 [BZ #9739]
5494 * manual/string.texi (strnlen): Use correct parameter name in
5495 equivalent expression.
5496
5497 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5498
5499 [BZ #11174]
5500 * manual/users.texi (seteuid): Consistently use neweuid for
5501 argument name.
5502
5503 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5504
5505 [BZ #13704]
5506 * manual/nss.texi (Services in the NSS configuration): Correct
5507 list of services in example configuration file.
5508
5509 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5510
5511 [BZ #11322]
5512 * manual/arith.texi: Remove statements about negative zero
5513 behaving identically to zero.
5514
5515 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5516
5517 [BZ #5993]
5518 * manual/install.texi: Do not document upgrading from libc5.
5519
5520 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5521
5522 [BZ #4596]
5523 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5524
5525 2012-02-18 David S. Miller <davem@davemloft.net>
5526
5527 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5528 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5529 %o7 across the call.
5530 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5531 instead.
5532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5533 SETUP_PIC_REG_LEAF.
5534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5535 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5536 * sysdeps/sparc/crtn.S: Likewise.
5537
5538 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5539
5540 * aout/Makefile: Remove.
5541
5542 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5543
5544 [BZ #13058]
5545 * manual/examples/argp-ex1.c (main): Format definition in GNU
5546 style.
5547 * manual/examples/argp-ex2.c (main): Likewise.
5548 * manual/examples/argp-ex3.c (main): Likewise.
5549 * manual/examples/argp-ex4.c (main): Likewise.
5550 * manual/examples/longopt.c (main): Use new-style prototype
5551 definition.
5552 * manual/examples/strncat.c (main): Specify return type and use
5553 (void) for arguments.
5554 * manual/examples/subopt.c (main): Use char **argv argument.
5555
5556 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #5077]
5559 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5560 rounding modes.
5561
5562 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5563
5564 [BZ #6907]
5565 * manual/string.texi (strchr): Change when strchrnul is
5566 recommended.
5567
5568 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5569
5570 [BZ #174]
5571 * manual/locale.texi (setlocale): Document LOCPATH.
5572
5573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5574
5575 [BZ #10210]
5576 * manual/process.texi (execle): Move @dots{} before last argument.
5577
5578 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5579
5580 [BZ #12047]
5581 * manual/charset.texi (Generic Charset Conversion): Fix typo
5582 (LC_TYPE -> LC_CTYPE).
5583
5584 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5585
5586 [BZ #5805]
5587 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5588 (scalbnf): Likewise.
5589 (scalbnl): Likewise.
5590 (scalbln): Likewise.
5591 (scalblnf): Likewise.
5592 (scalblnl): Likewise.
5593 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5594 (vwarnx): Likewise.
5595 (verr): Likewise.
5596 (verrx): Likewise.
5597 * manual/filesys.texi (telldir): Use braces around return type.
5598 * manual/llio.texi (mmap): Add space after comma.
5599 (mmap64): Likewise.
5600 * manual/math.texi (jn): Use @var{} on parameter names.
5601 (jnf): Likewise.
5602 (jnl): Likewise.
5603 (yn): Likewise.
5604 (ynf): Likewise.
5605 (ynl): Likewise.
5606 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5607 line.
5608 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5609 "...".
5610 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5611 (sched_get_priority_max): Likewise.
5612 * manual/signal.texi (sigvec): Add space after comma.
5613 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5614 names.
5615 (if_indextoname): Likewise.
5616 (if_freenameindex): Likewise.
5617 (sendto): Use ',' instead of '.' in prototype.
5618 * manual/startup.texi (syscall): Use @dots{} instead of literal
5619 "...".
5620 * manual/stdio.texi (__fpending): Separate initial words of
5621 paragraph from @deftypefun line.
5622 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5623 "...".
5624 (vsyslog): Use @var{} on parameter names.
5625 * manual/terminal.texi (stty): Use @var{} on parameter names.
5626 * manual/users.texi (getutmp): Use @var{} on parameter names.
5627 (getutmpx): Likewise.
5628
5629 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5630
5631 [BZ #6884]
5632 * manual/stdio.texi (fopen): Fix typos in description of
5633 ",ccs=STRING".
5634
5635 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5636
5637 [BZ #4026]
5638 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5639 get clock_id definition.
5640
5641 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5642
5643 [BZ #4822]
5644 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5645 (madvise): Cast every argument to void on its own.
5646
5647 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5648
5649 [BZ #9902]
5650 * manual/startup.texi (Exit Status): Fix typo.
5651
5652 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5653
5654 [BZ #10140]
5655 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5656 * manual/examples/argp-ex2.c: Likewise.
5657 * manual/examples/argp-ex3.c: Likewise.
5658
5659 2012-02-16 Richard Henderson <rth@redhat.com>
5660
5661 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5662 * sysdeps/s390/s390-32/initfini.c: Remove.
5663 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5664 * sysdeps/s390/s390-64/initfini.c: Remove.
5665
5666 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5667
5668 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5669 compiler output for sysdeps/generic/initfini.c.
5670 * sysdeps/sh/elf/initfini.c: Remove file.
5671
5672 2012-02-16 David S. Miller <davem@davemloft.net>
5673
5674 [BZ #11494]
5675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5676
5677 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5678 * sysdeps/sparc/crti.S: New file.
5679 * sysdeps/sparc/crtn.S: New file.
5680 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5681 * sysdeps/sparc/sparc64/Makefile: Likewise.
5682
5683 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5684
5685 [BZ #3335]
5686 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5687
5688 2012-02-15 Roland McGrath <roland@hack.frob.com>
5689
5690 [BZ #4822]
5691 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5692
5693 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5694 (write, read, close): Likewise.
5695 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5696
5697 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5698
5699 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5700 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5701 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5702 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5703 <bits/signalfd.h>.
5704 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5706 bits/signalfd.h.
5707
5708 2012-02-14 Marek Polacek <polacek@redhat.com>
5709
5710 * sysdeps/x86_64/crti.S: New file.
5711 * sysdeps/x86_64/crtn.S: New file.
5712 * sysdeps/x86_64/elf/initfini.c: Remove file.
5713
5714 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5715
5716 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5717 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5718 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5719 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5720 <bits/inotify.h>.
5721 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5723 bits/inotify.h.
5724
5725 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5726
5727 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5729 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5730 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5731 <bits/eventfd.h>.
5732 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5734 bits/eventfd.h.
5735
5736 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5737
5738 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5739 __feraiseexcept instead of feraiseexcept.
5740
5741 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5742 nanosleep invocations.
5743 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5744 strings, and add error checking for a nanosleep invocations.
5745
5746 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5747
5748 Replace FSF snail mail address with URLs, as per GNU coding standards.
5749 Most of the snail mail addresses were wrong anyway, and omitting
5750 them makes the source code easier to maintain. Almost all of the
5751 changes are to license notices and to locale LC_IDENTIFICATION
5752 addresses, except for this one:
5753 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5754 not its snail mail address.
5755
5756 2012-02-09 Richard Henderson <rth@twiddle.net>
5757
5758 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5759 of kernel-features.h.
5760
5761 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5762
5763 2012-02-08 Marek Polacek <polacek@redhat.com>
5764
5765 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5766 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5767 * sysdeps/gnu/_G_config.h: Likewise.
5768 * sysdeps/generic/_G_config.h: Likewise.
5769
5770 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5771
5772 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5773 tests.
5774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775
5776 * sysdeps/powerpc/powerpc32/crti.S: New file.
5777 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5778 * sysdeps/powerpc/powerpc64/crti.S: New file.
5779 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5780
5781 * Makeconfig (have-initfini): Don't set.
5782 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5783 * configure.in (nopic_initfini): Don't substitute.
5784 * config.h.in (HAVE_INITFINI): Don't #undef.
5785 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5786 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5787
5788 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5789
5790 Support crti.S and crtn.S provided directly by architectures.
5791 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5792 [crti.S in sysdirs] (omit-deps): Likewise.
5793 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5794 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5795 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5796 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5797 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5798 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5799 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5800 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5801 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5802 compiler output for sysdeps/generic/initfini.c.
5803 * sysdeps/i386/elf/Makefile: Remove file.
5804 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5805
5806 2012-02-07 Marek Polacek <polacek@redhat.com>
5807
5808 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5809 * sysdeps/gnu/_G_config.h: Likewise.
5810 * sysdeps/mach/hurd/_G_config.h: Likewise.
5811
5812 2012-02-07 Marek Polacek <polacek@redhat.com>
5813
5814 * math/Makefile (tests): Add tst-CMPLX2.
5815 * math/tst-CMPLX2.c: New file.
5816
5817 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5818
5819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5820
5821 * math/libm-test.inc (jn_test): Add missing L suffix.
5822
5823 2012-02-06 Marek Polacek <polacek@redhat.com>
5824
5825 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5826 * sysdeps/i386/fpu/e_powf.S: Likewise.
5827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5828 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5829 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5830 * sysdeps/i386/fpu/e_pow.S: Likewise.
5831 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5833 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5834 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5835 * sysdeps/i386/fpu/e_log2.S: Likewise.
5836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5837 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5838 * sysdeps/i386/fpu/e_powl.S: Likewise.
5839 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5840 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5841 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5842 * sysdeps/i386/fpu/e_logl.S: Likewise.
5843 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5844 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5849 * sysdeps/i386/fpu/e_log.S: Likewise.
5850 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5852 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5853 * sysdeps/i386/fpu/e_logf.S: Likewise.
5854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5856 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5859 * sysdeps/i386/fpu/e_log10.S: Likewise.
5860 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5862 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5863 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5866 * sysdeps/i386/asm-syntax.h: Likewise.
5867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5870 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5871 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5876 * sysdeps/powerpc/sysdep.h: Likewise.
5877 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5879
5880 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5881
5882 [BZ #411]
5883 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5884
5885 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5886
5887 * sysdeps/i386/sysdep.h: Include <features.h>.
5888 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5889 version.
5890
5891 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5892
5893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5894 Define.
5895 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5896 LOAD_PIC_REG_STR.
5897
5898 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5899
5900 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5901 (SETUP_PIC_REG): Use GET_PC_THUNK.
5902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5903 macro.
5904
5905 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5906
5907 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5908 for non-PIC compilation.
5909 (SETUP_PIC_REG): Add .p2align directive.
5910 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5911 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5913 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5915 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5918 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5919 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5920 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5921 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5922 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5923 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5924 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5925 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5926 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5936 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5942 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5943 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5944 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5945 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5946 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5947 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5948 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5949 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5951
5952 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5953
5954 * math/tst-CMPLX.c: Include <stdio.h>.
5955
5956 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5957
5958 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5959 float.
5960 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5961 * sysdeps/sparc/bits/mathdef.h: Likewise.
5962
5963 2012-01-31 Marek Polacek <polacek@redhat.com>
5964
5965 * libio/libio.h: Don't define _PARAMS.
5966 * locale/programs/config.h: Don't define PARAMS.
5967 * stdlib/strtol_l.c: Likewise.
5968 (__strtol_l): Remove PARAMS from the prototype.
5969
5970 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5971
5972 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5973 names. Just use the correct names. Remove unnecessary wrapper
5974 functions.
5975 * malloc/arena.c: Likewise.
5976 * malloc/hooks.c: Likewise.
5977
5978 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5979 ARENA_TEST says not to. Simplify test for creation of a new arena.
5980 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5981
5982 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5983
5984 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5985 into tail calls.
5986 (update_get_addr): New function.
5987 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5988 GET_ADDR_MODULE parameter.
5989
5990 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5991
5992 * crypt/cert.c: Remove __STDC__ conditionals.
5993 * crypt/crypt-entry.c: Likewise.
5994 * crypt/crypt_util.c: Likewise.
5995 * libio/filedoalloc.c: Likewise.
5996 * libio/fileops.c: Likewise.
5997 * libio/genops.c: Likewise.
5998 * libio/iofclose.c: Likewise.
5999 * libio/iofdopen.c: Likewise.
6000 * libio/iofopen.c: Likewise.
6001 * libio/iofopen64.c: Likewise.
6002 * libio/iogetdelim.c: Likewise.
6003 * libio/iopopen.c: Likewise.
6004 * libio/obprintf.c: Likewise.
6005 * libio/oldfileops.c: Likewise.
6006 * libio/oldiofclose.c: Likewise.
6007 * libio/oldiofdopen.c: Likewise.
6008 * libio/oldiofopen.c: Likewise.
6009 * libio/oldiopopen.c: Likewise.
6010 * libio/wfiledoalloc.c: Likewise.
6011 * libio/wgenops.c: Likewise.
6012 * locale/programs/xmalloc.c: Likewise.
6013 * misc/syslog.c: Likewise.
6014 * stdio-common/xbug.c: Likewise.
6015 * string/memchr.c: Likewise.
6016 * string/memcmp.c: Likewise.
6017 * string/memrchr.c: Likewise.
6018 * string/rawmemchr.c: Likewise.
6019 * sysdeps/posix/getcwd.c: Likewise.
6020 * time/strftime_l.c: Likewise.
6021
6022 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6023
6024 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6025 * config.make.in (config-cflags-sse2avx): Define.
6026 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6027 Fix typo.
6028
6029 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6030
6031 * scripts/config.guess: Update from upstream config git repository.
6032 * scripts/config.sub: Likewise.
6033
6034 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6035
6036 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6037 (EM_NUM): Update.
6038 (R_TILEPRO_*, R_TILEGX_*): New macros.
6039
6040 * scripts/firstversions.awk: Fix bug in version range handling.
6041
6042 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6043
6044 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6045
6046 * include/sys/epoll.h: New file.
6047 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6048 libc_hidden_def.
6049
6050 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6051
6052 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6053 Avoid unnecessary __WORDSIZE == 64 test.
6054 (fmaxf): Use VEX format if possible.
6055 (fmax): Likewise.
6056 (fminf): Likewise.
6057 (fmin): Likewise.
6058
6059 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6060 * math/math_private.h: Remove libc_fegetround* and
6061 libc_fesetround*.
6062 * sysdeps/i386/configure.in: Check for -msse2avx.
6063 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6064 also if SSE2AVX is defined.
6065 Remove libc_fegetround* and libc_fesetround*.
6066 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6067 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6069 of HAS_YMM_USABLE.
6070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6075
6076 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6077
6078 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6079
6080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6081 size is not set.
6082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6083
6084 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6085
6086 [BZ #13618]
6087 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6088 relocation.
6089 * Makeconfig (libm): Define.
6090 * elf/Makefile: Add rules to build and run tst-relsort1.
6091 * elf/tst-relsort1.c: New file.
6092 * elf/tst-relsort1mod1.c: New file.
6093 * elf/tst-relsort1mod2.c: New file.
6094
6095 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6096
6097 * math/s_ldexp.c: Remove __STDC__ conditionals.
6098 * math/s_ldexpf.c: Likewise.
6099 * math/s_ldexpl.c: Likewise.
6100 * math/s_nextafter.c: Likewise.
6101 * math/s_nexttowardf.c: Likewise.
6102 * math/s_significand.c: Likewise.
6103 * math/s_significandf.c: Likewise.
6104 * math/s_significandl.c: Likewise.
6105 * math/w_jnl.c: Likewise.
6106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6127 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6132 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6138 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6139 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6143 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6144 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6146 * sysdeps/ieee754/k_standard.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6190 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6203 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6205 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6226 * sysdeps/ieee754/s_matherr.c: Likewise.
6227 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6228 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6231
6232 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6233
6234 * crypt/md5.h: Remove __STDC__ conditionals.
6235 * libio/libioP.h: Likewise.
6236 * locale/programs/config.h: Likewise.
6237 * sysdeps/generic/sysdep.h: Likewise.
6238 * sysdeps/i386/asm-syntax.h: Likewise.
6239 * sysdeps/s390/asm-syntax.h: Likewise.
6240 * sysdeps/unix/sysdep.h: Likewise.
6241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6243
6244 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6245
6246 * libio/libio.h: Remove __STDC__ conditionals.
6247 * malloc/obstack.h: Likewise.
6248 * math/complex.h: Likewise.
6249 * math/math.h: Likewise.
6250 * sysdeps/generic/_G_config.h: Likewise.
6251 * sysdeps/gnu/_G_config.h: Likewise.
6252 * sysdeps/mach/hurd/_G_config.h: Likewise.
6253 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6254 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6255 * sysdeps/sparc/bits/mathdef.h: Likewise.
6256
6257 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6258
6259 [BZ #13583]
6260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6261 Clean up HAS_* macros.
6262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6263 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6264 possible.
6265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6266 HAS_AVX.
6267 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6268 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6269 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6272
6273 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6274
6275 * elf/tst-unique3.cc (gets): Remove declaration.
6276 * elf/tst-unique3lib.cc (gets): Likewise.
6277 * elf/tst-unique3lib2.cc (gets): Likewise.
6278 * elf/tst-unique4.cc (gets): Likewise.
6279
6280 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6281
6282 * include/stdio.h: Add C++ protection. Add gets declarations and
6283 definitions.
6284 * debug/tst-chk1.c: Don't declare gets here.
6285 * stdio-common/tst-gets.c: Likewise.
6286
6287 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6288
6289 * posix/glob: Remove directory.
6290
6291 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6292
6293 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6294
6295 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6296
6297 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6298 of the non-standard EPFNOSUPPORT.
6299
6300 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6301
6302 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6303 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6304 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6305
6306 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6307
6308 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6309
6310 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6311
6312 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6313 transient errors.
6314 * nscd/grpcache.c (cache_addgr): Likewise.
6315 * nscd/hstcache.c (cache_addhst): Likewise.
6316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6317 * nscd/pwdcache.c (cache_addpw): Likewise.
6318 * nscd/servicescache.c (cache_addserv): Likewise.
6319
6320 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6321
6322 * malloc/malloc.c: Various cleanups.
6323 * malloc/hooks.c: Likewise.
6324
6325 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6326 * stdlib/bug-fmtmsg1.c: New file.
6327
6328 * stdlib/fmtmsg.c (init): Add missing unlock.
6329 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6330
6331 2012-01-12 Marek Polacek <polacek@redhat.com>
6332
6333 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6334 and _GNU_SOURCE.
6335
6336 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6337
6338 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6339 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6340 macro to ensure uniqueness of label name.
6341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6343
6344 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6345
6346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6347
6348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6349 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6352
6353 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6354
6355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6356
6357 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6360
6361 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6362
6363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6364 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6367
6368 * math/bits/math-finite.h: Add ldexp support.
6369
6370 2012-01-10 Marek Polacek <polacek@redhat.com>
6371
6372 * locale/programs/localedef.h (show_archive_content): Add noreturn
6373 attribute.
6374
6375 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6376
6377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6378
6379 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6380
6381 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6382
6383 * io/Makefile (headers): Add bits/poll2.h.
6384
6385 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6386
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6388 typo #include statement.
6389
6390 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6391
6392 * include/sys/cdefs.h: Define __attribute_alloc_size.
6393 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6394 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6395 * elf/pldd.c: Likewise.
6396 * iconv/iconv_charmap.c: Likewise.
6397 * iconv/iconvconfig.c: Likewise.
6398 * iconv/strtab.c: Likewise.
6399 * locale/programs/locale.c: Likewise.
6400 * locale/programs/localedef.h: Likewise.
6401 * locale/programs/simple-hash.c: Likewise.
6402 * nscd/nscd.h: Likewise.
6403 * nss/makedb.c: Likewise.
6404 * sysdeps/generic/ldconfig.h: Likewise.
6405 * locale/programs/localedef.c: Remove xmalloc prototype.
6406 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6407
6408 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6409
6410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6411 appropriate.
6412
6413 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6414
6415 * math/Makefile (tests): Add tst-CMPLX.
6416 * math/tst-CMPLX.c: New file.
6417
6418 * math/complex.h (CMPLXL): Fix typo.
6419
6420 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6421 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6422 GLIBC_2.16.
6423 * debug/tst-chk1.c: Add poll and ppoll tests.
6424 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6425 * include/sys/poll.h: Add hidden proto for ppoll.
6426 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6427 * sysdeps/mach/hurd/ppoll.c: Likewise.
6428 * io/ppoll.c: Likewise.
6429 * debug/poll_chk.c: New file.
6430 * debug/ppoll_chk.c: New file.
6431 * include/bits/poll2.h: New file.
6432 * io/bits/poll2.h: New file.
6433
6434 [BZ #1350]
6435 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6436
6437 * configure.in: static is always set to yes. Remove.
6438 * config.make.in: Don't set build-static.
6439 * Makeconfig: Remove use of build-static.
6440 * dlfcn/Makefile: Likewise.
6441 * elf/Makefile: Likewise.
6442 * math/Makefile: Likewise.
6443 * misc/Makefile: Likewise.
6444 * nptl/Makefile: Likewise.
6445 * sysdeps/mach/hurd/Makefile: Likewise.
6446
6447 * configure.in: PWD_P is not used anymore.
6448 * config.make.in: Remove PWD_P entry.
6449
6450 * configure.in: Remove last remnants of RANLIB.
6451 No need to check for signed size_t anymore.
6452 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6453 and IA-64.
6454 Remove __builtin_expect test because we require at least gcc 3.4.
6455 * aclocal.m4: Likewise.
6456
6457 * wcsmbs/mbrtoc16.c: Implement using towc function.
6458 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6459 * wcsmbs/wcsmbsload.c: Likewise.
6460 * iconv/gconv_simple.c: Likewise.
6461 * iconv/gconv_int.h: Likewise.
6462 * iconv/gconv_builtin.h: Likewise.
6463 * iconv/iconv_prog.c: Remove CHAR16 handling.
6464
6465 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6466
6467 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6468
6469 * configure.in: Remove --with-elf and --enable-bounded options.
6470 Dont set base_machine for ia64. More non-ELF conditions removed.
6471 Remove testing and setting of leading underscore information.
6472 * config.make.in (build-bounded): Set to no.
6473 * config.h.in: Remove NO_UNDERSCORES entry.
6474 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6475 them.
6476 * csu/start.c: Remove !NO_UNDERSCORE code.
6477 * locale/localeinfo.h: Likewise.
6478 * sysdeps/generic/machine-gmon.h: Likewise.
6479 * sysdeps/generic/sysdep.h: Likewise.
6480 * sysdeps/i386/sysdep.h: Likewise.
6481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6482 * sysdeps/mach/sysdep.h: Likewise.
6483 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6485 * sysdeps/sh/sysdep.h: Likewise.
6486 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6487 * sysdeps/unix/i386/sysdep.S: Likewise.
6488 * sysdeps/unix/sparc/start.c: Likewise.
6489 * sysdeps/unix/sparc/sysdep.S: Likewise.
6490 * sysdeps/unix/sparc/sysdep.h: Likewise.
6491 * sysdeps/unix/start.c: Likewise.
6492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6493 * sysdeps/x86_64/sysdep.h: Likewise.
6494
6495 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6496
6497 [BZ #13553]
6498 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6499 for non-gcc.
6500 * argp/argp-fmtstream.h: Use const instead __const.
6501 * argp/argp.h: Likewise.
6502 * assert/assert.h: Likewise.
6503 * bits/fenv.h: Likewise.
6504 * bits/sched.h: Likewise.
6505 * bits/sigset.h: Likewise.
6506 * bits/sigthread.h: Likewise.
6507 * catgets/nl_types.h: Likewise.
6508 * conform/data/pthread.h-data: Likewise.
6509 * crypt/crypt-private.h: Likewise.
6510 * crypt/crypt.h: Likewise.
6511 * crypt/crypt_util.c: Likewise.
6512 * ctype/ctype.h: Likewise.
6513 * debug/execinfo.h: Likewise.
6514 * debug/mbsnrtowcs_chk.c: Likewise.
6515 * debug/mbsrtowcs_chk.c: Likewise.
6516 * debug/wcsnrtombs_chk.c: Likewise.
6517 * debug/wcsrtombs_chk.c: Likewise.
6518 * debug/wcstombs_chk.c: Likewise.
6519 * dirent/dirent.h: Likewise.
6520 * dlfcn/dlfcn.h: Likewise.
6521 * elf/neededtest4.c: Likewise.
6522 * grp/grp.h: Likewise.
6523 * gshadow/gshadow.h: Likewise.
6524 * iconv/gconv.h: Likewise.
6525 * iconv/gconv_int.h: Likewise.
6526 * iconv/gconv_simple.c: Likewise.
6527 * iconv/iconv.h: Likewise.
6528 * iconv/loop.c: Likewise.
6529 * iconv/skeleton.c: Likewise.
6530 * include/aio.h: Likewise.
6531 * include/aliases.h: Likewise.
6532 * include/argz.h: Likewise.
6533 * include/arpa/inet.h: Likewise.
6534 * include/assert.h: Likewise.
6535 * include/dirent.h: Likewise.
6536 * include/dlfcn.h: Likewise.
6537 * include/execinfo.h: Likewise.
6538 * include/fcntl.h: Likewise.
6539 * include/fenv.h: Likewise.
6540 * include/glob.h: Likewise.
6541 * include/grp.h: Likewise.
6542 * include/libintl.h: Likewise.
6543 * include/mntent.h: Likewise.
6544 * include/netdb.h: Likewise.
6545 * include/pwd.h: Likewise.
6546 * include/rpc/netdb.h: Likewise.
6547 * include/sched.h: Likewise.
6548 * include/search.h: Likewise.
6549 * include/shadow.h: Likewise.
6550 * include/signal.h: Likewise.
6551 * include/stdio.h: Likewise.
6552 * include/stdlib.h: Likewise.
6553 * include/string.h: Likewise.
6554 * include/sys/socket.h: Likewise.
6555 * include/sys/stat.h: Likewise.
6556 * include/sys/statfs.h: Likewise.
6557 * include/sys/statvfs.h: Likewise.
6558 * include/sys/syslog.h: Likewise.
6559 * include/sys/time.h: Likewise.
6560 * include/sys/uio.h: Likewise.
6561 * include/time.h: Likewise.
6562 * include/unistd.h: Likewise.
6563 * include/utmp.h: Likewise.
6564 * include/wchar.h: Likewise.
6565 * include/wctype.h: Likewise.
6566 * inet/aliases.h: Likewise.
6567 * inet/arpa/inet.h: Likewise.
6568 * inet/netinet/ether.h: Likewise.
6569 * inet/netinet/in.h: Likewise.
6570 * intl/libintl.h: Likewise.
6571 * io/bits/fcntl2.h: Likewise.
6572 * io/fcntl.h: Likewise.
6573 * io/ftw.h: Likewise.
6574 * io/sys/poll.h: Likewise.
6575 * io/sys/stat.h: Likewise.
6576 * io/sys/statfs.h: Likewise.
6577 * io/sys/statvfs.h: Likewise.
6578 * io/utime.h: Likewise.
6579 * libio/bits/stdio.h: Likewise.
6580 * libio/bits/stdio2.h: Likewise.
6581 * libio/libio.h: Likewise.
6582 * libio/libioP.h: Likewise.
6583 * libio/stdio.h: Likewise.
6584 * locale/lc-ctype.c: Likewise.
6585 * locale/locale.h: Likewise.
6586 * login/utmp.h: Likewise.
6587 * malloc/arena.c: Likewise.
6588 * malloc/malloc.c: Likewise.
6589 * malloc/malloc.h: Likewise.
6590 * malloc/mcheck.c: Likewise.
6591 * malloc/mtrace.c: Likewise.
6592 * math/bits/mathcalls.h: Likewise.
6593 * math/fenv.h: Likewise.
6594 * math/math_private.h: Likewise.
6595 * misc/bits/error.h: Likewise.
6596 * misc/bits/syslog.h: Likewise.
6597 * misc/err.h: Likewise.
6598 * misc/error.h: Likewise.
6599 * misc/fstab.h: Likewise.
6600 * misc/mntent.h: Likewise.
6601 * misc/regexp.h: Likewise.
6602 * misc/search.h: Likewise.
6603 * misc/sgtty.h: Likewise.
6604 * misc/sys/mman.h: Likewise.
6605 * misc/sys/syslog.h: Likewise.
6606 * misc/sys/uio.h: Likewise.
6607 * misc/sys/xattr.h: Likewise.
6608 * misc/ttyent.h: Likewise.
6609 * nis/rpcsvc/ypclnt.h: Likewise.
6610 * nss/nss.h: Likewise.
6611 * posix/bits/unistd.h: Likewise.
6612 * posix/fnmatch.h: Likewise.
6613 * posix/glob.h: Likewise.
6614 * posix/sched.h: Likewise.
6615 * posix/spawn.h: Likewise.
6616 * posix/sys/wait.h: Likewise.
6617 * posix/unistd.h: Likewise.
6618 * posix/wordexp.h: Likewise.
6619 * pwd/pwd.h: Likewise.
6620 * resolv/netdb.h: Likewise.
6621 * resource/sys/resource.h: Likewise.
6622 * rt/aio.h: Likewise.
6623 * rt/bits/mqueue2.h: Likewise.
6624 * rt/mqueue.h: Likewise.
6625 * shadow/shadow.h: Likewise.
6626 * signal/signal.h: Likewise.
6627 * socket/send.c: Likewise.
6628 * socket/sendto.c: Likewise.
6629 * socket/sys/socket.h: Likewise.
6630 * stdio-common/printf.h: Likewise.
6631 * stdlib/bits/stdlib.h: Likewise.
6632 * stdlib/fmtmsg.h: Likewise.
6633 * stdlib/monetary.h: Likewise.
6634 * stdlib/stdlib.h: Likewise.
6635 * stdlib/ucontext.h: Likewise.
6636 * streams/stropts.h: Likewise.
6637 * string/argz.h: Likewise.
6638 * string/bits/string2.h: Likewise.
6639 * string/string.h: Likewise.
6640 * string/strings.h: Likewise.
6641 * sunrpc/rpc/auth.h: Likewise.
6642 * sunrpc/rpc/auth_des.h: Likewise.
6643 * sunrpc/rpc/clnt.h: Likewise.
6644 * sunrpc/rpc/netdb.h: Likewise.
6645 * sunrpc/rpc/pmap_clnt.h: Likewise.
6646 * sunrpc/rpc/xdr.h: Likewise.
6647 * sysdeps/generic/inttypes.h: Likewise.
6648 * sysdeps/generic/net/if.h: Likewise.
6649 * sysdeps/generic/sys/swap.h: Likewise.
6650 * sysdeps/gnu/net/if.h: Likewise.
6651 * sysdeps/gnu/utmpx.h: Likewise.
6652 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6653 * sysdeps/i386/i486/bits/string.h: Likewise.
6654 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6655 * sysdeps/s390/bits/string.h: Likewise.
6656 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6657 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6658 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6659 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6660 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6661 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6662 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6663 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6664 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6665 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6666 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6667 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6668 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6669 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6670 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6671 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6672 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6677 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6678 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6679 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6680 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6681 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6684 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6685 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6686 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6687 * sysvipc/sys/ipc.h: Likewise.
6688 * sysvipc/sys/msg.h: Likewise.
6689 * sysvipc/sys/sem.h: Likewise.
6690 * sysvipc/sys/shm.h: Likewise.
6691 * termios/termios.h: Likewise.
6692 * time/sys/time.h: Likewise.
6693 * time/time.h: Likewise.
6694 * wcsmbs/bits/wchar2.h: Likewise.
6695 * wcsmbs/uchar.h: Likewise.
6696 * wcsmbs/wchar.h: Likewise.
6697 * wctype/wctype.h: Likewise.
6698
6699 [BZ #13551]
6700 * Makeconfig: Remove all but ELF support including AIX support.
6701 * Makerules: Likewise.
6702 * config.h.in: Likewise.
6703 * config.make.in: Likewise.
6704 * configure: Likewise.
6705 * configure.in: Likewise.
6706 * csu/Makefile: Likewise.
6707 * csu/version.c: Likewise.
6708 * debug/Makefile: Likewise.
6709 * dlfcn/Makefile: Likewise.
6710 * elf/Makefile: Likewise.
6711 * extra-lib.mk: Likewise.
6712 * iconv/Makefile: Likewise.
6713 * include/libc-symbols.h: Likewise.
6714 * include/shlib-compat.h: Likewise.
6715 * resolv/Makefile: Likewise.
6716 * resolv/res_libc.c: Likewise.
6717 * rt/Makefile: Likewise.
6718 * sysdeps/i386/asm-syntax.h: Likewise.
6719 * sysdeps/i386/sysdep.h: Likewise.
6720 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6721 * sysdeps/mach/sysdep.h: Likewise.
6722 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6723 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6724 * sysdeps/s390/asm-syntax.h: Likewise.
6725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6727 * sysdeps/sh/sysdep.h: Likewise.
6728 * sysdeps/unix/sparc/sysdep.h: Likewise.
6729 * sysdeps/wordsize-32/divdi3.c: Likewise.
6730 * sysdeps/x86_64/sysdep.h: Likewise.
6731
6732 * argp/Versions: Remove _argp_unlock_xxx.
6733
6734 [BZ #13559]
6735 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6736 * abilist/libBrokenLocale.abilist: Likewise.
6737 * abilist/libanl.abilist: Likewise.
6738 * abilist/libc.abilist: Likewise.
6739 * abilist/libcrypt.abilist: Likewise.
6740 * abilist/libdl.abilist: Likewise.
6741 * abilist/libm.abilist: Likewise.
6742 * abilist/libnsl.abilist: Likewise.
6743 * abilist/libpthread.abilist: Likewise.
6744 * abilist/libresolv.abilist: Likewise.
6745 * abilist/librt.abilist: Likewise.
6746 * abilist/libthread_db.abilist: Likewise.
6747 * abilist/libutil.abilist: Likewise.
6748 * abilist/libnss_db.abilist: New file.
6749
6750 * scripts/abilist.awk: Add support for indirect functions.
6751
6752 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6753
6754 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6755
6756 * shlib-versions: Remove entries for ports architectures.
6757
6758 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6759 files in ports.
6760 * elf/stackguard-macros.h: Remove support for IA-64.
6761 * elf/tst-auditmod1.c: Likewise.
6762 * sysdeps/generic/ldsodefs.h: Likewise.
6763
6764 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6765 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6766 configure files.
6767
6768 [BZ #13552]
6769 * configure.in: Remove --enable-omitfp support.
6770 * FAQ.in: Adjust.
6771 * config.make.in: Likewise.
6772 * Makeconfig: Likewise.
6773 * manual/install.texi: Likewise.
6774
6775 In case anyone cares, the IA-64 architecture could move to ports.
6776 * sysdeps/ia64/*: Removed.
6777 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6778 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6779
6780 [BZ #13555]
6781 * configure.in: Remove entries for unsupported architectures.
6782
6783 [BZ #13533]
6784 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6785 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6786 routines.
6787 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6788 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6789 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6790 fall back to using wcrtomb.
6791 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6792 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6793 renaming.
6794 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6795 * wcsmbs/tst-c16c32-1.c: New file.
6796
6797 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6798 local variable.
6799
6800 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6801
6802 * elf/tst-unique3.cc: Add explicit declaration of gets.
6803 * elf/tst-unique3lib.cc: Likewise.
6804 * elf/tst-unique3lib2.cc: Likewise.
6805 * elf/tst-unique4.cc: Likewise.
6806
6807 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6808
6809 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6810
6811 [BZ #13566]
6812 * assert/assert.h (static_assert): Don't define for C++.
6813 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6814 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6815
6816 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6817
6818 * iconv/loop.c (single loop): Fix assertion in storing of
6819 remaining bytes.
6820
6821 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6822
6823 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6824
6825 * posix/getconf.c: Update copyright year.
6826 * nss/getent.c: Likewise.
6827 * nss/makedb.c: Likewise.
6828 * iconv/iconvconfig.c: Likewise.
6829 * iconv/iconv_prog.c: Likewise.
6830 * elf/ldconfig.c: Likewise.
6831 * elf/pldd.c: Likewise.
6832 * elf/sotruss.ksh: Likewise.
6833 * catgets/gencat.c: Likewise.
6834 * csu/version.c: Likewise.
6835 * elf/ldd.bash.in: Likewise.
6836 * elf/sprof.c (print_version): Likewise.
6837 * locale/programs/locale.c: Likewise.
6838 * locale/programs/localedef.c: Likewise.
6839 * login/programs/pt_chown.c: Likewise.
6840 * nscd/nscd.c (print_version): Likewise.
6841 * debug/xtrace.sh: Likewise.
6842 * malloc/memusage.sh: Likewise.
6843 * malloc/mtrace.pl: Likewise.
6844 * debug/catchsegv.sh: Likewise.
6845
6846 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6847
6848 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6849 pure attribute.
6850
6851 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6852
6853 [BZ #13533]
6854 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6855 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6856 transformations.
6857 * iconv/gconv_int.h: Likewise.
6858 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6859 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6860 from libc for GLIBC_2.16.
6861 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6862 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6863 * wcsmbs/uchar.h: Really define mbstate_t.
6864 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6865 * wcsmbs/c16rtomb.c: New file.
6866 * wcsmbs/mbrtoc16.c: New file.
6867 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6868 for C/POSIX locale.
6869 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6870 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6871
6872 * wcsmbs/wchar.h: Add missing __restrict.
6873
6874 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6875
6876 [BZ #13532]
6877 * time/Makefile (routines): Add timespec_get.
6878 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6879 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6880 timespec for ISO C11.
6881 * time/timespec_get.c: New file.
6882 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6883 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6884
6885 [BZ #13531]
6886 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6887 * stdlib/stdlib.h: Declare aligned_alloc.
6888 * Versions.def: Add GLIBC_2.16 for libc.
6889 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6890
6891 [BZ 13527]
6892 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6893 ISO C11.
6894
6895 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6896 code.
6897
6898 [BZ #13528]
6899 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6900
6901 [BZ #13529]
6902 * assert/assert.h (static_assert): Define.
6903
6904 * version.h: Update for 2.16 development version.
6905
6906 [BZ #13526]
6907 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6908 _ISOC11_SOURCE.
6909
6910 * version.h (RELEASE): Bump for 2.15 release.
6911 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6912
6913 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6914 Patch by Marek Polacek <mpolacek@redhat.com>.
6915
6916 * bits/byteswap.h: Protect long long constants with __extension__.
6917 * sysdeps/i386/bits/byteswap.h: Likewise.
6918 * sysdeps/ia64/bits/byteswap.h: Likewise.
6919 * sysdeps/s390/bits/byteswap.h: Likewise.
6920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6921
6922 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6923
6924 [BZ #13540]
6925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6926 destination buffer.
6927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6928
6929 2011-12-23 Marek Polacek <polacek@redhat.com>
6930
6931 * elf/dl-addr.c (determine_info): Add inline keyword.
6932 * elf/tst-auditmod4b.c (check_avx): Likewise.
6933 * elf/tst-auditmod6b.c (check_avx): Likewise.
6934 * elf/tst-auditmod6c.c (check_avx): Likewise.
6935 * elf/tst-auditmod7b.c (check_avx): Likewise.
6936
6937 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6938
6939 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6940 !__SSE_MATH__.
6941
6942 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6943
6944 [BZ #13540]
6945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6946 processing for last bytes.
6947
6948 2011-08-06 Bruno Haible <bruno@clisp.org>
6949
6950 [BZ #13061]
6951 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6952 U+0385, not to U+1FEE.
6953
6954 [BZ #13062]
6955 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6956 entry for U+00A5 U+0301.
6957
6958 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6959
6960 [BZ #13166]
6961 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6962 buffer for the output is too small.
6963
6964 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6965 optimization.
6966
6967 [BZ #13185]
6968 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6969 SSE flags if possible.
6970
6971 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6972
6973 [BZ #13540]
6974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6975 processing for last bytes.
6976
6977 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6978
6979 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6980 (syscall-list-default-options, syscall-list-default-condition)
6981 (syscall-list-includes): Define.
6982 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6983 list of ABIs and options and #if conditions for each ABI. Do not
6984 handle common syscalls between ABIs specially.
6985 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6986 Remove.
6987 (syscall-list-variants, syscall-list-32bit-options)
6988 (syscall-list-32bit-condition, syscall-list-64bit-options)
6989 (syscall-list-64bit-condition): Define.
6990 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6991 (syscall-list-variants, syscall-list-32bit-options)
6992 (syscall-list-32bit-condition, syscall-list-64bit-options)
6993 (syscall-list-64bit-condition): Define.
6994 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6995 Remove.
6996 (syscall-list-variants, syscall-list-32bit-options)
6997 (syscall-list-32bit-condition, syscall-list-64bit-options)
6998 (syscall-list-64bit-condition): Define.
6999 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7000 Remove.
7001 (syscall-list-variants, syscall-list-32bit-options)
7002 (syscall-list-32bit-condition, syscall-list-64bit-options)
7003 (syscall-list-64bit-condition): Define.
7004
7005 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7006
7007 * locale/iso-639.def: Add brx entry.
7008
7009 [BZ #13328]
7010 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7011 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7012
7013 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7014 __feraiseexcept_renamed.
7015
7016 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7017
7018 [BZ #13538]
7019 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7020 EPOLLET with unsigned values.
7021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7023
7024 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7025 to large cancellation.
7026 * math/s_cacoshf.c: Likewise.
7027 * math/s_cacoshl.c: Likewise.
7028
7029 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7030
7031 [BZ #13305]
7032 [BZ #12786]
7033 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7034 * math/s_cacoshf.c: Likewise.
7035 * math/s_cacoshl.c: Likewise.
7036
7037 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7038
7039 [BZ #13439]
7040 * iconv/gconv.h: Define __GCONV_SWAP.
7041 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7042 * iconvdata/utf-16.c: Likewise.
7043 * iconvdata/utf-32.c: Likewise.
7044
7045 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7046
7047 [BZ #13524]
7048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7049 numerator after shifting it by one limb.
7050
7051 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7052
7053 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7054 under [__USE_EXTERN_INLINES].
7055
7056 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7057
7058 [BZ #13446]
7059 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7060
7061 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062
7063 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7064 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7065 optimized code.
7066 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7068 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7069 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7070 for strncasecmp/strncasecmp_l compilation.
7071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7072 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7073
7074 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7075
7076 [BZ #13484]
7077 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7078 of __asm__.
7079
7080 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7081
7082 [BZ #13506]
7083 * time/tzfile.c (__tzfile_read): Check values from file header.
7084
7085 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7086
7087 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7088 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7089 * powerpc/powerpc32/dl-start.S: Likewise.
7090 * powerpc/powerpc32/elf/start.S: Likewise.
7091 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7092 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7093 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7094 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7095 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7096 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7097 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7098 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7099 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7100 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7101 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7102 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7103 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7104 * powerpc/powerpc32/memset.S: Likewise.
7105 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7106 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7107 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7108 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7109 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7110 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7111 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7112 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7113 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7114 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7116 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7117 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7118
7119 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7120
7121 * math/libm-test.inc: Added more nearbyint tests.
7122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7124 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7126
7127 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7128
7129 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7130 FD_CLOEXEC.
7131
7132 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7133
7134 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7135 Add wcscpy-ssse3 wcscpy-c.
7136 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7137 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7138 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7139 * sysdeps/x86_64/wcschr.S: New file.
7140 * sysdeps/x86_64/wcsrchr.S: New file.
7141 * string/test-strcmp.c: Remove checking of wcscmp function for
7142 wrong alignments.
7143 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7144 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7145 wcsrchr-sse2 wcsrchr-c.
7146 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7147 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7148 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7149 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7150 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7151 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7152 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7153 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7154 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7155 * wcsmbc/wcschr.c (WCSCHR): New macro.
7156
7157 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7158
7159 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7160 * wcsmbs/test-wcsrchr.c: New file.
7161 * string/test-strrchr.c: Add wcsrchr support.
7162 (WIDE): New macro.
7163 * wcsmbs/test-wcscpy.c: New file.
7164 * string/test-strcpy.c: Add wcscpy support.
7165 (WIDE): New macro.
7166
7167 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7168
7169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7170 the inner loop.
7171
7172 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7173
7174 [BZ #13472]
7175 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7176
7177 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7178
7179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7180 Minor optimizations.
7181
7182 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7183 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7184 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7185
7186 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7187
7188 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7189 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7190 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7191 for gcc to avoid warnings.
7192 * inet/Makefile (tests): Add tst-checks.
7193 * inet/tst-checks.c: New file.
7194
7195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7196 warning.
7197
7198 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7199 __wmemcmp_sse2.
7200
7201 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7202 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7203
7204 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7205
7206 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7207
7208 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7209 problem.
7210
7211 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7212
7213 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7214
7215 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7216 conditional on GCC version.
7217 (__arch_compare_and_exchange_val_8_acq)
7218 (__arch_compare_and_exchange_val_16_acq)
7219 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7220 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7221 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7222
7223 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7224
7225 * sysdeps/sh/backtrace.c: New file.
7226
7227 2011-12-02 Andreas Schwab <schwab@redhat.com>
7228
7229 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7230 parenthesis.
7231
7232 2011-12-01 Andreas Schwab <schwab@redhat.com>
7233
7234 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7235 falling back to utime.
7236
7237 2011-11-30 Andreas Schwab <schwab@redhat.com>
7238
7239 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7240 expectations for float.
7241
7242 2011-11-29 Andreas Schwab <schwab@redhat.com>
7243
7244 * locale/weight.h (findidx): Add parameter len.
7245 * locale/weightwc.h (findidx): Likewise.
7246 * posix/fnmatch_loop.c (FCT): Adjust caller.
7247 * posix/regcomp.c (build_equiv_class): Likewise.
7248 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7249 * posix/regexec.c (check_node_accept_bytes): Likewise.
7250 * string/strcoll_l.c (STRCOLL): Likewise.
7251 * string/strxfrm_l.c (STRXFRM): Likewise.
7252
7253 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7254
7255 * Makefile.in: Remove CVSOPT handling.
7256 * configure.in: Remove use of AC_REVISION.
7257 * iconvdata/Makefile (distribute): No need to filter out CVS.
7258 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7259 handling.
7260
7261 2011-11-16 Andreas Schwab <schwab@redhat.com>
7262
7263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7264 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7265 [USE_AS_STRNCASECMP_L]: Likewise.
7266 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7267 NO_TLS_DIRECT_SEG_REFS.
7268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7269 Fix argument offsets for non-PIC.
7270 [USE_AS_STRNCASECMP_L]: Likewise.
7271 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7272 NO_TLS_DIRECT_SEG_REFS.
7273
7274 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7275
7276 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7277 O_CLOEXEC.
7278 * locale/loadlocale.c (_nl_load_locale): Likewise.
7279
7280 2011-11-15 Andreas Schwab <schwab@redhat.com>
7281
7282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7283 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7285 (SYSCALL_GETTIME): Set errno on error.
7286
7287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7288 count references to noai6ai_cached.
7289
7290 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7291
7292 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7293
7294 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7295 FD_CLOEXEC for /proc/self/maps.
7296
7297 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7298 FD_CLOEXEC for /proc/meminfo.
7299
7300 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7301 gai.conf.
7302
7303 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7304 FD_CLOEXEC for given file.
7305
7306 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7307
7308 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7309 FD_CLOEXEC for /etc/hosts.
7310 (_gethtent): Likewise.
7311
7312 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7313
7314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7315 cancellation and set FD_CLOEXEC for /etc/netgroup.
7316
7317 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7318 reading /etc/publickey.
7319
7320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7321 allow cancellation when reading /etc/group.
7322
7323 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7324 cancellation.
7325 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7326
7327 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7328 when using data file.
7329
7330 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7331
7332 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7333 (write_nis_obj): Use "c" and "e" in fopen.
7334
7335 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7336
7337 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7338
7339 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7340
7341 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7342
7343 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7344 locale.alias.
7345
7346 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7347
7348 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7349
7350 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7351
7352 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7353 file parsing and set FD_CLOEXEC.
7354
7355 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7356
7357 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7358
7359 2011-11-14 Andreas Schwab <schwab@redhat.com>
7360
7361 * malloc/arena.c (arena_get2): Don't call reused_arena when
7362 _int_new_arena failed.
7363
7364 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7365
7366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7367 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7369 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7372 to compile strcasecmp and strncasecmp.
7373 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7374 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7375
7376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7377
7378 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7379
7380 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7381 locale-defines.sym to gen-as-const-headers.
7382 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7383 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7385 to compile strcasecmp and strncasecmp.
7386 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7387 strcasecmp_l and strncasecmp_l.
7388 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7389 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7390 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7392 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7394 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7395 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7396 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7397 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7398 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7399
7400 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7401
7402 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7403 result of SYSDEP_GETTIME_CPU to retval.
7404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7405 parameter list to macro. Remove trailing semicolon. Adjust users.
7406
7407 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7408 variable.
7409
7410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7411 mantissa words.
7412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7413
7414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7415 from unused variable.
7416
7417 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7418 DWARF definitions.
7419 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7420 for assembling.
7421
7422 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7423 over namespaces.
7424
7425 * sunrpc/rpc_prot.c (rejected): Fix case value.
7426
7427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7428 unsigned long long int to avoid warnings in shift.
7429
7430 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7431 of use of trans.
7432 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7433 variable tmp.
7434
7435 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7436 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7438
7439 * nis/nis_table.c (nis_list): Use variable of correct type for
7440 result of __follow_path call.
7441
7442 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7443
7444 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7445 of math functions ceil, trunc, floor, round, and sqrt, when
7446 avaliable on the platform.
7447 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7448 name clash.
7449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7452
7453 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7454
7455 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7457
7458 2011-11-11 Roland McGrath <roland@hack.frob.com>
7459
7460 * include/unistd.h: Fix __readlink return type.
7461 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7462
7463 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7464
7465 * stdlib/ucontext.h: Undo last change for makecontext.
7466
7467 2011-11-11 Andreas Schwab <schwab@redhat.com>
7468
7469 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7470
7471 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7472 * setjmp/setjmp.h: Mark functions as non-leaf.
7473 * setjmp/bits/setjmp2.h: Likewise.
7474 * stdlib/ucontext.h: Likewise.
7475
7476 2011-11-10 Andreas Schwab <schwab@redhat.com>
7477
7478 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7479 (reused_arena): Don't check arena limit.
7480 (arena_get2): Atomically check arena limit.
7481
7482 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7483
7484 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7485 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7486
7487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7488 instructions.
7489
7490 2011-11-07 Andreas Schwab <schwab@redhat.com>
7491
7492 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7493 handler when locking.
7494
7495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7496 Fix size of allocated buffer.
7497
7498 2011-11-04 Andreas Schwab <schwab@redhat.com>
7499
7500 [BZ #10103]
7501 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7502 declarations for long double functions.
7503 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7504
7505 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7506
7507 2011-11-03 Andreas Schwab <schwab@redhat.com>
7508
7509 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7510 installed.
7511
7512 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7513 is disabled.
7514
7515 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7516
7517 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7518
7519 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7520
7521 * include/alloca.h (stackinfo_alloca_round): Define.
7522 (extend_alloca): Use it.
7523 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7524 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7525 here.
7526
7527 * scripts/check-local-headers.sh: Ignore libaudit.h.
7528
7529 * nscd/Makefile (extra-objs): Make recursively expanded.
7530
7531 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7532
7533 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7535
7536 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7537 * posix/tst-rfc3484-2.c: Likewise.
7538 * posix/tst-rfc3484-3.c: Likewise.
7539
7540 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7541 process_vm_writev.
7542 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7543 process_vm_writev.
7544 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7545 process_vm_writev from libc using GLIBC_2.15 version.
7546
7547 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7548
7549 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7550
7551 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7552 stack usage.
7553
7554 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7555
7556 [BZ #13367]
7557 * nss/getent.c (initgroups_keys): Show error message in case no group
7558 names are given.
7559
7560 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7561 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7562 __bump_nl_timestamp.
7563 * nscd/connections (nscd_init): When host database is served open
7564 netlink socket and request notification about configuration changes.
7565 (main_loop_poll): Track netlink file descriptor and bump timestamp
7566 in case data becomes available.
7567 (main_loop_epoll): Likewise.
7568 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7569 (database_pers_head): Add extra_data fileds.
7570 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7571 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7572 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7573 Adjust caller.
7574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7575 in6ai data, call __free_in6ai.
7576 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7577 Add -DHAVE_NETLINK.
7578 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7579 interface information. Reuse previous data if netlink timestamp
7580 is not changed.
7581 (__bump_nl_timestamp): New function.
7582 (__free_in6ai): New function.
7583
7584 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7585
7586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7587 close_not_cancel_no_status here.
7588 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7589
7590 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7591
7592 [BZ #13276]
7593 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7594 return value.
7595
7596 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7597 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7598 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7599
7600 2011-07-03 Andreas Jaeger <aj@suse.de>
7601
7602 [BZ #10709]
7603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7604 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7605 * math/libm-test.inc (sin_test): Add test case.
7606
7607 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7608
7609 [BZ #13337]
7610 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7611 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7612
7613 * elf/chroot_canon.c (chroot_canon): Cleanups.
7614
7615 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7616
7617 [BZ #13335]
7618 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7619 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7620
7621 * string/test-strchr.c: Make usable for strchrnul testing.
7622 * string/test-strchrnul.c: New file.
7623 * string/Makefile (strop-tests): Add strchrnul.
7624
7625 * po/it.po: Update from translation team.
7626 * po/es.po: Likewise.
7627
7628 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7629
7630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7631 the three constants needed as parameters. Drop the others.
7632 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7633 __m128i_strloadu_tolower.
7634 Create and initialize variable zero and use it in all the places
7635 where _mm_setzero_si128 was used.
7636
7637 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7638 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7639 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7641 anymore.
7642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7645 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7646 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7647 __mpranred, __mptan.
7648 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7649 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7650 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7651 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7657
7658 2011-10-28 Andreas Schwab <schwab@redhat.com>
7659
7660 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7661 redefine if SHARED.
7662 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7663
7664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7665 wide char related routines to wcsmbs subdir.
7666
7667 2011-10-27 Andreas Schwab <schwab@redhat.com>
7668
7669 [BZ #13344]
7670 * misc/sys/cdefs.h (__THROWNL): Define.
7671 * posix/unistd.h: Use __THREADNL instead of __THREAD
7672 for memory synchronization functions.
7673
7674 2011-10-26 Roland McGrath <roland@hack.frob.com>
7675
7676 [BZ #13349]
7677 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7678 doesn't exist.
7679 * manual/stdio.texi (Obstack Streams): Node removed.
7680
7681 2011-10-26 Andreas Schwab <schwab@redhat.com>
7682
7683 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7686
7687 * math/math_private.h (math_force_eval): Allow non-addressable
7688 arguments.
7689 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7690
7691 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7692
7693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7694 file is not needed.
7695
7696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7703 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7704 Add AVX variants.
7705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7710 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7711 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7715 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7716 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7719 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7720 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7724
7725 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7726 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7727
7728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7729 place. Use VEX encoding when compiling for AVX.
7730
7731 2011-10-25 Andreas Schwab <schwab@redhat.com>
7732
7733 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7734 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7735
7736 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7737
7738 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7739
7740 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7741 useless if() expression.
7742 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7754 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7759 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7761
7762 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7763
7764 2011-10-25 Andreas Schwab <schwab@redhat.com>
7765
7766 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7767 condition.
7768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7769
7770 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7771
7772 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7773 .text section. Avoid duplicate constants.
7774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7783 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7784 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7785 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7788 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7791 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7798 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7799 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7800 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7801 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7802 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7819
7820 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7821
7822 * sysdeps/x86_64/dla.h: Move to ...
7823 * sysdeps/x86_64/fpu/dla.h: ...here.
7824 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7825 situations. Use __builtin_fma only for gcc 4.6 and up.
7826
7827 * config.make.in: Add have-mfma4 entry.
7828 * configure.in: Substitute libc_cv_cc_fma4.
7829 * math/Makefile (dbl-only-routines): Add sincostab.
7830 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7831 Use __sincostab not sincos.
7832 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7833 name is a macro.
7834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7838 using __copysign.
7839 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7840 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7841 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7842 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7843 and __inv.
7844 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7845 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7846 __copysign.
7847 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7848 define aliases when function name is a macro.
7849 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7850 sysdeps/ieee754/dbl-64/sincos.tbl.
7851 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7852 fma4-enabled routines.
7853 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7854 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7855 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7856 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7863 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7865 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7880 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7881 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7882 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7883
7884 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7885 rename.
7886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7894
7895 2011-10-24 Andreas Schwab <schwab@redhat.com>
7896
7897 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7898
7899 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7900
7901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7902
7903 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7904 prediction.
7905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7906
7907 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7908 Remove unused variable magic_bits.
7909 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7910
7911 * string/strnlen.c: Define and use STRNLEN macro.
7912 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7913 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7915 * wcsmbs/wcslen.c: Define and use WCSLEN.
7916 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7917 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7918 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7919 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7920 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7921 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7922 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7923
7924 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7925
7926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7927 strnlen-sse2-no-bsf.
7928 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7930 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7931 Add strnlen support.
7932 (USE_AS_STRNLEN): New macro.
7933 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7935 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7936 * sysdeps/x86_64/wcslen.S: New file.
7937
7938 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7939
7940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7941 XMM-moves are used for copying on small sizes.
7942
7943 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7944
7945 * wcsmbs/Makefile (strop-tests): Add wcschr.
7946 * wcsmbs/test-wcschr.c: New file.
7947 * string/test-strchr.c: Update.
7948 Add wcschr support.
7949 (WIDE): New macro.
7950
7951 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7952
7953 * wcsmbs/Makefile (strop-tests): Add wcslen.
7954 * wcsmbs/test-wcslen.c: New file.
7955 * string/test-strlen.c: Update.
7956 Add wcslen support.
7957 (WIDE): New macro.
7958
7959 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7960
7961 * po/it.po: Update from translation team.
7962
7963 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7964
7965 * sysdeps/x86_64/wcscmp.S: Update.
7966 Fix wrong comparison semantics.
7967 wcscmp shall use signed comparison not unsigned.
7968 Don't use substraction to avoid overflow bug.
7969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7970 * wcsmbc/wcscmp.c: Likewise.
7971 * string/test-strcmp.c: Likewise.
7972 Add new tests to check cases with negative values.
7973
7974 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7975
7976 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7977 * sysdeps/x86_64/dla.h: ...here. New file.
7978 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7987
7988 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7989
7990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7991 __ynl_finite aliases.
7992
7993 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7994
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7996
7997 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7998 define DLA_FMA.
7999 [DLA_FMA] (EMULV): Use DLA_FMA.
8000 [DLA_FMA] (MUL12): Use EMULV.
8001 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8002 that are not needed.
8003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8010
8011 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8012
8013 * math/s_nan.c: Undef __nan.
8014 * math/s_nanf.c: Undef __nanf.
8015 * math/s_nanl.c: Undef __nanl.
8016 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8017 "math_private.h".
8018
8019 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8020
8021 * math/s_catan.c: Add branch predictions.
8022 * math/s_catanf.c: Likewise.
8023 * math/s_catanh.c: Likewise.
8024 * math/s_catanhf.c: Likewise.
8025 * math/s_catanhl.c: Likewise.
8026 * math/s_catanl.c: Likewise.
8027 * math/s_cexp.c: Likewise.
8028 * math/s_cexpf.c: Likewise.
8029 * math/s_cexpl.c: Likewise.
8030 * math/s_clog.c: Likewise.
8031 * math/s_clog10.c: Likewise.
8032 * math/s_clog10f.c: Likewise.
8033 * math/s_clog10l.c: Likewise.
8034 * math/s_clogf.c: Likewise.
8035 * math/s_clogl.c: Likewise.
8036 * math/s_csqrt.c: Likewise.
8037 * math/s_csqrtf.c: Likewise.
8038 * math/s_csqrtl.c: Likewise.
8039 * math/s_ctanf.c: Likewise.
8040 * math/s_ctanh.c: Likewise.
8041 * math/s_ctanhf.c: Likewise.
8042 * math/s_ctanhl.c: Likewise.
8043 * math/s_ctanl.c: Likewise.
8044
8045 * math/math_private.h: Define __nan, __nanf, __nanl.
8046 * math/s_cacosh.c: Include <math_private.h>.
8047 * math/s_cacoshl.c: Likewise.
8048 * math/s_casinh.c: Likewise.
8049 * math/s_casinhf.c: Likewise.
8050 * math/s_casinhl.c: Likewise.
8051 * math/s_ccos.c: Rely entire on ccosh.
8052 * math/s_ccosf.c: Rely entire on ccoshf.
8053 * math/s_ccosl.c: Rely entirely on ccoshl.
8054 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8055 Remove tests for FE_INVALID.
8056 * math/s_ccoshf.c: Likewise.
8057 * math/s_ccoshl.c: Likewise.
8058 * math/s_csin.c: Likewise.
8059 * math/s_csinf.c: Likewise.
8060 * math/s_csinh.c Likewise.
8061 * math/s_csinhf.c: Likewise.
8062 * math/s_csinhl.c: Likewise.
8063 * math/s_csinl.c: Likewise.
8064 * math/s_ctan.c: Likewise.
8065 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8066 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8068
8069 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8070
8071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8072 compilation problems.
8073
8074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8075 __builtin_expect.
8076
8077 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8078
8079 * sysdeps/i386/configure.in: Test for -mfma4 option.
8080 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8081 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8082 COMMON_CPUID_INDEX_80000001.
8083 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8084 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8085 use it if FMA3 is not supported.
8086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8087
8088 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8089 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8090
8091 2011-10-20 Andreas Schwab <schwab@redhat.com>
8092
8093 [BZ #12892]
8094 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8095 it would create a cycle with a link time dependency.
8096
8097 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8098
8099 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8100 instruction.
8101 * string/Makefile (strop-tests): Add rawmemchr.
8102 * string/test-rawmemchr.c: New file.
8103
8104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8106 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8107 when compiling str{,n}casecmp and when AVX is available. Hook up
8108 new optimized code in initializers.
8109
8110 2011-10-19 Andreas Schwab <schwab@redhat.com>
8111
8112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8113 __feraiseexcept instead of feraiseexcept.
8114
8115 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8116
8117 * math/math_private.h: Define defaults for libc_fetestexcept and
8118 libc_feupdateenv.
8119 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8120 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8124 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8125 libc_fetestexcept and libc_feupdateenv.
8126
8127 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8128 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8129 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8130 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8131 libc_feholdexcept_setround.
8132
8133 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8134 Add s_nearbyint-c and s_nearbyintf-c.
8135 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8136 nearbyintf inlines.
8137 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8138 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8139 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8140 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8141
8142 * math/math_private.h: Define defaults for libc_fegetround,
8143 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8144 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8145 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8147 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8148 standard functions.
8149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8150 Remove comments and hacks for old compiler versions.
8151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8152 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8153 libc_feholdexceptl.
8154
8155 2011-10-18 Andreas Schwab <schwab@redhat.com>
8156
8157 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8158 (__feraiseexcept_renamed): Add __NTH.
8159 (feraiseexcept): Add __NTH. Rename local variables to fix
8160 namespace violations.
8161
8162 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8163
8164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8165
8166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8167
8168 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8169 recently added interfaces.
8170 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8171
8172 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8173 about macro parameter expansion.
8174
8175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8176 __NO_MATH_INLINES is defined. Cleanups.
8177
8178 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8179 and __floorf is target has SSE4.1.
8180 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8182 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8184
8185 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8186 name.
8187 (floorf): Likewise.
8188
8189 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8190
8191 2011-10-17 Andreas Schwab <schwab@redhat.com>
8192
8193 * misc/sys/cdefs.h: Fix last change.
8194
8195 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8196 database lookup.
8197
8198 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8199
8200 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8201
8202 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8211 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8212 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8213 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8214 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8215 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8217 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8218 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8219 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8220 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8221 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8222 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8223 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8224
8225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8226 ceil, ceilf, floor, floorf.
8227
8228 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8229 Perform IRELATIVE relocations last.
8230
8231 * elf/do-rel.h: Add another parameter nrelative, replacing the
8232 local variable with the same name. Change name of the function
8233 to end in Rel or Rela (uppercase).
8234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8235 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8236 elf_dynamic_do_##reloc function.
8237
8238 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8239
8240 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8241 is sufficient, at least on modern CPUs.
8242
8243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8244
8245 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8247
8248 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8249 __expl_finite.
8250 * math/bits/math-finite.h: Add entries for exp.
8251 * math/e_expl.c: Add __*_finite alias.
8252 * sysdeps/i386/fpu/e_exp.S: Likewise.
8253 * sysdeps/i386/fpu/e_expf.S: Likewise.
8254 * sysdeps/i386/fpu/e_expl.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8260 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8261 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8262
8263 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8264 is sufficient, at least on modern CPUs.
8265
8266 * ctype/ctype-info.c (__ctype_init): Define.
8267 * include/ctype.h (__ctype_init): Declare.
8268 (__ctype_b_loc): The variable is always initialized.
8269 (__ctype_toupper_loc): Likewise.
8270 (__ctype_tolower_loc): Likewise.
8271 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8272 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8273
8274 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8275
8276 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8277
8278 * configure.in: Also look in $cxxmachine/include for C++ system
8279 headers.
8280
8281 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8282
8283 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8284 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8285 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8286 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8288 (USE_AS_WMEMCMP): New macro.
8289 Fixing indents.
8290 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8291 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8292 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8293 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8295 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8296 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8297 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8298 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8299 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8301 (USE_AS_WMEMCMP): New macro.
8302 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8303 * sysdeps/string/test-memcmp.c: Update.
8304 Fix simple_wmemcmp.
8305 Add new tests.
8306 * wcsmbs/wmemcmp.c: Update.
8307 (WMEMCMP): New macro.
8308 Fix overflow bug.
8309
8310 2011-10-12 Andreas Jaeger <aj@suse.de>
8311
8312 [BZ #13268]
8313 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8314
8315 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8316
8317 * libio/iofwide.c (do_length): Avoid warning.
8318
8319 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8320
8321 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8322
8323 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8324
8325 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8326 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8327 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8328 * sysdeps/i386/i686/fpu/e_log.S: New file.
8329 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8330 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8331
8332 * ctype/ctype.h: Add support for inlined isXXX functions when
8333 compiling C++ code.
8334
8335 2011-10-14 Andreas Schwab <schwab@redhat.com>
8336
8337 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8338
8339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8340
8341 2011-10-13 Roland McGrath <roland@hack.frob.com>
8342
8343 [BZ #13291]
8344 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8345
8346 2011-10-13 Andreas Schwab <schwab@redhat.com>
8347
8348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8349 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8350 feraiseexcept.
8351
8352 * sysdeps/x86_64/memrchr.S: Check for zero size.
8353
8354 * string/stratcliff.c: Add memrchr tests.
8355
8356 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8357
8358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8359 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8360 rawmemchr-sse2 rawmemchr-sse2-bsf.
8361 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8362 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8363 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8364 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8365 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8366 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8367 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8368 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8369 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8370 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8371 * string/memrchr.c (MEMRCHR): New macro.
8372
8373 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8374
8375 Add integration with gcc's -ffinite-math-only and optimize wrapper
8376 functions in libm.
8377 * Versions.def: Define GLIBC_2.15 version for libm.
8378 * math/Makefile (headers): Add bits/math-finite.h.
8379 * math/bits/math-finite.h: New file.
8380 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8381 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8382 * math/e_acoshl.c: Add __*_finite alias.
8383 * math/e_acosl.c: Likewise.
8384 * math/e_asinl.c: Likewise.
8385 * math/e_atan2l.c: Likewise.
8386 * math/e_atanhl.c: Likewise.
8387 * math/e_coshl.c: Likewise.
8388 * math/e_exp10.c: Likewise.
8389 * math/e_exp10f.c: Likewise.
8390 * math/e_exp10l.c: Likewise.
8391 * math/e_exp2l.c: Likewise.
8392 * math/e_fmodl.c: Likewise.
8393 * math/e_gammal_r.c: Likewise.
8394 * math/e_hypotl.c: Likewise.
8395 * math/e_j0l.c: Likewise.
8396 * math/e_j1l.c: Likewise.
8397 * math/e_jnl.c: Likewise.
8398 * math/e_lgammal_r.c: Likewise.
8399 * math/e_log10l.c: Likewise.
8400 * math/e_log2l.c: Likewise.
8401 * math/e_logl.c: Likewise.
8402 * math/e_powl.c: Likewise.
8403 * math/e_sinhl.c: Likewise.
8404 * math/e_sqrtl.c: Likewise.
8405 * math/e_scalb.c: Completely rewritten and optimized.
8406 * math/e_scalbf.c: Likewise.
8407 * math/e_scalbl.c: Likewise.
8408 * math/w_acos.c: Likewise.
8409 * math/w_acosf.c: Likewise.
8410 * math/w_acosl.c: Likewise.
8411 * math/w_acosh.c: Likewise.
8412 * math/w_acoshf.c: Likewise.
8413 * math/w_acoshl.c: Likewise.
8414 * math/w_asin.c: Likewise.
8415 * math/w_asinf.c: Likewise.
8416 * math/w_asinl.c: Likewise.
8417 * math/w_atan2.c: Likewise.
8418 * math/w_atan2f.c: Likewise.
8419 * math/w_atan2l.c: Likewise.
8420 * math/w_atanh.c: Likewise.
8421 * math/w_atanhf.c: Likewise.
8422 * math/w_atanhl.c: Likewise.
8423 * math/w_exp10.c: Likewise.
8424 * math/w_exp10f.c: Likewise.
8425 * math/w_exp10l.c: Likewise.
8426 * math/w_fmod.c: Likewise.
8427 * math/w_fmodf.c: Likewise.
8428 * math/w_fmodl.c: Likewise.
8429 * math/w_j0.c: Likewise.
8430 * math/w_j0f.c: Likewise.
8431 * math/w_j0l.c: Likewise.
8432 * math/w_j1.c: Likewise.
8433 * math/w_j1f.c: Likewise.
8434 * math/w_j1l.c: Likewise.
8435 * math/w_jn.c: Likewise.
8436 * math/w_jnf.c: Likewise.
8437 * math/w_log.c: Likewise.
8438 * math/w_logf.c: Likewise.
8439 * math/w_logl.c: Likewise.
8440 * math/w_log10.c: Likewise.
8441 * math/w_log10f.c: Likewise.
8442 * math/w_log10l.c: Likewise.
8443 * math/w_log2.c: Likewise.
8444 * math/w_log2f.c: Likewise.
8445 * math/w_log2l.c: Likewise.
8446 * math/w_pow.c: Likewise.
8447 * math/w_powf.c: Likewise.
8448 * math/w_powl.c: Likewise.
8449 * math/w_remainder.c: Likewise.
8450 * math/w_remainderf.c: Likewise.
8451 * math/w_remainderl.c: Likewise.
8452 * math/w_scalb.c: Likewise.
8453 * math/w_scalbf.c: Likewise.
8454 * math/w_scalbl.c: Likewise.
8455 * math/w_sqrt.c: Likewise.
8456 * math/w_sqrtf.c: Likewise.
8457 * math/w_sqrtl.c: Likewise.
8458 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8459 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8460 used.
8461 * math/math_private.h: Declare __kernel_standard_f.
8462 * math/w_cosh.c: Remove cruft and optimize a bit.
8463 * math/w_coshf.c: Likewise.
8464 * math/w_coshl.c: Likewise.
8465 * math/w_exp2.c: Likewise.
8466 * math/w_exp2f.c: Likewise.
8467 * math/w_exp2l.c: Likewise.
8468 * math/w_hypot.c: Likewise.
8469 * math/w_hypotf.c: Likewise.
8470 * math/w_hypotl.c: Likewise.
8471 * math/w_lgamma.c: Likewise.
8472 * math/w_lgamma_r.c: Likewise.
8473 * math/w_lgammaf.c: Likewise.
8474 * math/w_lgammaf_r.c: Likewise.
8475 * math/w_lgammal.c: Likewise.
8476 * math/w_lgammal_r.c: Likewise.
8477 * math/w_sinh.c: Likewise.
8478 * math/w_sinhf.c: Likewise.
8479 * math/w_sinhl.c: Likewise.
8480 * math/w_tgamma.c: Likewise.
8481 * math/w_tgammaf.c: Likewise.
8482 * math/w_tgammal.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8485 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8486 Minor optimizations. Pretty printing. Remove cruft.
8487 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8491 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8492 * sysdeps/i386/fpu/e_asin.S: Likewise.
8493 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8494 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8495 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8496 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8498 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8500 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8501 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8502 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8503 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8504 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8505 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8506 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8507 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8508 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8509 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8510 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8511 * sysdeps/i386/fpu/e_log.S: Likewise.
8512 * sysdeps/i386/fpu/e_log10.S: Likewise.
8513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8514 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8515 * sysdeps/i386/fpu/e_log2.S: Likewise.
8516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8518 * sysdeps/i386/fpu/e_logf.S: Likewise.
8519 * sysdeps/i386/fpu/e_logl.S: Likewise.
8520 * sysdeps/i386/fpu/e_pow.S: Likewise.
8521 * sysdeps/i386/fpu/e_powf.S: Likewise.
8522 * sysdeps/i386/fpu/e_powl.S: Likewise.
8523 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8524 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8525 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8527 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8529 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8530 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8531 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8558 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8573 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8625 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8626 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8627 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8628 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8629 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8630 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8631 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8632 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8633 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8634 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8635 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8636 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8638 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8640 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8642 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8643 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8644 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8645 (__isnanf): Likewise.
8646 (__isinf_ns): Likewise.
8647 (__isinf_nsf): Likewise.
8648 (__finite): Likewise.
8649 (__finitef): Likewise.
8650 (__ieee754_sqrt): Define as macro.
8651 (__ieee754_sqrtf): Define as macro.
8652 (__ieee754_sqrtl): Define as macro.
8653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8654 inlined copy.
8655 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8656 __FINITE_MATH_ONLY__ consistent.
8657 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8658
8659 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8660
8661 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8662 of rawmemchr.
8663
8664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8665
8666 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8667
8668 * po/ja.po: Update from translation team.
8669
8670 2011-10-08 Roland McGrath <roland@hack.frob.com>
8671
8672 * locale/programs/locarchive.c (prepare_address_space): New function.
8673 (create_archive, enlarge_archive, open_archive): Use it.
8674
8675 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8676 inside [SHARED], where it is used.
8677
8678 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8679
8680 * nss/getent.c (netgroup_keys): Remove unused variable.
8681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8682
8683 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8684
8685 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8689 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8691 * math/Makefile (libm-calls): Add s_isinf_ns.
8692 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8693 * math/multc3.c: Likewise.
8694 * math/s_casin.c: Likewise.
8695 * math/s_casinf.c: Likewise.
8696 * math/s_casinl.c: Likewise.
8697 * math/s_ccos.c: Likewise.
8698 * math/s_ccosf.c: Likewise.
8699 * math/s_ccosl.c: Likewise.
8700 * math/s_ctan.c: Likewise.
8701 * math/s_ctanf.c: Likewise.
8702 * math/s_ctanh.c: Likewise.
8703 * math/s_ctanhf.c: Likewise.
8704 * math/s_ctanhl.c: Likewise.
8705 * math/s_ctanl.c: Likewise.
8706 * math/w_fmod.c: Likewise.
8707 * math/w_fmodf.c: Likewise.
8708 * math/w_fmodl.c: Likewise.
8709 * math/w_remainder.c: Likewise.
8710 * math/w_remainderf.c: Likewise.
8711 * math/w_remainderl.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8713 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8716 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8717 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8718 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8719 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8720
8721 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8722 of the number.
8723 * stdio-common/printf_fphex.c: Likewise.
8724 * stdio-common/printf_size.c: Likewise.
8725
8726 * math/e_exp10.c: Include math_private.h using <...> not "...".
8727 * math/e_exp10f.c: Likewise.
8728 * math/e_exp10l.c: Likewise.
8729 * math/e_exp2l.c: Likewise.
8730 * math/e_j0l.c: Likewise.
8731 * math/e_j1l.c: Likewise.
8732 * math/e_jnl.c: Likewise.
8733 * math/e_lgammal_r.c: Likewise.
8734 * math/e_rem_pio2l.c: Likewise.
8735 * math/e_scalb.c: Likewise.
8736 * math/e_scalbf.c: Likewise.
8737 * math/e_scalbl.c: Likewise.
8738 * math/k_cosl.c: Likewise.
8739 * math/k_sinl.c: Likewise.
8740 * math/k_tanl.c: Likewise.
8741 * math/s_cacoshf.c: Likewise.
8742 * math/s_catan.c: Likewise.
8743 * math/s_catanf.c: Likewise.
8744 * math/s_catanh.c: Likewise.
8745 * math/s_catanhf.c: Likewise.
8746 * math/s_catanhl.c: Likewise.
8747 * math/s_catanl.c: Likewise.
8748 * math/s_ccosh.c: Likewise.
8749 * math/s_ccoshf.c: Likewise.
8750 * math/s_ccoshl.c: Likewise.
8751 * math/s_cexp.c: Likewise.
8752 * math/s_cexpf.c: Likewise.
8753 * math/s_cexpl.c: Likewise.
8754 * math/s_clog.c: Likewise.
8755 * math/s_clog10.c: Likewise.
8756 * math/s_clog10f.c: Likewise.
8757 * math/s_clog10l.c: Likewise.
8758 * math/s_clogf.c: Likewise.
8759 * math/s_clogl.c: Likewise.
8760 * math/s_csin.c: Likewise.
8761 * math/s_csinf.c: Likewise.
8762 * math/s_csinh.c: Likewise.
8763 * math/s_csinhf.c: Likewise.
8764 * math/s_csinhl.c: Likewise.
8765 * math/s_csinl.c: Likewise.
8766 * math/s_csqrt.c: Likewise.
8767 * math/s_csqrtf.c: Likewise.
8768 * math/s_csqrtl.c: Likewise.
8769 * math/s_ctan.c: Likewise.
8770 * math/s_ctanf.c: Likewise.
8771 * math/s_ctanh.c: Likewise.
8772 * math/s_ctanhf.c: Likewise.
8773 * math/s_ctanhl.c: Likewise.
8774 * math/s_ctanl.c: Likewise.
8775 * math/s_ldexp.c: Likewise.
8776 * math/s_ldexpf.c: Likewise.
8777 * math/s_ldexpl.c: Likewise.
8778 * math/s_significand.c: Likewise.
8779 * math/s_significandf.c: Likewise.
8780 * math/s_significandl.c: Likewise.
8781 * math/w_acos.c: Likewise.
8782 * math/w_acosf.c: Likewise.
8783 * math/w_acosh.c: Likewise.
8784 * math/w_acoshf.c: Likewise.
8785 * math/w_acoshl.c: Likewise.
8786 * math/w_acosl.c: Likewise.
8787 * math/w_asin.c: Likewise.
8788 * math/w_asinf.c: Likewise.
8789 * math/w_asinl.c: Likewise.
8790 * math/w_atan2.c: Likewise.
8791 * math/w_atan2f.c: Likewise.
8792 * math/w_atan2l.c: Likewise.
8793 * math/w_atanh.c: Likewise.
8794 * math/w_atanhf.c: Likewise.
8795 * math/w_atanhl.c: Likewise.
8796 * math/w_cosh.c: Likewise.
8797 * math/w_coshf.c: Likewise.
8798 * math/w_coshl.c: Likewise.
8799 * math/w_dremf.c: Likewise.
8800 * math/w_exp10.c: Likewise.
8801 * math/w_exp10f.c: Likewise.
8802 * math/w_exp10l.c: Likewise.
8803 * math/w_exp2.c: Likewise.
8804 * math/w_exp2f.c: Likewise.
8805 * math/w_fmod.c: Likewise.
8806 * math/w_fmodf.c: Likewise.
8807 * math/w_fmodl.c: Likewise.
8808 * math/w_hypot.c: Likewise.
8809 * math/w_hypotf.c: Likewise.
8810 * math/w_hypotl.c: Likewise.
8811 * math/w_j0.c: Likewise.
8812 * math/w_j0f.c: Likewise.
8813 * math/w_j0l.c: Likewise.
8814 * math/w_j1.c: Likewise.
8815 * math/w_j1f.c: Likewise.
8816 * math/w_j1l.c: Likewise.
8817 * math/w_jn.c: Likewise.
8818 * math/w_jnf.c: Likewise.
8819 * math/w_jnl.c: Likewise.
8820 * math/w_lgamma.c: Likewise.
8821 * math/w_lgamma_r.c: Likewise.
8822 * math/w_lgammaf.c: Likewise.
8823 * math/w_lgammaf_r.c: Likewise.
8824 * math/w_lgammal.c: Likewise.
8825 * math/w_lgammal_r.c: Likewise.
8826 * math/w_log.c: Likewise.
8827 * math/w_log10.c: Likewise.
8828 * math/w_log10f.c: Likewise.
8829 * math/w_log10l.c: Likewise.
8830 * math/w_log2.c: Likewise.
8831 * math/w_log2f.c: Likewise.
8832 * math/w_log2l.c: Likewise.
8833 * math/w_logf.c: Likewise.
8834 * math/w_logl.c: Likewise.
8835 * math/w_pow.c: Likewise.
8836 * math/w_powf.c: Likewise.
8837 * math/w_powl.c: Likewise.
8838 * math/w_remainder.c: Likewise.
8839 * math/w_remainderf.c: Likewise.
8840 * math/w_remainderl.c: Likewise.
8841 * math/w_scalb.c: Likewise.
8842 * math/w_scalbf.c: Likewise.
8843 * math/w_scalbl.c: Likewise.
8844 * math/w_sinh.c: Likewise.
8845 * math/w_sinhf.c: Likewise.
8846 * math/w_sinhl.c: Likewise.
8847 * math/w_sqrt.c: Likewise.
8848 * math/w_sqrtf.c: Likewise.
8849 * math/w_sqrtl.c: Likewise.
8850 * math/w_tgamma.c: Likewise.
8851 * math/w_tgammaf.c: Likewise.
8852 * math/w_tgammal.c: Likewise.
8853
8854 * po/ja.po: Update from translation team.
8855
8856 2011-09-29 Andreas Jaeger <aj@suse.de>
8857
8858 [BZ #13179]
8859 * sunrpc/netname.c (netname2host): Fix logic.
8860
8861 [BZ #6779]
8862 [BZ #6783]
8863 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8864 correctly.
8865 * math/w_remainder.c (__remainder): Likewise.
8866 * math/w_remainderf.c (__remainderf): Likewise.
8867 * math/libm-test.inc (remainder_test): Add test cases.
8868
8869 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8870
8871 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8872 sdiv_qrnnd.
8873
8874 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8875
8876 * string/test-memcmp.c: Avoid unncessary #defines.
8877 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8878
8879 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8880
8881 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8882 Use new sse2 version for core i3 - i7 as it's faster
8883 than sse42 version.
8884 (bit_Prefer_PMINUB_for_stringop): New.
8885 * sysdeps/x86_64/rawmemchr.S: Update.
8886 Replace with faster SSE2 version.
8887 * sysdeps/x86_64/memrchr.S: New file.
8888 * sysdeps/x86_64/memchr.S: Update.
8889 Replace with faster SSE2 version.
8890
8891 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8892
8893 * elf/dl-load.c (lose): Add cast to avoid warning.
8894
8895 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8896
8897 * po/ca.po: Update from translation team.
8898
8899 * inet/getnetgrent_r.c: Hook up nscd.
8900 * nscd/Makefile (routines): Add nscd_netgroup.
8901 (nscd-modules): Add netgroupcache.
8902 (CFLAGS-netgroupcache.c): Define.
8903 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8904 (cache_search): Add const to second parameter.
8905 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8906 INNETGR.
8907 (dbs): Add netgrdb entry.
8908 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8909 (verify_persistent_db): Handle netgrdb.
8910 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8911 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8912 GETFDNETGR.
8913 (netgroup_response_header): Define.
8914 (innetgroup_response_header): Define.
8915 (datahead): Add netgroup_response_header and innetgroup_response_header
8916 elements.
8917 * nscd/nscd.conf: Add entries for netgroup cache.
8918 * nscd/nscd.h (dbtype): Add netgrdb.
8919 (_PATH_NSCD_NETGROUP_DB): Define.
8920 (netgroup_iov_disabled): Declare.
8921 (xmalloc, xcalloc, xrealloc): Move declarations here.
8922 (cache_search): Adjust prototype.
8923 Add netgroup-related prototypes.
8924 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8925 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8926 (__nscd_innetgr): Declare.
8927 * nscd/selinux.c (perms): Use access_vector_t as element type and
8928 add netgroup-related initializers.
8929 * nscd/netgroupcache.c: New file.
8930 * nscd/nscd_netgroup.c: New file.
8931 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8932 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8933 For four parameters use innetgr.
8934 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8935 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8936 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8937 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8938
8939 * nscd/connections.c (register_traced_file): Don't register file
8940 for disabled databases.
8941
8942 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8943
8944 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8945
8946 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8947 from tree and freeing node.
8948
8949 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8950
8951 * nss/nsswitch.c (__nss_database_lookup): Handle
8952 nss_parse_service_list out of memory case.
8953
8954 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8955
8956 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8957 out of memory case.
8958
8959 2011-10-04 Andreas Schwab <schwab@redhat.com>
8960
8961 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8962 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8963 pass it down.
8964 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8965 elf_machine_rela, elf_machine_lazy_rel.
8966 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8967 (ELF_DYNAMIC_DO_REL): Likewise.
8968 (ELF_DYNAMIC_DO_RELA): Likewise.
8969 (ELF_DYNAMIC_RELOCATE): Likewise.
8970 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8971 to ELF_DYNAMIC_DO_REL.
8972 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8973 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8974 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8975 elf_machine_rela.
8976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8977 skip_ifunc, don't call ifunc function if non-zero.
8978 (elf_machine_rela): Likewise.
8979 (elf_machine_lazy_rel): Likewise.
8980 (elf_machine_lazy_rela): Likewise.
8981 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8982 (elf_machine_lazy_rel): Likewise.
8983 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8984 Likewise.
8985 (elf_machine_lazy_rel): Likewise.
8986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8987 Likewise.
8988 (elf_machine_lazy_rel): Likewise.
8989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8990 (elf_machine_lazy_rel): Likewise.
8991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8992 (elf_machine_lazy_rel): Likewise.
8993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8994 (elf_machine_lazy_rel): Likewise.
8995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8996 (elf_machine_lazy_rel): Likewise.
8997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8998 (elf_machine_lazy_rel): Likewise.
8999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9000 (elf_machine_lazy_rel): Likewise.
9001
9002 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9003
9004 * nss/nss_files/files-init.c (_nss_files_init): Use static
9005 initialization for all the *_traced_file variables.
9006
9007 2011-09-28 Andreas Schwab <schwab@redhat.com>
9008
9009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9010
9011 2011-09-27 Roland McGrath <roland@hack.frob.com>
9012
9013 [BZ #13226]
9014 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9015
9016 2011-09-27 Andreas Schwab <schwab@redhat.com>
9017
9018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9019 Reread the line before reparsing it.
9020
9021 2011-09-26 Andreas Schwab <schwab@redhat.com>
9022
9023 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9024
9025 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9026 Maxim Kuvyrkov <maxim@codesourcery.com>
9027 Joseph Myers <joseph@codesourcery.com>
9028
9029 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9030 if needed for __stack_chk_guard.
9031
9032 2011-09-19 Roland McGrath <roland@hack.frob.com>
9033
9034 * sysdeps/posix/spawni.c (script_execute): Always define it.
9035 It will be optimized away if unused.
9036 (maybe_script_execute): New function.
9037 (__spawni): Call it.
9038
9039 * Makerules: Don't include tls.make.
9040 (config-tls): Always set to thread.
9041 * tls.make.c: File removed.
9042
9043 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9044
9045 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9046 * config.make.in (CPPFLAGS-config): New substituted variable.
9047
9048 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9049
9050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9051
9052 [BZ #13192]
9053 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9054 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9055
9056 2011-09-15 Roland McGrath <roland@hack.frob.com>
9057
9058 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9059 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9061 (CALL_FAIL): Likewise.
9062 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9063 (CALL_FAIL): Macro removed.
9064 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9065
9066 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9067
9068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9069 for __FINITE_MATH_ONLY__ == 1.
9070
9071 2011-09-15 Andreas Schwab <schwab@redhat.com>
9072
9073 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9074 __ieee754_sqrt instead of sqrt.
9075 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9076 __ieee754_sqrtf instead of sqrtf.
9077 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9078 __floorf instead of floorf.
9079 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9080 __floorf, __truncf instead of floorf, truncf.
9081
9082 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9083
9084 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9085
9086 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9087 __extern_always_inline.
9088 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9089 32-bit.
9090
9091 2011-09-14 Andreas Schwab <schwab@redhat.com>
9092
9093 * elf/rtld.c (dl_main): Also relocate in dependency order when
9094 doing symbol dependency testing.
9095
9096 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9097
9098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9099 Always define `refsym'.
9100
9101 2011-09-13 Andreas Schwab <schwab@redhat.com>
9102
9103 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9104 (__FD_ELT): Renamed from __FDELT.
9105 * misc/bits/select2.h (__FD_ELT): Likewise.
9106 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9107 __FD_MASK instead of __FDELT, __FDMASK.
9108 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9109 Likewise.
9110 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9111 Likewise.
9112
9113 * elf/Makefile (gen-ldd): Fix pattern.
9114
9115 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9116 (init_tls): Likewise.
9117
9118 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9119
9120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9121
9122 2011-09-12 Andreas Schwab <schwab@redhat.com>
9123
9124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9125 `struct cmsghdr *' instead of `void *'.
9126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9127 Likewise.
9128
9129 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9130
9131 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9132 if non-absolute.
9133 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9134 ldd_rewrite_script.
9135
9136 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9137
9138 * configure.in: Remove --with-tls option.
9139 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9140 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9141 out in case it is missing.
9142 * sysdeps/ia64/elf/configure.in: Likewise.
9143 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9144 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9145 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9146 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9147 * sysdeps/sh/elf/configure.in: Likewise.
9148 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9150 * sysdeps/x86_64/elf/configure.in: Likewise.
9151 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9152 * sysdeps/mach/hurd/tls.h: Likewise.
9153
9154 [BZ #13067]
9155 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9156
9157 [BZ #13090]
9158 * configure.in: Fix use of AC_INIT.
9159
9160 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9161
9162 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9163
9164 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9165 __set_errno.
9166 * malloc/hooks.c: Likewise.
9167
9168 [BZ #11929]
9169 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9170 variables statically.
9171 (narenas): Initialize.
9172 (list_lock): Initialize.
9173 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9174 initializtion of main_arena and list_lock. Small cleanups.
9175 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9176 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9177 Add initializers to main_arena and mp_.
9178 (malloc_state): Remove pagesize member. Change all users to use
9179 GLRO(dl_pagesize).
9180
9181 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9182 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9183 is always initialized.
9184
9185 * malloc/malloc.c: Removed unused configurations and dead code.
9186 * malloc/arena.c: Likewise.
9187 * malloc/hooks.c: Likewise.
9188 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9189
9190 * include/tls.h: Removed. USE___THREAD must always be defined.
9191 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9192 * elf/dl-libc.c: Likewise.
9193 * elf/dl-tsd.c: Likewise.
9194 * include/errno.h: Likewise.
9195 * include/netdb.h: Likewise.
9196 * include/resolv.h: Likewise.
9197 * inet/herrno-loc.c: Likewise.
9198 * inet/herrno.c: Likewise.
9199 * malloc/arena.c: Likewise.
9200 * malloc/hooks.c: Likewise.
9201 * malloc/malloc.c: Likewise.
9202 * resolv/res-state.c: Likewise.
9203 * resolv/res_libc.c: Likewise.
9204 * sysdeps/i386/dl-machine.h: Likewise.
9205 * sysdeps/ia64/dl-machine.h: Likewise.
9206 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9207 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9208 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9209 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9210 * sysdeps/sh/dl-machine.h: Likewise.
9211 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9212 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9213 * sysdeps/unix/i386/sysdep.S: Likewise.
9214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9215 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9225 * sysdeps/x86_64/dl-machine.h: Likewise.
9226 * tls.make.c: Likewise.
9227
9228 * configure.in: Remove --with-__thread option. Make tests for
9229 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9230 tls_model attribute fail if no support is available. Remove
9231 USE_IN_LIBIO.
9232 * Makeconfig: Adjust for dropped configure option. All features are
9233 now mandatory.
9234 * Makerules: Likewise.
9235 * Versions.def: Likewise.
9236 * argp/argp-fmtstream.c: Likewise.
9237 * argp/argp-fmtstream.h: Likewise.
9238 * argp/argp-help.c: Likewise.
9239 * assert/assert.c: Likewise.
9240 * config.h.in: Likewise.
9241 * config.make.in: Likewise.
9242 * configure: Likewise.
9243 * configure.in: Likewise.
9244 * csu/Versions: Likewise.
9245 * csu/init.c: Likewise.
9246 * elf/tst-audit2.c: Likewise.
9247 * elf/tst-tls10.c: Likewise.
9248 * elf/tst-tls10.h: Likewise.
9249 * elf/tst-tls11.c: Likewise.
9250 * elf/tst-tls12.c: Likewise.
9251 * elf/tst-tls14.c: Likewise.
9252 * elf/tst-tlsmod11.c: Likewise.
9253 * elf/tst-tlsmod12.c: Likewise.
9254 * elf/tst-tlsmod13.c: Likewise.
9255 * elf/tst-tlsmod13a.c: Likewise.
9256 * elf/tst-tlsmod14a.c: Likewise.
9257 * elf/tst-tlsmod15b.c: Likewise.
9258 * elf/tst-tlsmod16a.c: Likewise.
9259 * elf/tst-tlsmod16b.c: Likewise.
9260 * elf/tst-tlsmod7.c: Likewise.
9261 * elf/tst-tlsmod8.c: Likewise.
9262 * elf/tst-tlsmod9.c: Likewise.
9263 * gmon/gmon.c: Likewise.
9264 * grp/fgetgrent_r.c: Likewise.
9265 * grp/putgrent.c: Likewise.
9266 * hurd/fopenport.c: Likewise.
9267 * include/libc-symbols.h: Likewise.
9268 * include/tls.h: Likewise.
9269 * intl/gettextP.h: Likewise.
9270 * intl/loadinfo.h: Likewise.
9271 * locale/global-locale.c: Likewise.
9272 * locale/localeinfo.h: Likewise.
9273 * mach/devstream.c: Likewise.
9274 * malloc/arena.c: Likewise.
9275 * malloc/set-freeres.c: Likewise.
9276 * misc/err.c: Likewise.
9277 * misc/getttyent.c: Likewise.
9278 * misc/mntent_r.c: Likewise.
9279 * posix/getopt.c: Likewise.
9280 * posix/wordexp.c: Likewise.
9281 * pwd/fgetpwent_r.c: Likewise.
9282 * resolv/Versions: Likewise.
9283 * resolv/res_hconf.c: Likewise.
9284 * shadow/fgetspent_r.c: Likewise.
9285 * shadow/putspent.c: Likewise.
9286 * stdio-common/printf_fphex.c: Likewise.
9287 * stdio-common/tmpfile.c: Likewise.
9288 * stdlib/abort.c: Likewise.
9289 * stdlib/fmtmsg.c: Likewise.
9290 * sunrpc/auth_unix.c: Likewise.
9291 * sunrpc/clnt_perr.c: Likewise.
9292 * sunrpc/clnt_tcp.c: Likewise.
9293 * sunrpc/clnt_udp.c: Likewise.
9294 * sunrpc/clnt_unix.c: Likewise.
9295 * sunrpc/openchild.c: Likewise.
9296 * sunrpc/svc_simple.c: Likewise.
9297 * sunrpc/svc_tcp.c: Likewise.
9298 * sunrpc/svc_udp.c: Likewise.
9299 * sunrpc/svc_unix.c: Likewise.
9300 * sunrpc/xdr.c: Likewise.
9301 * sunrpc/xdr_array.c: Likewise.
9302 * sunrpc/xdr_rec.c: Likewise.
9303 * sunrpc/xdr_ref.c: Likewise.
9304 * sunrpc/xdr_stdio.c: Likewise.
9305
9306 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9307
9308 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9309
9310 2011-07-03 Andreas Jaeger <aj@suse.de>
9311
9312 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9314 regenerate with gen-libm-tests.pl.
9315
9316 2010-05-12 Petr Baudis <pasky@suse.cz>
9317
9318 [BZ #11589]
9319 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9320 around j0() zero points by switching to j1().
9321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9325
9326 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9327
9328 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9329 instead of 0.
9330 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9331 instead of 0. .
9332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9333 Patch in part by Pavel Roskin <proski@gnu.org>.
9334
9335 [BZ #13138]
9336 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9337 realloc.
9338 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9339 Free memory block if necessary.
9340
9341 [BZ #12847]
9342 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9343 be NULL. Don't lock in this case.
9344
9345 2011-09-09 Roland McGrath <roland@hack.frob.com>
9346
9347 * elf/elf.h (ELFOSABI_GNU): New macro.
9348 (ELFOSABI_LINUX): Define to that.
9349
9350 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9351
9352 * string/strncat.c (strncat): Undef the symbol in case it has been
9353 defined in bits/string.h.
9354
9355 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9356
9357 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9358
9359 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9360 link map.
9361
9362 2011-08-17 Andreas Jaeger <aj@suse.de>
9363
9364 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9365
9366 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9367 Ian Lance Taylor <iant@google.com>
9368
9369 * math/libm-test.inc (lround_test): New testcase.
9370 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9371
9372 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9373
9374 * Makefile: Remove support for automatic cvs check-ins.
9375 * Makerules: Likewise.
9376 * config.make.in: Likewise.
9377 * configure.in: Likewise.
9378 * intl/Makefile: Likewise.
9379 * locale/Makefile: Likewise.
9380 * po/Makefile: Likewise.
9381 * posix/Makefile: Likewise.
9382 * sysdeps/gnu/Makefile: Likewise.
9383 * sysdeps/mach/hurd/Makefile: Likewise.
9384 * sysdeps/sparc/sparc32/Makefile: Likewise.
9385
9386 [BZ #13118]
9387 * posix/Makefile (bug-regex32-ENV): Define.
9388 Patch by John Stanley <jpsinthemix@verizon.net>.
9389
9390 * misc/Makefile (headers): Add bits/select2.h.
9391 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9392 * misc/bits/select2.h: New file.
9393 * include/bits/select2.h: New file.
9394 * debug/Makefile (routines): Add fdelt_chk.
9395 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9396 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9397 FD_ISSET.
9398 * debug/fdelt_chk.c: New file.
9399
9400 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9401 * wcsmbs/test-wmemcmp.c: Likewise.
9402 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9403 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9404
9405 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9406
9407 * string/Makefile (strop-tests): Add memcmp.
9408 * string/test-wmemcmp.c: New file.
9409 * string/test-memcmp.c: Add wmemcmp support.
9410
9411 2011-09-08 Roland McGrath <roland@hack.frob.com>
9412
9413 [BZ #13153]
9414 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9415 2011-07-19 change.
9416
9417 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9418 garbage value in a __mach_port_mod_refs call in the cases of the
9419 task-self and thread-self ports.
9420
9421 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9422
9423 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9424
9425 2011-09-08 Andreas Schwab <schwab@redhat.com>
9426
9427 * elf/dl-load.c (lose): Check for non-null L.
9428
9429 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9430
9431 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9432
9433 * elf/dl-libc.c (dlerror_run): Pass back error code from
9434 dl_catch_error.
9435
9436 [BZ #13123]
9437 * elf/dl-load.c (lose): Free l_origin if it is valid.
9438
9439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9440 names.
9441 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9444 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9446 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9447
9448 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9449
9450 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9451 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9452 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9453 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9454 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9455 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9456 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9457 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9458 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9459 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9460
9461 2011-08-15 Alan Modra <amodra@gmail.com>
9462
9463 [BZ #13092]
9464 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9465 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9466 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9467 ppc_mcount to static-only-routines.
9468 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9469 __mcount_internal.
9470 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9471 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9472
9473 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9474
9475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9476 for finite and infinity parameters.
9477
9478 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9479
9480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9481 and add nop instructions for throughput optimization.
9482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9483
9484 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9485
9486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9487 aligned copy for power7 with vector-scalar instructions.
9488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9489
9490 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9491
9492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9493 AVX check.
9494
9495 2011-09-07 Andreas Schwab <schwab@redhat.com>
9496
9497 [BZ #13144]
9498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9499 last change.
9500
9501 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9502
9503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9504 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9505 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9506 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9507 clock_gettime.
9508
9509 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9510
9511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9512 Forgot to demangle the pointer.
9513
9514 * sysdeps/i386/sysdep.h: Define atom_text_section.
9515 * sysdeps/x86_64/sysdep.h: Likewise.
9516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9517 section with atom_text_section.
9518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9520 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9522 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9523
9524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9526 already be defined. Change to take two parameters and don't assign
9527 result to variable. Adjust all users.
9528 Define INTERNAL_GETTIME if not already defined.
9529 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9530 call.
9531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9532 HAVE_CLOCK_GETTIME_VSYSCALL.
9533 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9534
9535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9536 gettimeofday vsyscall, just use time.
9537
9538 2011-09-06 Andreas Schwab <schwab@redhat.com>
9539
9540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9541 <errno.h>.
9542
9543 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9544
9545 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9546 syscall on x86-64.
9547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9548 syscall.
9549 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9550 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9551 syscall if possible.
9552
9553 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9554
9555 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9556 e_ident. Don't pass to find_mapsXX.
9557 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9558
9559 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9560
9561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9562 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9563 * sysdeps/x86_64/multiarch/strchr.S: Update.
9564 Check bit_slow_BSF bit.
9565 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9567 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9568
9569 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9570
9571 [BZ #13134]
9572 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9573 before glibc 2.15.
9574 (tryshell): Define.
9575 (__spawni): Change last parameter to be flag. Test
9576 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9577 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9578 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9579 * posix/spawni.c: Likewise.
9580 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9581 * posix/spawnp.c: Likewise. Change normal version to use
9582 SPAWN_XFLAGS_USE_PATH.
9583 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9584 SPAWN_XFLAGS_TRY_SHELL.
9585
9586 [BZ #13150]
9587 * posix/glob.h: Remove gcc 1.x support.
9588
9589 [BZ #13068]
9590 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9591
9592 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9593
9594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9595 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9596 strrchr-sse2-bsf
9597 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9598 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9599 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9602 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9603
9604 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9605
9606 * sysdeps/x86_64/wcscmp.S: New file.
9607
9608 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9609 wcscmp-c wcscmp-sse2
9610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9611 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9612 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9613 * wcsmbs/wcscmp.c: Allow renaming.
9614
9615 2011-09-05 David S. Miller <davem@davemloft.net>
9616
9617 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9618 stack slot, rather than the struct return pointer slot.
9619 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9620 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9622 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9623
9624 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9625
9626 * po/ja.po: Update from translation team.
9627
9628 [BZ #13144]
9629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9630 kernel in 64-bit binaries.
9631
9632 2011-09-01 David S. Miller <davem@davemloft.net>
9633
9634 * elf/elf.h (HWCAP_SPARC_*): Move to..
9635 * sysdeps/sparc/sysdep.h: this new file and add new values.
9636 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9637 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9638 _DL_HWCAP_COUNT to 24.
9639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9640 entries.
9641 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9642 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9643 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9645 instead of magic constants.
9646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9647
9648 2011-08-31 David S. Miller <davem@davemloft.net>
9649
9650 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9652 Reimplement to do errno handling inline.
9653 (SYSCALL_ERROR_HANDLER): New macro.
9654 (__SYSCALL_STRING): Do not do errno handling in asm.
9655 (__CLONE_SYSCALL_STRING): Delete.
9656 (__INTERNAL_SYSCALL_STRING): Delete.
9657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9658 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9659 (PSEUDO): Reimplement to do errno handling inline.
9660 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9661 (SYSCALL_ERROR_HANDLER): New macro.
9662 (__SYSCALL_STRING): Do not do errno handling in asm.
9663 (__CLONE_SYSCALL_STRING): Delete.
9664 (__INTERNAL_SYSCALL_STRING): Delete.
9665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9666 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9667 i386.
9668 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9669 (inline_syscall*): Add 'err' argument.
9670 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9671 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9672 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9673 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9674
9675 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9676 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9677
9678 2011-08-30 Andreas Schwab <schwab@redhat.com>
9679
9680 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9681
9682 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9683
9684 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9685 directive.
9686
9687 2011-08-24 David S. Miller <davem@davemloft.net>
9688
9689 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9690
9691 2011-08-24 Andreas Schwab <schwab@redhat.com>
9692
9693 * elf/Makefile: Add rules to build and run unload8 test.
9694 * elf/unload8.c: New file.
9695 * elf/unload8mod1.c: New file.
9696 * elf/unload8mod1x.c: New file.
9697 * elf/unload8mod2.c: New file.
9698 * elf/unload8mod3.c: New file.
9699
9700 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9701 it wasn't used.
9702
9703 2011-08-23 David S. Miller <davem@davemloft.net>
9704
9705 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9706 subtract stack bias.
9707 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9708 %sp not %fp in calculations.
9709 (_JMPBUF_UNWINDS_ADJ): Likewise.
9710
9711 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9712 (aio_suspend): Call it to force an exception region around the
9713 AIO_MISC_WAIT() invocation.
9714
9715 2011-08-23 Andreas Schwab <schwab@redhat.com>
9716
9717 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9718 backslash.
9719
9720 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9721
9722 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9723 protection macro.
9724 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9725 and <dl-machine.h>.
9726 (Elf64_FuncDesc): Remove.
9727
9728 2011-08-22 David S. Miller <davem@davemloft.net>
9729
9730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9731 sigaltstack check, add missing cfi directives.
9732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9733 missing cfi directives, and sigaltstack handling.
9734
9735 2011-08-16 Andreas Schwab <schwab@redhat.com>
9736
9737 [BZ #11724]
9738 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9739 object is seen twice.
9740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9741
9742 * elf/Makefile (distribute): Add tst-initorder2.c.
9743 (tests): Add tst-initorder2.
9744 (modules-names): Add tst-initorder2a tst-initorder2b
9745 tst-initorder2c tst-initorder2d. Add rules to build them.
9746 ($(objpfx)tst-initorder2.out): New rule.
9747 * elf/tst-initorder2.c: New file.
9748 * elf/tst-initorder2.exp: New file.
9749
9750 2011-08-22 Andreas Schwab <schwab@redhat.com>
9751
9752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9753
9754 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9755 dependencies back to end of function.
9756
9757 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9758 $(elfobjdir)/ld.so.
9759
9760 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9761
9762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9763 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9765 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9766 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9767 of __vdso_gettimeofday.
9768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9769 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9770 attribute_hidden.
9771 (_libc_vdso_platform_setup): Remove initialization of
9772 __vdso_gettimeofday and __vdso_time.
9773
9774 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9775
9776 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9777 and fgetc_unlocked.
9778 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9779 getc_unlocked.
9780
9781 * elf/dl-open.c (add_to_global): Report additions to the global scope
9782 for LD_DEBUG=scopes.
9783 (dl_open_worker): Also print scope of newly loaded dependencies.
9784 (_dl_show_scope): Indicate if there is no scope.
9785
9786 [BZ #13114]
9787 * stdio-common/Makefile (tests): Add bug24.
9788 * stdio-common/bug24.c: New file.
9789
9790 2011-08-19 Andreas Jaeger <aj@suse.de>
9791
9792 [BZ #13114]
9793 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9794 non-existant file when using close-on-exec mode.
9795
9796 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9797
9798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9799 the very first instruction.
9800
9801 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9802 the CFI state in the end.
9803 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9804 inclusion of dl-trampoline.h.
9805 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9806
9807 2011-08-19 Andreas Schwab <schwab@redhat.com>
9808
9809 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9810 expectations for long double.
9811
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9813 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9814
9815 2011-08-14 David S. Miller <davem@davemloft.net>
9816
9817 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9818 artificual limit depends upon the system page size.
9819
9820 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9821
9822 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9823 * resolv/Makefile: Define CFLAGS-libresolv.
9824
9825 2011-08-17 Andreas Schwab <schwab@redhat.com>
9826
9827 * nss/makedb.c (compute_tables): Make variables used in nested
9828 function static.
9829
9830 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9831
9832 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9833 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9834 if buffer was too small.
9835
9836 * elf/pldd.c (main): Attach to all threads in the process.
9837 Rewrite /proc handling to use *at functions.
9838
9839 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9840
9841 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9842 specifies first scope to show.
9843 (dl_open_worker): Update callers. Move printing scope of new
9844 object to before the relocation.
9845 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9846 * sysdeps/generic/ldsodefs.h: Update declaration.
9847
9848 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9849 string for the scope number.
9850
9851 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9852
9853 * nscd/servicescache.c (cache_addserv): Make sure written is always
9854 initialized.
9855
9856 2011-08-14 Roland McGrath <roland@hack.frob.com>
9857
9858 * sysdeps/i386/i486/bits/atomic.h
9859 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9860 statement expression, so as to suppress "set but not used" warning.
9861 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9862
9863 * string/strncat.c (STRNCAT): Use prototype definition.
9864
9865 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9866 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9867 -Iprograms here.
9868 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9869 (localedef-modules): Add localedef.
9870 (locale-modules): Add locale.
9871
9872 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9873 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9874 to avoid a warning.
9875
9876 2011-08-14 David S. Miller <davem@davemloft.net>
9877
9878 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9879 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9880
9881 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9882
9883 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9884 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9885 * elf/rtld.c (dl_main): Set l_name of vDSO.
9886 Call _dl_show_scope when DL_DEBUG_SCOPES.
9887 (process_dl_debug): Recognize scopes flag and also set it for all.
9888 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9889 Declare _dl_show_scope.
9890
9891 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9892 (do_dlopen): Pass caller_dlopen to dl_open.
9893 (__libc_dlopen_mode): Initialize caller_dlopen.
9894
9895 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9896 of libc. Make tolower call locale-independent. Optimize a bit by
9897 using isdigit instead of isalnum.
9898 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9899
9900 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9901
9902 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9903 was a dependency or dynamically loaded.
9904
9905 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9906
9907 * intl/l10nflist.c: Allow architecture-specific pop function.
9908 * sysdeps/x86_64/l10nflist.c: New file.
9909
9910 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9911 classification.
9912
9913 2011-08-10 Andreas Schwab <schwab@redhat.com>
9914
9915 * include/dirent.h: Add libc_hidden_proto for scandirat and
9916 scandirat64. Don't declare __scandirat64.
9917 * dirent/scandirat.c: Add libc_hidden_def.
9918 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9919 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9920
9921 2011-08-10 David S. Miller <davem@davemloft.net>
9922
9923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9924 enum.
9925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9928
9929 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9930
9931 * Versions.def [libc]: Add GLIBC_2.15.
9932 * dirent/Makefile (routines): Add scandirat and scandirat64.
9933 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9934 GLIBC_2.15.
9935 * dirent/dirent.h: Declare scandirat and scandirat64.
9936 * dirent/scandirat.c: New file.
9937 * dirent/scandirat64.c: New file.
9938 * sysdeps/wordsize-64/scandirat.c: New file.
9939 * sysdeps/wordsize-64/scandirat64.c: New file.
9940 * dirent/opendir.c: Define opendirat.
9941 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9942 using scandirat.
9943 * dirent/scandir64.c: Adjust for scandir.c change.
9944 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9945 __scandirat64, and __scandir_cancel_handler.
9946 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9947 additional parameter and use openat instead of open (outside of ld.so).
9948 Add new __opendir as wrapper around __opendirat.
9949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9950 here without requiring old scandirat implementation.
9951
9952 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9953
9954 * dirent/scandir.c (cancel_handler): Renamed to
9955 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9956 defined. Adjust users.
9957 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9959
9960 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9961
9962 * string/test-string.h (IMPL): Use __STRING to expand name and then
9963 stringify it.
9964
9965 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9966 of cleanups.
9967
9968 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9969
9970 * string/Makefile: Update.
9971 (strop-tests): Append strncat.
9972 * string/test-wcscmp.c: New file.
9973 New comprehensive test for wcscmp.
9974 * string/test-strcmp.c: Update.
9975 (WIDE): New define.
9976
9977 2011-07-22 Andreas Schwab <schwab@redhat.com>
9978
9979 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9980 line.
9981
9982 2011-07-26 Andreas Schwab <schwab@redhat.com>
9983
9984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9985 encoding to ACE if AI_IDN.
9986
9987 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9988
9989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9990 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9991
9992 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9993
9994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9995 Fix overflow bug in strncat.
9996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9997
9998 * string/test-strncat.c: Update.
9999 Add new tests for checking overflow bugs.
10000
10001 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10002
10003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10004 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10005 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10006 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10008 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10009 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10010 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10011 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10012
10013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10014 (USE_AS_STRCAT): Define.
10015 Add strcat and strncat support.
10016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10017
10018 2011-07-25 Andreas Schwab <schwab@redhat.com>
10019
10020 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10021 __n bigger than INT_MAX+1.
10022 (__strncmp_g): Likewise.
10023
10024 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10025
10026 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10027 * libio/stido.h: Likewise.
10028
10029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10030 (AF_NFC): Define.
10031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10032 (AF_NFC): Define.
10033
10034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10039
10040 [BZ #13021]
10041 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10042 installed.
10043
10044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10045 typo.
10046 (_dl_x86_64_save_sse): Likewise.
10047
10048 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10049
10050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10051 OSXSAVE.
10052 (_dl_x86_64_save_sse): Likewise.
10053
10054 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10055
10056 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10057
10058 2011-07-21 Andreas Schwab <schwab@redhat.com>
10059
10060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10061 change.
10062 (_dl_x86_64_save_sse): Use correct AVX check.
10063
10064 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10065
10066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10067 bug in strncpy/strncat.
10068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10069
10070 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10071
10072 * string/tester.c (test_strcat): Add tests for different alignments
10073 of source and destination.
10074 (test_strncat): Likewise.
10075
10076 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10077
10078 [BZ #12852]
10079 * posix/glob.c (glob): Check passed in values before using them in
10080 expressions to avoid some overflows.
10081 (glob_in_dir): Likewise.
10082
10083 [BZ #13007]
10084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10085 check for AVX enablement so that we don't crash with old kernels and
10086 new hardware.
10087 * elf/tst-audit4.c: Add same checks here.
10088 * elf/tst-audit6.c: Likewise.
10089
10090 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10091
10092 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10095
10096 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10097
10098 * po/cs.po: Update from translation team.
10099 * po/bg.po: Likewise.
10100
10101 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10102
10103 * misc/sys/cdefs.h: Add support for const attribute.
10104 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10105 to gnu_dev_{major,minor,makedev} functions.
10106
10107 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10108
10109 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10110
10111 2011-07-20 Andreas Schwab <schwab@redhat.com>
10112
10113 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10114 strlen results.
10115
10116 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10117
10118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10119 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10120 register in order to avoid conflicts with the soft frame pointer
10121 being held in r11 when necessary.
10122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10123 (INTERNAL_VSYSCALL_NCS): Likewise.
10124
10125 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10126
10127 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10128 * elf/dl-fini.c (_dl_fini): Adjust caller.
10129 * elf/dl-close.c (_dl_close_worker): Likewise.
10130 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10131
10132 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10133
10134 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10135 "aux_cache->nlibs < 0".
10136
10137 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10138 in the reload-count case.
10139
10140 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10141
10142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10143 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10144 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10146 * sysdeps/x86_64/multiarch/strcat.S: New file.
10147 * sysdeps/x86_64/multiarch/strncat.S: New file.
10148 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10150 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10151 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10153 (USE_AS_STRCAT): Define.
10154 Add strcat and strncat support.
10155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10157 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10158 * string/strncat.c: Update.
10159 (USE_AS_STRNCAT): Define.
10160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10161 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10162 and i7.
10163 * sysdeps/x86_64/multiarch/init-arch.h
10164 (bit_Prefer_PMINUB_for_stringop): New.
10165 (index_Prefer_PMINUB_for_stringop): Likewise.
10166 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10167 bit_Prefer_PMINUB_for_stringop.
10168
10169 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10170
10171 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10172 buffer64.
10173 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10174 of casting of buffer.
10175 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10176 buffer32 and buffer64.
10177 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10178 writes instead of casting of buffer.
10179 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10180 buffer32.
10181 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10182 casting of buffer.
10183
10184 2011-07-19 Andreas Schwab <schwab@redhat.com>
10185
10186 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10187
10188 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10189
10190 * nscd/nscd.c (termination_handler): Don't do anything for a database
10191 if it has not yet been initialized.
10192
10193 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10194
10195 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10196
10197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10198
10199 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10200
10201 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10202
10203 * po/nl.po: Update from translation team.
10204 * po/sv.po: Likewise.
10205
10206 2011-07-16 Roland McGrath <roland@hack.frob.com>
10207
10208 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10209 now disallowed by GCC.
10210
10211 * configure.in (use-default-link): Default to yes if a test -shared
10212 link meets our qualifications.
10213 * configure: Regenerated.
10214
10215 * config.make.in (output-format): New variable.
10216 * configure.in: Check for ld --print-output-format support.
10217 * configure: Regenerated.
10218 * Makerules ($(common-objpfx)format.lds)
10219 [$(output-format) != unknown]: Just use $(output-format),
10220 instead of the linker-script munging.
10221
10222 2011-07-14 Roland McGrath <roland@hack.frob.com>
10223
10224 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10225 of $(common-objpfx)shlib.lds.
10226 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10227
10228 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10229 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10230
10231 * configure.in (-z relro check): Adjust test code to add a large
10232 writable data section after it.
10233 * configure: Regenerated.
10234
10235 2011-07-11 Roland McGrath <roland@hack.frob.com>
10236
10237 * configure.in (-z relro check): Fix test code to make the variable
10238 truly const.
10239 * configure: Regenerated.
10240
10241 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10242
10243 * nscd/nscd.h (struct traced_file): Define.
10244 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10245 elements. Add traced_files.
10246 (inotify_fd): Declare.
10247 (register_traced_file): Declare.
10248 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10249 (inotify_fd): Export.
10250 (resolv_conf_descr): Remove.
10251 (nscd_init): Move inotify descriptor creation to main.
10252 Don't register files for notification here.
10253 (register_traced_file): New function.
10254 (invalidate_cache): Don't use reset_res to determine whether to call
10255 res_init, go through the list of registered files.
10256 (main_loop_poll): The inotify descriptors are now stored in the
10257 structures for the traced files.
10258 (main_loop_epoll): Likewise
10259 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10260 to __nss_disable_nscd.
10261 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10262 for a database anymore. Check the records for all the registered
10263 files instead.
10264 * nss/Makefile (libnss_files-routines): Add files-init.
10265 (libnss_db-routines): Add db-init.
10266 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10267 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10268 * nss/nss_db/db-init.c: New file.
10269 * nss/nss_files/files-init.c: New file.
10270 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10271 __nss_lookup_function.
10272 (__nss_lookup_function): Call nss_load_library.
10273 (nss_load_all_libraries): New function.
10274 (__nss_disable_nscd): Take parameter with callback function for files
10275 to register. Set is_nscd. Load all the DSOs for the NSS modules
10276 used for the cached services.
10277 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10279 options for features to all the files in nscd.
10280
10281 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10282
10283 2011-07-10 Roland McGrath <roland@hack.frob.com>
10284
10285 * csu/elf-init.c (__libc_csu_init): Comment typo.
10286
10287 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10288
10289 * po/pl.po: Update from translation team.
10290 * po/ja.po: Likewise.
10291 * po/ru.po: Likewise.
10292 * po/ko.po: Likewise.
10293 * po/fr.po: Likewise.
10294
10295 2011-07-09 Roland McGrath <roland@hack.frob.com>
10296
10297 * configure.in (.ctors/.dtors header and trailer check):
10298 Use an empirical test on a built program.
10299 * configure: Regenerated.
10300
10301 * configure.in (-z relro check): Use an empirical test on a built DSO.
10302 Detect, but do not require, on ia64.
10303 * configure: Regenerated.
10304
10305 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10306 Update tests that use readelf to use $READELF instead.
10307 * configure: Regenerated.
10308
10309 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10310
10311 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10312 if the result is not used.
10313
10314 2011-07-05 Andreas Jaeger <aj@suse.de>
10315
10316 [BZ#9696]
10317 * stdlib/tst-strtod.c: Add testcase.
10318
10319 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10320
10321 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10322 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10323 The latter has a higher limit. Take additional parameter to pass to
10324 the new function.
10325 (__pathconf): Pass file to __statfs_link_max.
10326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10327 __statfs_link_max.
10328 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10329 __statfs_link_max.
10330
10331 [BZ #12868]
10332 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10334 Handle Lustre.
10335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10336 (__statfs_filesize_max): Likewise.
10337 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10338
10339 2011-07-05 Andreas Jaeger <aj@suse.de>
10340
10341 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10342
10343 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10344
10345 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10346 `status' variable.
10347 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10348 Likewise.
10349
10350 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10351
10352 * Makefile (strop-tests): Add strncat.
10353 * string/test-strncat.c: New file.
10354
10355 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10356
10357 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10358
10359 2011-06-21 Andreas Jaeger <aj@suse.de>
10360
10361 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10362 Copy rule from iconvdata/Makefile.
10363
10364 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10365
10366 [BZ #12922]
10367 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10368 but no long options are defined, just return 'W'.
10369
10370 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10371
10372 [BZ #9696]
10373 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10374
10375 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10376
10377 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10378 netgroups to read.
10379 (innetgr): Likewise.
10380
10381 2011-07-05 Roland McGrath <roland@hack.frob.com>
10382
10383 * config.make.in (install_root): Default to $(DESTDIR).
10384
10385 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10386
10387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10388
10389 2011-07-02 Roland McGrath <roland@hack.frob.com>
10390
10391 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10392
10393 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10394 containing directory rather than embedding absolute directory names.
10395
10396 * scripts/check-local-headers.sh: Rewritten using awk.
10397 Match by word, not by line. Print error messages for matches.
10398 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10399
10400 * Makerules [shlib-lds-flags empty]:
10401 ($(common-objpfx)libc_pic.opts): New target.
10402 ($(common-objpfx)libc_pic.os.clean): New target.
10403 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10404
10405 * config.make.in (OBJCOPY): New variable.
10406 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10407 * configure: Regenerated.
10408
10409 * config.make.in (use-default-link): New variable.
10410 * configure.in (use_default_link): Grok --with-default-link to set it.
10411 * configure: Regenerated.
10412 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10413 (shlib-lds, shlib-lds-flags): Define to empty.
10414
10415 * Makerules (shlib-lds): New variable.
10416 (shlib-lds-flags): New variable.
10417 (build-shlib, build-moduile, build-module-asneeded): Use it.
10418 ($(common-objpfx)libc.so): Use $(shlib-lds).
10419 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10421
10422 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10423 DT_FLAGS/DT_FLAGS_1 with zero flags.
10424
10425 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10426 linker script munging.
10427
10428 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10429
10430 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10431 as 128-bit value.
10432 * crypt/sha512.c (sha512_process_block): Perform total addition using
10433 128-bit if possible.
10434 (__sha512_finish_ctx): Likewise.
10435 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10436 as 64-bit value.
10437 * crypt/sha256.c (SWAP64): Define.
10438 (sha256_process_block): Perform total addition using 64-bit if
10439 possible.
10440 (__sha256_finish_ctx): Likewise.
10441
10442 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10443
10444 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10446 * nscd/hstcache.c (cache_addhst): Likewise.
10447 * nscd/grpcache.c (cache_addgr): Likewise.
10448 * nscd/aicache.c (addhstaiX): Likewise
10449 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10450
10451 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10452
10453 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10455 * nscd/hstcache.c (cache_addhst): Likewise.
10456 * nscd/grpcache.c (cache_addgr): Likewise.
10457 * nscd/aicache.c (addhstaiX): Likewise
10458
10459 2011-07-01 Andreas Schwab <schwab@redhat.com>
10460
10461 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10462 domain only when needed.
10463
10464 2011-06-30 Andreas Schwab <schwab@redhat.com>
10465
10466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10467 is always restored.
10468
10469 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10470
10471 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10472 are re-adding the entry.
10473 * nscd/servicescache.c (cache_addserv): Likewise.
10474
10475 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10476
10477 * sysdeps/generic/dl-irel.h: fix protection against multiple
10478 inclusions.
10479 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10480
10481 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10482
10483 [BZ #12935]
10484 * malloc/memusage.sh: Fix quoting in message.
10485 * debug/xtrace.sh: Likewise.
10486
10487 * configure.in: Remove support for --experimental-malloc option, make
10488 it the default.
10489 * config.make.in: Likewise.
10490 * malloc/Makefile: Likewise.
10491
10492 2011-06-27 Andreas Schwab <schwab@redhat.com>
10493
10494 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10495 two-byte characters.
10496
10497 2011-06-27 Roland McGrath <roland@hack.frob.com>
10498
10499 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10500 AC_CACHE_CHECK invocation.
10501 * configure: Regenerated.
10502
10503 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10504
10505 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10506
10507 [BZ #12350]
10508 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10509 bit from old_res_options.
10510
10511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10512
10513 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10514 value type for setfct.
10515
10516 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10517
10518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10519 __gettimeofday instead of gettimeofday.
10520
10521 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10522
10523 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10524
10525 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10526
10527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10528
10529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10530 info.
10531
10532 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10533
10534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10535 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10536 strcpy-sse2-unaligned strncpy-sse2-unaligned
10537 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10538 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10539 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10540 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10541 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10544 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10545 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10546 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10547 (STRCPY): Support SSE2 and SSSE3 versions.
10548
10549 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10550
10551 [BZ #12874]
10552 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10553 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10554 kernels which artificially limit size of requests.
10555
10556 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10557
10558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10559 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10560 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10561 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10562 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10563 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10564 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10565 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10568 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10569 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10570 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10571 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10572 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10574 Enable unaligned load optimization for Intel Core i3, i5 and i7
10575 processors.
10576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10577 Define.
10578 (index_Fast_Unaligned_Load): Define.
10579 (HAS_FAST_UNALIGNED_LOAD): Define.
10580
10581 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10582
10583 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10584
10585 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10586
10587 [BZ #12907]
10588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10589 until it is clear that the information is realy needed.
10590 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10591
10592 2011-06-22 Andreas Schwab <schwab@redhat.com>
10593
10594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10595
10596 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10597
10598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10599 /sys/devices/system/cpu/online if it is usable.
10600
10601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10602 reading the information from the /proc filesystem to once a second.
10603
10604 2011-06-21 Andreas Jaeger <aj@suse.de>
10605
10606 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10607 NULL after inclusion of kernel headers.
10608
10609 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10610
10611 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10612 calls to internal_setent.
10613
10614 [BZ #12885]
10615 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10616 addresses using gethostbyname4_r ignore IPv4 addresses.
10617
10618 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10619 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10620
10621 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10622
10623 2011-06-20 David S. Miller <davem@davemloft.net>
10624
10625 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10626 inclusions.
10627 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10628
10629 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10630 (elf_irel): Use it.
10631 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10632 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10633 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10634 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10635 * sysdeps/x86_64/dl-irel.h: Likewise.
10636
10637 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10638 * elf/dl-sym.c: Likewise.
10639
10640 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10641
10642 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10643 need to dereference resplen2.
10644
10645 2011-06-14 Andreas Schwab <schwab@redhat.com>
10646
10647 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10648
10649 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10650
10651 * Makeconfig: Define vardbdir and inst_vardbdir.
10652 * nss/Makefile: Add rules to install db-Makefile.
10653
10654 * nss/nss_db/db-XXX.c: Cleanup.
10655
10656 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10657 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10658 GLIBC_PRIVATE.
10659 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10660 * nss/makedb.c: Implement -g option to specify that value strings
10661 are generated and should not be added to table iterated over for
10662 get*ent calls.
10663 * nss/nss_db/db-initgroups.c: New file.
10664
10665 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10666 interface.
10667
10668 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10669 (internal_getgrouplist): Adjust to name change.
10670 Update use_initgroups_entry if this is not the first call.
10671 * nss/databases.def: Add initgroups entry.
10672
10673 * nss/makedb.c (compute_tables): Check result of multiple hash table
10674 sizes to minimize maximum chain length.
10675
10676 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10677
10678 * Versions.def: Add entry for libnss_db.
10679 * shlib-versions: Likewise.
10680 * nss/Makefile: Add rules to build libnss_db.
10681 * nss/Versions: Add libnss_db information. Organize libnss_files
10682 entries better.
10683 * nss/db-Makefile: Add gshadow support. Change rules for the new
10684 makedb progra. Some minor improvements to generate smaller files.
10685 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10686 here from...
10687 * nss/makedb.c: ...here.
10688 Improve database format to be smaller and require less memory at
10689 runtime.
10690 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10691 db anymore.
10692 * nss/nss_db/db-netgrp.c: Likewise.
10693 * nss/nss_db/db-open.c: Likewise.
10694 * nss/nss_files/flies-XXX.x: Adjust comments.
10695 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10696 * nss/nss_files/files-grp.c: Likewise.
10697 * nss/nss_files/files-hosts.c: Likewise.
10698 * nss/nss_files/files-network.c: Likewise.
10699 * nss/nss_files/files-proto.c: Likewise.
10700 * nss/nss_files/files-pwd.c: Likewise.
10701 * nss/nss_files/files-rpc.c: Likewise.
10702 * nss/nss_files/files-service.c: Likewise.
10703 * nss/nss_files/files-sgrp.c: Likewise.
10704 * nss/nss_files/files-spwd.c: Likewise.
10705 * nss/nss_db/db-alias.c: Removed.
10706 * nss/nss_db/dummy-db.h: Removed.
10707
10708 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10709
10710 * nss/makedb.c: Rewritten to not use database library.
10711 * nss/Makefile: Update to build new makedb program.
10712
10713 2011-06-14 Andreas Jaeger <aj@suse.de>
10714
10715 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10716 memset declaration.
10717
10718 2011-06-10 Andreas Schwab <schwab@redhat.com>
10719
10720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10721 tmpbuf.
10722
10723 2011-06-10 Roland McGrath <roland@hack.frob.com>
10724
10725 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10726 * elf/Makefile ($(objpfx)ld.so): Likewise.
10727
10728 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10729 Don't list ld.so twice in dependencies.
10730
10731 * posix/bug-regex31.c: Include <stdlib.h>.
10732
10733 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10734
10735 * nis/nss_compat/compat-spwd.c
10736 (getspent_next_nss_netgr): Remove unused variable.
10737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10738
10739 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10740 nonmembers" output to use the right array.
10741
10742 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10743
10744 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10745
10746 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10747 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10748 * catgets/gencat.c (read_input_file): Likewise.
10749 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10750
10751 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10752 variable definition inside #if's controlling its use.
10753
10754 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10755
10756 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10757
10758 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10759
10760 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10761 unreachable code.
10762
10763 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10764
10765 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10766 * configure: Regenerated.
10767
10768 * Makerules: Revert last change.
10769 * elf/Makefile: Likewise.
10770
10771 2011-06-09 Roland McGrath <roland@hack.frob.com>
10772
10773 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10774 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10775 (reloc-link): Likewise.
10776
10777 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10778
10779 * elf/Makefile: Add rules to build pldd.
10780 * elf/pldd.c: New file.
10781 * elf/pldd-xx.c: New file.
10782
10783 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10784
10785 * version.h: Update for 2.15 development version.
10786
10787 2011-06-07 David S. Miller <davem@davemloft.net>
10788
10789 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10790 ifuncs.
10791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10792 elf_machine_lazy_rel): Likewise.
10793 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10795 elf_machine_lazy_rel): Likewise.
10796 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10797 dl_hwcap via passed in argument.
10798 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10799 Likewise.
10800
10801 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10802
10803 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10804
10805 2011-06-06 Roland McGrath <roland@hack.frob.com>
10806
10807 [BZ #12849]
10808 * manual/fdl-1.1.texi: New file, verbatim from:
10809 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10810 * manual/lgpl-2.1.texi: New file, verbatim from:
10811 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10812 * manual/Makefile (licenses): New variable, list those new file names.
10813 (texis): Use it.
10814 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10815
10816 * manual/fdl.texi: File removed.
10817 * manual/lesser.texi: File removed.
10818 * manual/libc.texinfo (Copying, Documentation License):
10819 Use new @include file names, put @appendix directive before @include.
10820
10821 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10822
10823 [BZ #12841]
10824 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10825 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10826 (mq_open): Add __NTH.
10827
10828 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10829
10830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10831 Assume Intel Core i3/i5/i7 processor if AVX is available.
10832
10833 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10834
10835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10836 typo.
10837
10838 2011-05-31 Andreas Schwab <schwab@redhat.com>
10839
10840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10841 memory. Use alloca_account. Fix memory leak when retrying.
10842
10843 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10844
10845 * version.h (RELEASE): Bump for 2.14 release.
10846 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10847
10848 * config.make.in (RANLIB): Remove entry.
10849
10850 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10851
10852 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10853 (libc.pot): Work around missing support for .ksh extension in xgettext.
10854
10855 [BZ #12684]
10856 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10857 if both request failed.
10858 (send_dg): In case of server errors clear resplen or *resplen2.
10859
10860 [BZ #12454]
10861 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10862 when there are multiple maps.
10863 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10864 (_dl_fini): Remove test here.
10865
10866 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10867
10868 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10869
10870 [BZ #12350]
10871 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10872 bit from old_res_options.
10873 (gaih_inet): Likewise.
10874
10875 [BZ #11099]
10876 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10877 as signed.
10878
10879 * resolv/res_init.c (res_setoptions): Make the code more compact.
10880
10881 [BZ #11558]
10882 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10883 set RES_USEVC.
10884
10885 [BZ #11634]
10886 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10887
10888 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10889
10890 [BZ #11781]
10891 * malloc/malloc.h: Declare malloc hook variables as volatile.
10892
10893 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10894 in last patch.
10895
10896 [BZ #11799]
10897 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10898 raise in the comment.
10899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10901 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10902
10903 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10904
10905 [BZ #12811]
10906 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10907 grow the buffers more if it already has to be sufficient.
10908 (build_wcs_upper_buffer): Likewise.
10909 * posix/regexec.c (check_matching): Likewise.
10910 (clean_state_log_if_needed): Likewise.
10911 (extend_buffers): Don't enlarge buffers beyond size of the input
10912 buffer.
10913 Patches mostly by Emil Wojak <emil@wojak.eu>.
10914 * posix/bug-regex32.c: New file.
10915 * posix/Makefile (tests): Add bug-regex32.
10916
10917 * locale/findlocale.c (_nl_find_locale): Return right away if
10918 _nl_explode_name failed.
10919 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10920
10921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10922
10923 * debug/xtrace.sh: Unify messages.
10924 * malloc/memusage.sh: Likewise.
10925
10926 [BZ #12813]
10927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10928 time symbol from vDSO. Substitute with vsyscall if not available.
10929 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10930 __vdso_time.
10931
10932 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10933 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10935 Add sendmmsg and internal_sendmmsg.
10936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10939
10940 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10941 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10942 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10943
10944 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10945
10946 [BZ #12813]
10947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10948 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10949 available.
10950 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10951 __vdso_getcpu.
10952
10953 [BZ #12814]
10954 * iconvdata/Makefile (tests): Add bug-iconv9.
10955 * iconvdata/bug-iconv9.c: New file.
10956
10957 2011-05-27 Andreas Schwab <schwab@redhat.com>
10958
10959 [BZ #12814]
10960 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10961
10962 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10963
10964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10965 (struct user_regs_struct): Change intcs field back to cs.
10966
10967 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10968
10969 * po/ja.po: Update from translation team.
10970
10971 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10972
10973 [BZ #12795]
10974 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10976
10977 2011-05-20 Andreas Schwab <schwab@redhat.com>
10978
10979 * stdlib/longlong.h: Update from GCC.
10980
10981 2011-05-23 Andreas Schwab <schwab@redhat.com>
10982
10983 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10984 parameter name.
10985 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10986 Add parameter name.
10987 (__sysconf): Pass it down.
10988
10989 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10990
10991 [BZ #12671]
10992 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10993 some situations.
10994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10995 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10996 add in in __libc_use_alloca calls. Adjust callers.
10997 (glob): Use malloc in some situations.
10998
10999 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11000 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11001 pltexit.
11002
11003 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11004
11005 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11006 and CLOCK_BOOTTIME_ALARM.
11007
11008 [BZ #12782]
11009 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11010 is returned.
11011
11012 * string/_strerror.c (__strerror_r): Print negative errors as signed
11013 numbers.
11014
11015 [BZ #12777]
11016 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11017 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11018 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11019
11020 * configure.in: Fix typo in redirection and correct removal of test
11021 files in two cases.
11022
11023 [BZ #12788]
11024 * locale/setlocale.c (new_composite_name): Fix test to check for
11025 identical name of all categories.
11026
11027 [BZ #12792]
11028 * libio/filedoalloc.c (local_isatty): New function.
11029 (_IO_file_doallocate): Use local_isatty.
11030 * stdio-common/perror.c (perror): In case a new stream is used
11031 forward the stream error.
11032 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11033 error flag.
11034
11035 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11036
11037 [BZ #11869]
11038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11039 alloca.
11040 * include/alloca.h (extend_alloca_account): Define.
11041
11042 [BZ #11857]
11043 * posix/regex.h: Fix comments with documentation of user-accessible
11044 fields after compilation and describe correct free'ing of pattern
11045 after re_compile_pattern.
11046 Patch by Reuben Thomas <rrt@sc3d.org>.
11047
11048 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11049
11050 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11051 and -mno-altivec to prevent the compiler from using Altivec and/or
11052 VSX instructions when the corresponding registers are not available.
11053
11054 2011-05-19 Andreas Schwab <schwab@redhat.com>
11055
11056 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11057
11058 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11059
11060 * libio/freopen.c (freopen): Use __dup2, not dup2.
11061 * libio/freopen64.c (freopen64): Likewise.
11062
11063 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11064
11065 [BZ #12775]
11066 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11067 * math/Makefile (tests): Add test-powl.
11068 (CFLAGS-test-powl.c): Define.
11069 * math/test-powl.c: New file.
11070
11071 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11072
11073 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11074
11075 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11076
11077 [BZ #11837]
11078 * iconvdata/gb18030.c: Update to GB18020-2005.
11079
11080 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11081
11082 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11083 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11084 Patch by Aharon Robbins <arnold@skeeve.com>.
11085
11086 [BZ #11892]
11087 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11088 on the stack.
11089
11090 [BZ #11895]
11091 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11092 through underflows.
11093
11094 [BZ #12766]
11095 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11096 point to strings before performing equality test for error_one_per_line
11097 mode.
11098
11099 [BZ #11697]
11100 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11101
11102 [BZ #11820]
11103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11104 (struct user_fpregs_struct): Avoid __uint*_t types.
11105
11106 [BZ #6420]
11107 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11108 symbol info. Use it instead of calling _dl_addr locally.
11109 (lock_and_info): New function.
11110 (tr_freehook): Call lock_and_info and pass symbol info as additional
11111 parameter to tr_where.
11112 (tr_mallochook): Likewise.
11113 (tr_reallochook): Likewise.
11114 (tr_memalignhook): Likewise.
11115
11116 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11117 used and couldn't be at all thread-safe.
11118
11119 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11120
11121 * libio/freopen.c (freopen): Don't close old file descriptor
11122 before the new one is opened. Instead dup the new file descriptor
11123 to the old one after the new stream is created.
11124 * libio/freopen64.c (freopen64): Likewise.
11125 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11126 * libio/fileops.c (_IO_new_file_close_it): Handle new
11127 _IO_FLAGS2_NOCLOSE flag.
11128 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11129 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11130 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11131 _IO_FLAGS2_NOCLOSE flag.
11132 * include/unistd.h: Add hidden_proto for dup3.
11133 Define __have_dup3.
11134 * io/dup3.c: Define hidden symbol.
11135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11136
11137 [BZ #7101]
11138 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11139 when an incomplete long option is used.
11140 * posix/tst-getopt_long1.c: New file.
11141 * posix/Makefile (tests): Add tst-getopt_long1.
11142
11143 [BZ #10138]
11144 * scripts/config.guess: Update from autoconf-2.68.
11145 * scripts/config.sub: Likewise.
11146
11147 [BZ #10157]
11148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11149 tests into ...
11150 (has_cpuclock): ...this. New function.
11151 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11152 macro here based on has_cpuclock code.
11153
11154 [BZ #10149]
11155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11156 First byte (not low byte) is now always NUL.
11157 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11158
11159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11160 Use non-cancelable interfaces.
11161
11162 [BZ #9809]
11163 * locale/iso-639.def: Add entry for Sorani.
11164
11165 [BZ #11901]
11166 * include/stdlib.h: Move include protection to the right place.
11167 Define abort_msg_s. Declare __abort_msg with it.
11168 * stdlib/abort.c (__abort_msg): Adjust type.
11169 * assert/assert.c (__assert_fail_base): New function. Majority
11170 of code from __assert_fail. Allocate memory for __abort_msg with
11171 mmap.
11172 (__assert_fail): Now call __assert_fail_base.
11173 * assert/assert-perr.c: Remove bulk of implementation. Use
11174 __assert_fail_base.
11175 * include/assert.hL Declare __assert_fail_base.
11176 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11177 mmap.
11178 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11179
11180 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11181
11182 [BZ #11952]
11183 [BZ #12453]
11184 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11185 until all modules are registered in the DTV.
11186 * elf/Makefile: Add rules to build and run tst-tls19.
11187 * elf/tst-tls19.c: New file.
11188 * elf/tst-tls19mod1.c: New file.
11189 * elf/tst-tls19mod2.c: New file.
11190 * elf/tst-tls19mod3.c: New file.
11191 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11192
11193 [BZ #12083]
11194 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11195 correctly.
11196
11197 [BZ #12601]
11198 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11199 two-byte sequence errors.
11200 * iconvdata/Makefile (tests): Add bug-iconv8.
11201 * iconvdata/bug-iconv8.c: New file.
11202
11203 [BZ #12626]
11204 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11205 buf2 definition.
11206
11207 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11208
11209 [BZ #12432]
11210 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11211 (dummy_getcfa): New function.
11212 (init): Get _Unwind_GetCFA address, use dummy if not found.
11213 (backtrace_helper): In recursion check, also check whether CFA changes.
11214 (__backtrace): Completely initialize arg.
11215
11216 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11217 storing incomplete byte sequence in state object. Avoid testing for
11218 guaranteed too small input if we know there is enough data available.
11219
11220 2011-05-11 Andreas Schwab <schwab@redhat.com>
11221
11222 * Makeconfig (+link-pie): Indent.
11223 * Rules (binaries-pie): Define if $(have-fpie) and
11224 $(build-shared).
11225 (binaries-shared): Also filter out $(binaries-pie).
11226 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11227 * nscd/Makefile (others-pie): Add nscd.
11228 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11229 ($(objpfx)nscd): Remove command override.
11230 * login/Makefile (others-pie): Add pt_chown.
11231 ($(objpfx)pt_chown): Remove command override.
11232 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11233 remove command overrides.
11234
11235 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11236
11237 * libio/tst_putwc.c: Fix error messages.
11238
11239 [BZ #12724]
11240 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11241 currently writing and seek to current position when not.
11242 * libio/Makefile (tests): Add bug-fclose1.
11243 * libio/bug-fclose1.c: New file.
11244
11245 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11246
11247 [BZ #12511]
11248 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11249 don't set DF_1_NODELETE here.
11250 (do_lookup_x): When entering new entry test for copy relocation
11251 and if necessary set DF_1_NODELETE flag.
11252 * elf/tst-unique4.cc: New file.
11253 * elf/tst-unique4.h: New file.
11254 * elf/tst-unique4lib.cc: New file.
11255 * elf/Makefile: Add rules to build and run tst-unique4.
11256 Patch by Piotr Bury <pbury@goahead.com>.
11257
11258 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11259
11260 [BZ #12052]
11261 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11262
11263 [BZ #12625]
11264 * misc/mntent_r.c (addmntent): Flush the stream after the output
11265
11266 [BZ #12393]
11267 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11268 (is_trusted_path_normalize): Skip initial colon. Append slash
11269 to empty buffer. Duplicate is_trusted_path code but allow
11270 constructed patch to be prefix.
11271 (is_dst): Allow $ORIGIN followed by /.
11272 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11273 Correct testing of result of is_trusted_path_normalize
11274 (decompose_rpath): Fix warning.
11275
11276 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11277
11278 [BZ #11257]
11279 * grp/initgroups.c (internal_getgrouplist): When we found the service
11280 list through the initgroups entry in nsswitch.conf do not always
11281 continue on a successful lookup. Don't always use the
11282 __nss_group_database value if it is set.
11283 * nss/nsswitch.conf (initgroups): Change action for successful db
11284 lookup to continue for compatibility.
11285
11286 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11287
11288 [BZ #11532]
11289 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11290 and CP774 modules.
11291 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11292 and CP774 modules.
11293 * iconvdata/tst-tables.sh: Likewise.
11294 * iconvdata/cp770.c: New file.
11295 * iconvdata/cp771.c: New file.
11296 * iconvdata/cp772.c: New file.
11297 * iconvdata/cp773.c: New file.
11298 * iconvdata/cp774.c: New file.
11299 * iconvdata/testdata/CP770: New file.
11300 * iconvdata/testdata/CP770..UTF8: New file.
11301 * iconvdata/testdata/CP771: New file.
11302 * iconvdata/testdata/CP771..UTF8: New file.
11303 * iconvdata/testdata/CP772: New file.
11304 * iconvdata/testdata/CP772..UTF8: New file.
11305 * iconvdata/testdata/CP773: New file.
11306 * iconvdata/testdata/CP773..UTF8: New file.
11307 * iconvdata/testdata/CP774: New file.
11308 * iconvdata/testdata/CP774..UTF8: New file.
11309
11310 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11311 END CHARMAP line.
11312 * iconvdata/gen-8bit-gap.sh: Likewise.
11313 * iconvdata/gen-8bit.sh: Likewise.
11314
11315 * locale/iso-639.def: Add ary entry.
11316
11317 [BZ #11258]
11318 * locale/C-translit.h.in: Add U20A1 transliteration.
11319
11320 [BZ #12178]
11321 * locale/iso-639.def: Add wae entry.
11322 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11323
11324 [BZ #12545]
11325 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11326 for n.
11327
11328 [BZ #12711]
11329 * locale/C-translit.h.in: Add entry for U20B9.
11330 Patch by pravin.d.s@gmail.com.
11331
11332 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11333
11334 [BZ #12713]
11335 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11336 ENAMETOOLONG use generic getcwd.
11337 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11338 in rtld. Use *stat64.
11339 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11340 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11341 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11342 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11343 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11344 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11345 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11346 __fstatat64 macros.
11347 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11348 * dirent/rewinddir.c: Add libc_hidden_def.
11349 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11350 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11351
11352 * include/dirent.h (__alloc_dir): Add flags parameter.
11353 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11354 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11355 __alloc_dir.
11356 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11357 from fdopendir if O_CLOEXEC is already set.
11358
11359 2011-03-15 Alan Modra <amodra@gmail.com>
11360
11361 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11362 l_tls_firstbyte_offset non-zero. Save padding offset in
11363 l_tls_firstbyte_offset for later use.
11364 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11365 freeing static tls block.
11366
11367 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11368
11369 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11370 where #ifdef was intended. The intent is to prevent ARG_MAX from
11371 being defined by the kernel headers.
11372
11373 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11374
11375 [BZ #12734]
11376 * resolv/resolv.h: Define RES_NOTLDQUERY.
11377 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11378 no-tld-query and set RES_NOTLDQUERY.
11379 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11380 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11381 modern BIND to search name as TLD unless forbidden.
11382
11383 2011-05-07 Petr Baudis <pasky@suse.cz>
11384 Ulrich Drepper <drepper@gmail.com>
11385
11386 [BZ #12393]
11387 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11388 (is_trusted_path): ...to here.
11389 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11390 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11391 using is_trusted_path_normalize() in setuid scripts.
11392
11393 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11394
11395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11396 __BEGIN/__END_DECLS.
11397
11398 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11399
11400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11401 NSS_STATUS_NOTFOUND if no record was found.
11402
11403 2011-05-05 Andreas Schwab <schwab@redhat.com>
11404
11405 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11406 (headers-not-in-tirpc): Remove rpc/netdb.h
11407 * resolv/netdb.h: Revert last change.
11408
11409 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11410
11411 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11412 circular dependency between libgcc.a and libc.a.
11413
11414 2011-05-05 Andreas Schwab <schwab@redhat.com>
11415
11416 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11417 * nis/Makefile: Don't install rpcsvc/*.
11418 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11419 instead of <rpc/types.h>.
11420 (MAXHOSTNAMELEN): Define.
11421
11422 2011-05-03 Andreas Schwab <schwab@redhat.com>
11423
11424 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11425
11426 2011-04-28 Maciej Babinski <mbabinski@google.com>
11427
11428 [BZ #12714]
11429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11430 gethostbyname4_r when IPv6 results are possible.
11431
11432 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11433
11434 [BZ #12723]
11435 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11436 _PC_PIPE_BUF handling.
11437
11438 2011-04-30 Bruno Haible <bruno@clisp.org>
11439
11440 [BZ #12717]
11441 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11442 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11443 to 'int'.
11444 * inet/getnameinfo.c (getnameinfo): Likewise.
11445
11446 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11447
11448 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11449 to groups setting in database lookup.
11450 * nss/nsswitch.conf: Add initgroups entry.
11451
11452 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11453
11454 [BZ #12685]
11455 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11456 mode string.
11457 Patch by Eric Blake <eblake@redhat.com>.
11458
11459 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11460
11461 * sunrpc/Makefile (need-export-routines): Add svc_run.
11462 (routines): Remove svc_run.
11463 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11464 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11465 * sunrpc/svc_run.c (svc_run): Likewise.
11466 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11467
11468 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11469
11470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11471 problem in reallocation in last patch.
11472
11473 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11474
11475 * sunrpc/Makefile: Move inclusion of Rules.
11476
11477 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11478
11479 * nss/nss_files/files-initgroups.c: New file.
11480 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11481 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11482 _nss_files_initgroups_dyn.
11483
11484 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11485
11486 * elf/elf.h (R_ARM_IRELATIVE): Define.
11487
11488 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11489
11490 * po/ru.po: Update from translation team.
11491
11492 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11493
11494 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11495 dependencies.
11496
11497 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11498
11499 [BZ #12653]
11500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11501 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11502 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11505
11506 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11507
11508 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11509 differing bytes.
11510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11513
11514 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11515
11516 [BZ #12420]
11517 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11518 storing it.
11519 * stdlib/bug-getcontext.c: New file.
11520 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11521
11522 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11523
11524 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11525 instructions into .machine "z9-109".
11526 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11527 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11528
11529 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11530
11531 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11532 between environment variables and auxiliary vector.
11533
11534 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11535
11536 * Makefile: Add rules to build linkobj/libc.so.
11537 * include/libc-symbols.h: Define libc_hidden_nolink.
11538 * include/rpc/auth.h: Mark functions which are to be hidden.
11539 * include/rpc/auth_des.h: Likewise.
11540 * include/rpc/auth_unix.h: Likewise.
11541 * include/rpc/clnt.h: Likewise.
11542 * include/rpc/des_crypt.h: Likewise.
11543 * include/rpc/key_prot.h: Likewise.
11544 * include/rpc/pmap_clnt.h: Likewise.
11545 * include/rpc/pmap_prot.h: Likewise.
11546 * include/rpc/pmap_rmt.h: Likewise.
11547 * include/rpc/rpc_msg.h: Likewise.
11548 * include/rpc/svc.h: Likewise.
11549 * include/rpc/svc_auth.h: Likewise.
11550 * include/rpc/xdr.h: Likewise.
11551 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11552 * nss/Makefile: Likewise.
11553 * sunrpc/Makefile: Don't install headers. Build library with normal
11554 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11555 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11556 for the compat linking library. Remove use of INTDEF/INTUSE.
11557 * sunrpc/auth_none.c: Likewise.
11558 * sunrpc/auth_unix.c: Likewise.
11559 * sunrpc/authdes_prot.c: Likewise.
11560 * sunrpc/authuxprot.c: Likewise.
11561 * sunrpc/clnt_gen.c: Likewise.
11562 * sunrpc/clnt_perr.c: Likewise.
11563 * sunrpc/clnt_raw.c: Likewise.
11564 * sunrpc/clnt_simp.c: Likewise.
11565 * sunrpc/clnt_tcp.c: Likewise.
11566 * sunrpc/clnt_udp.c: Likewise.
11567 * sunrpc/clnt_unix.c: Likewise.
11568 * sunrpc/des_crypt.c: Likewise.
11569 * sunrpc/des_soft.c: Likewise.
11570 * sunrpc/get_myaddr.c: Likewise.
11571 * sunrpc/key_call.c: Likewise.
11572 * sunrpc/key_prot.c: Likewise.
11573 * sunrpc/netname.c: Likewise.
11574 * sunrpc/pm_getmaps.c: Likewise.
11575 * sunrpc/pm_getport.c: Likewise.
11576 * sunrpc/pmap_clnt.c: Likewise.
11577 * sunrpc/pmap_prot.c: Likewise.
11578 * sunrpc/pmap_prot2.c: Likewise.
11579 * sunrpc/pmap_rmt.c: Likewise.
11580 * sunrpc/publickey.c: Likewise.
11581 * sunrpc/rpc_cmsg.c: Likewise.
11582 * sunrpc/rpc_common.c: Likewise.
11583 * sunrpc/rpc_dtable.c: Likewise.
11584 * sunrpc/rpc_prot.c: Likewise.
11585 * sunrpc/rpc_thread.c: Likewise.
11586 * sunrpc/rtime.c: Likewise.
11587 * sunrpc/svc.c: Likewise.
11588 * sunrpc/svc_auth.c: Likewise.
11589 * sunrpc/svc_authux.c: Likewise.
11590 * sunrpc/svc_raw.c: Likewise.
11591 * sunrpc/svc_run.c: Likewise.
11592 * sunrpc/svc_simple.c: Likewise.
11593 * sunrpc/svc_tcp.c: Likewise.
11594 * sunrpc/svc_udp.c: Likewise.
11595 * sunrpc/svc_unix.c: Likewise.
11596 * sunrpc/svcauth_des.c: Likewise.
11597 * sunrpc/xcrypt.c: Likewise.
11598 * sunrpc/xdr.c: Likewise.
11599 * sunrpc/xdr_array.c: Likewise.
11600 * sunrpc/xdr_float.c: Likewise.
11601 * sunrpc/xdr_intXX_t.c: Likewise.
11602 * sunrpc/xdr_mem.c: Likewise.
11603 * sunrpc/xdr_rec.c: Likewise.
11604 * sunrpc/xdr_ref.c: Likewise.
11605 * sunrpc/xdr_sizeof.c: Likewise.
11606 * sunrpc/xdr_stdio.c: Likewise.
11607
11608 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11609
11610 [BZ #12650]
11611 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11612 * sysdeps/ia64/dl-tls.h: Likewise.
11613 * sysdeps/powerpc/dl-tls.h: Likewise.
11614 * sysdeps/s390/dl-tls.h: Likewise.
11615 * sysdeps/sh/dl-tls.h: Likewise.
11616 * sysdeps/sparc/dl-tls.h: Likewise.
11617 * sysdeps/x86_64/dl-tls.h: Likewise.
11618 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11619
11620 2011-03-14 Andreas Schwab <schwab@redhat.com>
11621
11622 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11623 rpath element also skip the following colon.
11624 (expand_dynamic_string_token): Add is_path parameter and pass
11625 down to DL_DST_REQUIRED and _dl_dst_substitute.
11626 (decompose_rpath): Call expand_dynamic_string_token with
11627 non-zero is_path. Ignore empty rpaths.
11628 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11629 with zero is_path.
11630
11631 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11632
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11634 Make cancelable.
11635
11636 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11637
11638 [BZ #12655]
11639 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11640 Patch by Filipe David Manana <fdmanana@apache.org>.
11641
11642 2011-04-07 Andreas Schwab <schwab@redhat.com>
11643
11644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11645 Maintain aligned stack.
11646 (CHECK_RSP): Remove unused macro.
11647
11648 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11649
11650 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11652
11653 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11654
11655 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11656
11657 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11658
11659 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11660
11661 [BZ #12518]
11662 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11663 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11664 * sysdeps/x86_64/memmove.c: New file.
11665 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11666 (memcpy): Renamed to ...
11667 (__new_memcpy): This.
11668 (memcpy): Provide GLIBC_2_14 memcpy.
11669 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11670 (memcpy): Provide GLIBC_2_2_5 memcpy.
11671
11672 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11673
11674 [BZ #12631]
11675 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11676
11677 2011-03-30 Andreas Schwab <schwab@redhat.com>
11678
11679 * misc/syncfs.c: New file.
11680 * misc/Makefile (routines): Add syncfs.
11681 * posix/unistd.h: Declare syncfs.
11682 * sysdeps/unix/syscalls.list: Add syncfs.
11683
11684 2011-04-01 Andreas Schwab <schwab@redhat.com>
11685
11686 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11687 open_by_handle_at.
11688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11693 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11695
11696 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11697
11698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11705
11706 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11707 sync_file_range.c with -fexceptions.
11708 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11709 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11710 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11711 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11712 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11713 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11715 sync_file_range as cancellation point
11716 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11717 now a wrapper around __call_sync_file_range with cancellation handling.
11718 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11719 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11720 function name to __call_sync_file_range.
11721 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11722 Add call_sync_file_range.
11723
11724 2011-04-01 Andreas Schwab <schwab@redhat.com>
11725
11726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11727 bits/timex.h.
11728
11729 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11730
11731 * iconv/iconv.h: Fix typo in comment.
11732 * io/fcntl.h: Likewise.
11733 * libio/stdio.h: Likewise.
11734 * posix/spawn.h: Likewise.
11735 * posix/unistd.h: Likewise.
11736 * stdlib/stdlib.h: Likewise.
11737 * time/time.h: Likewise.
11738 * wcsmbs/wchar.h: Likewise.
11739
11740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11741 open_by_handle): Add.
11742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11743 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11744 Augment a few comments.
11745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11750 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11751 open_by_handle.
11752
11753 * io/fcntl.h (AT_EMPTY_PATH): Define.
11754
11755 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11756
11757 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11758 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11759 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11760 to...
11761 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11762 * Versions.def: Add GLIBC_2.14.
11763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11764 Export.
11765
11766 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11767
11768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11769 round counter.
11770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11771
11772 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11773
11774 [BZ #12597]
11775 * string/test-strncmp.c (do_page_test): New function.
11776 (check2): Likewise.
11777 (test_main): Call check2.
11778 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11779
11780 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11781
11782 [BZ #12587]
11783 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11784 Handle cache information in CPU leaf 4.
11785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11786
11787 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11788
11789 [BZ #12583]
11790 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11791 character representation.
11792 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11793
11794 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11795
11796 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11797 END(__isnan) to END(__isnanf) to match function entry point/label
11798 EALIGN(__isnanf,...).
11799
11800 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11801
11802 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11803
11804 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11805
11806 [BZ #12510]
11807 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11808 copy from the symbol referenced in the relocation to initialize the
11809 used variable.
11810 Patch by Piotr Bury <pbury@goahead.com>.
11811 * elf/Makefile: Add rules to build and tst-unique3.
11812 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11813 * elf/tst-unique3.cc: New file.
11814 * elf/tst-unique3.h: New file.
11815 * elf/tst-unique3lib.cc: New file.
11816 * elf/tst-unique3lib2.cc: New file.
11817
11818 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11819
11820 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11821
11822 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11823 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11824 to _start.
11825
11826 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11827
11828 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11829 to-be-loaded object along a path to loader is ld.so.
11830
11831 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11832 Ulrich Drepper <drepper@gmail.com>
11833
11834 * sysdeps/x86_64/memset.S: After aligning destination, code
11835 branches to different locations depending on the value of
11836 misalignment, when multiarch is enabled. Fix this.
11837
11838 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11839
11840 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11841 Set _x86_64_preferred_memory_instruction for AMD processsors.
11842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11843 Set bit_Prefer_SSE_for_memop for AMD processors.
11844
11845 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11846
11847 * libio/fmemopen.c (fmemopen): Optimize a bit.
11848
11849 2011-03-03 Andreas Schwab <schwab@redhat.com>
11850
11851 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11852
11853 2011-03-03 Roland McGrath <roland@redhat.com>
11854
11855 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11856
11857 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11858
11859 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11860 __bzero_ultra1 instead of __memset_ultra1.
11861
11862 2011-02-23 Andreas Schwab <schwab@redhat.com>
11863 Ulrich Drepper <drepper@gmail.com>
11864
11865 [BZ #12509]
11866 * include/link.h (struct link_map): Add l_orig_initfini.
11867 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11868 returning unsuccessfully.
11869 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11870 close of a file loaded at startup, restore the original l_initfini
11871 list.
11872 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11873 list, store the pointer.
11874 * elf/Makefile ($(objpfx)noload-mem): New rule.
11875 (noload-ENV): Define.
11876 (tests): Add $(objpfx)noload-mem.
11877 * elf/noload.c: Include <memcheck.h>.
11878 (main): Call mtrace. Close all opened handles.
11879
11880 2011-02-17 Andreas Schwab <schwab@redhat.com>
11881
11882 [BZ #12454]
11883 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11884 dependencies are missing.
11885
11886 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11887
11888 Fix __if_freereq crash: Unlike the generic version which uses free,
11889 Hurd needs munmap.
11890 * sysdeps/mach/hurd/ifreq.h: New file.
11891
11892 2011-01-27 Petr Baudis <pasky@suse.cz>
11893 Ulrich Drepper <drepper@gmail.com>
11894
11895 [BZ 12445]#
11896 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11897 to extend_alloca().
11898 * stdio-common/bug23.c: New file.
11899 * stdio-common/Makefile (tests): Add bug23.
11900
11901 2010-09-28 Andreas Schwab <schwab@redhat.com>
11902 Ulrich Drepper <drepper@gmail.com>
11903
11904 [BZ #12489]
11905 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11906 before performing relro protection. At old place add assertion
11907 to make sure nothing changed.
11908
11909 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11910 Glauber de Oliveira Costa <glommer@gmail.com>
11911
11912 * elf/elf.h: Add new ARM TLS relocs.
11913
11914 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11915
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11917 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11918 cast from r3.
11919 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11920 'tests' variable.
11921 * sysdeps/wordsize-64/tst-writev.c: New file.
11922
11923 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11924
11925 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11926 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11927 insns in _dl_start to prevent a TOC reference before relocs are
11928 resolved.
11929
11930 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11931
11932 [BZ #12469]
11933 * Makeconfig: Remove RANLIB definition.
11934 * Makerules: Don't use RANLIB.
11935 * aclocal.m4: Remove ranlib test.
11936 * configure.in: No need to check for ranlib.
11937 * elf/rtld-Rules: Don't use RANLIB.
11938
11939 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11940
11941 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11942 protection macro.
11943 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11944 inclusion protection macro.
11945
11946 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11947 SIGRTMIN and SIGRTMAX and print information in that case only when
11948 SIGRTMIN is defined.
11949
11950 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11951
11952 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11953 arginfo fn returning -1.
11954
11955 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11956 and thousands string is zero terminated.
11957
11958 2011-02-03 Andreas Schwab <schwab@redhat.com>
11959
11960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11961 sysdeps/unix/sysv/linux/bits/socket.h.
11962
11963 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11964
11965 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11966 (__CPU_COUNT): Remove old macros.
11967 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11968 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11969 (__CPU_ALLOC, __CPU_FREE): Add macros.
11970 (__sched_cpualloc, __sched_cpufree): Add declarations.
11971
11972 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11973
11974 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11975 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11976 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11977 (readdhstai): Return value of addhstaiX call.
11978 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11979 (addgrbyX): Return value returned by cache_addgr.
11980 (readdgrbyname): Return value returned by addgrbyX.
11981 (readdgrbygid): Likewise.
11982 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11983 (addpwbyX): Return value returned by cache_addpw.
11984 (readdpwbyname): Return value returned by addhstbyX.
11985 (readdpwbyuid): Likewise.
11986 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11987 (addservbyX): Return value returned by cache_addserv.
11988 (readdservbyname): Return value returned by addservbyX:
11989 (readdservbyport): Likewise.
11990 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11991 (addhstbyX): Return value returned by cache_addhst.
11992 (readdhstbyname): Return value returned by addhstbyX.
11993 (readdhstbyaddr): Likewise.
11994 (readdhstbynamev6): Likewise.
11995 (readdhstbyaddrv6): Likewise.
11996 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11997 (readdinitgroups): Return value returned by addinitgroupsX.
11998 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11999 (prune_cache): Keep track of timeout value of re-added entries.
12000 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12001 * nscd/nscd.h: Adjust prototypes of readd* functions.
12002
12003 2011-02-04 Roland McGrath <roland@redhat.com>
12004
12005 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12006 (nis_stats): Likewise.
12007 * nis/nis_modify.c (nis_modify): Likewise.
12008 * nis/nis_remove.c (nis_remove): Likewise.
12009 * nis/nis_add.c (nis_add): Likewise.
12010
12011 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12012
12013 * posix/fnmatch_loop.c: Add some consts.
12014
12015 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12016
12017 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12018
12019 [BZ #12460]
12020 * config.make.in (config-cflags-novzeroupper): Define.
12021 * configure.in: Substitute libc_cv_cc_novzeroupper.
12022 * elf/Makefile (AVX-CFLAGS): Define.
12023 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12024 (CFLAGS-tst-auditmod4a.c): Likewise.
12025 (CFLAGS-tst-auditmod4b.c): Likewise.
12026 (CFLAGS-tst-auditmod6b.c): Likewise.
12027 (CFLAGS-tst-auditmod6c.c): Likewise.
12028 (CFLAGS-tst-auditmod7b.c): Likewise.
12029 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12030
12031 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12032
12033 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12034 function to the callback.
12035 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12036
12037 2011-02-02 Andreas Schwab <schwab@redhat.com>
12038
12039 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12040 of errno.
12041
12042 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12043
12044 [BZ #11724]
12045 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12046 of constructors.
12047 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12048 of destructors.
12049 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12050
12051 [BZ #11724]
12052 * elf/Makefile: Add rules to build and run new test.
12053 * elf/tst-initorder.c: New file.
12054 * elf/tst-initorder.exp: New file.
12055 * elf/tst-initordera1.c: New file.
12056 * elf/tst-initordera2.c: New file.
12057 * elf/tst-initordera3.c: New file.
12058 * elf/tst-initordera4.c: New file.
12059 * elf/tst-initorderb1.c: New file.
12060 * elf/tst-initorderb2.c: New file.
12061 * elf/tst-order-a1.c: New file.
12062 * elf/tst-order-a2.c: New file.
12063 * elf/tst-order-a3.c: New file.
12064 * elf/tst-order-a4.c: New file.
12065 * elf/tst-order-b1.c: New file.
12066 * elf/tst-order-b2.c: New file.
12067 * elf/tst-order-main.c: New file.
12068 New test case by George Gensure <werkt0@gmail.com>.
12069
12070 2010-10-01 Andreas Schwab <schwab@redhat.com>
12071
12072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12073 decoding ACE if AI_CANONIDN.
12074
12075 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12076
12077 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12078
12079 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12080
12081 * version.h (RELEASE): Bump for 2.13 release.
12082 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12083
12084 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12085
12086 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12087 MADV_NOHUGEPAGE.
12088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12090 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12094
12095 * posix/getconf.c: Update copyright year.
12096 * catgets/gencat.c: Likewise.
12097 * csu/version.c: Likewise.
12098 * debug/catchsegv.sh: Likewise.
12099 * debug/xtrace.sh: Likewise.
12100 * elf/ldconfig.c: Likewise.
12101 * elf/ldd.bash.in: Likewise.
12102 * elf/sprof.c (print_version): Likewise.
12103 * iconv/iconv_prog.c: Likewise.
12104 * iconv/iconvconfig.c: Likewise.
12105 * locale/programs/locale.c: Likewise.
12106 * locale/programs/localedef.c: Likewise.
12107 * malloc/memusage.sh: Likewise.
12108 * malloc/mtrace.pl: Likewise.
12109 * nscd/nscd.c (print_version): Likewise.
12110 * nss/getent.c: Likewise.
12111
12112 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12113 PF_CAIF, and PF_ALG.
12114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12115
12116 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12117
12118 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12119 (modules-names): Use them.
12120 (ifunc-test-modules, ifunc-pie-tests): Define.
12121 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12122 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12123 (test-extras): Likewise.
12124 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12125 $(compile-command.c).
12126 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12127 (all-built-dso): Define.
12128 (check-textrel.out, check-execstack.out): Depend on it.
12129
12130 * configure.in: Don't override --enable-multi-arch.
12131
12132 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12133
12134 [BZ #6812]
12135 * nscd/hstcache.c (tryagain): Define.
12136 (cache_addhst): Return tryagain not notfound for temporary errors.
12137 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12138 failed.
12139
12140 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12141
12142 [BZ #10563]
12143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12144 to make the syscall.
12145 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12146
12147 [BZ #12378]
12148 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12149 and fall back to matching as normal character if the string ends before
12150 the matching ']' is found. This is what POSIX requires.
12151 * posix/testfnm.c: Adjust test result.
12152 * posix/globtest.sh: Adjust test result. Add new test.
12153 * posix/tst-fnmatch.input: Likewise.
12154 * posix/tst-fnmatch2.c: Add new test.
12155
12156 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12157
12158 * elf/Makefile (check-execstack): Revert last change. Depend on
12159 check-execstack.h.
12160 (check-execstack.h): New target.
12161 (generated): Add check-execstack.h.
12162 * elf/check-execstack.c: Include "check-execstack.h".
12163 (main): Revert last change.
12164 (handle_file): Return zero if GNU_STACK is absent and
12165 DEFAULT_STACK_PERMS doesn't include PF_X.
12166
12167 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12168
12169 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12170 in child fails because the descriptor is already closed.
12171 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12172 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12173 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12174
12175 [BZ #12397]
12176 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12177 syscall.
12178
12179 [BZ #10484]
12180 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12181 temporary buffer used to handle multi lookups locally.
12182 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12183
12184 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12185
12186 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12187 loader is ld.so.
12188
12189 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12190
12191 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12192 alignment for SSE2.
12193
12194 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12195
12196 [BZ #12394]
12197 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12198 characters. When rounding increased number of integer digits recompute
12199 number of groups.
12200 * stdio-common/tst-grouping.c: New file.
12201 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12202
12203 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12204
12205 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12206 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12207
12208 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12209 void.
12210 * bits/select.h: Likewise.
12211
12212 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12213
12214 * po/ja.po: Update from translation team.
12215
12216 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12217
12218 [BZ #11155]
12219 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12220 implementation just like for lxstat, fxstatat, et al.
12221
12222 2010-12-27 Jim Meyering <meyering@redhat.com>
12223
12224 [BZ #12348]
12225 * posix/regexec.c (build_trtable): Return failure indication upon
12226 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12227
12228 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12229
12230 [BZ #12201]
12231 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12232 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12235
12236 [BZ #12207]
12237 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12238
12239 [BZ #12204]
12240 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12241 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12242
12243 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12244
12245 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12246 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12247 script has SORT_BY_INIT_PRIORITY.
12248 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12249 NO_CTORS_DTORS_SECTIONS is defined.
12250 * elf/soinit.c: Likewise.
12251 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12252 NO_CTORS_DTORS_SECTIONS is defined.
12253 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12254 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12255 * sysdeps/sh/init-first.c: Likewise.
12256 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12257
12258 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12259
12260 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12261 always use the slow path.
12262
12263 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12264
12265 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12266 similar rule which adds the sysdep directories to the header search in
12267 order to pick up the correct platform stackinfo.h.
12268 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12269 perform test if it is, otherwise return successfully without testing.
12270 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12271 DEFAULT_STACK_PERMS define in stackinfo.h.
12272 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12273 defined in stackinfo.h.
12274 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12275 DEFAULT_STACK_PERMS defined in stackinfo.h.
12276 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12277 * sysdeps/ia64/stackinfo.h: Likewise.
12278 * sysdeps/s390/stackinfo.h: Likewise.
12279 * sysdeps/sh/stackinfo.h: Likewise.
12280 * sysdeps/sparc/stackinfo.h: Likewise.
12281 * sysdeps/x86_64/stackinfo.h: Likewise.
12282 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12283 PF_X for powerpc64. Retain PF_X for powerpc32.
12284
12285 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12286
12287 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12288 accurately.
12289 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12290 GETDENTS_64BIT_ALIGNED.
12291
12292 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12293
12294 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12295
12296 2010-12-10 Andreas Schwab <schwab@redhat.com>
12297
12298 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12299 _GNU_SOURCE.
12300
12301 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12302 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12303 Remove __restrict.
12304 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12305 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12306
12307 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12308
12309 [BZ #11655]
12310 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12311 are initialized.
12312
12313 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12314
12315 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12316
12317 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12318
12319 * po/it.po: Update from translation team.
12320
12321 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12322
12323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12324 unused codes.
12325
12326 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12327
12328 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12329
12330 2010-11-24 Andreas Schwab <schwab@redhat.com>
12331
12332 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12333 specially.
12334 (gaih_getanswer_slice): Likewise.
12335
12336 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12337
12338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12339
12340 2010-05-31 Petr Baudis <pasky@suse.cz>
12341
12342 [BZ #11149]
12343 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12344 silently even in the chroot mode.
12345
12346 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12347
12348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12349 last patch a bit. Pretty printing
12350
12351 2010-05-31 Petr Baudis <pasky@suse.cz>
12352
12353 [BZ #10085]
12354 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12355 initialization of skip_initgroups_dyn.
12356
12357 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12358
12359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12361
12362 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12363
12364 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12365
12366 2010-11-11 Andreas Schwab <schwab@redhat.com>
12367
12368 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12369 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12370 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12371 ($(objpfx)tst-fnmatch-mem): New rule.
12372 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12373 * posix/tst-fnmatch.c (main): Call mtrace.
12374
12375 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12376
12377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12378 Support Intel processor model 6 and model 0x2c.
12379
12380 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12381
12382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12383 signed comparison.
12384
12385 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12386
12387 [BZ #12205]
12388 * string/test-strncasecmp.c (check_result): New function.
12389 (do_one_test): Use it.
12390 (check1): New function.
12391 (test_main): Use it.
12392 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12393 Support strcasecmp and strncasecmp.
12394
12395 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12396
12397 [BZ #12194]
12398 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12400
12401 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12402
12403 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12404 IFUNC support.
12405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12406 memset-x86-64.
12407 * sysdeps/x86_64/multiarch/bzero.S: New file.
12408 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12409 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12410 * sysdeps/x86_64/multiarch/memset.S: New file.
12411 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12413 Set bit_Prefer_SSE_for_memop for Intel processors.
12414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12415 Define.
12416 (index_Prefer_SSE_for_memop): Define.
12417 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12418
12419 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12420
12421 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12422 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12423
12424 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12425
12426 [BZ #12191]
12427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12428 (__x86_64_raw_data_cache_size_half): Likewise.
12429 (__x86_64_raw_shared_cache_size): Likewise.
12430 (__x86_64_raw_shared_cache_size_half): Likewise.
12431
12432 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12433 (__x86_64_raw_data_cache_size_half): Likewise.
12434 (__x86_64_raw_shared_cache_size): Likewise.
12435 (__x86_64_raw_shared_cache_size_half): Likewise.
12436 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12437 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12438 and __x86_64_raw_shared_cache_size_half. Round
12439 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12440 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12441 to multiple of 256 bytes.
12442
12443 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12444
12445 [BZ #12167]
12446 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12447 of inacessible symlinks. Verify result of symlink before returning it.
12448 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12449 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12450
12451 2010-10-28 Erich Ritz <erichritz@gmail.com>
12452
12453 * math/math.h (isinf): Fix typo in comment.
12454
12455 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12456
12457 * po/da.po: Update from translation team.
12458
12459 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12460
12461 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12462 is added to the list.
12463
12464 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12465 Ulrich Drepper <drepper@gmail.com>
12466
12467 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12468 the global list here. Move code to...
12469 (_dl_add_to_namespace_list): ...here. New function.
12470 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12471 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12472 * elf/dl-load.c (lose): Don't remove the element from the list.
12473 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12474 (_dl_map_object): Likewise.
12475
12476 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12477
12478 [BZ #12159]
12479 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12480 into all bytes of SSE register.
12481 Patch by Richard Li <richardpku@gmail.com>.
12482
12483 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12484
12485 [BZ #12140]
12486 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12487 perturbing.
12488
12489 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12490
12491 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12492 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12496 submachine.
12497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12498
12499 2010-10-22 Andreas Schwab <schwab@redhat.com>
12500
12501 * include/dlfcn.h (__RTLD_SECURE): Define.
12502 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12503 mode & __RTLD_SECURE instead.
12504 (open_path): Rename preloaded parameter to secure.
12505 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12506 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12507 * elf/dl-deps.c (openaux): Likewise.
12508 * elf/rtld.c (struct map_args): Remove is_preloaded.
12509 (map_doit): Don't use it.
12510 (dl_main): Likewise.
12511 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12512 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12513
12514 2010-09-09 Andreas Schwab <schwab@redhat.com>
12515
12516 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12517 (sysd-rules-targets): Remove duplicates.
12518 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12519 rtld-%.$o dependency.
12520
12521 2010-10-18 Andreas Schwab <schwab@redhat.com>
12522
12523 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12524 _dl_map_object do it.
12525
12526 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12527
12528 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12529 fast fma builtins, define the macros in the C99 standard.
12530 (FP_FAST_FMAF): Likewise.
12531 (FP_FAST_FMAL): Likewise.
12532 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12533
12534 * bits/mathdef.h: Update copyright year.
12535 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12536
12537 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12538
12539 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12540 builtins, define the macros in the C99 standard.
12541 (FP_FAST_FMAF): Likewise.
12542 (FP_FAST_FMAL): Likewise.
12543 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12544 multiply/add.
12545 (FP_FAST_FMAF): Likewise.
12546
12547 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12548
12549 [BZ #3268]
12550 * math/libm-test.inc (fma_test): Some new testcases.
12551 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12553 y and infinite z. Do multiplication by C already in long double.
12554 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12556 y and infinite z. Do bitwise or of inexact bit into u.d.
12557 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12558 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12559 * sysdeps/i386/fpu/s_fma.S: Removed.
12560 * sysdeps/i386/fpu/s_fmal.S: Removed.
12561
12562 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12563
12564 [BZ #3268]
12565 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12567 computation is not scheduled after fetestexcept. Fix value
12568 of minimum denormal long double.
12569
12570 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12571
12572 [BZ #3268]
12573 * math/libm-test.inc (fma_test): Add some more tests.
12574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12575 correctly.
12576
12577 2010-10-15 Andreas Schwab <schwab@redhat.com>
12578
12579 * scripts/data/localplt-s390-linux-gnu.data: New file.
12580 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12581
12582 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12583
12584 [BZ #3268]
12585 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12586 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12587 instead of dbl-64.
12588 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12589 inlines.
12590 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12592 if one of x and y is very large and the other is subnormal.
12593 * sysdeps/s390/fpu/s_fmaf.c: New file.
12594 * sysdeps/s390/fpu/s_fma.c: New file.
12595 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12596 * sysdeps/powerpc/fpu/s_fma.S: New file.
12597 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12598 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12599 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12600
12601 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12602
12603 [BZ #3268]
12604 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12605 fma tests.
12606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12607 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12608 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12609 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12610 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12611 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12612 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12613
12614 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12615
12616 [BZ #12078]
12617 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12618 * posix/bug-regex31.input: Add test case.
12619
12620 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12621
12622 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12623 * posix/bug-regex31.input: New file.
12624
12625 [BZ #12078]
12626 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12627 (parse_sub_exp): Fix last change, use postorder.
12628
12629 * posix/bug-regex31.c: New file.
12630 * posix/Makefile: Add rules to build and run bug-regex31.
12631
12632 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12633
12634 [BZ #12078]
12635 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12636
12637 [BZ #12108]
12638 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12639 to have entries in sys_siglist.
12640
12641 [BZ #12093]
12642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12643 be NULL.
12644
12645 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12646
12647 [BZ #3268]
12648 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12649 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12650 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12651 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12653 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12654 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12655 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12656 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12657 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12658 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12659 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12661 * math/ftestexcept.c (fetestexcept): Likewise.
12662 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12663 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12664 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12665 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12666 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12667 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12669
12670 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12671
12672 [BZ #12107]
12673 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12674 newline.
12675
12676 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12677
12678 * string/bug-strstr1.c: New file.
12679 * string/Makefile: Add rules to build and run bug-strstr1.
12680
12681 2010-10-05 Eric Blake <eblake@redhat.com>
12682
12683 [BZ #12092]
12684 * string/str-two-way.h (two_way_long_needle): Always clear memory
12685 when skipping input due to the shift table.
12686
12687 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12688
12689 [BZ #12005]
12690 * malloc/mcheck.c: Handle large requests.
12691
12692 [BZ #12077]
12693 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12694 for strncmp and strncasecmp.
12695 * string/stratcliff.c: Add tests for strcmp and strncmp.
12696 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12697
12698 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12699
12700 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12701 __set_fpscr.
12702
12703 2010-09-30 Andreas Jaeger <aj@suse.de>
12704
12705 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12706 (CGROUP_SUPER_MAGIC): Define.
12707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12708 Handle btrfs and cgroup file systems.
12709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12710 Likewise.
12711
12712 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12713
12714 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12715 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12716
12717 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12718
12719 [BZ #12067]
12720 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12721 trying to locate the ELF header.
12722
12723 2010-09-27 Andreas Schwab <schwab@redhat.com>
12724
12725 [BZ #11611]
12726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12727 Mask out sign-bit copies when constructing f_fsid.
12728
12729 2010-09-24 Petr Baudis <pasky@suse.cz>
12730
12731 * debug/stack_chk_fail_local.c: Add missing licence exception.
12732 * debug/warning-nop.c: Likewise.
12733
12734 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12735
12736 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12737 implementing getdents64 using getdents syscall, set d_type if
12738 __ASSUME_GETDENTS32_D_TYPE.
12739
12740 2010-09-16 Andreas Schwab <schwab@redhat.com>
12741
12742 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12743 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12744
12745 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12746
12747 [BZ #12037]
12748 * posix/unistd.h: Undo change of feature selection for ftruncate from
12749 2010-01-11.
12750
12751 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12752
12753 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12754 detection.
12755
12756 2010-09-20 Andreas Schwab <schwab@redhat.com>
12757
12758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12759 fanotify_mark.
12760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12761
12762 2010-09-14 Andreas Schwab <schwab@redhat.com>
12763
12764 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12765 variables after CHECK_SP call.
12766 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12767
12768 2010-09-13 Andreas Schwab <schwab@redhat.com>
12769 Ulrich Drepper <drepper@redhat.com>
12770
12771 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12772 re-relocationg ld.so.
12773 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12774 _dl_init_paths call.
12775 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12776 here anymore.
12777
12778 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12779
12780 * resolv/res_init.c (__res_vinit): Count the default server we added.
12781
12782 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12783 Ulrich Drepper <drepper@redhat.com>
12784
12785 [BZ #11968]
12786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12787 (____longjmp_chk): Use %ebx for saving value across system call.
12788 Add unwind info.
12789
12790 2010-09-06 Andreas Schwab <schwab@redhat.com>
12791
12792 * manual/Makefile: Don't mix pattern rules with normal rules.
12793
12794 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12795
12796 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12797 operation.
12798 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12799 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12800 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12801 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12803 Likewise.
12804
12805 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12806
12807 [BZ #11979]
12808 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12809 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12810
12811 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12812
12813 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12814 * sysdeps/x86_64/addmul_1.S: Likewise.
12815 * sysdeps/x86_64/lshift.S: Likewise.
12816 * sysdeps/x86_64/mul_1.S: Likewise.
12817 * sysdeps/x86_64/rshift.S: Likewise.
12818 * sysdeps/x86_64/sub_n.S: Likewise.
12819 * sysdeps/x86_64/submul_1.S: Likewise.
12820
12821 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12822
12823 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12824 Define __sched_param instead of SCHED_* and sched_param when
12825 <bits/sched.h> is included with __need_schedparam defined.
12826 * bits/sched.h [__need_schedparam]
12827 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12828 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12829 (__defined_schedparam): Define to 1.
12830 (__sched_param): New structure, identical to sched_param.
12831 (__need_schedparam): Undefine.
12832
12833 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12834
12835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12836 (epoll_create1): Declare.
12837
12838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12839
12840 2010-08-31 Andreas Schwab <schwab@redhat.com>
12841
12842 [BZ #7066]
12843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12844 shifting retval into place.
12845
12846 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12847
12848 * nis/rpcsvc/nis.h: Update copyright notice.
12849 * nis/rpcsvc/nis.x: Likewise.
12850 * nis/rpcsvc/nis_callback.h: Likewise.
12851 * nis/rpcsvc/nis_callback.x: Likewise.
12852 * nis/rpcsvc/nis_object.x: Likewise.
12853 * nis/rpcsvc/nis_tags.h: Likewise.
12854 * nis/rpcsvc/yp.h: Likewise.
12855 * nis/rpcsvc/yp.x: Likewise.
12856 * nis/rpcsvc/ypupd.h: Likewise.
12857 * nis/yp_xdr.c: Likewise.
12858 * nis/ypupdate_xdr.c: Likewise.
12859
12860 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12861 mainly the body of pmap_getport. Add parameters to specify timeouts.
12862 (pmap_getport): Use __libc_rpc_getport.
12863 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12864 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12865 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12866
12867 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12868
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12870 fanotify_mark.
12871
12872 2010-08-27 Roland McGrath <roland@redhat.com>
12873
12874 * sysdeps/i386/i686/multiarch/Makefile
12875 (CFLAGS-varshift.c): New variable.
12876
12877 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12878
12879 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12880 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12881
12882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12883
12884 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12885
12886 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12887
12888 * sysdeps/x86_64/strlen.S: Unroll the loop.
12889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12890 strlen-sse2 strlen-sse2-bsf.
12891 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12892 __strlen_no_bsf if bit_Slow_BSF is set.
12893 (__strlen_sse42): Removed.
12894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12895 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12896
12897 2010-08-25 Roland McGrath <roland@redhat.com>
12898
12899 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12900 * sysdeps/x86_64/multiarch/varshift.c: New file.
12901 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12902 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12903 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12905
12906 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12907
12908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12909 strlen-sse2 strlen-sse2-bsf.
12910 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12911 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12912 (__strlen_sse2): Removed.
12913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12916 bit_Slow_BSF for Atom.
12917 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12918 (index_Slow_BSF): Define.
12919 (HAS_SLOW_BSF): Define.
12920
12921 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12922
12923 [BZ #10851]
12924 * resolv/res_init.c (__res_vinit): When no server address at all
12925 is given default to loopback.
12926
12927 2010-08-24 Roland McGrath <roland@redhat.com>
12928
12929 * configure.in: Remove config-name.h generation.
12930 * configure: Regenerated.
12931 * config-name.in: File removed.
12932 * scripts/config-uname.sh: New file.
12933 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12934 ($(objdir)config-name.h): New target.
12935
12936 * sunrpc/rpc_parse.h: Avoid nested comment.
12937
12938 2010-08-24 Richard Henderson <rth@redhat.com>
12939 Ulrich Drepper <drepper@redhat.com>
12940 H.J. Lu <hongjiu.lu@intel.com>
12941
12942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12944 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12945 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12946 _mm_alignr_epi8 with _mm_loadu_si128.
12947 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12948 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12949 (__m128i_shift_right): Removed.
12950 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12951 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12952 * sysdeps/x86_64/multiarch/varshift.h: New file.
12953 * sysdeps/x86_64/multiarch/varshift.S: New file.
12954
12955 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12956
12957 * configure.in: Move assembler checks to before sysdep dir checking.
12958
12959 2010-08-20 Petr Baudis <pasky@suse.cz>
12960
12961 * LICENSES: Sync the sunrpc license.
12962
12963 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12964
12965 * sunrpc/auth_des.c: Update copyright notice once again.
12966 * sunrpc/auth_none.c: Likewise.
12967 * sunrpc/auth_unix.c: Likewise.
12968 * sunrpc/authdes_prot.c: Likewise.
12969 * sunrpc/authuxprot.c: Likewise.
12970 * sunrpc/bindrsvprt.c: Likewise.
12971 * sunrpc/clnt_gen.c: Likewise.
12972 * sunrpc/clnt_perr.c: Likewise.
12973 * sunrpc/clnt_raw.c: Likewise.
12974 * sunrpc/clnt_simp.c: Likewise.
12975 * sunrpc/clnt_tcp.c: Likewise.
12976 * sunrpc/clnt_udp.c: Likewise.
12977 * sunrpc/clnt_unix.c: Likewise.
12978 * sunrpc/des_crypt.c: Likewise.
12979 * sunrpc/des_soft.c: Likewise.
12980 * sunrpc/get_myaddr.c: Likewise.
12981 * sunrpc/getrpcport.c: Likewise.
12982 * sunrpc/key_call.c: Likewise.
12983 * sunrpc/key_prot.c: Likewise.
12984 * sunrpc/openchild.c: Likewise.
12985 * sunrpc/pm_getmaps.c: Likewise.
12986 * sunrpc/pm_getport.c: Likewise.
12987 * sunrpc/pmap_clnt.c: Likewise.
12988 * sunrpc/pmap_prot.c: Likewise.
12989 * sunrpc/pmap_prot2.c: Likewise.
12990 * sunrpc/pmap_rmt.c: Likewise.
12991 * sunrpc/rpc/auth.h: Likewise.
12992 * sunrpc/rpc/auth_unix.h: Likewise.
12993 * sunrpc/rpc/clnt.h: Likewise.
12994 * sunrpc/rpc/des_crypt.h: Likewise.
12995 * sunrpc/rpc/key_prot.h: Likewise.
12996 * sunrpc/rpc/netdb.h: Likewise.
12997 * sunrpc/rpc/pmap_clnt.h: Likewise.
12998 * sunrpc/rpc/pmap_prot.h: Likewise.
12999 * sunrpc/rpc/pmap_rmt.h: Likewise.
13000 * sunrpc/rpc/rpc.h: Likewise.
13001 * sunrpc/rpc/rpc_des.h: Likewise.
13002 * sunrpc/rpc/rpc_msg.h: Likewise.
13003 * sunrpc/rpc/svc.h: Likewise.
13004 * sunrpc/rpc/svc_auth.h: Likewise.
13005 * sunrpc/rpc/types.h: Likewise.
13006 * sunrpc/rpc/xdr.h: Likewise.
13007 * sunrpc/rpc_clntout.c: Likewise.
13008 * sunrpc/rpc_cmsg.c: Likewise.
13009 * sunrpc/rpc_common.c: Likewise.
13010 * sunrpc/rpc_cout.c: Likewise.
13011 * sunrpc/rpc_dtable.c: Likewise.
13012 * sunrpc/rpc_hout.c: Likewise.
13013 * sunrpc/rpc_main.c: Likewise.
13014 * sunrpc/rpc_parse.c: Likewise.
13015 * sunrpc/rpc_parse.h: Likewise.
13016 * sunrpc/rpc_prot.c: Likewise.
13017 * sunrpc/rpc_sample.c: Likewise.
13018 * sunrpc/rpc_scan.c: Likewise.
13019 * sunrpc/rpc_scan.h: Likewise.
13020 * sunrpc/rpc_svcout.c: Likewise.
13021 * sunrpc/rpc_tblout.c: Likewise.
13022 * sunrpc/rpc_util.c: Likewise.
13023 * sunrpc/rpc_util.h: Likewise.
13024 * sunrpc/rpcinfo.c: Likewise.
13025 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13026 * sunrpc/rpcsvc/key_prot.x: Likewise.
13027 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13028 * sunrpc/rpcsvc/mount.x: Likewise.
13029 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13030 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13031 * sunrpc/rpcsvc/rex.x: Likewise.
13032 * sunrpc/rpcsvc/rstat.x: Likewise.
13033 * sunrpc/rpcsvc/rusers.x: Likewise.
13034 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13035 * sunrpc/rpcsvc/spray.x: Likewise.
13036 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13037 * sunrpc/rtime.c: Likewise.
13038 * sunrpc/svc.c: Likewise.
13039 * sunrpc/svc_auth.c: Likewise.
13040 * sunrpc/svc_authux.c: Likewise.
13041 * sunrpc/svc_raw.c: Likewise.
13042 * sunrpc/svc_run.c: Likewise.
13043 * sunrpc/svc_simple.c: Likewise.
13044 * sunrpc/svc_tcp.c: Likewise.
13045 * sunrpc/svc_udp.c: Likewise.
13046 * sunrpc/svc_unix.c: Likewise.
13047 * sunrpc/svcauth_des.c: Likewise.
13048 * sunrpc/xcrypt.c: Likewise.
13049 * sunrpc/xdr.c: Likewise.
13050 * sunrpc/xdr_array.c: Likewise.
13051 * sunrpc/xdr_float.c: Likewise.
13052 * sunrpc/xdr_mem.c: Likewise.
13053 * sunrpc/xdr_rec.c: Likewise.
13054 * sunrpc/xdr_ref.c: Likewise.
13055 * sunrpc/xdr_sizeof.c: Likewise.
13056 * sunrpc/xdr_stdio.c: Likewise.
13057
13058 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13059 handling.
13060
13061 2010-08-19 Andreas Schwab <schwab@redhat.com>
13062
13063 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13064
13065 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13066
13067 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13068 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13070 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13071 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13072 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13073 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13074 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13076 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13077 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13079 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13080 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13081
13082 2010-07-26 Anton Blanchard <anton@samba.org>
13083
13084 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13085 * malloc/arena.c (heap_trim): Likewise.
13086
13087 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13088
13089 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13090 here. Not...
13091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13092 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13093
13094 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13095
13096 * sysdeps/i386/elf/Makefile: New file.
13097
13098 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13099
13100 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13101 from fanotify_init.
13102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13104
13105 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13106
13107 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13108 of strncasecmp_l.
13109 * sysdeps/multiarch/strcmp.S: Likewise.
13110
13111 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13112
13113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13114 strncase_l-nonascii.
13115 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13116 Add strncase_l-ssse3.
13117 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13118 * sysdeps/x86_64/strcmp.S: Likewise.
13119 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13120 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13121 * sysdeps/x86_64/strncase.S: New file.
13122 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13123 * sysdeps/x86_64/strncase_l.S: New file.
13124 * string/Makefile (strop-tests): Add strncasecmp.
13125 * string/test-strncasecmp.c: New file.
13126
13127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13128 warning.
13129
13130 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13132
13133 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13134
13135 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13136
13137 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13138
13139 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13142
13143 2010-05-01 Alan Modra <amodra@gmail.com>
13144
13145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13146 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13147 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13148 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13149 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13150 tidying. Don't tail-call __sigjmp_save for static lib.
13151 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13152 save location.
13153 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13154 (CALL_MCOUNT): Add eh info, and nop after bl.
13155 (TAIL_CALL_SYSCALL_ERROR): New macro.
13156 (PSEUDO_RET): Use it.
13157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13158 Correct save location of integer regs and cr.
13159 (_dl_profile_resolve): Correct cr save location. Delete nops
13160 after bl when SHARED. Reduce cfi size a little by better
13161 placement of cfi directives.
13162 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13163 make a stack frame. Instead use parm save area as a temp.
13164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13165 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13167 Don't make a stack frame for parent, use parm save area.
13168 Increase child stack frame to 112 bytes. Don't save unused reg,
13169 and adjust reg usage. Set up cfi on error recovery and
13170 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13172 (__makecontext): Add dummy nop after jump to exit.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13174 Use correct parm save area and cr save, reduce stack frame.
13175 Correct cfi for possible PSEUDO_RET frame setup.
13176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13177 Branch to local label emitted by PSEUDO_RET rather than
13178 __syscall_error.
13179
13180 2010-08-12 Andreas Schwab <schwab@redhat.com>
13181
13182 [BZ #11904]
13183 * locale/programs/locale.c (print_assignment): New function.
13184 (show_locale_vars): Use it.
13185
13186 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13187
13188 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13189 field.
13190 (struct statfs64): Likewise.
13191 (_STATFS_F_FLAGS): Define.
13192 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13194 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13195 (ST_VALID): Define locally.
13196 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13197 __statvfs_getflags, use the provided value.
13198 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13199 __ASSUME_STATFS_F_FLAGS.
13200
13201 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13202
13203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13204 Add sys/fanotify.h.
13205 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13206 fanotify_mask for GLIBC_2.13.
13207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13208 fanotify_init and fanotify_mark.
13209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13210 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13211
13212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13213 Add prlimit.
13214 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13215 prlimit64 for GLIBC_2.13.
13216 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13217 prlimit64.
13218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13219 syscall.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13222 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13223 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13225 add prlimit alias.
13226 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13227
13228 [BZ #11903]
13229 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13230 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13231
13232 * nss/Makefile: Add rules to build and run tst-nss-test1.
13233 * shlib-versions: Add entry for libnss_test1.
13234 * nss/nss_test1.c: New file.
13235 * nss/tst-nss-test1.c: New file.
13236
13237 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13238 (__nss_configure_lookup): Set appropriate entry in
13239 __nss_configure_lookup to true.
13240 * nss/nsswitch.h: Define enum with indeces of databases in
13241 databases and __nss_database_custom arrays. Declare
13242 __nss_database_custom.
13243 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13244 to avoid using nscd when custom rules are installed.
13245 * nss/getXXbyYY_r.c: Likewise.
13246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13247
13248 * nss/nss_files/files-parse.c: Whitespace fixes.
13249
13250 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13251
13252 [BZ #11883]
13253 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13254 * posix/fnmatch_loop.c: Likewise.
13255
13256 2010-07-17 Andi Kleen <ak@linux.intel.com>
13257
13258 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13259 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13260 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13261 * Versions.def [GLIBC_2.13]: Add.
13262
13263 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13264
13265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13266 Also fail if tpwd after pwuid call is NULL.
13267
13268 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13269
13270 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13271 when converting to ms.
13272
13273 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13274
13275 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13276 EOPNOTSUPP errors with ENOTTY.
13277 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13278 EOPNOTSUPP errors with ENOTTY.
13279
13280 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13281
13282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13283 Add strcasecmp_l-ssse3.
13284 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13285 strcasecmp.
13286 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13289
13290 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13291
13292 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13293
13294 * string/Makefile (strop-tests): Add strcasecmp.
13295 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13296 strcasecmp_l-nonascii.
13297 (gen-as-const-headers): Add locale-defines.sym.
13298 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13299 * sysdeps/x86_64/strcasecmp.S: New file.
13300 * sysdeps/x86_64/strcasecmp_l.S: New file.
13301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13302 * sysdeps/x86_64/locale-defines.sym: New file.
13303 * string/test-strcasecmp.c: New file.
13304
13305 * string/test-strcasestr.c: Test both ends of the range of characters.
13306 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13307
13308 2010-07-29 Roland McGrath <roland@redhat.com>
13309
13310 [BZ #11856]
13311 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13312
13313 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13314
13315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13316 for ld.so.
13317
13318 2010-07-27 Andreas Schwab <schwab@redhat.com>
13319
13320 * manual/memory.texi (Malloc Tunable Parameters): Document
13321 M_PERTURB.
13322
13323 2010-07-26 Roland McGrath <roland@redhat.com>
13324
13325 [BZ #11840]
13326 * configure.in (-fgnu89-inline check): Set and substitute
13327 gnu89_inline, not libc_cv_gnu89_inline.
13328 * configure: Regenerated.
13329 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13330
13331 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13332
13333 * string/test-strnlen.c: New file.
13334 * string/Makefile (strop-tests): Add strnlen.
13335 * string/tester.c (test_strnlen): Add a few more test cases.
13336 * string/tst-strlen.c: Better error reporting.
13337
13338 * sysdeps/x86_64/strnlen.S: New file.
13339
13340 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13341
13342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13343 lower-latency instructions.
13344
13345 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13346
13347 * string/test-strcasestr.c: New file.
13348 * string/test-strstr.c: New file.
13349 * string/Makefile (strop-tests): Add strstr and strcasestr.
13350 * string/str-two-way.h: Don't undefine MAX.
13351 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13352
13353 2010-07-21 Andreas Schwab <schwab@redhat.com>
13354
13355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13356 strcasestr-nonascii.
13357 (CFLAGS-strcasestr-nonascii.c): Define.
13358 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13359 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13360 Remove unused attribute.
13361
13362 2010-07-20 Roland McGrath <roland@redhat.com>
13363
13364 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13365 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13366 ld.so.cache was broken. With it, there is no way to disable dsocaps
13367 like LD_HWCAP_MASK can disable hwcaps.
13368
13369 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13370
13371 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13372
13373 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13374
13375 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13376 call in strcasestr.
13377 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13378 __strcasestr_sse42_nonascii.
13379 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13380 strcasestr-nonascii.c.
13381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13382
13383 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13384
13385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13387 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13389
13390 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13391
13392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13393 fcntl.
13394
13395 2010-07-06 Andreas Schwab <schwab@redhat.com>
13396
13397 [BZ #11577]
13398 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13399 dl_signal_cerror.
13400
13401 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13402
13403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13404 _PC_PIPE_BUF using F_GETPIPE_SZ.
13405
13406 2010-07-05 Roland McGrath <roland@redhat.com>
13407
13408 * manual/arith.texi (Rounding Functions): Fix rint description
13409 implicit in round description.
13410
13411 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13412
13413 * elf/Makefile: Fix linking for a few tests to make recent linker
13414 happy.
13415
13416 2010-06-30 Andreas Schwab <schwab@redhat.com>
13417
13418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13419 $(common-objpfx)libc_nonshared.a.
13420
13421 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13422
13423 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13424 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13425 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13426 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13427 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13428 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13429 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13445 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13446 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13447 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13448 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13449 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13450 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13451 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13452 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13453 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13454 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13455 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13456 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13471
13472 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13473
13474 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13475 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13476 * string/memmove.c (memmove): Renamed to ...
13477 (MEMMOVE): ...this. Default to memmove.
13478 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13479 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13480 (END_CHK): Define.
13481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13482 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13483 mempcpy-ssse3-back memmove-ssse3-back.
13484 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13487 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13488 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13489 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13490 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13491 * sysdeps/x86_64/multiarch/memmove.c: New file.
13492 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13493 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13494 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13495 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13496 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13498 Define.
13499 (index_Fast_Copy_Backward): Define.
13500 (HAS_ARCH_FEATURE): Define.
13501 (HAS_FAST_REP_STRING): Define.
13502 (HAS_FAST_COPY_BACKWARD): Define.
13503
13504 2010-06-21 Andreas Schwab <schwab@redhat.com>
13505
13506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13507 Restore proper fallback handling.
13508
13509 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13510
13511 [BZ #11701]
13512 * posix/group_member.c (__group_member): Correct checking loop.
13513
13514 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13515 OOM in getpwuid_r correctly. Return error number when the caller
13516 should return, otherwise -1.
13517 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13518 call returning > 0 value.
13519 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13520
13521 2010-06-07 Andreas Schwab <schwab@redhat.com>
13522
13523 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13524 libc_nonshared.a from targets in modules-names.
13525
13526 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13527
13528 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13529 requires it.
13530
13531 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13532
13533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13535 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13537
13538 2010-06-02 Andreas Schwab <schwab@redhat.com>
13539
13540 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13541
13542 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13543
13544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13545 and F_GETPIPE_SZ.
13546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13551 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13552
13553 2010-06-14 Roland McGrath <roland@redhat.com>
13554
13555 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13556
13557 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13558
13559 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13560 __REDIRECT followed by __THROW.
13561 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13562 * posix/getopt.h (getopt): Likewise.
13563
13564 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13565
13566 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13567 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13568 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13569 in AT_FLAGS.
13570 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13571 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13572
13573 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13574
13575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13576
13577 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13578
13579 [BZ #11640]
13580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13581 Properly check family and model.
13582
13583 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13584
13585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13586
13587 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13588
13589 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13590
13591 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13592
13593 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13594 symbol reference.
13595
13596 2010-05-19 Andreas Schwab <schwab@redhat.com>
13597
13598 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13599 symbol reference.
13600
13601 2010-05-21 Andreas Schwab <schwab@redhat.com>
13602
13603 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13604 and internal_recvmmsg.
13605 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13606 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13607 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13608 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13609
13610 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13611 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13612 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13613
13614 2010-05-20 Andreas Schwab <schwab@redhat.com>
13615
13616 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13617
13618 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13619
13620 POWER7 optimizations.
13621 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13622 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13623
13624 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13625
13626 * version.h: Update for 2.13 development version.
13627
13628 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13629
13630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13631 exceptions. Return 0.
13632
13633 2010-05-07 Roland McGrath <roland@redhat.com>
13634
13635 * elf/ldconfig.c (main): Add a const.
13636
13637 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13638
13639 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13640 (args_options): Add no-idn option.
13641 (ahosts_keys_int): Add idn_flags to ai_flags.
13642 (parse_option): Handle 'i' option to clear idn_flags.
13643
13644 * malloc/malloc.c (_int_free): Possible race in the most recently
13645 added check. Only act on the data if no current modification
13646 happened.
13647
13648 See ChangeLog.17 for earlier changes.
This page took 0.754575 seconds and 5 git commands to generate.