]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
11ca6b7073f30e7d9ceaa9517b5fd2371b39ef2e
[thirdparty/glibc.git] / ChangeLog
1 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2
3 [BZ #3906]
4 * bits/in.h (IPV6_PKTINFO): Define new macro.
5 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6
7 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 [BZ #13954]
10 [BZ #13955]
11 [BZ #13956]
12 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18 * math/libm-test.inc (logb_test) : Additional logb tests.
19
20 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21 Andreas Jaeger <aj@suse.de>
22
23 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24 * configure: Regenerated.
25 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26 * config.make.in (link-obsolete-rpc): New substituted variable.
27 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30 (shared-only-routines): Don't set it under [link-obsolete-rpc],
31 so that libc.a contains the symbols.
32 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34 * sunrpc/auth_none.c: Likewise.
35 * sunrpc/auth_unix.c: Likewise.
36 * sunrpc/authdes_prot.c: Likewise.
37 * sunrpc/authuxprot.c: Likewise.
38 * sunrpc/clnt_gen.c: Likewise.
39 * sunrpc/clnt_perr.c: Likewise.
40 * sunrpc/clnt_raw.c: Likewise.
41 * sunrpc/clnt_simp.c: Likewise.
42 * sunrpc/clnt_tcp.c: Likewise.
43 * sunrpc/clnt_udp.c: Likewise.
44 * sunrpc/clnt_unix.c: Likewise.
45 * sunrpc/des_crypt.c: Likewise.
46 * sunrpc/des_soft.c: Likewise.
47 * sunrpc/get_myaddr.c: Likewise.
48 * sunrpc/key_call.c: Likewise.
49 * sunrpc/key_prot.c: Likewise.
50 * sunrpc/netname.c: Likewise.
51 * sunrpc/pm_getmaps.c: Likewise.
52 * sunrpc/pm_getport.c: Likewise.
53 * sunrpc/pmap_clnt.c: Likewise.
54 * sunrpc/pmap_prot.c: Likewise.
55 * sunrpc/pmap_prot2.c: Likewise.
56 * sunrpc/pmap_rmt.c: Likewise.
57 * sunrpc/publickey.c: Likewise.
58 * sunrpc/rpc_cmsg.c: Likewise.
59 * sunrpc/rpc_common.c: Likewise.
60 * sunrpc/rpc_dtable.c: Likewise.
61 * sunrpc/rpc_prot.c: Likewise.
62 * sunrpc/rpc_thread.c: Likewise.
63 * sunrpc/rtime.c: Likewise.
64 * sunrpc/svc.c: Likewise.
65 * sunrpc/svc_auth.c: Likewise.
66 * sunrpc/svc_raw.c: Likewise.
67 * sunrpc/svc_run.c: Likewise.
68 * sunrpc/svc_tcp.c: Likewise.
69 * sunrpc/svc_udp.c: Likewise.
70 * sunrpc/svc_unix.c: Likewise.
71 * sunrpc/svcauth_des.c: Likewise.
72 * sunrpc/xcrypt.c: Likewise.
73 * sunrpc/xdr.c: Likewise.
74 * sunrpc/xdr_array.c: Likewise.
75 * sunrpc/xdr_float.c: Likewise.
76 * sunrpc/xdr_intXX_t.c: Likewise.
77 * sunrpc/xdr_mem.c: Likewise.
78 * sunrpc/xdr_rec.c: Likewise.
79 * sunrpc/xdr_ref.c: Likewise.
80 * sunrpc/xdr_sizeof.c: Likewise.
81 * sunrpc/xdr_stdio.c: Likewise.
82
83 2012-05-10 Roland McGrath <roland@hack.frob.com>
84
85 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
86 change. Update copyright years.
87
88 2012-05-10 Joseph Myers <joseph@codesourcery.com>
89
90 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
91
92 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
93 Joseph Myers <joseph@codesourcery.com>
94 Paul Pluzhnikov <ppluzhnikov@google.com>
95
96 [BZ #14012]
97 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
98 requiring rpcgen.
99 [cross-compiling] (extra-libs): Likewise.
100 [cross-compiling] (extra-libs-others): Likewise.
101 [cross-compiling] (librpcsvc-routines): Likewise.
102 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
103 [cross-compiling] (omit-deps): Likewise.
104 (sunrpc-CPPFLAGS): New variable.
105 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
106 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
107 (cross-rpcgen-objs): New variable.
108 (extra-objs): Append $(cross-rpcgen-objs).
109 ($(cross-rpcgen-objs)): New rule.
110 ($(objpfx)cross-rpcgen): Likewise.
111 (rpcgen-cmd): Define to use $(built-program-file). Expand
112 comment.
113 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
114 ($(objpfx)x%.stmp): Likewise.
115 * sunrpc/proto.h [IS_IN_build] (_): Define.
116 [IS_IN_build] (_libc_intl_domainname): Likewise.
117
118 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
119
120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
121 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
122 and R_X86_64_TPOFF64.
123
124 2012-05-10 Joseph Myers <joseph@codesourcery.com>
125
126 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
127 sysdeps/unix/sysv/syscalls.list.
128 (stime): Likewise.
129 (utime): Likewise.
130 * sysdeps/unix/sysv/syscalls.list: Remove file.
131
132 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
133
134 [BZ #3440]
135 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
136 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
137 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
138 (__LC_IDENTIFICATION): Make these macros useful in #if
139 expressions, as required by C99.
140
141 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
142
143 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
144 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
145 after this.
146
147 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
148
149 * stdlib/longlong.h: Updated from GCC.
150
151 2012-05-09 Andreas Jaeger <aj@suse.de>
152
153 * nscd/nscd.c (run_modes): Make named enum, reorder so that
154 default is first entry.
155 (run_mode): Set type.
156 (main): Remove informal message about syslog.
157 (options): Fix typo.
158
159 [BZ #14053]
160 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
161 to asm.
162 (lrint): Likewise.
163 (llrintf): Likewise.
164 (llrint): Likewise.
165 (rint): Likewise.
166 (rintf): Likewise.
167 (nearbyint): Likewise.
168 (nearbyintf): Likewise.
169
170 2012-05-09 Andreas Jaeger <aj@suse.de>
171 Pedro Alves <palves@redhat.com>
172
173 * nscd/nscd.c (run_mode): Use enum.
174 (main): Cleanup coding style issue.
175
176 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
177 Andreas Jaeger <aj@suse.de>
178
179 * nscd/nscd.c (go_background): Replaced with...
180 (run_mode): ... this.
181 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
182 (options): Add -F --foreground.
183 (main): Implement it.
184 (parse_opt): Parse it.
185
186 2012-05-09 Andreas Jaeger <aj@suse.de>
187
188 [BZ #14083]
189 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
190 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
191 -Wconversion warning.
192 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
193 Likewise.
194
195 2012-05-09 Joseph Myers <joseph@codesourcery.com>
196
197 * conform/data/locale.h-data (NULL): Use macro-constant. Require
198 == 0.
199 (LC_ALL): Use macro-int-constant.
200 (LC_COLLATE): Likewise.
201 (LC_CTYPE): Likewise.
202 (LC_MESSAGES): Likewise.
203 (LC_MONETARY): Likewise.
204 (LC_NUMERIC): Likewise.
205 (LC_TIME): Likewise.
206 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
207 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
209 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
210 Specify type.
211 [C99-based standards] (float_t): Expect type.
212 [C99-based standards] (double_t): Expect type.
213 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
214 type.
215 [C99-based standards] (HUGE_VALL): Likewise.
216 [C99-based standards] (INFINITY): Likewise.
217 [C99-based standards] (NAN): Likewise.
218 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
219 [C99-based standards] (FP_NAN): Likewise.
220 [C99-based standards] (FP_NORMAL): Likewise.
221 [C99-based standards] (FP_SUBNORMAL): Likewise.
222 [C99-based standards] (FP_ZERO): Likewise.
223 [C99-based standards] (FP_FAST_FMA): Use
224 optional-macro-int-constant. Specify type. Require == 1.
225 [C99-based standards] (FP_FAST_FMAF): Likewise.
226 [C99-based standards] (FP_FAST_FMAL): Likewise.
227 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
228 [C99-based standards] (FP_ILOGBNAN): Likewise.
229 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
230 Specify type.
231 [C99-based standards] (MATH_ERREXCEPT): Likewise.
232 [C99-based standards] (math_errhandling): Specify type.
233 [ISO99 || ISO11] (signgam): Do not allow.
234 [non-C99-based standards] (copysignf): Do not allow.
235 [non-C99-based standards] (exp2f): Likewise.
236 [non-C99-based standards] (log2f): Likewise.
237 [non-C99-based standards] (modff): Allow.
238 [non-C99-based standards] (erff): Do not allow.
239 [non-C99-based standards] (erfcf): Likewise.
240 [non-C99-based standards] (gammaf): Likewise.
241 [non-C99-based standards] (hypotf): Likewise.
242 [non-C99-based standards] (j0f): Likewise.
243 [non-C99-based standards] (j1f): Likewise.
244 [non-C99-based standards] (jnf): Likewise.
245 [non-C99-based standards] (lgammaf): Likewise.
246 [non-C99-based standards] (tgammaf): Likewise.
247 [non-C99-based standards] (y0f): Likewise.
248 [non-C99-based standards] (y1f): Likewise.
249 [non-C99-based standards] (ynf): Likewise.
250 [non-C99-based standards] (isnanf): Likewise.
251 [non-C99-based standards] (acoshf): Likewise.
252 [non-C99-based standards] (asinhf): Likewise.
253 [non-C99-based standards] (atanhf): Likewise.
254 [non-C99-based standards] (cbrtf): Likewise.
255 [non-C99-based standards] (expm1f): Likewise.
256 [non-C99-based standards] (ilogbf): Likewise.
257 [non-C99-based standards] (log1pf): Likewise.
258 [non-C99-based standards] (logbf): Likewise.
259 [non-C99-based standards] (nextafterf): Likewise.
260 [non-C99-based standards] (remainderf): Likewise.
261 [non-C99-based standards] (rintf): Likewise.
262 [non-C99-based standards] (scalbf): Likewise.
263 [non-C99-based standards] (copysignl): Likewise.
264 [non-C99-based standards] (exp2l): Likewise.
265 [non-C99-based standards] (log2l): Likewise.
266 [non-C99-based standards] (modfl): Allow.
267 [non-C99-based standards] (erfl): Do not allow.
268 [non-C99-based standards] (erfcl): Likewise.
269 [non-C99-based standards] (gammal): Likewise.
270 [non-C99-based standards] (hypotl): Likewise.
271 [non-C99-based standards] (j0l): Likewise.
272 [non-C99-based standards] (j1l): Likewise.
273 [non-C99-based standards] (jnl): Likewise.
274 [non-C99-based standards] (lgammal): Likewise.
275 [non-C99-based standards] (tgammal): Likewise.
276 [non-C99-based standards] (y0l): Likewise.
277 [non-C99-based standards] (y1l): Likewise.
278 [non-C99-based standards] (ynl): Likewise.
279 [non-C99-based standards] (isnanl): Likewise.
280 [non-C99-based standards] (acoshl): Likewise.
281 [non-C99-based standards] (asinhl): Likewise.
282 [non-C99-based standards] (atanhl): Likewise.
283 [non-C99-based standards] (cbrtl): Likewise.
284 [non-C99-based standards] (expm1l): Likewise.
285 [non-C99-based standards] (ilogbl): Likewise.
286 [non-C99-based standards] (log1pl): Likewise.
287 [non-C99-based standards] (logbl): Likewise.
288 [non-C99-based standards] (nextafterl): Likewise.
289 [non-C99-based standards] (remainderl): Likewise.
290 [non-C99-based standards] (rintl): Likewise.
291 [non-C99-based standards] (scalbl): Likewise.
292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
293 [non-C99-based standards] (FP_*): Do not allow.
294 [C99-based standards] (FP_*): Change to
295 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
296 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
297 allow.
298 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
299 (SIG_ERR): Likewise.
300 [X/Open-based standards] (SIG_HOLD): Likewise.
301 (SIG_IGN): Likewise.
302 (SIGABRT): Use macro-int-constant. Specify type. Require
303 positive value.
304 (SIGFPE): Likewise.
305 (SIGILL): Likewise.
306 (SIGINT): Likewise.
307 (SIGSEGV): Likewise.
308 (SIGTER): Likewise.
309 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
310 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
311 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
312 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
313 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
314 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
315 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
316 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
317 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
318 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
319 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
320 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
321 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
322 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
323 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
324 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
325 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
326 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
327 [X/Open-based standards] (SIGTRAP): Likewise.
328 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
329 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
330 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
331 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
332 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
333 allow.
334
335 2012-05-08 Ian Wienand <ianw@vmware.com>
336
337 [BZ #14080]
338 * time/tzset.c (__tzset_parse_tz): Update default rules for
339 daylight time changes in the Energy Policy Act of 2005.
340
341 2012-05-09 Andreas Jaeger <aj@suse.de>
342
343 [BZ #13983]
344 * elf/ldconfig.c (parse_conf): Change string to make clear that
345 ldconfig only issued a warning if ld.so.conf does not exist.
346
347 2012-05-08 David S. Miller <davem@davemloft.net>
348
349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
350 movxtod instead of popping the value on the stack.
351
352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
353
354 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
355
356 * config.h.in: Add HAVE_ARM_PCS_VFP.
357
358 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
359
360 [BZ #13979]
361 * include/features.h: Warn if user requests __FORTIFY_SOURCE
362 checking but the checks are disabled for any reason.
363
364 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
365
366 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
367 and ELF64_R_TYPE with ELFW(R_TYPE).
368
369 2012-05-08 Joseph Myers <joseph@codesourcery.com>
370
371 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
372 (ulimit): Likewise.
373
374 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
375 (settimeofday): Likewise.
376
377 2012-05-08 Mike Frysinger <vapier@gentoo.org>
378
379 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
380 a struct th_u2 inside the union, and move tu_block/tu_code into
381 a new th_u3 union of tu_block/tu_code inside of that. Move
382 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
383 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
384 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
385 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
386 (th_stuff): Change to th_u1.tu_stuff.
387 (th_data): Define.
388 (th_msg): Change to th_u1.th_u2.tu_data.
389
390 2012-05-07 David S. Miller <davem@davemloft.net>
391
392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
393
394 [BZ #14074]
395 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
396 (SETUP_PIC_REG): Use it.
397 (SETUP_PIC_REG_LEAF): Use it.
398
399 2012-05-07 Joseph Myers <joseph@codesourcery.com>
400
401 [BZ #13885]
402 [BZ #13923]
403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
404 USE_AS_EXPM1L.
405 (EXPL_FINITE): Likewise.
406 (FLDLOG): Likewise.
407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
408 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
409 e_expl.S.
410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
411 USE_AS_EXPM1L.
412 (EXPL_FINITE): Likewise.
413 (FLDLOG): Likewise.
414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
415 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
416 e_expl.S.
417 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
418 test of -max_value argument for long double.
419 * sysdeps/i386/fpu/libm-test-ulps: Update.
420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
421
422 2012-05-06 David S. Miller <davem@davemloft.net>
423
424 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
425 quad soft-float symbols whose references which are compiler
426 generated.
427 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
428
429 2012-05-06 Joseph Myers <joseph@codesourcery.com>
430
431 [BZ #13884]
432 [BZ #13914]
433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
434 USE_AS_EXP10L.
435 (EXPL_FINITE): Likewise.
436 (FLDLOG): Likewise.
437 (c0): Likewise.
438 (c1): Likewise.
439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
440 Adjust comments for base varying.
441 (__expl_finite): Change alias to EXPL_FINITE.
442 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
443 e_expl.S.
444 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
445 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
447 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
449 USE_AS_EXP10L.
450 (EXPL_FINITE): Likewise.
451 (FLDLOG): Likewise.
452 (c0): Likewise.
453 (c1): Likewise.
454 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
455 Adjust comments for base varying.
456 (__expl_finite): Change alias to EXPL_FINITE.
457 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
458 tests for bugs.
459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
460
461 [BZ #14064]
462 * math/libm-test.inc (check_float_internal): Correct ulp
463 calculation for subnormal expected results.
464
465 2012-05-06 Andreas Jaeger <aj@suse.de>
466
467 * Makeconfig (+math-flags): New, set to -frounding-math.
468 (+cflags): Add +math-flags so that all of glibc gets compiled with
469 it.
470
471 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
472
473 2012-05-05 Joseph Myers <joseph@codesourcery.com>
474
475 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
476 Disable one test.
477
478 [BZ #13787]
479 [BZ #13922]
480 [BZ #14036]
481 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
482 (__ieee754_expl): Allow for and saturate large arguments.
483 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
484 (u_threshold): Likewise.
485 (__exp): Call __ieee754_exp before checking for overflow and
486 underflow.
487 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
488 (u_threshold): Likewise.
489 (__expf): Call __ieee754_expf before checking for overflow and
490 underflow.
491 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
492 (u_threshold): Likewise.
493 (__expl): Call __ieee754_expl before checking for overflow and
494 underflow.
495 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
496 (__ieee754_expl): Allow for and saturate large arguments.
497 * math/libm-test.inc (exp_test): Add another test. Do not allow
498 missing overflow exception on overflow.
499 (expm1_test): Do not allow missing overflow exception on overflow.
500
501 * sysdeps/i386/fpu/e_expl.c: Move to ...
502 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
503 rather than using inline asm.
504 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
505 * sysdeps/x86_64/fpu/e_expl.S: Copy from
506 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
507
508 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
509 (nice): Likewise.
510 (poll): Likewise.
511 (signal): Likewise.
512 (time): Likewise.
513 (times): Likewise.
514
515 2012-05-04 Joseph Myers <joseph@codesourcery.com>
516
517 * sysdeps/unix/syscalls.list (adjtime): Add entry from
518 sysdeps/unix/common/syscalls.list.
519 (fchmod): Likewise.
520 (fchown): Likewise.
521 (ftruncate): Likewise.
522 (getrusage): Likewise.
523 (gettimeofday): Likewise.
524 (setpgid): Likewise.
525 (setregid): Likewise.
526 (setreuid): Likewise.
527 (sigaction): Likewise.
528 (truncate): Likewise.
529 (vhangup): Likewise.
530 * sysdeps/unix/common/syscalls.list: Remove file.
531 * sysdeps/unix/bsd/Implies: Don't include unix/common.
532 * sysdeps/unix/sysv/linux/Implies: Likewise.
533
534 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
535
536 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
538 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
539 Moved to ...
540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
541 Here.
542 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
543 to ...
544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
545 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
546 to ...
547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
548 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
549 to ...
550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
552 to ...
553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
554 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
555 to ...
556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
557 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
558 to ...
559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
560 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
561 to ...
562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
563 Here.
564 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
565 to ...
566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
567 Here.
568 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
569 to ...
570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
572 Moved to ...
573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
574 Here.
575 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
576 to ...
577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
578
579 2012-05-04 Joseph Myers <joseph@codesourcery.com>
580
581 * sysdeps/unix/common/bits/dirent.h: Remove file.
582 * sysdeps/unix/common/bits/fcntl.h: Likewise.
583
584 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
585 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
586 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
587 * sysdeps/unix/bsd/isatty.c: Likewise.
588 * sysdeps/unix/bsd/tcdrain.c: Likewise.
589 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
590 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
591
592 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593
594 [BZ #13563]
595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
596 long double comparison inaccuracies.
597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
599
600 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
601
602 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
604
605 2012-05-04 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #14049]
608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
609 nonzero digits before rounding a hex value.
610 * stdlib/tst-strtod.c (tests): Add another test.
611
612 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
613
614 * sysdeps/s390/fpu/libm-test-ulps: Update.
615
616 2012-05-03 Andreas Jaeger <aj@suse.de>
617
618 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
619 does not get optimized out.
620 (malloc_opt_barrier): New.
621
622 2012-05-03 Andreas Jaeger <aj@suse.de>
623 Roland McGrath <roland@hack.frob.com>
624
625 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
626 intermediate file deletion.
627 (generated): Add .symlist files.
628
629 2012-05-03 Joseph Myers <joseph@codesourcery.com>
630
631 [BZ #13775]
632 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
633 Redirect under this condition.
634 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
635 [__USE_GNU] (__dprintf_chk): Not under this condition.
636 [__USE_GNU] (__vdprintf_chk): Likewise.
637 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
638 under this condition.
639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
640 [__USE_XOPEN2K8] (dprintf): Define under this condition.
641 [__USE_XOPEN2K8] (vdprintf): Likewise.
642 [__USE_GNU] (__dprintf_chk): Not under this condition.
643 [__USE_GNU] (__vdprintf_chk): Likewise.
644 [__USE_GNU] (dprintf): Likewise.
645 [__USE_GNU] (vdprintf): Likewise.
646
647 2012-05-03 Roland McGrath <roland@hack.frob.com>
648
649 * elf/Makefile (common-generated): Set this instead of generated for
650 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
651 $(all-built-dso)-derived lists.
652
653 2012-05-03 Andreas Jaeger <aj@suse.de>
654
655 * sysdeps/i386/fpu/libm-test-ulps: Update.
656
657 * FAQ: Removed.
658 * FAQ.in: Likewise.
659 * scripts/gen-FAQ.pl: Likewise.
660 * manual/install.texi (Installation): Point to online location of
661 FAQ.
662 * Makefile (files-for-dist): Remove FAQ.
663 (FAQ): Remove.
664
665 2012-05-02 Allan McRae <allan@archlinux.org>
666
667 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
668 (LDFLAGS-reldepmod5.so): Likewise.
669 (LDFLAGS-reldep6mod1.so): Likewise.
670 (LDFLAGS-reldep6mod4.so): Likewise.
671 (LDFLAGS-reldep8mod3.so): Likewise.
672 (LDFLAGS-unload4mod1.so): Likewise.
673 (LDFLAGS-unload4mod2.so): Likewise.
674 (LDFLAGS-tst-initorder): Likewise.
675 (LDFLAGS-tst-initordera2.so): Likewise.
676 (LDFLAGS-tst-initordera3.so): Likewise.
677 (LDFLAGS-tst-initordera4.so): Likewise.
678 (LDFLAGS-tst-initorderb2.so): Likewise.
679 (LDFLAGS-noload): Likewise.
680 (LDFLAGS-next): Likewise.
681 (LDFLAGS-order2mod1.so): Likewise.
682 (LDFLAGS-order2mod2.so): Likewise.
683 (LDFLAGS-tst-initorder2): Likewise.
684 (LDFLAGS-tst-initorder2a.so): Likewise.
685 (LDFLAGS-tst-initorder2b.so): Likewise.
686 (LDFLAGS-tst-initorder2c.so): Likewise.
687 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
688
689 2012-05-02 David S. Miller <davem@davemloft.net>
690
691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
692
693 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
694
695 [BZ #14055]
696 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
697
698 2012-05-02 Andreas Jaeger <aj@suse.de>
699
700 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
701 since we manipulate rounding mode.
702 (CPPFLAGS-test-idouble.c): Likewise.
703 (CPPFLAGS-test-ifloat.c): Likewise.
704 (CFLAGS-test-ldouble.c): Likewise.
705 (CFLAGS-test-double.c): Likewise.
706 (CFLAGS-test-float.c): Likewise.
707 (CFLAGS-test-misc.c): Likewise.
708 (CFLAGS-test-test-fenv.c): Likewise.
709
710 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 [BZ #2550]
713 [BZ #2570]
714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
715 comparisons to determine direction to adjust input.
716
717 2012-05-01 Roland McGrath <roland@hack.frob.com>
718
719 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
720 output to the target.
721
722 * scripts/localplt.awk: New file.
723 * elf/Makefile ($(objpfx)check-localplt): Target removed.
724 (check-localplt-CFLAGS): Variable removed.
725 ($(all-built-dso:=.jmprel)): New static pattern rule.
726 (generated): Add those targets.
727 (localplt-built-dso): New variable.
728 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
729
730 * elf/check-localplt.c: File removed.
731
732 * scripts/check-execstack.awk: New file.
733 * elf/Makefile ($(objpfx)check-execstack): Target removed.
734 (check-execstack-CFLAGS): Variable removed.
735 ($(objpfx)check-execstack.h): Target removed.
736 ($(objpfx)execstack-default): New target.
737 (generated): Add that instead of check-execstack.h.
738 ($(all-built-dso:=.phdr)): New static pattern rule.
739 (generated): Add those targets.
740 * elf/check-execstack.c: File removed.
741
742 * scripts/check-textrel.awk: New file.
743 * elf/Makefile ($(objpfx)check-textrel): Target removed.
744 (check-textrel-CFLAGS): Variable removed.
745 (all-built-dso): Use := to define.o
746 ($(all-built-dso:=.dyn)): New static pattern rule.
747 (generated): Add those targets.
748 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
749 * config.make.in (READELF): New substituted variable.
750 * elf/check-textrel.c: File removed.
751
752 2012-05-01 Joseph Myers <joseph@codesourcery.com>
753
754 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
755 allow.
756 * conform/data/ctype.h-data [C99-based standards] (isblank):
757 Expect function.
758 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
759 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
761 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
762 Specify type. Require positive value.
763 (EILSEQ): Likewise.
764 (ERANGE): Likewise.
765 [ISO || POSIX] (EILSEQ): Do not expect.
766 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
767 Specify type. Require positive value.
768 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
769 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
770 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
771 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
772 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
773 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
774 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
775 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
776 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
777 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
778 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
779 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
780 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
781 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
782 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
783 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
784 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
785 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
786 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
787 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
788 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
789 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
790 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
791 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
792 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
793 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
794 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
795 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
796 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
797 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
798 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
799 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
800 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
801 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
802 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
803 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
804 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
805 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
806 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
807 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
808 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
809 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
810 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
811 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
812 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
813 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
814 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
815 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
816 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
817 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
818 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
819 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
820 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
821 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
822 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
823 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
824 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
825 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
826 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
827 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
828 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
829 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
830 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
831 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
832 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
833 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
834 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
835 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
836 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
837 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
838 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
839 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
840 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
841 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
842 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
843 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
844 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
845 Require >= 2.
846 (FLT_ROUNDS): Expect as macro, not constant.
847 (FLT_MANT_DIG): Use macro-int-constant.
848 (DBL_MANT_DIG): Likewise.
849 (LDBL_MANT_DIG): Likewise.
850 (FLT_DIG): Likewise.
851 (DBL_DIG): Likewise.
852 (LDBL_DIG): Likewise.
853 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
854 (DBL_MIN_EXP): Likewise.
855 (LDBL_MIN_EXP): Likewise.
856 (FLT_MAX_EXP): Use macro-int-constant.
857 (DBL_MAX_EXP): Likewise.
858 (LDBL_MAX_EXP): Likewise.
859 (FLT_MAX_10_EXP): Likewise.
860 (DBL_MAX_10_EXP): Likewise.
861 (LDBL_MAX_10_EXP): Likewise.
862 (FLT_MAX): Use macro-constant.
863 (DBL_MAX): Likewise.
864 (LDBL_MAX): Likewise.
865 (FLT_EPSILON): Use macro-constant. Give upper bound.
866 (DBL_EPSILON): Likewise.
867 (LDBL_EPSILON): Likewise.
868 (FLT_MIN): Likewise.
869 (DBL_MIN): Likewise.
870 (LDBL_MIN): Likewise.
871 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
872 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
873 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
874 [ISO11] (FLT_HAS_SUBNORM): Likewise.
875 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
876 [ISO11] (DBL_DECIMAL_DIG): Likewise.
877 [ISO11] (FLT_DECIMAL_DIG): Likewise.
878 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
879 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
880 [ISO11] (FLT_TRUE_MIN): Likewise.
881 [ISO11] (LDBL_TRUE_MIN): Likewise.
882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
883 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
884 (SCHAR_MIN): Use macro-int-constant. Specify type.
885 (SCHAR_MAX): Likewise.
886 (UCHAR_MAX): Likewise.
887 (CHAR_MIN): Likewise.
888 (CHAR_MAX): Likewise.
889 (MB_LEN_MAX): Use macro-int-constant.
890 (SHRT_MIN): Use macro-int-constant. Specify type.
891 (SHRT_MAX): Likewise.
892 (USHRT_MAX): Likewise.
893 (INT_MAX): Likewise.
894 (INT_MIN): Use macro-int-constant. Specify type. Make upper
895 bound negative.
896 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
897 bound with "U".
898 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
899 bound with "L".
900 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
901 bound negative. Suffix upper bound with "L".
902 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
903 bound with "UL".
904 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
905 Specify type.
906 [C99-based standards] (LLONG_MAX): Likewise.
907 [C99-based standards] (ULLONG_MAX): Likewise.
908 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
909 == 0.
910 [ISO11] (max_align_t): Require type.
911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
912
913 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
914 from $CFLAGS, without defining away __attribute__ calls.
915 (checknamespace): Use $CFLAGS_namespace.
916
917 * conform/conformtest.pl (@keywords): Only include C99 keywords
918 for standards based on C99 or C11.
919
920 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
921 Disable tests.
922 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
923 UNIX98]: Likewise.
924
925 * conform/conformtest.pl: Handle "macro-int-constant" and test for
926 usability of symbols in #if.
927
928 * conform/conformtest.pl: If macro or constant types start
929 "promoted:", expect the symbol to be of the following type
930 promoted by the integer promotions.
931
932 * conform/conformtest.pl: Parse all "constant" and "macro" lines
933 in one place. Also handle "macro-constant".
934
935 * conform/conformtest.pl: Only accept expected macro values with
936 "==". Parse all "macro" lines in one place.
937 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
938
939 * conform/conformtest.pl: Handle braced types on "constant" lines
940 instead of handling "typed-constant".
941 * conform/data/signal.h-data: Use "constant" instead of
942 "typed-constant".
943
944 * conform/conformtest.pl: Handle "optional-" at start of lines in
945 one place rather than duplicating several cases. Handle each
946 format of "macro" line with initial "optional-".
947
948 * conform/conformtest.pl: Only accept expected constant or
949 optional-constant values with "==". Parse all "constant" lines in
950 one place. Parse all "optional-constant" lines in one place.
951 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
952 * conform/data/fmtmsg.h-data: Likewise.
953 * conform/data/netinet/in.h-data: Likewise.
954 * conform/data/tar.h-data: Likewise.
955 * conform/data/limits.h-data: Use "==" form on "constant" and
956 "optional-constant" lines.
957
958 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
959 Use -std=c99 for XOPEN2K.
960 (@knownproblems): Remove.
961 (newtoken): Don't check %isknown.
962
963 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
964 Do not expect macro.
965 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
966 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
967 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
968 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
969 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
970 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
971 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
972 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
973 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
974 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
975 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
976 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
977 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
978 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
979 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
980 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
981 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
982 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
983 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
984 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
985 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
986 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
987 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
988 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
989 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
990 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
991 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
992 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
993 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
994 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
995 [XPG3] (acosh): Likewise.
996 [XPG3] (asinh): Likewise.
997 [XPG3] (atanh): Likewise.
998 [XPG3] (cbrt): Likewise.
999 [XPG3] (expm1): Likewise.
1000 [XPG3] (ilogb): Likewise.
1001 [XPG3] (log1p): Likewise.
1002 [XPG3] (logb): Likewise.
1003 [XPG3] (nextafter): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1006 [XPG3] (remainder): Likewise.
1007 [XPG3] (rint): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1015 [UNIX98 || XOPEN2K] (scalb): Expect.
1016 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1017 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1062 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1063 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1064 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1065 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1066 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1067 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1068 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1069 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1070 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1071 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1072 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1073 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1074 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1075 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1076 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1077 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1078 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1079 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1080 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1081 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1082 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1083 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1084 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1085 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1086 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1087 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1088 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1089 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1090 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1091 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1092 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1093 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1094 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1095 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1096 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1097 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1098 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1099 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1100 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1101 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1102 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1103 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1104 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1105 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1106 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1107 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1108 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1109 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1110 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1111 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1112 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1113 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1114 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1116 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1117 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1118 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1119 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1120 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1121 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1122 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1123 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1125 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1126 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1127 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1128 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1129 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1130 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1131 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1132 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1133 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1134 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1135 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1137 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1138 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1139 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1140 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1141 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1142 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1143 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1144 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1146 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1147 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1148 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1149 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1150 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1151 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1152 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1153
1154 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1155 _XOPEN_SOURCE_EXTENDED for XPG4.
1156
1157 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1158
1159 * Makeconfig (localtime): Remove variable.
1160 (inst_localtime-file): Likewise.
1161
1162 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1163
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1165 Update.
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1167 Update.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1169 Update.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1171 Update.
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1173 Update.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1175 Update.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1177 Update.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1179 Update.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1181 Update.
1182
1183 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1184
1185 [BZ #2550]
1186 [BZ #2570]
1187 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1188 comparisons to determine direction to adjust input.
1189 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1190 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1192 Likewise.
1193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1194 Likewise.
1195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1196 Likewise.
1197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1199 Likewise.
1200 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1201 Likewise.
1202 * math/libm-test.inc (nexttoward_test): Add more tests.
1203
1204 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1205
1206 [BZ #14040]
1207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1208 in version GLIBC_2.1, not GLIBC_2.0.
1209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1210 Likewise.
1211
1212 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1213
1214 [BZ #13942]
1215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1216 (1 - x) * (1 + x).
1217 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1218 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1219 * math/libm-test.inc (acos_test): Add more tests.
1220 (asin_test): Likewise.
1221 * sysdeps/i386/fpu/libm-test-ulps: Update.
1222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223
1224 [BZ #14034]
1225 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1226 of square root.
1227 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1228 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1229 * math/libm-test.inc (acos_test_tonearest): New function.
1230 (acos_test_towardzero): Likewise.
1231 (acos_test_downward): Likewise.
1232 (acos_test_upward): Likewise.
1233 (asin_test_tonearest): Likewise.
1234 (asin_test_towardzero): Likewise.
1235 (asin_test_downward): Likewise.
1236 (asin_test_upward): Likewise.
1237 (main): Call the new functions.
1238 * sysdeps/i386/fpu/libm-test-ulps: Update.
1239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1240
1241 [BZ #13884]
1242 [BZ #13924]
1243 * math/e_exp10.c: Include <float.h>.
1244 (__ieee754_exp10): Handle underflow here rather than multiplying
1245 large negative argument by M_LN10.
1246 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1247 of __ieee754_expf.
1248 * math/e_exp10l.c: Include <float.h>.
1249 (__ieee754_exp10l): Handle underflow here rather than multiplying
1250 large negative argument by M_LN10l.
1251 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1252 spurious overflow exception on underflow.
1253
1254 2012-04-29 Marek Polacek <polacek@redhat.com>
1255
1256 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1257 (__fortify_function): New macro.
1258 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1259 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1260 __extern_always_inline.
1261 * libio/bits/stdio2.h: Likewise.
1262 * libio/bits/stdio.h: Likewise.
1263 * string/string.h: Likewise.
1264 * string/bits/string3.h: Likewise.
1265 * include/stdio.h: Likewise.
1266 * stdlib/bits/stdlib.h: Likewise.
1267 * stdlib/stdlib.h: Likewise.
1268 * rt/bits/mqueue2.h: Likewise.
1269 * rt/mqueue.h: Likewise.
1270 * posix/bits/unistd.h: Likewise.
1271 * posix/unistd.h: Likewise.
1272 * io/bits/poll2.h: Likewise.
1273 * io/bits/fcntl2.h: Likewise.
1274 * io/fcntl.h: Likewise.
1275 * io/sys/poll.h: Likewise.
1276 * misc/bits/syslog.h: Likewise.
1277 * misc/bits/syslog-ldbl.h: Likewise.
1278 * misc/sys/syslog.h: Likewise.
1279 * socket/bits/socket2.h: Likewise.
1280 * socket/sys/socket.h: Likewise.
1281 * debug/tst-chk1.c: Likewise.
1282 * wcsmbs/bits/wchar2.h: Likewise.
1283 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1284 * wcsmbs/wchar.h: Likewise.
1285
1286 2012-04-29 Andreas Jaeger <aj@suse.de>
1287
1288 * Makerules (tests): Remove enable-check-abi protection.
1289 (check-abi-warn): Remove.
1290 (check-abi-%): Remove check-abi-warn usage.
1291
1292 * configure.in: Remove check-abi configure option.
1293 * configure: Regenerated.
1294 * config.make.in (enable-check-abi): Remove.
1295
1296 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1297
1298 [BZ #14033]
1299 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1300 double functions to double *_finite functions.
1301
1302 [BZ #13941]
1303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1304 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1305 LDBL_MIN_EXP.
1306 * stdio-common/Makefile (tests): Add tst-sprintf3.
1307 * stdio-common/tst-sprintf3.c: New file.
1308
1309 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1310 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1311
1312 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1313
1314 * conform/conformtest.pl: Remove duplicate typed-constant
1315 handling.
1316
1317 2012-04-28 David S. Miller <davem@davemloft.net>
1318
1319 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1320 (check-abi-%): Remove AWK script prerequisite and explicit
1321 abilist directory.
1322 (check-abi): Rewrite to just diff the symlist with the abilist.
1323 (config-tls, config-abi-config): Delete, no longer used.
1324 (update-abi-%): Remove AWK script and explicit abilist directory.
1325 (update-abi): Rewrite to simply compare and conditionally copy the
1326 symlist and the sysdep abilist file. Remove update-abi-config
1327 checks.
1328 * abilist/ld.abilist: Remove.
1329 * abilist/libBrokenLocale.abilist: Remove.
1330 * abilist/libanl.abilist: Remove.
1331 * abilist/libcrypt.abilist: Remove.
1332 * abilist/libdl.abilist: Remove.
1333 * abilist/librt.abilist: Remove.
1334 * abilist/libthread_db.abilist: Remove.
1335 * abilist/libutil.abilist: Remove.
1336 * scripts/extract-abilist.awk: Remove.
1337 * scripts/merge-abilist.awk: Remove.
1338 * sysdeps/generic/libcidn.abilist: New file.
1339 * sysdeps/generic/libnss_compat.abilist: New file.
1340 * sysdeps/generic/libnss_db.abilist: New file.
1341 * sysdeps/generic/libnss_dns.abilist: New file.
1342 * sysdeps/generic/libnss_files.abilist: New file.
1343 * sysdeps/generic/libnss_hesiod.abilist: New file.
1344 * sysdeps/generic/libnss_nis.abilist: New file.
1345 * sysdeps/generic/libnss_nisplus.abilist: New file.
1346 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1347 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1348 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1349 file.
1350 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1351 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1352 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1353 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1354 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1355 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1356 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1358 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1359 file.
1360 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1362 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1364 file.
1365 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1368 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1369 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1370 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1371 file.
1372 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1373 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1374 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1375 file.
1376 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1378 New file.
1379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1380 New file.
1381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1382 New file.
1383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1384 New file.
1385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1386 New file.
1387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1388 New file.
1389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1390 New file.
1391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1392 New file.
1393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1394 New file.
1395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1396 New file.
1397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1398 New file.
1399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1400 New file.
1401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1402 New file.
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1404 file.
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1406 New file.
1407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1408 New file.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1410 file.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1412 New file.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1414 New file.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1416 file.
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1418 New file.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1420 New file.
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1422 New file.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1424 New file.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1426 New file.
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1428 New file.
1429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1431 file.
1432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1433 New file.
1434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1435 file.
1436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1437 file.
1438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1439 file.
1440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1441 file.
1442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1443 file.
1444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1445 New file.
1446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1447 file.
1448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1449 file.
1450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1451 New file.
1452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1453 file.
1454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1456 file.
1457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1458 New file.
1459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1460 file.
1461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1462 file.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1464 file.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1466 file.
1467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1468 file.
1469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1470 New file.
1471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1472 file.
1473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1474 file.
1475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1476 New file.
1477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1478 file.
1479 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1480 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1481 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1482 file.
1483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1484 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1485 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1486 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1487 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1489 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1490 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1491 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1492 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1495 file.
1496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1497 New file.
1498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1499 file.
1500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1501 file.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1503 file.
1504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1505 file.
1506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1507 file.
1508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1509 New file.
1510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1511 New file.
1512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1513 file.
1514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1515 New file.
1516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1517 file.
1518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1520 file.
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1522 New file.
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1524 file.
1525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1526 file.
1527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1528 file.
1529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1530 file.
1531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1532 file.
1533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1534 New file.
1535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1536 New file.
1537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1538 file.
1539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1540 New file.
1541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1542 file.
1543
1544 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1545
1546 * conform/conformtest.pl: Fix typo in handling typed-constant from
1547 allow-header.
1548
1549 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1550
1551 * README: Cut down references to pre-2.6 Linux kernels and
1552 Linuxthreads. Update lists of configurations in libc and ports
1553 and sort alphabetically. Say "or newer" with Linux kernel version
1554 requirements.
1555
1556 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1557
1558 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1559
1560 [BZ #887]
1561 * math/libm-test.inc (logb_test_downward): New test to expose
1562 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1563 rounding mode.
1564
1565 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1566
1567 [BZ #14027]
1568 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1569 to be done.
1570 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1571 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1572
1573 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1574
1575 * sysdeps/unix/i386/brk.S: Remove file.
1576 * sysdeps/unix/i386/dl-brk.S: Likewise.
1577 * sysdeps/unix/i386/pipe.S: Likewise.
1578 * sysdeps/unix/i386/sigreturn.S: Likewise.
1579 * sysdeps/unix/i386/syscall.S: Likewise.
1580 * sysdeps/unix/i386/vfork.S: Likewise.
1581 * sysdeps/unix/i386/wait.S: Likewise.
1582
1583 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1584 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1585
1586 * configure.in (arm*-none*): Do not allow without
1587 --enable-hacker-mode.
1588 (netbsd*): Remove case setting base_os.
1589 (386bsd*): Likewise.
1590 (freebsd*): Likewise.
1591 (bsdi*): Likewise.
1592 (osf*): Likewise.
1593 (sunos*): Likewise.
1594 (ultrix*): Likewise.
1595 (newsos*): Likewise.
1596 (dynix*): Likewise.
1597 (*bsd*): Likewise.
1598 (sysv*): Likewise.
1599 (isc*): Likewise.
1600 (esix*): Likewise.
1601 (sco*): Likewise.
1602 (minix*): Likewise.
1603 (irix4*): Likewise.
1604 (irix6*): Likewise.
1605 (solaris[2-9]*): Likewise.
1606 (none): Likewise.
1607 * configure: Regenerated.
1608
1609 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1610
1611 [BZ #11521]
1612 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1613 overflow or cancellation in calculating denominator.
1614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1616 down expression to avoid unexpected rounding in newer GCCs.
1617 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1618
1619 2012-04-26 David S. Miller <davem@davemloft.net>
1620
1621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1622 long-double compat symbols.
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1636
1637 2012-04-25 David S. Miller <davem@davemloft.net>
1638
1639 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1640 HWCAP_* values only after the memory barriers have been defined.
1641 (atomic_full_barrier): Define.
1642 (atomic_read_barrier): Define.
1643 (atomic_write_barrier): Define.
1644
1645 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1646
1647 * shlib-versions: Add libgcc_s version information.
1648 * sysdeps/generic/libgcc_s.h: Remove.
1649 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1650 libgcc_s.h.
1651 * sysdeps/gnu/unwind-resume.c: Likewise.
1652 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1653
1654 2012-04-25 David S. Miller <davem@davemloft.net>
1655
1656 * sysdeps/unix/sparc/brk.S: Delete.
1657 * sysdeps/unix/sparc/dl-brk.S: Delete.
1658 * sysdeps/unix/sparc/pipe.S: Delete.
1659 * sysdeps/unix/sparc/sysdep.S: Delete.
1660 * sysdeps/unix/sparc/sysdep.h: Delete.
1661 * sysdeps/unix/sparc/vfork.S: Delete.
1662 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1663 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1664 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1665 ret_ERRVAL, r0, r1, MOVE): Define.
1666 (JUMPTARGET): Remove.
1667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1668 sysdeps/unix/sparc/sysdep.h
1669 (ENTRY, END): Remove.
1670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1671
1672 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1673
1674 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1675 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1676 -DIS_IN_build.
1677
1678 * timezone/README: Update upstream location and email address for
1679 tzcode and tzdata.
1680 * timezone/zdump.c: Update from tzcode 2012b.
1681 * timezone/zic.c: Likewise.
1682
1683 * configure.in (libc_cv_as_needed): Remove test.
1684 * configure: Regenerated.
1685 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1686 conditional definition.
1687 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1688 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1689 * config.make.in (have-as-needed): Remove variable.
1690
1691 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1692 Paul Pluzhnikov <ppluzhnikov@google.com>
1693
1694 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1695 strings correctly.
1696
1697 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1698
1699 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1700 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1701 * sysdeps/sh/strlen.S: Likewise.
1702
1703 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1704
1705 * sysdeps/unix/fork.S: Remove file.
1706 * sysdeps/unix/i386/fork.S: Likewise.
1707 * sysdeps/unix/sparc/fork.S: Likewise.
1708
1709 * sysdeps/unix/system.c: Remove file.
1710 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1711
1712 * sysdeps/unix/getegid.S: Remove file.
1713 * sysdeps/unix/geteuid.S: Likewise.
1714
1715 2012-04-24 Roland McGrath <roland@hack.frob.com>
1716
1717 * scripts/check-localplt.awk: New file.
1718 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1719 of diff.
1720 * scripts/data/localplt-generic.data: Add a comment.
1721
1722 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1723 NODE when __dir_mkfile failed.
1724 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1725 Reported by Ludovic Courtès <ludo@gnu.org>.
1726
1727 2012-04-24 Andreas Jaeger <aj@suse.de>
1728
1729 * Makerules (common-clean): Also remove gen-as-const-headers
1730 files.
1731
1732 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1733
1734 * Makerules (native-compile): Do not change working directory for
1735 build. Use $(OUTPUT_OPTION) in command.
1736 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1737
1738 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1739
1740 [BZ #13886]
1741 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1742 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1743 * math/libm-test.inc (floor_test): Add more tests.
1744 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1745
1746 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1747
1748 * sysdeps/unix/getdents.c: Remove file.
1749 * sysdeps/unix/sysv/getdents.c: Likewise.
1750 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1751
1752 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1753 sysdeps/unix/mman/syscalls.list.
1754 (mmap): Likewise.
1755 (mprotect): Likewise.
1756 (msync): Likewise.
1757 (munmap): Likewise.
1758 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1759 * sysdeps/unix/mman/syscalls.list: Remove.
1760 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1761
1762 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1763 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1764 * configure: Regenerated.
1765 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1766 $(libgcc_s_suffix).
1767 * config.make.in (libgcc_s_suffix): Remove variable.
1768
1769 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1770
1771 * sysdeps/unix/sysv/gethostname.c: Move to ...
1772 * sysdeps/posix/gethostname.c: ... here.
1773
1774 * sysdeps/unix/execve.S: Remove file.
1775
1776 * sysdeps/unix/_exit.S: Remove file.
1777
1778 2012-04-23 Andreas Jaeger <aj@suse.de>
1779
1780 [BZ #13739]
1781 * manual/Makefile: Remove make dist support, there's no
1782 need for a stand-alone documentation tar ball.
1783 (TEXI2DVI): Define always, it's not in Makeconfig.
1784 (dist): Removed.
1785 (tar-it): Removed.
1786 (edition): Removed.
1787 (glibc-doc-$(edition).tar): Removed
1788 (%.Z): Removed.
1789 (%.gz): Removed.
1790 (%.uu): Removed.
1791 (ETAGS): Remove, it's in Makeconfig.
1792 (move-if-change): Remove, it's in Makeconfig.
1793
1794 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1795
1796 [BZ #13970]
1797 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1798 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1799 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1800 (strtod_l, strtof_l, strtold_l): Remove __wur.
1801 It is not necessarily an error to ignore strtol's return value.
1802 One can reliably look at the stored endptr to decide whether
1803 the number had valid syntax.
1804
1805 2012-04-21 Andreas Jaeger <aj@suse.de>
1806
1807 [BZ #13739]
1808 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1809
1810 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1811
1812 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1813 * sysdeps/unix/sysv/Versions: Remove file.
1814
1815 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1816
1817 [BZ #13927]
1818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1819
1820 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1821
1822 [BZ #7064]
1823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1824 version from __vm86.
1825
1826 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1827
1828 * sysdeps/unix/common/lxstat.c: Remove file.
1829 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1830
1831 * sysdeps/unix/sysv/Makefile: Remove file.
1832
1833 * sysdeps/unix/sysv/direct.h: Remove file.
1834
1835 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1836 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1837 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1838 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1839 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1840 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1841 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1842
1843 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1844
1845 * sysdeps/unix/xmknod.c: Remove file.
1846 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1847
1848 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1849
1850 * sysdeps/unix/sysv/i386/time.S: Remove file.
1851
1852 * sysdeps/unix/fxstat.c: Remove file.
1853 * sysdeps/unix/xstat.c: Likewise.
1854 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1855
1856 * sysdeps/unix/sysv/sigaction.c: Remove file.
1857
1858 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1859 (sysdep_headers): Remove variable.
1860 [termio.h not in sysdep_headers] (generated): Likewise.
1861 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1862 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1863 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1864 * sysdeps/unix/sysv/tcflow.c: Likewise.
1865 * sysdeps/unix/sysv/tcflush.c: Likewise.
1866 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1867 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1868 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1869 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1870 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1871
1872 * sysdeps/unix/siglist.c: Remove file.
1873
1874 * sysdeps/unix/getppid.S: Remove file.
1875
1876 * sysdeps/unix/mkdir.c: Remove file.
1877 * sysdeps/unix/rmdir.c: Likewise.
1878
1879 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1880
1881 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1882 ERR_MAX value.
1883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1884 errlist-compat value.
1885
1886 2012-04-18 David S. Miller <davem@davemloft.net>
1887
1888 * sysdeps/generic/memcopy.h (reg_char): Delete.
1889 * debug/strcat_chk.c: Use char, not reg_char.
1890 * debug/strcpy_chk.c: Likewise.
1891 * debug/strncat_chk.c: Likewise.
1892 * debug/strncpy_chk.c: Likewise.
1893 * string/memchr.c: Likewise.
1894 * string/memrchr.c: Likewise.
1895 * string/rawmemchr.c: Likewise.
1896 * string/strcat.c: Likewise.
1897 * string/strchr.c: Likewise.
1898 * string/strchrnul.c: Likewise.
1899 * string/strcmp.c: Likewise.
1900 * string/strcpy.c: Likewise.
1901 * string/strncat.c: Likewise.
1902 * string/strncmp.c: Likewise.
1903 * string/strncpy.c: Likewise.
1904
1905 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1906
1907 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1908 __builtin_memcopy is called when src and dest ranges are known to not
1909 overlap.
1910
1911 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1912
1913 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1914 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1915 fwd_align_merge macro call.
1916 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1917 bwd_align_merge macro call.
1918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1919
1920 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1921
1922 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1923 bwd_align_merge macros.
1924 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1925 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1926 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1927
1928 2012-04-18 David S. Miller <davem@davemloft.net>
1929
1930 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1931
1932 2012-04-18 Andreas Jaeger <aj@suse.de>
1933
1934 [BZ# 6794]
1935 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1936 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1938
1939 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1940 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1942
1943 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1944 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1945 Adjust for changed ldbl-128 files.
1946
1947 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1948 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1949 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1950
1951 2012-04-17 David S. Miller <davem@davemloft.net>
1952
1953 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1954
1955 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1956
1957 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1958 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1959 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1960 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1961 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1962 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1963
1964 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 [BZ #6794]
1967 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1968 * math/libm-test.inc: Add ilogb errno and exception tests.
1969 * math/w_ilogb.c: New file: ilogb wrapper.
1970 * math/w_ilogbf.c: New file: ilogbf wrapper.
1971 * math/w_ilogbl.c: New file: ilogbl wrapper.
1972 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1973 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1974 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1975 exception being thrown with 0.0 as argument.
1976 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1977 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1978 exception being thrown with 0.0 as argument.
1979 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1980 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1981 exception being thrown with 0.0 as argument.
1982 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1983 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1984 exception being thrown with 0.0 as argument.
1985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1986 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1988 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1989 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1990 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1991 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1992 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1993 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1994
1995 2012-04-17 Petr Baudis <pasky@ucw.cz>
1996
1997 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1998 with altivec.
1999
2000 2012-04-16 Marek Polacek <polacek@redhat.com>
2001
2002 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2003
2004 2012-04-16 Marek Polacek <polacek@redhat.com>
2005
2006 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2007 operands of fdivp instruction.
2008
2009 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2012 * elf/tst-auditmod3b.c: Likewise.
2013 * elf/tst-auditmod4b.c: Likewise.
2014 * elf/tst-auditmod5b.c: Likewise.
2015 * elf/tst-auditmod6b.c: Likewise.
2016 * elf/tst-auditmod6c.c: Likewise.
2017 * elf/tst-auditmod7b.c: Likewise.
2018 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2019 * sysdeps/x86_64/preconfigure.in: Likewise.
2020 * sysdeps/x86_64/preconfigure: Regenerated.
2021
2022 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2023
2024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2025 __ILP32__.
2026
2027 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2028
2029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2030 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2031
2032 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2033
2034 [BZ #13973]
2035 * locale/iso-639.def: Fix gl language name. Spotted by
2036 Yaron Shahrabani.
2037
2038 2012-04-12 Roland McGrath <roland@hack.frob.com>
2039
2040 [BZ #2074]
2041 * libio/libio.h (__io_write_fn): Update comment.
2042
2043 2012-04-12 Petr Baudis <pasky@ucw.cz>
2044
2045 [BZ #2074]
2046 * stdio.texi (Hook Functions): The user provided writer function
2047 is not allowed to return -1.
2048
2049 2012-04-11 David S. Miller <davem@davemloft.net>
2050
2051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2052
2053 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2054
2055 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2056 Add a leading slash to rtkaio.
2057
2058 2012-04-11 Jim Meyering <meyering@redhat.com>
2059
2060 [BZ #11959]
2061 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2062 It is not necessarily an error to ignore fwrite's return
2063 value. One can reliably use ferror to test for errors after
2064 the fact.
2065
2066 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2067
2068 * bits/types.h (__snseconds_t): New type.
2069 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2070
2071 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2073 (__SNSECONDS_T_TYPE): Likewise.
2074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2075 (__SNSECONDS_T_TYPE): Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2077 (__SNSECONDS_T_TYPE): Likewise.
2078
2079 2012-04-10 Andreas Jaeger <aj@suse.de>
2080
2081 [BZ #2636]
2082 * manual/time.texi (Processor Time): Return type of times is
2083 elapsed real time since an arbitrary point in the past.
2084 (CPU Time): Move CLK_TCK from here...
2085 (Processor Time): ...to here. Correct description.
2086 * manual/conf.texi (Constants for Sysconf): Correct description of
2087 _SC_CLK_TCK.
2088
2089 2012-04-10 David S. Miller <davem@davemloft.net>
2090
2091 [BZ #13967]
2092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2093 where the is a gap between DT_REL(A) and DT_JMPREL.
2094
2095 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2098 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2099 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2100
2101 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2102
2103 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2104 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2105 (dl_main): Handle --inhibit-cache.
2106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2107 _dl_inhibit_cache.
2108 * elf/dl-load.c (_dl_map_object): Use it.
2109 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2110
2111 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2112
2113 [BZ #13872]
2114 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2115 (__ieee754_powl): Saturate large exponents rather than testing for
2116 overflow of y*log2(x).
2117 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2118 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2119 exceptions.
2120
2121 [BZ #11521]
2122 * math/s_ctan.c: Include <float.h>.
2123 (__ctan): Avoid internal overflow or cancellation in calculating
2124 denominator.
2125 * math/s_ctanf.c: Likewise.
2126 * math/s_ctanl.c: Likewise.
2127 * math/s_ctanh.c: Likewise.
2128 * math/s_ctanhf.c: Likewise.
2129 * math/s_ctanhl.c: Likewise.
2130 * math/libm-test.inc (ctan_test): Add more tests.
2131 (ctanh_test): Likewise.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2134
2135 2012-04-09 Andreas Jaeger <aj@suse.de>
2136
2137 [BZ #6894]
2138 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2139 is an optional BSD extension.
2140
2141 [BZ #10254]
2142 * manual/stdio.texi (Opening Streams): Document additional fopen
2143 parameters.
2144
2145 2012-04-09 Roland McGrath <roland@hack.frob.com>
2146
2147 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2148 %eax without telling the compiler.
2149
2150 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2151
2152 [BZ # 13963]
2153 * manual/install.texi: Use sourceware.org.
2154
2155 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2156
2157 [BZ #13873]
2158 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2159 (__ieee754_pow): Generate overflow and underflow using huge*huge
2160 and tiny*tiny rather than just returning constant infinity or zero
2161 for large exponents.
2162 * math/libm-test.inc (pow_test): Require overflow exceptions for
2163 applicable cases of large exponents.
2164
2165 [BZ #706]
2166 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2167 (__ieee754_pow): Use iterative multiplication algorithm only for
2168 integer exponents with absolute value below 1024. Check for odd
2169 integer exponents when using algorithm for real exponents.
2170 * math/libm-test.inc (pow_test): Add more tests.
2171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2172
2173 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2174
2175 [BZ #13705]
2176 * math/libm-test.inc (exp_test): Do not allow overflow exception
2177 on underflow test.
2178
2179 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2180
2181 [BZ #13705]
2182 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2183 instead of __kernel_standard_f.
2184
2185 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2186
2187 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2188 * sysdeps/x86_64/memset_chk.S: Likewise.
2189
2190 2012-04-08 Andreas Jaeger <aj@suse.de>
2191
2192 [BZ #10153]
2193 * manual/startup.texi (Environment Access): Describe return value
2194 for putenv and setenv.
2195
2196 [BZ #6895]
2197 * manual/filesys.texi (Directory Entries): Add description for
2198 DT_LNK.
2199
2200 [BZ #6890]
2201 * manual/filesys.texi (Directory Entries): Clarify that it's file
2202 system not operating system in the description of DT_UNKNOWN.
2203
2204 [BZ #6578]
2205 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2206
2207 2012-04-08 Stephen Compall <s11@member.fsf.org>
2208
2209 [BZ #6649]
2210 * manual/llio.texi (Opening and Closing Files): Add cross
2211 reference to explain mode argument.
2212
2213 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2214
2215 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2216 * sysdeps/x86_64/memset_chk.S: Likewise.
2217
2218 2012-04-07 David S. Miller <davem@davemloft.net>
2219
2220 * elf/elf.h (R_SPARC_WDISP10): Define.
2221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2222 R_SPARC_SIZE32.
2223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2224 R_SPARC_SIZE64 and R_SPARC_H34.
2225
2226 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2227
2228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2229 conditions and remove no longer applicable assertion.
2230
2231 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2232
2233 * bits/byteswap.h: Include <features.h>.
2234 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2235 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2236
2237 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 * bits/byteswap.h (__bswap_16): Removed.
2240 Include <bits/byteswap-16.h> to get __bswap_16.
2241 * sysdeps/i386/bits/byteswap.h: Likewise.
2242 * sysdeps/s390/bits/byteswap.h: Likewise.
2243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2244 * bits/byteswap-16.h: New file.
2245 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2246 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2247 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2248 * string/Makefile (headers): Add bits/byteswap-16.h.
2249
2250 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2251
2252 [BZ #13895]
2253 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2254 extra indirection.
2255 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2256 * nss/tst-nss-static.c: New.
2257
2258 2012-04-06 Robert Millan <rmh@gnu.org>
2259
2260 [BZ #6486]
2261 * manual/llio.texi (File Position Primitive): lseek
2262 refers to WHENCE when it really means OFFSET.
2263
2264 2012-04-06 Andreas Jaeger <aj@suse.de>
2265
2266 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2267 strncmp declarations.
2268
2269 * abilist/libc.abilist: Add __poll and __ppoll.
2270
2271 2012-04-05 David S. Miller <davem@davemloft.net>
2272
2273 * scripts/check-local-headers.sh: Accept a host triplet in the
2274 path matched by the exclude regexp.
2275
2276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2277 definition.
2278 * sysdeps/powerpc/powerpc32/dl-machine.h
2279 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2280 * sysdeps/s390/s390-32/dl-machine.h
2281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2282 * sysdeps/sparc/sparc32/dl-machine.h
2283 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2284 * sysdeps/sparc/sparc64/dl-machine.h
2285 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2286
2287 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2288 lazy binding.
2289 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2290 undefined symbol errors.
2291
2292 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2293 DT_NEEDED entries.
2294
2295 2012-04-05 Michael Matz <matz@suse.de>
2296
2297 [BZ #13592]
2298 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2299
2300 2012-04-05 Andreas Jaeger <aj@suse.de>
2301
2302 [BZ #13908]
2303 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2304 comment.
2305
2306 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2307
2308 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2309 which ROUND is no valid rounding mode.
2310
2311 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2312
2313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2314 read again.
2315 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2316
2317 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2318
2319 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2320 an exception using FPU order intentionally.
2321
2322 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2323
2324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2325 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2326 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2327 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2328
2329 2012-04-05 Simon Josefsson <simon@josefsson.org>
2330
2331 [BZ #12340]
2332 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2333 EINVAL when BUFLEN is too smal.
2334
2335 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2336
2337 [BZ #13553]
2338 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2339 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2340
2341 2012-04-03 Andreas Jaeger <aj@suse.de>
2342
2343 [BZ #13938]
2344 * manual/setjmp.texi (System V contexts): Fix sentence.
2345
2346 [BZ #13926]
2347 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2348 New macro for this case.
2349 [!__GNUC__] (__bswap_64): New inline function for this case.
2350 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2351 * bits/byteswap.h: Likewise.
2352 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2353 ull, guard with __GLIBC_HAVE_LONG_LONG.
2354
2355 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2356 __GLIBC_HAVE_LONG_LONG.
2357
2358 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2359 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2360
2361 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2362
2363 [BZ #13691]
2364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2365 inptr and inend, rather than using last_ch.
2366
2367 2012-04-02 David S. Miller <davem@davemloft.net>
2368
2369 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2370 * stdio-common/printf-parse.h (read_int): Change return type to
2371 'int', return -1 on INT_MAX overflow.
2372 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2373 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2374 overflows INT_MAX. Check for overflow of in-format-string precision
2375 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2376 SIZE_MAX not INT_MAX for integer overflow test.
2377 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2378 skip the construct in the format string but do not record anything.
2379 * stdio-common/bug22.c: Adjust to test both width/prevision
2380 INT_MAX overflow as well as total length INT_MAX overflow. Check
2381 explicitly for proper errno values.
2382
2383 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2384
2385 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2386 CHAR_MAX.
2387 * string/test-strcmp.c [! WIDE]: Likewise.
2388 * time/tst-mktime2.c: Likewise for INT_MAX.
2389 * string/test-string.h: #include <sys/param.h> for MIN.
2390
2391 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2392 * sysdeps/i386/init-first.c (init): Likewise.
2393 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2394 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2395 * sysdeps/sh/init-first.c (init): Likewise.
2396
2397 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2398
2399 * po/ru.po: Update from translation team.
2400 * po/vi.po: Likewise.
2401
2402 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2403
2404 * resolv/nss_dns/dns-host.c: Merge copyright years.
2405
2406 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2407
2408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2409 Optimize memcpy with prefetch if
2410 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2411 src, dst pointers have unequal 16 byte alignments.
2412
2413 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2414
2415 [BZ #13928]
2416 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2417 from a CNAME entry and return the minimum ttl for the query.
2418 (gaih_getanswer_slice): Likewise.
2419
2420 2012-03-30 Jeff Law <law@redhat.com>
2421
2422 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2423 due to long keys.
2424 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2425 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2426
2427 * resolv/nss_dns/dns-host.c: Update copyright year.
2428
2429 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2430
2431 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2432 requests to save a system call. Fix check that all bytes are sent.
2433
2434 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2435 comments for sendmmsg.
2436
2437 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2438
2439 [BZ #13691]
2440 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2441 with only 1 character between 0x0041 and 0x01b0.
2442 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2443 * wcsmbs/tst-mbsnrtowcs.c: New file.
2444
2445 2012-03-29 David S. Miller <davem@davemloft.net>
2446
2447 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2448 small copies by hand.
2449
2450 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2451
2452 [BZ #13761]
2453 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2454 _nss_compat_initgroups_dyn): Fall back to malloc/free
2455 for large group memberships.
2456
2457 2012-03-28 David S. Miller <davem@davemloft.net>
2458
2459 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2460 that branches into memcpy.
2461 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2464 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2466 bits.
2467 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2468 implementation too.
2469 * sysdeps/sparc/mempcpy.S: New file.
2470
2471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2472 the IFUNC routine in the libc case.
2473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2474
2475 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2476 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2477 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2478 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2479 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2480 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2481 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2482 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2483
2484 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2485 loop to 256 bytes instead of 64 bytes and fix test signedness.
2486
2487 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2488 * sysdeps/sparc/sparc32/Makefile: rather than here...
2489 * sysdeps/sparc/sparc64/Makefile: and here.
2490
2491 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2492
2493 * malloc/mallocbug.c: Avoid warnings about unused variables.
2494
2495 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2496
2497 [BZ #13760]
2498 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2499 in the right place. Discard and retry query if response is
2500 larger than input buffer size.
2501
2502 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2503
2504 [BZ #369]
2505 [BZ #2678]
2506 [BZ #3866]
2507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2508 x for large integer exponent.
2509 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2510 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2511 sign of result as needed afterwards.
2512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2513 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2514 result for underflowing pow the same as for overflow.
2515 (__kernel_standard_l): Handle powl overflow and underflow here
2516 rather than calling __kernel_standard.
2517 * math/libm-test.inc (pow_test): Add more tests.
2518
2519 [BZ #3868]
2520 [BZ #13879]
2521 [BZ #13910]
2522 [BZ #13911]
2523 [BZ #13912]
2524 [BZ #13913]
2525 [BZ #13915]
2526 [BZ #13916]
2527 [BZ #13917]
2528 [BZ #13918]
2529 [BZ #13919]
2530 [BZ #13920]
2531 [BZ #13921]
2532 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2533 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2534 (__kernel_standard_l): New function.
2535 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2536 __kernel_standard.
2537 * math/w_acosl.c (__acosl): Likewise.
2538 * math/w_asinl.c (__asinl): Likewise.
2539 * math/w_atan2l.c (__atan2l): Likewise.
2540 * math/w_atanhl.c (__atanhl): Likewise.
2541 * math/w_coshl.c (__coshl): Likewise.
2542 * math/w_exp10l.c (__exp10l): Likewise.
2543 * math/w_exp2l.c (__exp2l): Likewise.
2544 * math/w_fmodl.c (__fmodl): Likewise.
2545 * math/w_hypotl.c (__hypotl): Likewise.
2546 * math/w_j0l.c (__j0l, __y0l): Likewise.
2547 * math/w_j1l.c (__j1l, __y1l): Likewise.
2548 * math/w_jnl.c (__jnl, __ynl): Likewise.
2549 * math/w_lgammal.c (__lgammal): Likewise.
2550 * math/w_log10l.c (__log10l): Likewise.
2551 * math/w_log2l.c (__log2l): Likewise.
2552 * math/w_logl.c (__logl): Likewise.
2553 * math/w_powl.c (__powl): Likewise.
2554 * math/w_remainderl.c (__remainderl): Likewise.
2555 * math/w_scalbl.c (sysv_scalbl): Likewise.
2556 * math/w_sinhl.c (__sinhl): Likewise.
2557 * math/w_sqrtl.c (__sqrtl): Likewise.
2558 * math/w_tgammal.c (__tgammal): Likewise.
2559 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2560 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2561 * math/libm-test.inc (acos_test): Add more tests.
2562 (acosh_test): Likewise.
2563 (asin_test): Likewise.
2564 (atanh_test): Likewise.
2565 (exp_test): Likewise.
2566 (exp10_test): Likewise.
2567 (exp2_test): Likewise.
2568 (expm1_test): Likewise.
2569 (lgamma_test): Likewise.
2570 (log_test): Likewise.
2571 (log10_test): Likewise.
2572 (log1p_test): Likewise.
2573 (log2_test): Likewise.
2574 (pow_test): Do not allow some spurious overflow exceptions.
2575 (sqrt_test): Add more tests.
2576 (tgamma_test): Likewise.
2577 (y0_test): Likewise.
2578 (y1_test): Likewise.
2579 (yn_test): Likewise.
2580
2581 2012-03-27 Anton Blanchard <anton@samba.org>
2582
2583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2584 MAP_HUGETLB.
2585 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2588
2589 2012-03-27 David S. Miller <davem@davemloft.net>
2590
2591 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2592
2593 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2594 have-as-vis3 check.
2595
2596 2012-03-27 Andreas Jaeger <aj@suse.de>
2597
2598 * sysdeps/x86_64/elf/configure.in: Moved to ...
2599 * sysdeps/x86_64/configure.in: ... here.
2600 * sysdeps/x86_64/elf/start.S: Moved to ...
2601 * sysdeps/x86_64/start.S: ... here.
2602 * sysdeps/x86_64/elf/configure: Delete.
2603
2604 * sysdeps/x86_64/configure.in: Merge contents from
2605 sysdeps/i386/configure.in (without i686 check).
2606
2607 * sysdeps/i386/elf/Versions: Merge into ...
2608 * sysdeps/i386/Versions: ... this.
2609 * sysdeps/i386/elf/Versions: Delete file.
2610 * sysdeps/i386/elf/start.S: Moved to ...
2611 * sysdeps/i386/start.S: ...here.
2612 * sysdeps/i386/elf/configure.in: Merge into...
2613 * sysdeps/i386/configure.in: ...here.
2614 * sysdeps/i386/elf/configure.in: Delete file.
2615 * sysdeps/i386/elf/configure: Delete file.
2616
2617 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2618 * debug/backtracesyms.c: ... here.
2619 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2620 * debug/backtracesymsfd.c: ... here.
2621 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2622 * sysdeps/generic/ifunc-sel.h: ... here.
2623
2624 * sysdeps/unix/i386/start.c: Delete file.
2625 * sysdeps/unix/sparc/start.c: Delete file.
2626 * sysdeps/unix/start.c: Delete file.
2627
2628 * sysdeps/sh/elf/configure.in: Moved to ...
2629 * sysdeps/sh/configure.in: ... here.
2630 * sysdeps/sh/elf/start.S: Moved to ...
2631 * sysdeps/sh/start.S: ... here.
2632 * sysdeps/sh/elf/configure: Delete file.
2633
2634 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2635 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2636 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2637 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2638 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2639 * sysdeps/powerpc/powerpc64/start.S: here.
2640 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2641 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2642 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2643 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2644 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2645
2646 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2647 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2648 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2649 * sysdeps/powerpc/powerpc32/start.S: ... here.
2650 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2651 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2652 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2653
2654 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2655 * sysdeps/powerpc/ifunc-sel.h: ... here.
2656 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2657 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2658
2659 * sysdeps/sparc/elf/configure.in: Moved to ...
2660 * sysdeps/sparc/configure.in: ... here.
2661 * sysdeps/sparc/elf/configure: Delete file.
2662 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2663 * sysdeps/sparc/sparc32/start.S: ... here.
2664 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2665 * sysdeps/sparc/sparc64/start.S: ... here.
2666 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2667 * sysdeps/sparc/sparc32/Makefile: ... this.
2668 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2669 * sysdeps/sparc/sparc64/Makefile: ... this.
2670
2671 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2672 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2673 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2674 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2675 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2676 * sysdeps/s390/s390-32/setjmp.S: ... here.
2677 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2678 * sysdeps/s390/s390-32/configure.in: ... here.
2679 * sysdeps/s390/s390-32/elf/configure: Delete file.
2680 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2681 * sysdeps/s390/s390-32/start.S: ... here.
2682
2683 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2684 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2685 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2686 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2687 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2688 * sysdeps/s390/s390-64/setjmp.S: ... here.
2689 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2690 * sysdeps/s390/s390-64/configure.in: ... here
2691 * sysdeps/s390/s390-64/elf/configure: Delete file.
2692 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2693 * sysdeps/s390/s390-64/start.S: ... here.
2694 * sysdeps/s390/s390-64/elf/configure: Delete.
2695
2696 * configure.in: Remove support for elf directories in sysdeps.
2697
2698 * configure: Regenerated.
2699 * sysdeps/i386/configure: Regenerated.
2700 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2701 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2702 * sysdeps/s390/s390-32/configure: Regenerated.
2703 * sysdeps/s390/s390-64/configure: Regenerated.
2704 * sysdeps/sh/configure: Regenerated.
2705 * sysdeps/sparc/configure: Regenerated.
2706 * sysdeps/x86_64/configure: Regenerated.
2707
2708 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2709
2710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2711
2712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2713 denormal result into account.
2714
2715 2012-03-25 Roland McGrath <roland@hack.frob.com>
2716
2717 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2718 Reported by Allan McRae <allan@archlinux.org>.
2719
2720 2012-03-23 Jeff Law <law@redhat.com>
2721
2722 * nss/getnssent.c (__nss_getent): Fix typo.
2723
2724 2012-03-23 David S. Miller <davem@davemloft.net>
2725
2726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2727
2728 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2729
2730 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2731 to pad to uint64_t for each field.
2732 (dl_tls_index): Replace unsigned long with uint64_t.
2733
2734 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2735 Paul Pluzhnikov <ppluzhnikov@google.com>
2736
2737 [BZ #6528]
2738 * grp/Makefile (otherlibs): Don't set it.
2739 * inet/Makefile (otherlibs): Likewise.
2740 * login/Makefile (otherlibs): Likewise.
2741 * nscd/Makefile (otherlibs): Likewise.
2742 * posix/Makefile (otherlibs): Likewise.
2743 * pwd/Makefile (otherlibs): Likewise.
2744 * rt/Makefile (otherlibs): Likewise.
2745 * sunrpc/Makefile (otherlibs): Likewise.
2746 * nss/Makefile (otherlibs): Likewise.
2747 Add libnss_files to routines and static-only-routines.
2748 ($(objpfx)getent): Remove rule.
2749 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2750 static-only-routines.
2751
2752 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2753
2754 [BZ #13892]
2755 * math/s_cexp.c: Include <float.h>.
2756 (__cexp): Handle exp result overflowing not necessarily
2757 overflowing both real and imaginary parts of result.
2758 * math/s_cexpf.c: Likewise.
2759 * math/s_cexpl.c: Likewise.
2760 * math/libm-test.inc (cexp_test): Add more tests.
2761 * sysdeps/i386/fpu/libm-test-ulps: Update.
2762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2763
2764 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 * include/link.h (ELFW): New macro.
2767 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2768 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2769
2770 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2771
2772 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2773 with uint64_t.
2774
2775 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2776
2777 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2778 declaration.
2779 (struct La_x32_retval): Likewise.
2780
2781 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2782
2783 * sysdeps/x86_64/preconfigure.in: New file.
2784 * sysdeps/x86_64/preconfigure: New generated file.
2785
2786 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2787
2788 [BZ #13824]
2789 * math/e_exp2l.c: Include <float.h>.
2790 (__ieee754_exp2l): Handle overflow and underflow cases
2791 separately. Only pass fractional part of argument to
2792 __ieee754_expl.
2793 * math/libm-test.inc (exp2_test): Add more tests.
2794
2795 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2796 negating x to take absolute value.
2797 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2798 Likewise.
2799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2801 Likewise.
2802 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2803 computing low part if x was negated.
2804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2805
2806 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2809 la_x32_gnu_pltexit.
2810 (pltexit): Cast int_retval to ptrdiff_t.
2811 * elf/tst-auditmod3b.c: Likewise.
2812 * elf/tst-auditmod4b.c: Likewise.
2813 * elf/tst-auditmod5b.c: Likewise.
2814 * elf/tst-auditmod6b.c: Likewise.
2815 * elf/tst-auditmod6c.c: Likewise.
2816 * elf/tst-auditmod7b.c: Likewise.
2817
2818 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2819 and x32_gnu_pltexit.
2820
2821 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2822 __ELF_NATIVE_CLASS.
2823 (La_x32_regs): New macro.
2824 (La_x32_retval): Likewise.
2825 (la_x32_gnu_pltenter): New function prototype.
2826 (la_x32_gnu_pltexit): Likewise.
2827
2828 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2829
2830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2831 exponent.
2832
2833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2834
2835 * configure.in (libc_cv_cc_nofma): Check for option to disable
2836 generation of FMA instructions.
2837 * configure: Regenerate.
2838 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2839 * sysdeps/ieee754/dbl-64/Makefile: New file.
2840 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2841 Remove brandred-fma4.
2842 (CFLAGS-brandred-fma4.c): Remove.
2843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2845 define.
2846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2847 define.
2848
2849 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2850
2851 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2852 LLONG_MAX != LONG_MAX.
2853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2854 (_fitoa_word): Likewise.
2855 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2856 LLONG_MAX != LONG_MAX.
2857 * stdio-common/_itowa.h: Include <_itoa.h>.
2858 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2859 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2860 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2861 only if not defined.
2862 (_ITOA_WORD_TYPE): Likewise.
2863 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2864 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2865
2866 2012-03-21 David S. Miller <davem@davemloft.net>
2867
2868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2869
2870 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2871
2872 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2873 of x86_64 when setting libc_cv_slibdir, libdir and
2874 libc_cv_localedir.
2875 * sysdeps/unix/sysv/linux/configure: Regenerated.
2876
2877 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2878
2879 * manual/lang.texi (Old Varargs): Remove section.
2880 (How Variadic): Update menu.
2881 (va_start): Do not mention varargs.h.
2882
2883 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2884 Joseph Myers <joseph@codesourcery.com>
2885
2886 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2887 link test.
2888 * configure: Regenerated.
2889
2890 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2891
2892 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2893 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2894 conformtest.pl
2895
2896 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2897
2898 * NOTES: Remove.
2899 * Makefile (files-for-dist): Remove NOTES.
2900 (NOTES): Remove rule.
2901 * README: Don't refer to NOTES.
2902 * manual/creature.texi: Don't include macros.texi.
2903 * manual/intro.texi (creature.texi): Remove comment referring to
2904 NOTES.
2905
2906 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2907 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2908 * configure: Regenerated.
2909 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2910 LIBC_TRY_CC_OPTION.
2911 (libc_cv_as_i686): Likewise.
2912 (libc_cv_cc_avx): Likewise.
2913 (libc_cv_cc_sse2avx): Likewise.
2914 (libc_cv_cc_fma4): Likewise.
2915 (libc_cv_cc_novzeroupper): Likewise.
2916 * sysdeps/i386/configure: Regenerated.
2917
2918 [BZ #13883]
2919 * sysdeps/i386/fpu/s_cexp.S: Remove.
2920 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2921 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2922 * math/libm-test.inc (cexp_test): Add more tests.
2923 * sysdeps/i386/fpu/libm-test-ulps: Update.
2924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2925
2926 2012-03-21 Allan McRae <allan@archlinux.org>
2927
2928 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2929
2930 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2931
2932 [BZ #13871]
2933 * math/w_exp2.c: Do not include <float.h>.
2934 (o_threshold, u_threshold): Remove.
2935 (__exp2): Calculate result before checking finiteness and calling
2936 __kernel_standard.
2937 * math/w_exp2f.c: Likewise.
2938 * math/w_exp2l.c: Likewise.
2939 * math/libm-test.inc (exp2_test): Require overflow exception for
2940 1e6 input.
2941
2942 [BZ #3866]
2943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2944 range of signed 64-bit integers before using fistpll. Remove
2945 checks for whether integers fit in mantissa bits.
2946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2947 the range of signed 32-bit integers before using fistpl. Remove
2948 checks for whether integers fit in mantissa bits.
2949 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2950 (__ieee754_powl): Test for y outside the range of signed 64-bit
2951 integers before using fistpll. Reduce 64-bit values to 63-bit
2952 ones as needed.
2953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2954 divide-by-zero is raised for zero to large negative powers.
2955 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2956 (__ieee754_powl): Test for y outside the range of signed 64-bit
2957 integers before using fistpll. Reduce 64-bit values to 63-bit
2958 ones as needed.
2959 * math/libm-test.inc (pow_test): Add more tests.
2960
2961 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2962
2963 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2964 <stdio-common/_itoa.h>.
2965 * debug/segfault.c: Likewise.
2966 * elf/dl-cache.c: Likewise.
2967 * elf/dl-minimal.c: Likewise.
2968 * elf/dl-misc.c: Likewise.
2969 * elf/dl-sysdep.c: Likewise.
2970 * elf/dl-version.c: Likewise.
2971 * elf/rtld.c: Likewise.
2972 * hurd/hurdsock.c: Likewise.
2973 * hurd/lookup-retry.c: Likewise.
2974 * malloc/malloc.c: Likewise.
2975 * malloc/mtrace.c: Likewise.
2976 * nscd/nscd_getgr_r.c: Likewise.
2977 * nscd/nscd_getpw_r.c: Likewise.
2978 * nscd/nscd_getserv_r.c: Likewise.
2979 * posix/getopt_init.c: Likewise.
2980 * posix/wordexp.c: Likewise.
2981 * stdio-common/_itoa.c: Likewise.
2982 * stdio-common/printf_fphex.c: Likewise.
2983 * stdio-common/vfprintf.c: Likewise.
2984 * string/_strerror.c: Likewise.
2985 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2986 * sysdeps/i386/i686/hp-timing.h: Likewise.
2987 * sysdeps/mach/_strerror.c: Likewise.
2988 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2989 * sysdeps/mach/hurd/sethostid.c: Likewise.
2990 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2991 * sysdeps/mach/xpg-strerror.c: Likewise.
2992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2994 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2995 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2997 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2999 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3000 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3001 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3002 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3003 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3004 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3005 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3006 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3008 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3010 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3011 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3012 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3013
3014 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3015
3016 * stdio-common/_itoa.h: Moved to ...
3017 * sysdeps/generic/_itoa.h: Here.
3018
3019 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3020
3021 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3022 instead of "_itoa.h" and "_itowa.h".
3023 * stdio-common/vfprintf.: Likewise.
3024
3025 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3026
3027 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3028 <bits/wordsize.h>.
3029 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3030 (__signbit): Likwise.
3031 (llrintf): Likwise.
3032 (llrint): Likwise.
3033
3034 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3035
3036 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3037 __WORDSIZE != 64.
3038
3039 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3040
3041 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3042 OVERFLOW_EXCEPTION_OK.
3043 * math/libm-test.inc ("Philosophy"): Update comment about
3044 exception testing.
3045 (OVERFLOW_EXCEPTION): Define.
3046 (OVERFLOW_EXCEPTION_OK): Likewise.
3047 (INVALID_EXCEPTION_OK): Renumber.
3048 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3049 (IGNORE_ZERO_INF_SIGN): Likewise.
3050 (test_exceptions): Handle FE_OVERFLOW.
3051 (exp10_test): Expect overflow exceptions.
3052 (exp2_test): Likewise.
3053 (expm1_test): Likewise.
3054 (nextafter_test): Likewise.
3055 (pow_test): Likewise.
3056 (scalbn_test): Likewise.
3057 (scalbln_test): Likewise.
3058
3059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3060
3061 * sysdeps/x86_64/bits/atomic.h
3062 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3063 64bit integer.
3064 (atomic_exchange_acq): Likewise.
3065 (__arch_exchange_and_add_body): Likewise.
3066 (__arch_add_body): Likewise.
3067 (atomic_add_negative): Likewise.
3068 (atomic_add_zero): Likewise.
3069
3070 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3071
3072 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3073 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3074
3075 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3076
3077 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3078 Check __x86_64__ instead of __WORDSIZE.
3079
3080 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3081
3082 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3083
3084 2012-03-19 David S. Miller <davem@davemloft.net>
3085
3086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3087
3088 * sysdeps/sparc/fpu/fenv_private.h: New file.
3089 * sysdeps/sparc/fpu/math_private.h: Use it.
3090 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3091 Remove.
3092 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3093 (libc_feholdexcept_setroundl): Remove.
3094 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3095 Remove.
3096 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3097 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3098
3099 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3100
3101 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3102 int64_t instead of long int.
3103 (INSERT_WORDS64): Likwise.
3104
3105 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3106
3107 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3108 _Unwind_GetCFA return to _Unwind_Ptr first.
3109
3110 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3111
3112 [BZ #13629]
3113 * math/s_clog.c: Include <float.h>.
3114 (__clog): Scale large or subnormal inputs.
3115 * math/s_clogf.c: Likewise.
3116 * math/s_clogl.c: Likewise.
3117 * math/s_clog10.c: Include <float.h>.
3118 (M_LOG10_2): Define.
3119 (__clog10): Scale large or subnormal inputs.
3120 * math/s_clog10f.c: Likewise.
3121 * math/s_clog10l.c: Likewise.
3122 * math/libm-test.inc (clog_test): Add more tests.
3123 (clog10_test): Likewise.
3124 * sysdeps/i386/fpu/libm-test-ulps: Update.
3125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3126
3127 [BZ #11451]
3128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3129 x and y.
3130 * math/libm-test.inc (atan2_test): Add another test.
3131
3132 * Makerules (common-objdir-compile): Remove.
3133 * sysdeps/unix/Makefile (config-generated): Do not add
3134 $(unix-generated) to variable.
3135 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3136 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3137 Remove rule.
3138 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3139 Likewise.
3140 [generic bits/local_lim.h] (before-compile): Do not append to
3141 variable.
3142 [generic bits/local_lim.h] (common-generated): Likewise.
3143 [generic sys/param.h] (before-compile): Do not append to variable.
3144 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3145 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3146 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3147 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3148 include.
3149 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3150 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3151 [generic sys/param.h] ($(addprefix
3152 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3153 [generic sys/param.h] (common-generated): Do not append to
3154 variable.
3155 [generic sys/param.h] (sysdep_headers): Likewise.
3156 [generic bits/errno.h] (before-compile): Do not append to
3157 variable.
3158 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3159 rule.
3160 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3161 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3162 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3163 [generic bits/errno.h] (common-generated): Do not append to
3164 variable.
3165 [generic bits/ioctls.h] (before-compile): Do not append to
3166 variable.
3167 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3168 rule.
3169 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3170 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3171 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3172 rule.
3173 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3174 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3175 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3176 [generic bits/ioctls.h] (common-generated): Do not append to
3177 variable.
3178 [generic sys/syscall.h] (syscall.h): Remove variable.
3179 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3180 rule.
3181 [generic sys/syscall.h] (before-compile): Do not append to
3182 variable.
3183 [generic sys/syscall.h] (common-generated): Likewise.
3184 * sysdeps/unix/errnos-tmpl.c: Remove file.
3185 * sysdeps/unix/errnos.awk: Likewise.
3186 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3187 * sysdeps/unix/ioctls.awk: Likewise.
3188 * sysdeps/unix/mk-local_lim.c: Likewise.
3189 * sysdeps/unix/snarf-ioctls: Likewise.
3190
3191 2012-03-19 Richard Henderson <rth@twiddle.net>
3192
3193 * sysdeps/i386/fpu/fenv_private.h: New file.
3194 * sysdeps/i386/fpu/math_private.h: Use it.
3195 (math_opt_barrier, math_force_eval): Remove.
3196 (libc_feholdexcept_setround_53bit): Remove.
3197 (libc_feupdateenv_53bit): Remove.
3198 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3199 (math_opt_barrier, math_force_eval): Remove.
3200 (libc_feholdexcept): Remove.
3201 (libc_feholdexcept_setround): Remove.
3202 (libc_fetestexcept, libc_fesetenv): Remove.
3203 (libc_feupdateenv_test): Remove.
3204 (libc_feupdateenv, libc_feholdsetround): Remove.
3205 (libc_feresetround): Remove.
3206
3207 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3208 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3209
3210 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3211 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3212 (libc_feupdateenv_testl): New.
3213 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3214 (libc_feupdateenv_testf): New.
3215 (libc_feupdateenv): Use libc_feupdateenv_test.
3216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3217 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3218
3219 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3220 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3221 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3222 (libc_feresetround_noex): New.
3223 (libc_feresetround_noexf): New.
3224 (libc_feresetround_noexl): New.
3225 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3226 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3227 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3228 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3229 SET_RESTORE_ROUND.
3230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3232 (__cos): Likewise.
3233 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3235 SET_RESTORE_ROUND_NOEX.
3236 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3237 SET_RESTORE_ROUND_NOEXF.
3238 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3239 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3240 (libc_feholdsetroundf): New.
3241 (libc_feresetround, libc_feresetroundf): New.
3242
3243 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3244 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3245 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3246
3247 * sysdeps/generic/math_private.h: Include <fenv.h>.
3248 (default_libc_feholdexcept): New.
3249 (default_libc_feholdexcept_setround): New.
3250 (default_libc_fesetenv, default_libc_feupdateenv): New.
3251 (libc_feholdexcept): Only define if undefined.
3252 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3254 (libc_feholdexcept_setroundl): Likewise.
3255 (libc_feholdexcept_setround_53bit): Likewise.
3256 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3259 (libc_feupdateenv_53bit): Likewise.
3260 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3261 (libc_feholdexcept): Convert from macro to inline function.
3262 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3263 (libc_fesetenv, libc_feupdateenv): Likewise.
3264
3265 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3266 not previously defined.
3267 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3268 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3269 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3270 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3271 * sysdeps/ieee754/flt-32/math_private.h: New file.
3272 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3273 math_private.h below SET_FLOAT_WORD.
3274 (__isnan, __isinf_ns, __finite): Remove.
3275 (__isnanf, __isinf_nsf, __finitef): Remove.
3276
3277 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3278
3279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3280
3281 2012-03-17 David S. Miller <davem@davemloft.net>
3282
3283 [BZ #6471]
3284 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3285 for 2.16.
3286
3287 2012-03-16 David S. Miller <davem@davemloft.net>
3288
3289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3290 warnings.
3291
3292 [BZ #6471]
3293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3294 properly.
3295 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3296 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3297 sysdep_routines when subdir is sysvipc.
3298 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3299 __getshmlba helper.
3300
3301 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3302
3303 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3304
3305 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3306 [__LP64__].
3307
3308 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3309
3310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3311 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3312 (__lround): Renamed to ...
3313 (__llround): This. Replace long int with long long int.
3314 Define lround functions as aliases of llround functions.
3315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3316
3317 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3318
3319 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3320 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3321 adresses to uintptr_t. Replace "long int" and "unsigned long
3322 int" with "greg_t" on va_arg.
3323
3324 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3325
3326 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3327 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3328
3329 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3330 Move e_machine check before EI_CLASS check. Handle x32
3331 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3332 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3333 SKIP_EM_IA_64 and include
3334 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3335
3336 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3337 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3338 (add_system_dir): New macro.
3339
3340 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3341 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3342
3343 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3344
3345 [BZ #2551]
3346 [BZ #2552]
3347 [BZ #2553]
3348 [BZ #2554]
3349 [BZ #2562]
3350 [BZ #2563]
3351 [BZ #2565]
3352 [BZ #2566]
3353 [BZ #2576]
3354 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3355 (y0): Likewise.
3356 * math/w_j0f.c (j0f): Likewise.
3357 (y0f): Likewise.
3358 * math/w_j0l.c (__j0l): Likewise.
3359 (__y0l): Likewise.
3360 * math/w_j1.c (j1): Likewise.
3361 (y1): Likewise.
3362 * math/w_j1f.c (j1f): Likewise.
3363 (y1f): Likewise.
3364 * math/w_j1l.c (__j1l): Likewise.
3365 (__y1l): Likewise.
3366 * math/w_jn.c (jn): Likewise.
3367 (yn): Likewise.
3368 * math/w_jnf.c (jnf): Likewise.
3369 (ynf): Likewise.
3370 * math/w_jnl.c (__jnl): Likewise.
3371 (__ynl): Likewise.
3372 * math/libm-test.inc (j0_test): Add more tests.
3373 (j1_test): Likewise.
3374 (jn_test): Likewise. Add trailing semicolon to existing test.
3375 (y0_test): Likewise.
3376 (y1_test): Likewise.
3377 * sysdeps/i386/fpu/libm-test-ulps: Update.
3378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3379
3380 [BZ #13851]
3381 [BZ #13854]
3382 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3383 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3384 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3386 (__tanl): Set errno for infinite argument.
3387 * sysdeps/i386/fpu/mptan.c: Remove.
3388 * sysdeps/i386/fpu/s_tan.S: Likewise.
3389 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3390 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3391 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3392 * math/libm-test.inc (tan_test): Add more tests and enable more
3393 tests for double and long double.
3394 * sysdeps/i386/fpu/libm-test-ulps: Update.
3395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3396
3397 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3400 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3401
3402 2012-03-16 Roland McGrath <roland@hack.frob.com>
3403
3404 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3405 * configure.in: Use it for both main tree and add-ons.
3406 * configure: Regenerated.
3407
3408 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3409
3410 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3411
3412 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3413
3414 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3415 in comment.
3416
3417 [BZ #13851]
3418 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3419 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3420 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3421 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3422 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3423 infinite argument.
3424 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3426 != 0 for prec == 2.
3427 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3428 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3429 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3430 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3431 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3432 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3433 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3434 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3435 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3436 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3437 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3438 * math/libm-test.inc (cos_test): Add more tests and enable more
3439 tests for long double.
3440 (sin_test): Likewise.
3441 (sincos_test): Likewise.
3442 * sysdeps/i386/fpu/libm-test-ulps: Update.
3443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3444
3445 2012-03-16 David S. Miller <davem@davemloft.net>
3446
3447 * sysdeps/sparc/fpu/math_private.h: New file.
3448
3449 2012-03-15 David S. Miller <davem@davemloft.net>
3450
3451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3452 file.
3453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3455 file.
3456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3462 sysdep routines.
3463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3464
3465 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3466 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3467
3468 * sysdeps/sparc/sparc-ifunc.h: New file.
3469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3470 sparc-ifunc.h
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3473 Likewise.
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3475 Likewise.
3476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3480 Likewise.
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3486 Likewise.
3487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3488 Likewise.
3489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3513
3514 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3515
3516 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3517 scaling.
3518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3519
3520 2012-03-15 Andreas Jaeger <aj@suse.de>
3521
3522 [BZ #13852]
3523 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3524 ieee754/flt-32 implementation for sin, cos and sincos.
3525 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3526 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3527 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3528 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3529 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3530 ieee754/flt-32 implementation for tan.
3531
3532 * math/libm-test.inc (cos_test): Enable some large input tests for
3533 float as well
3534 (sin_test): Likewise.
3535 (sincos_test): Likewise.
3536 (tan_test): Add tests for large input.
3537
3538 * sysdeps/i386/fpu/libm-test-ulps: Update.
3539
3540 2012-03-15 Andreas Jaeger <aj@suse.de>
3541
3542 [BZ #13658]
3543 * math/libm-test.inc (cos_test): Add more test cases.
3544 (sin_test): Likewise.
3545 (sincos_test): Likewise.
3546
3547 2012-03-15 Andreas Jaeger <aj@suse.de>
3548
3549 [BZ #13837]
3550 * math/libm-test.inc (cos_test): Add a test case for large input
3551 value.
3552 (sin_test): Likewise.
3553 (sincos_test): Likewise.
3554
3555 2012-03-15 Andreas Jaeger <aj@suse.de>,
3556 Joseph Myers <joseph@codesourcery.com>
3557
3558 [BZ #13658]
3559 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3560 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3561 * sysdeps/i386/fpu/branred.c: Likewise.
3562 * sysdeps/i386/fpu/dosincos.c: Likewise.
3563 * sysdeps/i386/fpu/mpa.c: Likewise.
3564 * sysdeps/i386/fpu/s_cos.S: Likewise.
3565 * sysdeps/i386/fpu/s_sin.S: Likewise.
3566 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3567 * sysdeps/i386/fpu/sincos32.c: Likewise.
3568
3569 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3570 Define.
3571 (libc_feupdateenv_53bit): Define.
3572 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3573 Define.
3574 (libc_feupdateenv_53bit): Define.
3575
3576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3577 53 bit (without extend i386 double precision).
3578
3579 * math/libm-test.inc (sincos_test): Add tests for large input.
3580 (sin): Likewise.
3581 (cos): Likewise.
3582
3583 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3584
3585 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3586
3587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3588
3589 2012-03-15 David S. Miller <davem@davemloft.net>
3590
3591 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3592 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3593 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3594 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3607 file.
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3610 file.
3611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3613 file.
3614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3616 file.
3617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3619 fmin/fmax sysdep routines.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3621
3622 2012-03-14 David S. Miller <davem@davemloft.net>
3623
3624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3653 routines.
3654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3655 file.
3656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3658 file.
3659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3661 file.
3662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3664 file.
3665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3667 file.
3668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3670 file.
3671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3672 file.
3673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3674 file.
3675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3676 file.
3677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3678 New file.
3679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3680 file.
3681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3682 file.
3683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3685 file.
3686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3688 file.
3689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3691 file.
3692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3694 VIS3 routines.
3695
3696 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3697 New file.
3698
3699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3700
3701 * sysdeps/sparc/configure.in: New file.
3702 * sysdeps/sparc/configure: Generate.
3703 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3704 * configure: Regenerate.
3705 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3706 * config.make.in (have-as-vis3): New.
3707 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3708 available use -Av9d instead of -Av9a.
3709 * sysdeps/sparc/sparc64/Makefile: Likewise.
3710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3712 New file.
3713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3714 file.
3715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3716 New file.
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3718 file.
3719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3724
3725 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3726 fzeros/fnegs to load 0x80000000 into a float register instead of
3727 using the stack.
3728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3729
3730 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3731
3732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3733 bits/syscall.h.
3734 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3735 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3736 ($(inst_includedir)/bits/syscall.h): Remove rule.
3737 ($(objpfx)bits/syscall.d): Include instead of
3738 $(objpfx)syscall-list.d.
3739 (generated): Change syscall-list.h and syscall-list.d to
3740 bits/syscall.h and bits/syscall.d.
3741
3742 2012-03-14 Roland McGrath <roland@hack.frob.com>
3743
3744 [BZ #13846]
3745 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3746
3747 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3748
3749 [BZ #13841]
3750 * math/s_csqrt.c: Include <float.h>.
3751 (__csqrt): Scale large or subnormal inputs.
3752 * math/s_csqrtf.c: Likewise.
3753 * math/s_csqrtl.c: Likewise.
3754 * math/libm-test.inc (csqrt_test): Add more tests.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757
3758 [BZ #13840]
3759 * math/libm-test.inc (hypot_test): Add more tests.
3760
3761 2012-03-13 David S. Miller <davem@davemloft.net>
3762
3763 [BZ #13840]
3764 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3765 double-precision for the calculation instead of scaling.
3766
3767 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3768
3769 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3770 manipulate bits before adding and subtracting TWO52[sx].
3771 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3773 Likewise.
3774 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3775
3776 2012-03-13 David S. Miller <davem@davemloft.net>
3777
3778 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3779 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3781 rtld-global-offsets.h
3782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3783
3784 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3785 large parameters.
3786
3787 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3788
3789 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3790 'err' in the ifdef scope in which it is actually used.
3791
3792 * nss/nss_db/db-init.c: Include string.h
3793
3794 2012-03-12 David S. Miller <davem@davemloft.net>
3795
3796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3797 masking out of the most significant byte of random value used.
3798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3799 Fix coding style in previous change.
3800
3801 * sysdeps/unix/sysv/linux/kernel-features.h
3802 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3803 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3804 expression.
3805 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3806 later.
3807
3808 2012-03-11 David S. Miller <davem@davemloft.net>
3809
3810 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3811 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3813 for 'resultvar' otherwise things get truncated on 64-bit.
3814
3815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3816 Fix masking out of the most significant byte of random value used.
3817
3818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3819
3820 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3821
3822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3823
3824 2012-03-09 David S. Miller <davem@davemloft.net>
3825
3826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3827 variables with appropriate CPP guards.
3828 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3829 frame pointer, not the stack pointer. Correct layout comments. Fix test
3830 on resulting framesize and the management of the outregs buffer for pltexit.
3831 Preserve floating point return values across _dl_call_pltexit call.
3832 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3833 framesize and the management of the outregs buffer for pltexit.
3834 Preserve floating point return values across _dl_call_pltexit
3835 call.
3836 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3837 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3838 (print_exit): Fix format string for return register value.
3839
3840 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3841
3842 * sunrpc/Makefile (others): Add rpcgen.
3843 ($(objpfx)rpcgen): Remove special build rule and dependency on
3844 libc.
3845 * sunrpc/rpcgen.c: New file.
3846
3847 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3848
3849 [BZ #13673]
3850 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3851 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3852 * sysdeps/i386/crti.S: Likewise.
3853 * sysdeps/i386/crtn.S: Likewise.
3854 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3855 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3856 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3857 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3858 * sysdeps/sh/crti.S: Likewise.
3859 * sysdeps/sh/crtn.S: Likewise.
3860 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3861
3862 [BZ #13673]
3863 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3864 with URL.
3865 * locale/programs/locfile-kw.gperf: Likewise.
3866 * locale/programs/charmap-kw.h: Regenerated.
3867 * locale/programs/locfile-kw.h: Likewise.
3868
3869 [BZ #13673]
3870 * intl/plural.y: Replace FSF snail mail address with URL.
3871 * intl/plural.c: Regenerated.
3872
3873 2012-03-09 Richard Henderson <rth@twiddle.net>
3874
3875 * include/math_private.h: Remove file.
3876 * math/math_private.h: Move file ...
3877 * sysdeps/generic/math_private.h: ... here.
3878
3879 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3880 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3881 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3882
3883 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3884 and <math_private.h>.
3885 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3886 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3887 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3888 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3889 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3890 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3891 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3893 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3894 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3897 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3899 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3900 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3902 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3903 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3904 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3907 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3917 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3919 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3922 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3923 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3924 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3925 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3926 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3927 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3931 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3932 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3933 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3934 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3935 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3936 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3937 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3939 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3940 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3942 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3943 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3944 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3945 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3946 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3948 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3949 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3973 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3974 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3975 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3976 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3977 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3978 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3979 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3980 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3981 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3982 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3983 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3985 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3986 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3987 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3988 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3990 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3991 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3992 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3993 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3995 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3996 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4001 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4002 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4003 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4004 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4006 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4007 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4008 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4009 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4010 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4011 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4012 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4013 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4014 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4015 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4016 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4017 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4018 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4019 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4020 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4021 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4023 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4024 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4034 * sysdeps/ieee754/k_standard.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4162 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4163 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4165 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4167 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4169 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4170 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4171 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4195 * sysdeps/ieee754/s_lib_version.c: Likewise.
4196 * sysdeps/ieee754/s_matherr.c: Likewise.
4197 * sysdeps/ieee754/s_signgam.c: Likewise.
4198 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4199 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4200 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4201 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4202 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4203 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4204 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4205 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4206 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4207 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4208 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4209 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4210 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4211 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4212 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4213 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4215 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4216 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4219
4220 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4221
4222 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4223 * sunrpc/rpc_main.c: Likewise.
4224 * sunrpc/rpc_svcout.c: Likewise.
4225
4226 2012-03-09 David S. Miller <davem@davemloft.net>
4227
4228 * include/math_private.h: New file.
4229
4230 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4231
4232 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4233 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4234 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4235 from <bits/socket_type.h>.
4236 (enum __socket_type): Don't define here.
4237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4239 bits/socket_type.h.
4240
4241 [BZ #13566]
4242 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4243 checking __USE_GNU.
4244
4245 * Makerules ($(inst_includedir)/%.h): New rule.
4246 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4247 (install-others): Remove variable setting.
4248 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4249
4250 2012-03-08 Richard Henderson <rth@twiddle.net>
4251
4252 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4253 from macro to inline function; merge with the
4254 !__LIBC_INTERNAL_MATH_INLINES version.
4255 (__ieee754_sqrtf): Likewise.
4256
4257 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4258 to inline function.
4259 (__rintf, __floor, __floorf): Likewise.
4260
4261 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4262 macro to inline function.
4263 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4264
4265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4266 not <math/math_private.h>.
4267
4268 2012-03-08 David S. Miller <davem@davemloft.net>
4269
4270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4271 copyright year.
4272 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4273
4274 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4275
4276 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4277 normalization.
4278 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4279 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4280
4281 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4282
4283 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4284 be defined individually, they must be defined as a block. Define
4285 S for printing a string instead of hidint the different by using a
4286 macro for adding the 'l'.
4287 * stdio-common/tst-fphex-wide.c: Adjust.
4288
4289 2012-03-07 Marek Polacek <polacek@redhat.com>
4290
4291 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4292
4293 2012-03-08 Marek Polacek <polacek@redhat.com>
4294
4295 [BZ #13806]
4296 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4297 * stdio-common/tst-fphex.c: Define a few macros to make the
4298 test reusable. Use them.
4299 * stdio-common/tst-fphex-wide.c: New file.
4300
4301 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4302
4303 [BZ #6911]
4304 * manual/macros.texi (gnusystems): New macro.
4305 (nongnusystems): Likewise.
4306 (gnulinuxhurdsystems): Likewise.
4307 (gnuhurdsystems): Likewise..
4308 (gnulinuxsystems): Likewise.
4309 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4310 variants of the GNU system, not "GNU system".
4311 * manual/conf.texi: Likewise.
4312 * manual/errno.texi: Likewise. Update example of errno macro
4313 expansion.
4314 * manual/filesys.texi: Likewise.
4315 (getumask): Document as specific to GNU/Hurd.
4316 * manual/install.texi: Likewise. Reword some references to
4317 GNU/Linux.
4318 * manual/intro.texi: Likewise.
4319 * manual/io.texi: Likewise.
4320 (File Name Portability): Detail which constraints are inapplicable
4321 to all GNU systems and which are only inapplicable to GNU/Hurd.
4322 * manual/job.texi: Likewise.
4323 * manual/llio.texi: Likewise.
4324 (O_NOCTTY): Document as present on GNU/Linux.
4325 * manual/maint.texi: Likewise.
4326 * manual/memory.texi: Likewise.
4327 * manual/pattern.texi: Likewise.
4328 * manual/pipe.texi: Likewise.
4329 * manual/process.texi: Likewise.
4330 * manual/resource.texi: Likewise.
4331 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4332 child on GNU/Hurd.
4333 * manual/setjmp.texi: Likewise.
4334 * manual/signal.texi: Likewise.
4335 * manual/startup.texi: Likewise.
4336 * manual/stdio.texi: Likewise.
4337 * manual/terminal.texi: Likewise.
4338 (ONLCR): Document as POSIX.
4339 (OXTABS): Document availability on GNU/Linux as XTABS.
4340 (ONOEOT): Document availability separately from other bits.
4341 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4342 * manual/time.texi: Likewise.
4343 * manual/users.texi: Likewise.
4344 * INSTALL: Regenerated.
4345 * sysdeps/gnu/errlist.c: Regenerated.
4346
4347 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4348 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4349 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4350 puts.
4351 * configure: Regenerated.
4352
4353 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4354
4355 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4356 default includes instead of AC_HEADER_CHECK.
4357 * sysdeps/i386/configure: Regenerated.
4358
4359 [BZ #10716]
4360 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4361 * math/s_cacoshf.c (__cacoshf): Likewise.
4362 * math/s_cacoshl.c (__cacoshl): Likewise.
4363 * math/s_casinh.c (__casinh): Set signs of result from argument.
4364 * math/s_casinhf.c (__casinhf): Likewise.
4365 * math/s_casinhl.c (__casinhl): Likewise.
4366 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4367 (casinh_test): Add more tests.
4368 * sysdeps/i386/fpu/libm-test-ulps: Update.
4369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4370
4371 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4372
4373 * po/zh_TW.po: Update from translation team.
4374
4375 * login/Makefile (distribute): Remove variable.
4376 * catgets/Makefile: Likewise.
4377 * mach/Makefile: Likewise.
4378 * malloc/Makefile: Likewise.
4379 * misc/Makefile: Likewise.
4380 * iconv/Makefile: Likewise.
4381 * nscd/Makefile: Likewise.
4382 * hurd/Makefile: Likewise.
4383 * manual/Makefile: Likewise.
4384 * locale/Makefile: Likewise.
4385 * intl/Makefile: Likewise.
4386 * conform/Makefile: Likewise.
4387 * nss/Makefile: Likewise.
4388 * time/Makefile: Likewise.
4389 * soft-fp/Makefile: Likewise.
4390 * dirent/Makefile: Likewise.
4391 * gmon/Makefile: Likewise.
4392 * po/Makefile: Likewise.
4393 * rt/Makefile: Likewise.
4394 * socket/Makefile: Likewise.
4395 * math/Makefile: Likewise.
4396 * signal/Makefile: Likewise.
4397 * debug/Makefile: Likewise.
4398 * elf/Makefile: Likewise.
4399 * timezone/Makefile: Likewise.
4400 * stdlib/Makefile: Likewise.
4401 * iconvdata/Makefile: Likewise.
4402 * sunrpc/Makefile: Likewise.
4403 * io/Makefile: Likewise.
4404 * argp/Makefile: Likewise.
4405 * inet/Makefile: Likewise.
4406 * hesiod/Makefile: Likewise.
4407 * grp/Makefile: Likewise.
4408 * csu/Makefile: Likewise.
4409 * wctype/Makefile: Likewise.
4410 * crypt/Makefile: Likewise.
4411 * libio/Makefile: Likewise.
4412 * string/Makefile: Likewise.
4413 * nis/Makefile: Likewise.
4414 * resolv/Makefile: Likewise.
4415 * stdio-common/Makefile: Likewise.
4416 * wcsmbs/Makefile: Likewise.
4417 * dlfcn/Makefile: Likewise.
4418 * posix/Makefile: Likewise.
4419
4420 [BZ #6959]
4421 * timezone/Makefile: Don't install timezone files, just the programs
4422 and scripts.
4423
4424 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4425
4426 * nss/databases.def: Add missing gshadow entry.
4427
4428 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4429
4430 2012-03-06 Marek Polacek <polacek@redhat.com>
4431
4432 [BZ #13726]
4433 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4434 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4435 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4436 * stdio-common/tst-long-dbl-fphex.c: New file.
4437
4438 2012-03-06 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4441 (set_obp_int): New function.
4442 (get_obp_int): New function.
4443 (__get_clockfreq_via_dev_openprom): Likewise.
4444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4445 Avoid unused variable warnings on 'val' and use builtin_expect.
4446 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4447 __builtin_expect.
4448 (INLINE_CLONE_SYSCALL): Likewise.
4449
4450 2012-03-05 David S. Miller <davem@davemloft.net>
4451
4452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4453
4454 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4455
4456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4457
4458 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4459 only for |x| >= 40.
4460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4461
4462 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4463
4464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4465 Replace gettimeofday with __vdso_gettimeofday.
4466
4467 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4468 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4469 __vdso_clock_gettime and __vdso_getcpu.
4470
4471 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4472 time with __vdso_time.
4473
4474 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4475
4476 * manual/lang.texi (size_t): Note types to which size_t may be
4477 equivalent with the GNU C Library, but do not describe when
4478 differences between them are significant.
4479
4480 2012-03-05 Andreas Jaeger <aj@suse.de>
4481
4482 * sysdeps/i386/fpu/libm-test-ulps: Update.
4483
4484 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4485
4486 [BZ #3976]
4487 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4488 (__ieee754_pow): Save and restore rounding mode and use
4489 round-to-nearest for main computations.
4490 * math/libm-test.inc (pow_test_tonearest): New function.
4491 (pow_test_towardzero): Likewise.
4492 (pow_test_downward): Likewise.
4493 (pow_test_upward): Likewise.
4494 (main): Call the new functions.
4495 * sysdeps/i386/fpu/libm-test-ulps: Update.
4496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4497
4498 [BZ #3976]
4499 * math/libm-test.inc (cosh_test_tonearest): New function.
4500 (cosh_test_towardzero): Likewise.
4501 (cosh_test_downward): Likewise.
4502 (cosh_test_upward): Likewise.
4503 (sinh_test_tonearest): Likewise.
4504 (sinh_test_towardzero): Likewise.
4505 (sinh_test_downward): Likewise.
4506 (sinh_test_upward): Likewise.
4507 (main): Call the new functions.
4508 * sysdeps/i386/fpu/libm-test-ulps: Update.
4509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4510
4511 2012-03-05 Tom de Vries <tom@codesourcery.com>
4512
4513 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4514 default stack guard is set in last bytes.
4515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4516
4517 2012-03-05 Kees Cook <keescook@chromium.org>
4518
4519 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4520
4521 [BZ #13656]
4522 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4523 possibly allocate from heap instead of stack.
4524 * stdio-common/bug-vfprintf-nargs.c: New file.
4525 * stdio-common/Makefile (tests): Add nargs overflow test.
4526
4527 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4528
4529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4530
4531 2012-03-03 Marek Polacek <polacek@redhat.com>
4532
4533 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4534 * math/math_private.h: Likewise.
4535 * stdlib/tst-strtod.c: Likewise.
4536 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4537 * sysdeps/x86_64/bits/atomic.h: Likewise.
4538
4539 2012-03-02 David S. Miller <davem@davemloft.net>
4540
4541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4545 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4546 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4547 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4548 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4549
4550 2012-03-02 Roland McGrath <roland@hack.frob.com>
4551
4552 [BZ #13792]
4553 * manual/examples/README: New file, says the example source files
4554 can be used under GPL>=2.
4555 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4556 line containing just "*/".
4557 * manual/examples/add.c: Add copyright header (GPL>=2).
4558 * manual/examples/argp-ex1.c: Likewise.
4559 * manual/examples/argp-ex2.c: Likewise.
4560 * manual/examples/argp-ex3.c: Likewise.
4561 * manual/examples/argp-ex4.c: Likewise.
4562 * manual/examples/atexit.c: Likewise.
4563 * manual/examples/db.c: Likewise.
4564 * manual/examples/dir.c: Likewise.
4565 * manual/examples/dir2.c: Likewise.
4566 * manual/examples/execinfo.c: Likewise.
4567 * manual/examples/filecli.c: Likewise.
4568 * manual/examples/filesrv.c: Likewise.
4569 * manual/examples/fmtmsgexpl.c: Likewise.
4570 * manual/examples/genpass.c: Likewise.
4571 * manual/examples/inetcli.c: Likewise.
4572 * manual/examples/inetsrv.c: Likewise.
4573 * manual/examples/isockad.c: Likewise.
4574 * manual/examples/longopt.c: Likewise.
4575 * manual/examples/memopen.c: Likewise.
4576 * manual/examples/memstrm.c: Likewise.
4577 * manual/examples/mkfsock.c: Likewise.
4578 * manual/examples/mkisock.c: Likewise.
4579 * manual/examples/mygetpass.c: Likewise.
4580 * manual/examples/pipe.c: Likewise.
4581 * manual/examples/popen.c: Likewise.
4582 * manual/examples/rprintf.c: Likewise.
4583 * manual/examples/search.c: Likewise.
4584 * manual/examples/select.c: Likewise.
4585 * manual/examples/setjmp.c: Likewise.
4586 * manual/examples/sigh1.c: Likewise.
4587 * manual/examples/sigusr.c: Likewise.
4588 * manual/examples/stpcpy.c: Likewise.
4589 * manual/examples/strdupa.c: Likewise.
4590 * manual/examples/strftim.c: Likewise.
4591 * manual/examples/strncat.c: Likewise.
4592 * manual/examples/subopt.c: Likewise.
4593 * manual/examples/swapcontext.c: Likewise.
4594 * manual/examples/termios.c: Likewise.
4595 * manual/examples/testopt.c: Likewise.
4596 * manual/examples/testpass.c: Likewise.
4597 * manual/examples/timeval_subtract.c: Likewise.
4598
4599 [BZ #13792]
4600 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4601 function to ...
4602 * manual/timeval_subtract.c.texi: ... here, new file.
4603
4604 2012-03-02 David S. Miller <davem@davemloft.net>
4605
4606 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4607
4608 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4609
4610 [BZ #3976]
4611 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4612 (__sin): Save and restore rounding mode and use round-to-nearest
4613 for all computations.
4614 (__cos): Save and restore rounding mode and use round-to-nearest
4615 for all computations.
4616 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4617 <fenv.h>.
4618 (tan): Save and restore rounding mode and use round-to-nearest for
4619 all computations.
4620 * math/libm-test.inc (cos_test_tonearest): New function.
4621 (cos_test_towardzero): Likewise.
4622 (cos_test_downward): Likewise.
4623 (cos_test_upward): Likewise.
4624 (sin_test_tonearest): Likewise.
4625 (sin_test_towardzero): Likewise.
4626 (sin_test_downward): Likewise.
4627 (sin_test_upward): Likewise.
4628 (tan_test_tonearest): Likewise.
4629 (tan_test_towardzero): Likewise.
4630 (tan_test_downward): Likewise.
4631 (tan_test_upward): Likewise.
4632 (main): Call the new functions.
4633 * sysdeps/i386/fpu/libm-test-ulps: Update.
4634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4635
4636 [BZ #10135]
4637 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4638 small n, then large n, before computing and testing k+n.
4639 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4641 Likewise.
4642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4643 Likewise.
4644 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4645 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4647 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4650 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4652 * math/libm-test.inc (scalbn_test): Add more tests.
4653 (scalbln_test): Likewise.
4654
4655 * manual/filesys.texi (mode_t): Describe constraints on size and
4656 signedness, not exact equivalence to a particular type.
4657 (ino_t): Likewise.
4658 (ino64_t): Likewise.
4659 (dev_t): Likewise.
4660 (nlink_t): Likewise.
4661 (blkcnt_t): Likewise.
4662 (blkcnt64_t): Likewise.
4663 * manual/llio.texi (off_t): Likewise.
4664
4665 [BZ #3976]
4666 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4667 (__ieee754_exp): Save and restore rounding mode and use
4668 round-to-nearest for all computations.
4669 * math/libm-test.inc (exp_test_tonearest): New function.
4670 (exp_test_towardzero): Likewise.
4671 (exp_test_downward): Likewise.
4672 (exp_test_upward): Likewise.
4673 (main): Call the new functions.
4674 * sysdeps/i386/fpu/libm-test-ulps: Update.
4675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4676
4677 2012-03-01 Chris Demetriou <cgd@google.com>
4678
4679 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4680 have predictable order.
4681
4682 2012-03-01 David S. Miller <davem@davemloft.net>
4683
4684 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4685
4686 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4687 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4688 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4689 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4690
4691 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4692 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4693 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4695 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4696 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4697 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4698 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4700
4701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4702
4703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4704 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4706
4707 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4708 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4709 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4714 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4716 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4717 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4720 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4721 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4723 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4724 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4725 * sysdeps/sparc/elf/configure: Regenerated.
4726
4727 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4728
4729 * configure.in (AS, LD): Require binutils 2.20 or later.
4730 * configure: Regenerated.
4731 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4732 as required minimum version.
4733 * INSTALL: Regenerated.
4734
4735 [BZ #2541]
4736 [BZ #4108]
4737 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4738 before squaring exponent.
4739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4740 bottom long double and 27 bits of top long double before squaring
4741 exponent.
4742 * math/libm-test.inc (erfc_test): Add more tests.
4743 * sysdeps/i386/fpu/libm-test-ulps: Update.
4744 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746
4747 2012-03-01 Kai Tietz <ktietz@redhat.com>
4748
4749 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4750 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4751 containing bit-fields.
4752 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4753 * soft-fp/single.h (_FP_UNION_S): Likewise.
4754 * soft-fp/double.h (_FP_UNION_D): Likewise.
4755
4756 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4757
4758 [BZ #13786]
4759 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4760 not include ../strcmp.S.
4761 [USE_AS_STRNCASECMP_L]: Likewise.
4762 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4763 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4764 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4765 (__strncasecmp_l_ia32): Define as alias to
4766 __strncasecmp_l_nonascii.
4767
4768 [BZ #5794]
4769 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4770 * sysdeps/i386/fpu/libm-test-ulps: Update.
4771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4772
4773 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4775
4776 2012-02-29 Jeff Law <law@redhat.com>
4777
4778 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4779 out of bounds read.
4780
4781 2012-02-29 Marek Polacek <polacek@redhat.com>
4782
4783 [BZ #13706]
4784 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4785 * elf/Makefile: Add rules to run tst-unused-dep.out.
4786
4787 2012-02-28 David S. Miller <davem@davemloft.net>
4788
4789 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4790 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4795
4796 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4797
4798 * math/libm-test.inc (llround_test): Move one test from
4799 lround_test. Use TEST_f_L in moved test.
4800 (lround_test): Move misplaced test to llround_test. Add testcase
4801 from bug 2561.
4802
4803 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4804
4805 * sysdeps/x86_64/fpu/e_expf.S: New file.
4806 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4807
4808 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4809
4810 [BZ #13637]
4811 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4812 of remain_len that may cause incomplete multi-byte character and
4813 false match.
4814 * posix/bug-regex33.c: New file.
4815 * posix/Makefile (tests): Add bug-regex33.
4816
4817 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4818
4819 * manual/macros.texi: New file.
4820 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4821 * manual/libc.texinfo: Include macros.texi.
4822 * manual/creatute.texi: Likewise.
4823 * manual/install.texi: Likewise.
4824 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4825 @glibcadj{} in references to the GNU C Library.
4826 * manual/charset.texi: Likewise.
4827 * manual/conf.texi: Likewise.
4828 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4829 when not using those macros.
4830 * manual/creature.texi: Likewise.
4831 * manual/crypt.texi: Likewise.
4832 * manual/errno.texi: Likewise.
4833 * manual/filesys.texi: Likewise.
4834 * manual/header.texi: Likewise.
4835 * manual/install.texi: Likewise.
4836 * manual/intro.texi: Likewise.
4837 * manual/io.texi: Likewise.
4838 * manual/job.texi: Likewise.
4839 * manual/lang.texi: Likewise.
4840 * manual/libc.texiinfo: Likewise.
4841 * manual/llio.texi: Likewise.
4842 * manual/locale.texi: Likewise.
4843 * manual/maint.texi: Likewise.
4844 * manual/math.texi: Likewise.
4845 * manual/memory.texi: Likewise.
4846 * manual/message.texi: Likewise.
4847 * manual/nss.texi: Likewise.
4848 * manual/pattern.texi: Likewise.
4849 * manual/process.texi: Likewise.
4850 * manual/resource.texi: Likewise.
4851 * manual/search.texi: Likewise.
4852 * manual/setjmp.texi: Likewise.
4853 * manual/signal.texi: Likewise.
4854 * manual/socket.texi: Likewise.
4855 * manual/startup.texi: Likewise.
4856 * manual/stdio.texi: Likewise.
4857 * manual/string.texi: Likewise.
4858 * manual/sysinfo.texi: Likewise.
4859 * manual/syslog.texi: Likewise.
4860 * manual/terminal.texi: Likewise.
4861 * manual/time.texi: Likewise.
4862 * manual/users.texi: Likewise.
4863 * INSTALL: Regenerated.
4864 * NOTES: Regenerated.
4865 * sysdeps/gnu/errlist.c: Regenerated.
4866
4867 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4868
4869 * include/dirent.h: Include <dirstream.h> before
4870 <dirent/dirent.h>.
4871
4872 2012-02-28 David S. Miller <davem@davemloft.net>
4873
4874 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4875 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4876 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4877 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4878
4879 2012-02-27 David S. Miller <davem@davemloft.net>
4880
4881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4883 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4884 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4885
4886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4887 frame pointer instead of stack pointer relative arg slot.
4888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4889 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4890 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4891
4892 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4893
4894 [BZ #3992]
4895 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4896
4897 2012-02-27 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4903 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4904 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4905 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4906 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4907
4908 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4909
4910 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4911 later. Allow versions 5-9.
4912 * configure: Regenerated.
4913 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4914 required minimum version and 4.6 as recommended version. Do not
4915 mention bugs in GCC 2.7 and 2.8.
4916 * INSTALL: Regenerated.
4917
4918 2012-02-27 David S. Miller <davem@davemloft.net>
4919
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4924 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4925 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4926 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4927 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4928
4929 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4930 manipulate bits before adding and subtracting TWO112[sx].
4931 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4932
4933 2012-02-27 Roland McGrath <roland@hack.frob.com>
4934
4935 [BZ #13775]
4936 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4937 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4938 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4939 being in POSIX, because they are in 1003.1-2008.
4940
4941 * rt/tst-aio.c: Include <fcntl.h>.
4942 * rt/tst-aio7.c: Likewise.
4943 * rt/tst-aio64.c: Likewise.
4944
4945 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4946
4947 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4948
4949 * manual/install.texi (--with-headers): Describe headers as
4950 interface headers, not private headers.
4951 (Specific advice for GNU/Linux systems): Describe use of headers
4952 from "make headers_install", not private headers from older
4953 kernels.
4954 * INSTALL: Regenerated.
4955 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4956 Change to 2.6.19.
4957 * sysdeps/unix/sysv/linux/configure: Regenerated.
4958
4959 * manual/llio.texi (fclean): Remove documentation.
4960
4961 * manual/Makefile (libc-texi-generated): New variable. Include
4962 version.texi.
4963 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4964 $(libc-texi-generated), not duplicated list of files.
4965 (version.texi, stamp-version): New rules.
4966 (realclean): Remove $(libc-texi-generated), not individual files
4967 from that list. Do not remove dir-add.texinfo.
4968 * manual/libc.texinfo: Comment out uses of edition numbers and
4969 references to printed manual. Remove last-updated dates.
4970 (EDITION): Comment out.
4971 (ISBN): Likewise.
4972 (VERSION, UPDATED): Remove.
4973 (version.texi): Include.
4974
4975 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4976
4977 * sysdeps/posix/spawni.c: Include <signal.h>.
4978 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4979 * sysdeps/pthread/aio_fsync.c: Likewise.
4980
4981 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4982
4983 * conform/Makefile (tests): Run only when not cross-compiling and
4984 when fast-check is not defined.
4985
4986 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4987 * conform/data/limits.h-data: Fixes for POSIX2008.
4988 * conform/run-conformtest.sh: Run all tests.
4989 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4990 headers.
4991 * include/bits/dlfcn.h: Likewise.
4992 * include/langinfo.h: Likewise.
4993 * include/monetary.h: Likewise.
4994 * include/sys/poll.h: Likewise.
4995
4996 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4997 for __USE_GNU.
4998 * posix/spawn.h: Define __need_sigset_t.
4999 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5000 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5001 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5002 to get sigevent_t only.
5003 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5004 only for __USE_GNU.
5005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5006 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5007 process_vm_writev only for __USE_GNU.
5008 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5009
5010 * conform/Makefile: For now ignore errors from run-conformtest.
5011 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5012 POSIX to avoid namespace pollution. Don't prepend headers.
5013 * conform/data/aio.h-data: Fixes for POSIX testing.
5014 * conform/data/fcntl.h-data: Likewise.
5015 * conform/data/glob.h-data: Likewise.
5016 * conform/data/grp.h-data: Likewise.
5017 * conform/data/pthread.h-data: Likewise.
5018 * conform/data/pwd.h-data: Likewise.
5019 * conform/data/signal.h-data: Likewise.
5020 * conform/data/spawn.h-data: Likewise.
5021 * conform/data/stdio.h-data: Likewise.
5022 * conform/data/stdlib.h-data: Likewise.
5023 * conform/data/stropts.h-data: Likewise.
5024 * conform/data/sys/mman.h-data: Likewise.
5025 * conform/data/sys/stat.h-data: Likewise.
5026 * conform/data/sys/types.h-data: Likewise.
5027 * conform/data/sys/wait.h-data: Likewise.
5028 * conform/data/time.h-data: Likewise.
5029 * conform/data/unistd.h-data: Likewise.
5030 * conform/data/utime.h-data: Likewise.
5031
5032 * io/sys/stat.h: fchmod was always in POSIX.
5033 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5034 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5035 * rt/aio.h: Define __need_timespec before including <time.h>.
5036 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5037 struct. Add forward declaration of pthread_attr_t and use it in
5038 sigevent.
5039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5041 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5042 always remove CLK_TCK definition.
5043
5044 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5045
5046 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5047
5048 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5049
5050 * conform/run-conformtest.sh: New file.
5051 * conform/Makefile: Run run-conformtest for tests.
5052 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5053 support.
5054
5055 * conform/data/uchar.h-data: New file.
5056 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5057 * conform/data/arpa/inet.h-data: Likewise.
5058 * conform/data/assert.h-data: Likewise.
5059 * conform/data/complex.h-data: Likewise.
5060 * conform/data/cpio.h-data: Likewise.
5061 * conform/data/ctype.h-data: Likewise.
5062 * conform/data/dirent.h-data: Likewise.
5063 * conform/data/dlfcn.h-data: Likewise.
5064 * conform/data/errno.h-data: Likewise.
5065 * conform/data/fcntl.h-data: Likewise.
5066 * conform/data/float.h-data: Likewise.
5067 * conform/data/fmtmsg.h-data: Likewise.
5068 * conform/data/fnmatch.h-data: Likewise.
5069 * conform/data/ftw.h-data: Likewise.
5070 * conform/data/glob.h-data: Likewise.
5071 * conform/data/grp.h-data: Likewise.
5072 * conform/data/iconv.h-data: Likewise.
5073 * conform/data/inttypes.h-data: Likewise.
5074 * conform/data/langinfo.h-data: Likewise.
5075 * conform/data/libgen.h-data: Likewise.
5076 * conform/data/limits.h-data: Likewise.
5077 * conform/data/locale.h-data: Likewise.
5078 * conform/data/math.h-data: Likewise.
5079 * conform/data/monetary.h-data: Likewise.
5080 * conform/data/mqueue.h-data: Likewise.
5081 * conform/data/ndbm.h-data: Likewise.
5082 * conform/data/net/if.h-data: Likewise.
5083 * conform/data/netdb.h-data: Likewise.
5084 * conform/data/netinet/in.h-data: Likewise.
5085 * conform/data/nl_types.h-data: Likewise.
5086 * conform/data/poll.h-data: Likewise.
5087 * conform/data/pthread.h-data: Likewise.
5088 * conform/data/pwd.h-data: Likewise.
5089 * conform/data/regex.h-data: Likewise.
5090 * conform/data/sched.h-data: Likewise.
5091 * conform/data/search.h-data: Likewise.
5092 * conform/data/semaphore.h-data: Likewise.
5093 * conform/data/setjmp.h-data: Likewise.
5094 * conform/data/signal.h-data: Likewise.
5095 * conform/data/spawn.h-data: Likewise.
5096 * conform/data/stdarg.h-data: Likewise.
5097 * conform/data/stdio.h-data: Likewise.
5098 * conform/data/stdlib.h-data: Likewise.
5099 * conform/data/string.h-data: Likewise.
5100 * conform/data/strings.h-data: Likewise.
5101 * conform/data/stropts.h-data: Likewise.
5102 * conform/data/sys/ipc.h-data: Likewise.
5103 * conform/data/sys/mman.h-data: Likewise.
5104 * conform/data/sys/msg.h-data: Likewise.
5105 * conform/data/sys/resource.h-data: Likewise.
5106 * conform/data/sys/select.h-data: Likewise.
5107 * conform/data/sys/sem.h-data: Likewise.
5108 * conform/data/sys/shm.h-data: Likewise.
5109 * conform/data/sys/socket.h-data: Likewise.
5110 * conform/data/sys/stat.h-data: Likewise.
5111 * conform/data/sys/statvfs.h-data: Likewise.
5112 * conform/data/sys/time.h-data: Likewise.
5113 * conform/data/sys/timeb.h-data: Likewise.
5114 * conform/data/sys/times.h-data: Likewise.
5115 * conform/data/sys/types.h-data: Likewise.
5116 * conform/data/sys/uio.h-data: Likewise.
5117 * conform/data/sys/un.h-data: Likewise.
5118 * conform/data/sys/utsname.h-data: Likewise.
5119 * conform/data/sys/wait.h-data: Likewise.
5120 * conform/data/syslog.h-data: Likewise.
5121 * conform/data/tar.h-data: Likewise.
5122 * conform/data/termios.h-data: Likewise.
5123 * conform/data/utime.h-data: Likewise.
5124 * conform/data/utmpx.h-data: Likewise.
5125 * conform/data/varargs.h-data: Likewise.
5126 * conform/data/wchar.h-data: Likewise.
5127 * conform/data/wctype.h-data: Likewise.
5128 * conform/data/wordexp.h-data: Likewise.
5129
5130 * include/stropts.h: New file.
5131 * include/uchar.h: New file.
5132 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5133 * include/assert.h: Likewise.
5134 * include/ctype.h: Likewise.
5135 * include/dirent.h: Likewise.
5136 * include/dlfcn.h: Likewise.
5137 * include/fcntl.h: Likewise.
5138 * include/fnmatch.h: Likewise.
5139 * include/glob.h: Likewise.
5140 * include/grp.h: Likewise.
5141 * include/libio.h: Likewise.
5142 * include/locale.h: Likewise.
5143 * include/math.h: Likewise.
5144 * include/net/if.h: Likewise.
5145 * include/netdb.h: Likewise.
5146 * include/netinet/in.h: Likewise.
5147 * include/pthread.h: Likewise.
5148 * include/pwd.h: Likewise.
5149 * include/regex.h: Likewise.
5150 * include/sched.h: Likewise.
5151 * include/search.h: Likewise.
5152 * include/setjmp.h: Likewise.
5153 * include/signal.h: Likewise.
5154 * include/stdio.h: Likewise.
5155 * include/stdlib.h: Likewise.
5156 * include/string.h: Likewise.
5157 * include/sys/cdefs.h: Likewise.
5158 * include/sys/mman.h: Likewise.
5159 * include/sys/msg.h: Likewise.
5160 * include/sys/resource.h: Likewise.
5161 * include/sys/select.h: Likewise.
5162 * include/sys/socket.h: Likewise.
5163 * include/sys/stat.h: Likewise.
5164 * include/sys/statvfs.h: Likewise.
5165 * include/sys/time.h: Likewise.
5166 * include/sys/times.h: Likewise.
5167 * include/sys/uio.h: Likewise.
5168 * include/sys/utsname.h: Likewise.
5169 * include/sys/wait.h: Likewise.
5170 * include/termios.h: Likewise.
5171 * include/time.h: Likewise.
5172 * include/ulimit.h: Likewise.
5173 * include/unistd.h: Likewise.
5174 * include/utime.h: Likewise.
5175 * include/wchar.h: Likewise.
5176 * include/wctype.h: Likewise.
5177 * include/wordexp.h: Likewise.
5178
5179 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5180
5181 * time/time.h: TIME_UTC must be a macro.
5182 Make timespec_get available for ISO C11 only as well.
5183
5184 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5185
5186 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5187 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5188
5189 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5190
5191 * configure.in: Use -o not -a in test for unsupported multi-arch.
5192
5193 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5194
5195 * manual/texinfo.tex: Update to version 2012-01-19.16.
5196
5197 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5198
5199 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5200
5201 2012-02-24 Roland McGrath <roland@hack.frob.com>
5202
5203 [BZ #13738]
5204 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5205 * manual/fdl-1.3.texi: New file.
5206 * manual/fdl-1.1.texi: File removed.
5207
5208 [BZ #13738]
5209 * manual/libc.texinfo (FDL_VERSION): New @set.
5210 Use it for mention of FDL in cover text.
5211 (Documentation License): Use it in @include file name.
5212
5213 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5214 Roland McGrath <roland@hack.frob.com>
5215
5216 [BZ #5461]
5217 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5218 not LONG_LONG_MAX and LONG_LONG_MIN.
5219 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5220 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5221 name.
5222 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5223
5224 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #2547]
5227 [BZ #11365]
5228 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5229 manipulate bits before adding and subtracting TWO23[sx].
5230 * math/libm-test.inc (nearbyint_test): Add more tests.
5231
5232 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5233
5234 [BZ #2548]
5235 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5236 bits before adding and subtracting TWO23[sx].
5237 * math/libm-test.inc (rint_test): Add more tests.
5238 (rint_test_tonearest): Likewise.
5239 (rint_test_towardzero): Likewise.
5240 (rint_test_downward): Likewise.
5241 (rint_test_upward: Likewise.
5242
5243 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5244
5245 [BZ #10110]
5246 * include/stdc-predef.h: New file. Extracted from features.h.
5247 * include/features.h: Include stdc-predef.h.
5248 * Makefile (headers): Add stdc-predef.h.
5249 * CONFORMANCE (Compiler limitations): Update.
5250
5251 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5252
5253 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5254
5255 2012-02-21 David S. Miller <davem@davemloft.net>
5256
5257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5259
5260 2012-02-20 David S. Miller <davem@davemloft.net>
5261
5262 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5263 using a normal save/restore sequence, rather than allocating a
5264 dummy stack frame just to store a frame pointer and restore.
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5266
5267 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5268
5269 * manual/install.texi: Fix stray word in line-wrapped comment.
5270
5271 2012-02-20 David S. Miller <davem@davemloft.net>
5272
5273 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5274 both binutils and gcc support GOTDATA.
5275
5276 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5277 "rd %pc" in the PIC register setup sequences.
5278
5279 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5280 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5281 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5282 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5283 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5288 (SYSCALL_ERROR_HANDLER): Likewise.
5289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5292 (SYSCALL_ERROR_HANDLER): Likewise.
5293
5294 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5295 (HAVE_GCC_GOTDATA): New.
5296 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5297 relocation support in both binutils and gcc.
5298 * sysdeps/sparc/elf/configure: Regenerate.
5299
5300 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5301 * sysdeps/sparc/sparc32/elf/configure: Delete.
5302 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5303 * sysdeps/sparc/sparc64/elf/configure: Delete.
5304 * sysdeps/sparc/elf/configure.in: New file.
5305 * sysdeps/sparc/elf/configure: Generate.
5306
5307 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5308 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5310 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5311 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5312
5313 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5314
5315 * manual/install.texi: Do not mention specific glibc version
5316 numbers.
5317 * manual/libc.texinfo (VERSION, UPDATED): Update.
5318 (@copying): Use @copyright{} and range of years.
5319
5320 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5321
5322 [BZ #13695]
5323 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5324 [crti.S not in sysdirs] (generated): Do not append.
5325 [crti.S not in sysdirs] (omit-deps): Likewise.
5326 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5327 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5328 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5329 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5330 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5331 Likewise.
5332 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5333 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5334 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5335 * csu/defs.awk: Remove file.
5336 * sysdeps/generic/initfini.c: Likewise.
5337 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5338 variable.
5339 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5340 Likewise.
5341
5342 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5343
5344 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5345 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5346 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5349 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5350 <bits/epoll.h>.
5351 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5352 (__EPOLL_PACKED): Define to empty if not defined by
5353 <bits/epoll.h>.
5354 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5356 bits/epoll.h.
5357
5358 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5359
5360 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5361 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5363 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5364 <bits/timerfd.h>.
5365 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5367 bits/timerfd.h.
5368
5369 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5370
5371 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5372 in C locale.
5373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5374 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377
5378 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5379
5380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5382
5383 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5384
5385 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5386 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5387 defined.
5388 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5389 Likewise.
5390 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5391 entry for 2.16.
5392
5393 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5394
5395 * math/w_acos.c: Use non-signaling floating-point comparisons.
5396 * math/w_acosf.c: Likewise.
5397 * math/w_acosh.c: Likewise.
5398 * math/w_acoshf.c: Likewise.
5399 * math/w_acoshl.c: Likewise.
5400 * math/w_acosl.c: Likewise.
5401 * math/w_asin.c: Likewise.
5402 * math/w_asinf.c: Likewise.
5403 * math/w_asinl.c: Likewise.
5404 * math/w_atanh.c: Likewise.
5405 * math/w_atanhf.c: Likewise.
5406 * math/w_atanhl.c: Likewise.
5407 * math/w_exp2.c: Likewise.
5408 * math/w_exp2f.c: Likewise.
5409 * math/w_exp2l.c: Likewise.
5410 * math/w_j0.c: Likewise.
5411 * math/w_j0f.c: Likewise.
5412 * math/w_j0l.c: Likewise.
5413 * math/w_j1.c: Likewise.
5414 * math/w_j1f.c: Likewise.
5415 * math/w_j1l.c: Likewise.
5416 * math/w_jn.c: Likewise.
5417 * math/w_jnf.c: Likewise.
5418 * math/w_log.c: Likewise.
5419 * math/w_log10.c: Likewise.
5420 * math/w_log10f.c: Likewise.
5421 * math/w_log10l.c: Likewise.
5422 * math/w_log2.c: Likewise.
5423 * math/w_log2f.c: Likewise.
5424 * math/w_log2l.c: Likewise.
5425 * math/w_logf.c: Likewise.
5426 * math/w_logl.c: Likewise.
5427 * math/w_sqrt.c: Likewise.
5428 * math/w_sqrtf.c: Likewise.
5429 * math/w_sqrtl.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5433 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5434 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5435
5436 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5437
5438 [BZ #9739]
5439 * manual/string.texi (strnlen): Use correct parameter name in
5440 equivalent expression.
5441
5442 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5443
5444 [BZ #11174]
5445 * manual/users.texi (seteuid): Consistently use neweuid for
5446 argument name.
5447
5448 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5449
5450 [BZ #13704]
5451 * manual/nss.texi (Services in the NSS configuration): Correct
5452 list of services in example configuration file.
5453
5454 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5455
5456 [BZ #11322]
5457 * manual/arith.texi: Remove statements about negative zero
5458 behaving identically to zero.
5459
5460 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5461
5462 [BZ #5993]
5463 * manual/install.texi: Do not document upgrading from libc5.
5464
5465 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5466
5467 [BZ #4596]
5468 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5469
5470 2012-02-18 David S. Miller <davem@davemloft.net>
5471
5472 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5473 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5474 %o7 across the call.
5475 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5476 instead.
5477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5478 SETUP_PIC_REG_LEAF.
5479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5480 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5481 * sysdeps/sparc/crtn.S: Likewise.
5482
5483 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5484
5485 * aout/Makefile: Remove.
5486
5487 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5488
5489 [BZ #13058]
5490 * manual/examples/argp-ex1.c (main): Format definition in GNU
5491 style.
5492 * manual/examples/argp-ex2.c (main): Likewise.
5493 * manual/examples/argp-ex3.c (main): Likewise.
5494 * manual/examples/argp-ex4.c (main): Likewise.
5495 * manual/examples/longopt.c (main): Use new-style prototype
5496 definition.
5497 * manual/examples/strncat.c (main): Specify return type and use
5498 (void) for arguments.
5499 * manual/examples/subopt.c (main): Use char **argv argument.
5500
5501 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5502
5503 [BZ #5077]
5504 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5505 rounding modes.
5506
5507 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5508
5509 [BZ #6907]
5510 * manual/string.texi (strchr): Change when strchrnul is
5511 recommended.
5512
5513 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5514
5515 [BZ #174]
5516 * manual/locale.texi (setlocale): Document LOCPATH.
5517
5518 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5519
5520 [BZ #10210]
5521 * manual/process.texi (execle): Move @dots{} before last argument.
5522
5523 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5524
5525 [BZ #12047]
5526 * manual/charset.texi (Generic Charset Conversion): Fix typo
5527 (LC_TYPE -> LC_CTYPE).
5528
5529 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5530
5531 [BZ #5805]
5532 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5533 (scalbnf): Likewise.
5534 (scalbnl): Likewise.
5535 (scalbln): Likewise.
5536 (scalblnf): Likewise.
5537 (scalblnl): Likewise.
5538 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5539 (vwarnx): Likewise.
5540 (verr): Likewise.
5541 (verrx): Likewise.
5542 * manual/filesys.texi (telldir): Use braces around return type.
5543 * manual/llio.texi (mmap): Add space after comma.
5544 (mmap64): Likewise.
5545 * manual/math.texi (jn): Use @var{} on parameter names.
5546 (jnf): Likewise.
5547 (jnl): Likewise.
5548 (yn): Likewise.
5549 (ynf): Likewise.
5550 (ynl): Likewise.
5551 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5552 line.
5553 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5554 "...".
5555 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5556 (sched_get_priority_max): Likewise.
5557 * manual/signal.texi (sigvec): Add space after comma.
5558 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5559 names.
5560 (if_indextoname): Likewise.
5561 (if_freenameindex): Likewise.
5562 (sendto): Use ',' instead of '.' in prototype.
5563 * manual/startup.texi (syscall): Use @dots{} instead of literal
5564 "...".
5565 * manual/stdio.texi (__fpending): Separate initial words of
5566 paragraph from @deftypefun line.
5567 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5568 "...".
5569 (vsyslog): Use @var{} on parameter names.
5570 * manual/terminal.texi (stty): Use @var{} on parameter names.
5571 * manual/users.texi (getutmp): Use @var{} on parameter names.
5572 (getutmpx): Likewise.
5573
5574 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5575
5576 [BZ #6884]
5577 * manual/stdio.texi (fopen): Fix typos in description of
5578 ",ccs=STRING".
5579
5580 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5581
5582 [BZ #4026]
5583 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5584 get clock_id definition.
5585
5586 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5587
5588 [BZ #4822]
5589 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5590 (madvise): Cast every argument to void on its own.
5591
5592 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5593
5594 [BZ #9902]
5595 * manual/startup.texi (Exit Status): Fix typo.
5596
5597 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5598
5599 [BZ #10140]
5600 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5601 * manual/examples/argp-ex2.c: Likewise.
5602 * manual/examples/argp-ex3.c: Likewise.
5603
5604 2012-02-16 Richard Henderson <rth@redhat.com>
5605
5606 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5607 * sysdeps/s390/s390-32/initfini.c: Remove.
5608 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5609 * sysdeps/s390/s390-64/initfini.c: Remove.
5610
5611 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5612
5613 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5614 compiler output for sysdeps/generic/initfini.c.
5615 * sysdeps/sh/elf/initfini.c: Remove file.
5616
5617 2012-02-16 David S. Miller <davem@davemloft.net>
5618
5619 [BZ #11494]
5620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5621
5622 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5623 * sysdeps/sparc/crti.S: New file.
5624 * sysdeps/sparc/crtn.S: New file.
5625 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5626 * sysdeps/sparc/sparc64/Makefile: Likewise.
5627
5628 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5629
5630 [BZ #3335]
5631 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5632
5633 2012-02-15 Roland McGrath <roland@hack.frob.com>
5634
5635 [BZ #4822]
5636 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5637
5638 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5639 (write, read, close): Likewise.
5640 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5641
5642 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5643
5644 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5645 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5646 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5647 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5648 <bits/signalfd.h>.
5649 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5651 bits/signalfd.h.
5652
5653 2012-02-14 Marek Polacek <polacek@redhat.com>
5654
5655 * sysdeps/x86_64/crti.S: New file.
5656 * sysdeps/x86_64/crtn.S: New file.
5657 * sysdeps/x86_64/elf/initfini.c: Remove file.
5658
5659 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5660
5661 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5662 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5663 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5664 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5665 <bits/inotify.h>.
5666 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5668 bits/inotify.h.
5669
5670 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5671
5672 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5673 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5674 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5675 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5676 <bits/eventfd.h>.
5677 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5679 bits/eventfd.h.
5680
5681 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5682
5683 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5684 __feraiseexcept instead of feraiseexcept.
5685
5686 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5687 nanosleep invocations.
5688 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5689 strings, and add error checking for a nanosleep invocations.
5690
5691 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5692
5693 Replace FSF snail mail address with URLs, as per GNU coding standards.
5694 Most of the snail mail addresses were wrong anyway, and omitting
5695 them makes the source code easier to maintain. Almost all of the
5696 changes are to license notices and to locale LC_IDENTIFICATION
5697 addresses, except for this one:
5698 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5699 not its snail mail address.
5700
5701 2012-02-09 Richard Henderson <rth@twiddle.net>
5702
5703 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5704 of kernel-features.h.
5705
5706 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5707
5708 2012-02-08 Marek Polacek <polacek@redhat.com>
5709
5710 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5711 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5712 * sysdeps/gnu/_G_config.h: Likewise.
5713 * sysdeps/generic/_G_config.h: Likewise.
5714
5715 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5716
5717 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5718 tests.
5719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5720
5721 * sysdeps/powerpc/powerpc32/crti.S: New file.
5722 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5723 * sysdeps/powerpc/powerpc64/crti.S: New file.
5724 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5725
5726 * Makeconfig (have-initfini): Don't set.
5727 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5728 * configure.in (nopic_initfini): Don't substitute.
5729 * config.h.in (HAVE_INITFINI): Don't #undef.
5730 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5731 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5732
5733 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5734
5735 Support crti.S and crtn.S provided directly by architectures.
5736 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5737 [crti.S in sysdirs] (omit-deps): Likewise.
5738 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5739 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5740 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5741 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5742 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5743 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5744 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5745 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5746 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5747 compiler output for sysdeps/generic/initfini.c.
5748 * sysdeps/i386/elf/Makefile: Remove file.
5749 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5750
5751 2012-02-07 Marek Polacek <polacek@redhat.com>
5752
5753 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5754 * sysdeps/gnu/_G_config.h: Likewise.
5755 * sysdeps/mach/hurd/_G_config.h: Likewise.
5756
5757 2012-02-07 Marek Polacek <polacek@redhat.com>
5758
5759 * math/Makefile (tests): Add tst-CMPLX2.
5760 * math/tst-CMPLX2.c: New file.
5761
5762 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5763
5764 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5765
5766 * math/libm-test.inc (jn_test): Add missing L suffix.
5767
5768 2012-02-06 Marek Polacek <polacek@redhat.com>
5769
5770 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5771 * sysdeps/i386/fpu/e_powf.S: Likewise.
5772 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5773 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5774 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5775 * sysdeps/i386/fpu/e_pow.S: Likewise.
5776 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5777 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5778 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5779 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5780 * sysdeps/i386/fpu/e_log2.S: Likewise.
5781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5782 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5783 * sysdeps/i386/fpu/e_powl.S: Likewise.
5784 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5785 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5786 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5787 * sysdeps/i386/fpu/e_logl.S: Likewise.
5788 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5789 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5790 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5791 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5794 * sysdeps/i386/fpu/e_log.S: Likewise.
5795 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5796 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5797 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5798 * sysdeps/i386/fpu/e_logf.S: Likewise.
5799 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5801 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5802 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5803 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5804 * sysdeps/i386/fpu/e_log10.S: Likewise.
5805 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5807 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5808 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5810 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5811 * sysdeps/i386/asm-syntax.h: Likewise.
5812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5815 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5816 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5818 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5819 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5820 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5821 * sysdeps/powerpc/sysdep.h: Likewise.
5822 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5824
5825 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #411]
5828 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5829
5830 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5831
5832 * sysdeps/i386/sysdep.h: Include <features.h>.
5833 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5834 version.
5835
5836 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5837
5838 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5839 Define.
5840 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5841 LOAD_PIC_REG_STR.
5842
5843 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5844
5845 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5846 (SETUP_PIC_REG): Use GET_PC_THUNK.
5847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5848 macro.
5849
5850 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5851
5852 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5853 for non-PIC compilation.
5854 (SETUP_PIC_REG): Add .p2align directive.
5855 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5856 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5857 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5858 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5860 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5861 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5863 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5864 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5865 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5866 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5867 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5868 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5869 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5870 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5871 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5872 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5873 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5874 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5877 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5878 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5879 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5883 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5884 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5885 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5886 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5888 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5889 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5890 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5891 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5892 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5893 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5894 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5896
5897 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5898
5899 * math/tst-CMPLX.c: Include <stdio.h>.
5900
5901 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5902
5903 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5904 float.
5905 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5906 * sysdeps/sparc/bits/mathdef.h: Likewise.
5907
5908 2012-01-31 Marek Polacek <polacek@redhat.com>
5909
5910 * libio/libio.h: Don't define _PARAMS.
5911 * locale/programs/config.h: Don't define PARAMS.
5912 * stdlib/strtol_l.c: Likewise.
5913 (__strtol_l): Remove PARAMS from the prototype.
5914
5915 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5916
5917 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5918 names. Just use the correct names. Remove unnecessary wrapper
5919 functions.
5920 * malloc/arena.c: Likewise.
5921 * malloc/hooks.c: Likewise.
5922
5923 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5924 ARENA_TEST says not to. Simplify test for creation of a new arena.
5925 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5926
5927 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5928
5929 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5930 into tail calls.
5931 (update_get_addr): New function.
5932 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5933 GET_ADDR_MODULE parameter.
5934
5935 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5936
5937 * crypt/cert.c: Remove __STDC__ conditionals.
5938 * crypt/crypt-entry.c: Likewise.
5939 * crypt/crypt_util.c: Likewise.
5940 * libio/filedoalloc.c: Likewise.
5941 * libio/fileops.c: Likewise.
5942 * libio/genops.c: Likewise.
5943 * libio/iofclose.c: Likewise.
5944 * libio/iofdopen.c: Likewise.
5945 * libio/iofopen.c: Likewise.
5946 * libio/iofopen64.c: Likewise.
5947 * libio/iogetdelim.c: Likewise.
5948 * libio/iopopen.c: Likewise.
5949 * libio/obprintf.c: Likewise.
5950 * libio/oldfileops.c: Likewise.
5951 * libio/oldiofclose.c: Likewise.
5952 * libio/oldiofdopen.c: Likewise.
5953 * libio/oldiofopen.c: Likewise.
5954 * libio/oldiopopen.c: Likewise.
5955 * libio/wfiledoalloc.c: Likewise.
5956 * libio/wgenops.c: Likewise.
5957 * locale/programs/xmalloc.c: Likewise.
5958 * misc/syslog.c: Likewise.
5959 * stdio-common/xbug.c: Likewise.
5960 * string/memchr.c: Likewise.
5961 * string/memcmp.c: Likewise.
5962 * string/memrchr.c: Likewise.
5963 * string/rawmemchr.c: Likewise.
5964 * sysdeps/posix/getcwd.c: Likewise.
5965 * time/strftime_l.c: Likewise.
5966
5967 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5968
5969 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5970 * config.make.in (config-cflags-sse2avx): Define.
5971 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5972 Fix typo.
5973
5974 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5975
5976 * scripts/config.guess: Update from upstream config git repository.
5977 * scripts/config.sub: Likewise.
5978
5979 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5980
5981 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5982 (EM_NUM): Update.
5983 (R_TILEPRO_*, R_TILEGX_*): New macros.
5984
5985 * scripts/firstversions.awk: Fix bug in version range handling.
5986
5987 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5988
5989 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5990
5991 * include/sys/epoll.h: New file.
5992 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5993 libc_hidden_def.
5994
5995 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5996
5997 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5998 Avoid unnecessary __WORDSIZE == 64 test.
5999 (fmaxf): Use VEX format if possible.
6000 (fmax): Likewise.
6001 (fminf): Likewise.
6002 (fmin): Likewise.
6003
6004 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6005 * math/math_private.h: Remove libc_fegetround* and
6006 libc_fesetround*.
6007 * sysdeps/i386/configure.in: Check for -msse2avx.
6008 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6009 also if SSE2AVX is defined.
6010 Remove libc_fegetround* and libc_fesetround*.
6011 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6012 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6014 of HAS_YMM_USABLE.
6015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6020
6021 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6022
6023 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024
6025 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6026 size is not set.
6027 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6028
6029 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6030
6031 [BZ #13618]
6032 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6033 relocation.
6034 * Makeconfig (libm): Define.
6035 * elf/Makefile: Add rules to build and run tst-relsort1.
6036 * elf/tst-relsort1.c: New file.
6037 * elf/tst-relsort1mod1.c: New file.
6038 * elf/tst-relsort1mod2.c: New file.
6039
6040 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6041
6042 * math/s_ldexp.c: Remove __STDC__ conditionals.
6043 * math/s_ldexpf.c: Likewise.
6044 * math/s_ldexpl.c: Likewise.
6045 * math/s_nextafter.c: Likewise.
6046 * math/s_nexttowardf.c: Likewise.
6047 * math/s_significand.c: Likewise.
6048 * math/s_significandf.c: Likewise.
6049 * math/s_significandl.c: Likewise.
6050 * math/w_jnl.c: Likewise.
6051 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6052 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6053 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6054 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6055 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6070 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6071 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6072 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6077 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6078 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6079 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6080 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6081 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6082 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6083 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6085 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6086 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6087 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6088 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6089 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6090 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6091 * sysdeps/ieee754/k_standard.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6166 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6167 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6171 * sysdeps/ieee754/s_matherr.c: Likewise.
6172 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6176
6177 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6178
6179 * crypt/md5.h: Remove __STDC__ conditionals.
6180 * libio/libioP.h: Likewise.
6181 * locale/programs/config.h: Likewise.
6182 * sysdeps/generic/sysdep.h: Likewise.
6183 * sysdeps/i386/asm-syntax.h: Likewise.
6184 * sysdeps/s390/asm-syntax.h: Likewise.
6185 * sysdeps/unix/sysdep.h: Likewise.
6186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6188
6189 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6190
6191 * libio/libio.h: Remove __STDC__ conditionals.
6192 * malloc/obstack.h: Likewise.
6193 * math/complex.h: Likewise.
6194 * math/math.h: Likewise.
6195 * sysdeps/generic/_G_config.h: Likewise.
6196 * sysdeps/gnu/_G_config.h: Likewise.
6197 * sysdeps/mach/hurd/_G_config.h: Likewise.
6198 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6199 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6200 * sysdeps/sparc/bits/mathdef.h: Likewise.
6201
6202 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6203
6204 [BZ #13583]
6205 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6206 Clean up HAS_* macros.
6207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6208 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6209 possible.
6210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6211 HAS_AVX.
6212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6217
6218 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6219
6220 * elf/tst-unique3.cc (gets): Remove declaration.
6221 * elf/tst-unique3lib.cc (gets): Likewise.
6222 * elf/tst-unique3lib2.cc (gets): Likewise.
6223 * elf/tst-unique4.cc (gets): Likewise.
6224
6225 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6226
6227 * include/stdio.h: Add C++ protection. Add gets declarations and
6228 definitions.
6229 * debug/tst-chk1.c: Don't declare gets here.
6230 * stdio-common/tst-gets.c: Likewise.
6231
6232 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6233
6234 * posix/glob: Remove directory.
6235
6236 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6237
6238 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6239
6240 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6241
6242 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6243 of the non-standard EPFNOSUPPORT.
6244
6245 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6246
6247 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6248 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6249 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6250
6251 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6252
6253 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6254
6255 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6256
6257 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6258 transient errors.
6259 * nscd/grpcache.c (cache_addgr): Likewise.
6260 * nscd/hstcache.c (cache_addhst): Likewise.
6261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6262 * nscd/pwdcache.c (cache_addpw): Likewise.
6263 * nscd/servicescache.c (cache_addserv): Likewise.
6264
6265 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6266
6267 * malloc/malloc.c: Various cleanups.
6268 * malloc/hooks.c: Likewise.
6269
6270 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6271 * stdlib/bug-fmtmsg1.c: New file.
6272
6273 * stdlib/fmtmsg.c (init): Add missing unlock.
6274 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6275
6276 2012-01-12 Marek Polacek <polacek@redhat.com>
6277
6278 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6279 and _GNU_SOURCE.
6280
6281 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6282
6283 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6284 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6285 macro to ensure uniqueness of label name.
6286 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6287 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6288
6289 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6290
6291 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6292
6293 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6294 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6295 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6297
6298 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6299
6300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6301
6302 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6303 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6304 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6305
6306 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6307
6308 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6309 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6312
6313 * math/bits/math-finite.h: Add ldexp support.
6314
6315 2012-01-10 Marek Polacek <polacek@redhat.com>
6316
6317 * locale/programs/localedef.h (show_archive_content): Add noreturn
6318 attribute.
6319
6320 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6321
6322 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6323
6324 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6325
6326 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6327
6328 * io/Makefile (headers): Add bits/poll2.h.
6329
6330 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6331
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6333 typo #include statement.
6334
6335 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6336
6337 * include/sys/cdefs.h: Define __attribute_alloc_size.
6338 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6339 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6340 * elf/pldd.c: Likewise.
6341 * iconv/iconv_charmap.c: Likewise.
6342 * iconv/iconvconfig.c: Likewise.
6343 * iconv/strtab.c: Likewise.
6344 * locale/programs/locale.c: Likewise.
6345 * locale/programs/localedef.h: Likewise.
6346 * locale/programs/simple-hash.c: Likewise.
6347 * nscd/nscd.h: Likewise.
6348 * nss/makedb.c: Likewise.
6349 * sysdeps/generic/ldconfig.h: Likewise.
6350 * locale/programs/localedef.c: Remove xmalloc prototype.
6351 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6352
6353 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6354
6355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6356 appropriate.
6357
6358 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6359
6360 * math/Makefile (tests): Add tst-CMPLX.
6361 * math/tst-CMPLX.c: New file.
6362
6363 * math/complex.h (CMPLXL): Fix typo.
6364
6365 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6366 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6367 GLIBC_2.16.
6368 * debug/tst-chk1.c: Add poll and ppoll tests.
6369 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6370 * include/sys/poll.h: Add hidden proto for ppoll.
6371 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6372 * sysdeps/mach/hurd/ppoll.c: Likewise.
6373 * io/ppoll.c: Likewise.
6374 * debug/poll_chk.c: New file.
6375 * debug/ppoll_chk.c: New file.
6376 * include/bits/poll2.h: New file.
6377 * io/bits/poll2.h: New file.
6378
6379 [BZ #1350]
6380 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6381
6382 * configure.in: static is always set to yes. Remove.
6383 * config.make.in: Don't set build-static.
6384 * Makeconfig: Remove use of build-static.
6385 * dlfcn/Makefile: Likewise.
6386 * elf/Makefile: Likewise.
6387 * math/Makefile: Likewise.
6388 * misc/Makefile: Likewise.
6389 * nptl/Makefile: Likewise.
6390 * sysdeps/mach/hurd/Makefile: Likewise.
6391
6392 * configure.in: PWD_P is not used anymore.
6393 * config.make.in: Remove PWD_P entry.
6394
6395 * configure.in: Remove last remnants of RANLIB.
6396 No need to check for signed size_t anymore.
6397 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6398 and IA-64.
6399 Remove __builtin_expect test because we require at least gcc 3.4.
6400 * aclocal.m4: Likewise.
6401
6402 * wcsmbs/mbrtoc16.c: Implement using towc function.
6403 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6404 * wcsmbs/wcsmbsload.c: Likewise.
6405 * iconv/gconv_simple.c: Likewise.
6406 * iconv/gconv_int.h: Likewise.
6407 * iconv/gconv_builtin.h: Likewise.
6408 * iconv/iconv_prog.c: Remove CHAR16 handling.
6409
6410 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6411
6412 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6413
6414 * configure.in: Remove --with-elf and --enable-bounded options.
6415 Dont set base_machine for ia64. More non-ELF conditions removed.
6416 Remove testing and setting of leading underscore information.
6417 * config.make.in (build-bounded): Set to no.
6418 * config.h.in: Remove NO_UNDERSCORES entry.
6419 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6420 them.
6421 * csu/start.c: Remove !NO_UNDERSCORE code.
6422 * locale/localeinfo.h: Likewise.
6423 * sysdeps/generic/machine-gmon.h: Likewise.
6424 * sysdeps/generic/sysdep.h: Likewise.
6425 * sysdeps/i386/sysdep.h: Likewise.
6426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6427 * sysdeps/mach/sysdep.h: Likewise.
6428 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6430 * sysdeps/sh/sysdep.h: Likewise.
6431 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6432 * sysdeps/unix/i386/sysdep.S: Likewise.
6433 * sysdeps/unix/sparc/start.c: Likewise.
6434 * sysdeps/unix/sparc/sysdep.S: Likewise.
6435 * sysdeps/unix/sparc/sysdep.h: Likewise.
6436 * sysdeps/unix/start.c: Likewise.
6437 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6438 * sysdeps/x86_64/sysdep.h: Likewise.
6439
6440 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6441
6442 [BZ #13553]
6443 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6444 for non-gcc.
6445 * argp/argp-fmtstream.h: Use const instead __const.
6446 * argp/argp.h: Likewise.
6447 * assert/assert.h: Likewise.
6448 * bits/fenv.h: Likewise.
6449 * bits/sched.h: Likewise.
6450 * bits/sigset.h: Likewise.
6451 * bits/sigthread.h: Likewise.
6452 * catgets/nl_types.h: Likewise.
6453 * conform/data/pthread.h-data: Likewise.
6454 * crypt/crypt-private.h: Likewise.
6455 * crypt/crypt.h: Likewise.
6456 * crypt/crypt_util.c: Likewise.
6457 * ctype/ctype.h: Likewise.
6458 * debug/execinfo.h: Likewise.
6459 * debug/mbsnrtowcs_chk.c: Likewise.
6460 * debug/mbsrtowcs_chk.c: Likewise.
6461 * debug/wcsnrtombs_chk.c: Likewise.
6462 * debug/wcsrtombs_chk.c: Likewise.
6463 * debug/wcstombs_chk.c: Likewise.
6464 * dirent/dirent.h: Likewise.
6465 * dlfcn/dlfcn.h: Likewise.
6466 * elf/neededtest4.c: Likewise.
6467 * grp/grp.h: Likewise.
6468 * gshadow/gshadow.h: Likewise.
6469 * iconv/gconv.h: Likewise.
6470 * iconv/gconv_int.h: Likewise.
6471 * iconv/gconv_simple.c: Likewise.
6472 * iconv/iconv.h: Likewise.
6473 * iconv/loop.c: Likewise.
6474 * iconv/skeleton.c: Likewise.
6475 * include/aio.h: Likewise.
6476 * include/aliases.h: Likewise.
6477 * include/argz.h: Likewise.
6478 * include/arpa/inet.h: Likewise.
6479 * include/assert.h: Likewise.
6480 * include/dirent.h: Likewise.
6481 * include/dlfcn.h: Likewise.
6482 * include/execinfo.h: Likewise.
6483 * include/fcntl.h: Likewise.
6484 * include/fenv.h: Likewise.
6485 * include/glob.h: Likewise.
6486 * include/grp.h: Likewise.
6487 * include/libintl.h: Likewise.
6488 * include/mntent.h: Likewise.
6489 * include/netdb.h: Likewise.
6490 * include/pwd.h: Likewise.
6491 * include/rpc/netdb.h: Likewise.
6492 * include/sched.h: Likewise.
6493 * include/search.h: Likewise.
6494 * include/shadow.h: Likewise.
6495 * include/signal.h: Likewise.
6496 * include/stdio.h: Likewise.
6497 * include/stdlib.h: Likewise.
6498 * include/string.h: Likewise.
6499 * include/sys/socket.h: Likewise.
6500 * include/sys/stat.h: Likewise.
6501 * include/sys/statfs.h: Likewise.
6502 * include/sys/statvfs.h: Likewise.
6503 * include/sys/syslog.h: Likewise.
6504 * include/sys/time.h: Likewise.
6505 * include/sys/uio.h: Likewise.
6506 * include/time.h: Likewise.
6507 * include/unistd.h: Likewise.
6508 * include/utmp.h: Likewise.
6509 * include/wchar.h: Likewise.
6510 * include/wctype.h: Likewise.
6511 * inet/aliases.h: Likewise.
6512 * inet/arpa/inet.h: Likewise.
6513 * inet/netinet/ether.h: Likewise.
6514 * inet/netinet/in.h: Likewise.
6515 * intl/libintl.h: Likewise.
6516 * io/bits/fcntl2.h: Likewise.
6517 * io/fcntl.h: Likewise.
6518 * io/ftw.h: Likewise.
6519 * io/sys/poll.h: Likewise.
6520 * io/sys/stat.h: Likewise.
6521 * io/sys/statfs.h: Likewise.
6522 * io/sys/statvfs.h: Likewise.
6523 * io/utime.h: Likewise.
6524 * libio/bits/stdio.h: Likewise.
6525 * libio/bits/stdio2.h: Likewise.
6526 * libio/libio.h: Likewise.
6527 * libio/libioP.h: Likewise.
6528 * libio/stdio.h: Likewise.
6529 * locale/lc-ctype.c: Likewise.
6530 * locale/locale.h: Likewise.
6531 * login/utmp.h: Likewise.
6532 * malloc/arena.c: Likewise.
6533 * malloc/malloc.c: Likewise.
6534 * malloc/malloc.h: Likewise.
6535 * malloc/mcheck.c: Likewise.
6536 * malloc/mtrace.c: Likewise.
6537 * math/bits/mathcalls.h: Likewise.
6538 * math/fenv.h: Likewise.
6539 * math/math_private.h: Likewise.
6540 * misc/bits/error.h: Likewise.
6541 * misc/bits/syslog.h: Likewise.
6542 * misc/err.h: Likewise.
6543 * misc/error.h: Likewise.
6544 * misc/fstab.h: Likewise.
6545 * misc/mntent.h: Likewise.
6546 * misc/regexp.h: Likewise.
6547 * misc/search.h: Likewise.
6548 * misc/sgtty.h: Likewise.
6549 * misc/sys/mman.h: Likewise.
6550 * misc/sys/syslog.h: Likewise.
6551 * misc/sys/uio.h: Likewise.
6552 * misc/sys/xattr.h: Likewise.
6553 * misc/ttyent.h: Likewise.
6554 * nis/rpcsvc/ypclnt.h: Likewise.
6555 * nss/nss.h: Likewise.
6556 * posix/bits/unistd.h: Likewise.
6557 * posix/fnmatch.h: Likewise.
6558 * posix/glob.h: Likewise.
6559 * posix/sched.h: Likewise.
6560 * posix/spawn.h: Likewise.
6561 * posix/sys/wait.h: Likewise.
6562 * posix/unistd.h: Likewise.
6563 * posix/wordexp.h: Likewise.
6564 * pwd/pwd.h: Likewise.
6565 * resolv/netdb.h: Likewise.
6566 * resource/sys/resource.h: Likewise.
6567 * rt/aio.h: Likewise.
6568 * rt/bits/mqueue2.h: Likewise.
6569 * rt/mqueue.h: Likewise.
6570 * shadow/shadow.h: Likewise.
6571 * signal/signal.h: Likewise.
6572 * socket/send.c: Likewise.
6573 * socket/sendto.c: Likewise.
6574 * socket/sys/socket.h: Likewise.
6575 * stdio-common/printf.h: Likewise.
6576 * stdlib/bits/stdlib.h: Likewise.
6577 * stdlib/fmtmsg.h: Likewise.
6578 * stdlib/monetary.h: Likewise.
6579 * stdlib/stdlib.h: Likewise.
6580 * stdlib/ucontext.h: Likewise.
6581 * streams/stropts.h: Likewise.
6582 * string/argz.h: Likewise.
6583 * string/bits/string2.h: Likewise.
6584 * string/string.h: Likewise.
6585 * string/strings.h: Likewise.
6586 * sunrpc/rpc/auth.h: Likewise.
6587 * sunrpc/rpc/auth_des.h: Likewise.
6588 * sunrpc/rpc/clnt.h: Likewise.
6589 * sunrpc/rpc/netdb.h: Likewise.
6590 * sunrpc/rpc/pmap_clnt.h: Likewise.
6591 * sunrpc/rpc/xdr.h: Likewise.
6592 * sysdeps/generic/inttypes.h: Likewise.
6593 * sysdeps/generic/net/if.h: Likewise.
6594 * sysdeps/generic/sys/swap.h: Likewise.
6595 * sysdeps/gnu/net/if.h: Likewise.
6596 * sysdeps/gnu/utmpx.h: Likewise.
6597 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6598 * sysdeps/i386/i486/bits/string.h: Likewise.
6599 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6600 * sysdeps/s390/bits/string.h: Likewise.
6601 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6602 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6603 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6604 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6605 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6606 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6607 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6608 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6609 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6610 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6611 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6612 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6613 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6614 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6615 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6616 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6617 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6621 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6622 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6623 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6624 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6625 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6626 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6627 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6629 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6630 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6631 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6632 * sysvipc/sys/ipc.h: Likewise.
6633 * sysvipc/sys/msg.h: Likewise.
6634 * sysvipc/sys/sem.h: Likewise.
6635 * sysvipc/sys/shm.h: Likewise.
6636 * termios/termios.h: Likewise.
6637 * time/sys/time.h: Likewise.
6638 * time/time.h: Likewise.
6639 * wcsmbs/bits/wchar2.h: Likewise.
6640 * wcsmbs/uchar.h: Likewise.
6641 * wcsmbs/wchar.h: Likewise.
6642 * wctype/wctype.h: Likewise.
6643
6644 [BZ #13551]
6645 * Makeconfig: Remove all but ELF support including AIX support.
6646 * Makerules: Likewise.
6647 * config.h.in: Likewise.
6648 * config.make.in: Likewise.
6649 * configure: Likewise.
6650 * configure.in: Likewise.
6651 * csu/Makefile: Likewise.
6652 * csu/version.c: Likewise.
6653 * debug/Makefile: Likewise.
6654 * dlfcn/Makefile: Likewise.
6655 * elf/Makefile: Likewise.
6656 * extra-lib.mk: Likewise.
6657 * iconv/Makefile: Likewise.
6658 * include/libc-symbols.h: Likewise.
6659 * include/shlib-compat.h: Likewise.
6660 * resolv/Makefile: Likewise.
6661 * resolv/res_libc.c: Likewise.
6662 * rt/Makefile: Likewise.
6663 * sysdeps/i386/asm-syntax.h: Likewise.
6664 * sysdeps/i386/sysdep.h: Likewise.
6665 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6666 * sysdeps/mach/sysdep.h: Likewise.
6667 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6668 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6669 * sysdeps/s390/asm-syntax.h: Likewise.
6670 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6671 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6672 * sysdeps/sh/sysdep.h: Likewise.
6673 * sysdeps/unix/sparc/sysdep.h: Likewise.
6674 * sysdeps/wordsize-32/divdi3.c: Likewise.
6675 * sysdeps/x86_64/sysdep.h: Likewise.
6676
6677 * argp/Versions: Remove _argp_unlock_xxx.
6678
6679 [BZ #13559]
6680 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6681 * abilist/libBrokenLocale.abilist: Likewise.
6682 * abilist/libanl.abilist: Likewise.
6683 * abilist/libc.abilist: Likewise.
6684 * abilist/libcrypt.abilist: Likewise.
6685 * abilist/libdl.abilist: Likewise.
6686 * abilist/libm.abilist: Likewise.
6687 * abilist/libnsl.abilist: Likewise.
6688 * abilist/libpthread.abilist: Likewise.
6689 * abilist/libresolv.abilist: Likewise.
6690 * abilist/librt.abilist: Likewise.
6691 * abilist/libthread_db.abilist: Likewise.
6692 * abilist/libutil.abilist: Likewise.
6693 * abilist/libnss_db.abilist: New file.
6694
6695 * scripts/abilist.awk: Add support for indirect functions.
6696
6697 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6698
6699 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6700
6701 * shlib-versions: Remove entries for ports architectures.
6702
6703 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6704 files in ports.
6705 * elf/stackguard-macros.h: Remove support for IA-64.
6706 * elf/tst-auditmod1.c: Likewise.
6707 * sysdeps/generic/ldsodefs.h: Likewise.
6708
6709 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6710 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6711 configure files.
6712
6713 [BZ #13552]
6714 * configure.in: Remove --enable-omitfp support.
6715 * FAQ.in: Adjust.
6716 * config.make.in: Likewise.
6717 * Makeconfig: Likewise.
6718 * manual/install.texi: Likewise.
6719
6720 In case anyone cares, the IA-64 architecture could move to ports.
6721 * sysdeps/ia64/*: Removed.
6722 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6723 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6724
6725 [BZ #13555]
6726 * configure.in: Remove entries for unsupported architectures.
6727
6728 [BZ #13533]
6729 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6730 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6731 routines.
6732 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6733 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6734 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6735 fall back to using wcrtomb.
6736 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6737 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6738 renaming.
6739 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6740 * wcsmbs/tst-c16c32-1.c: New file.
6741
6742 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6743 local variable.
6744
6745 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6746
6747 * elf/tst-unique3.cc: Add explicit declaration of gets.
6748 * elf/tst-unique3lib.cc: Likewise.
6749 * elf/tst-unique3lib2.cc: Likewise.
6750 * elf/tst-unique4.cc: Likewise.
6751
6752 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6753
6754 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6755
6756 [BZ #13566]
6757 * assert/assert.h (static_assert): Don't define for C++.
6758 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6759 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6760
6761 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6762
6763 * iconv/loop.c (single loop): Fix assertion in storing of
6764 remaining bytes.
6765
6766 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6767
6768 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6769
6770 * posix/getconf.c: Update copyright year.
6771 * nss/getent.c: Likewise.
6772 * nss/makedb.c: Likewise.
6773 * iconv/iconvconfig.c: Likewise.
6774 * iconv/iconv_prog.c: Likewise.
6775 * elf/ldconfig.c: Likewise.
6776 * elf/pldd.c: Likewise.
6777 * elf/sotruss.ksh: Likewise.
6778 * catgets/gencat.c: Likewise.
6779 * csu/version.c: Likewise.
6780 * elf/ldd.bash.in: Likewise.
6781 * elf/sprof.c (print_version): Likewise.
6782 * locale/programs/locale.c: Likewise.
6783 * locale/programs/localedef.c: Likewise.
6784 * login/programs/pt_chown.c: Likewise.
6785 * nscd/nscd.c (print_version): Likewise.
6786 * debug/xtrace.sh: Likewise.
6787 * malloc/memusage.sh: Likewise.
6788 * malloc/mtrace.pl: Likewise.
6789 * debug/catchsegv.sh: Likewise.
6790
6791 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6792
6793 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6794 pure attribute.
6795
6796 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6797
6798 [BZ #13533]
6799 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6800 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6801 transformations.
6802 * iconv/gconv_int.h: Likewise.
6803 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6804 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6805 from libc for GLIBC_2.16.
6806 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6807 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6808 * wcsmbs/uchar.h: Really define mbstate_t.
6809 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6810 * wcsmbs/c16rtomb.c: New file.
6811 * wcsmbs/mbrtoc16.c: New file.
6812 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6813 for C/POSIX locale.
6814 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6815 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6816
6817 * wcsmbs/wchar.h: Add missing __restrict.
6818
6819 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6820
6821 [BZ #13532]
6822 * time/Makefile (routines): Add timespec_get.
6823 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6824 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6825 timespec for ISO C11.
6826 * time/timespec_get.c: New file.
6827 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6828 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6829
6830 [BZ #13531]
6831 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6832 * stdlib/stdlib.h: Declare aligned_alloc.
6833 * Versions.def: Add GLIBC_2.16 for libc.
6834 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6835
6836 [BZ 13527]
6837 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6838 ISO C11.
6839
6840 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6841 code.
6842
6843 [BZ #13528]
6844 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6845
6846 [BZ #13529]
6847 * assert/assert.h (static_assert): Define.
6848
6849 * version.h: Update for 2.16 development version.
6850
6851 [BZ #13526]
6852 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6853 _ISOC11_SOURCE.
6854
6855 * version.h (RELEASE): Bump for 2.15 release.
6856 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6857
6858 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6859 Patch by Marek Polacek <mpolacek@redhat.com>.
6860
6861 * bits/byteswap.h: Protect long long constants with __extension__.
6862 * sysdeps/i386/bits/byteswap.h: Likewise.
6863 * sysdeps/ia64/bits/byteswap.h: Likewise.
6864 * sysdeps/s390/bits/byteswap.h: Likewise.
6865 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6866
6867 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6868
6869 [BZ #13540]
6870 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6871 destination buffer.
6872 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6873
6874 2011-12-23 Marek Polacek <polacek@redhat.com>
6875
6876 * elf/dl-addr.c (determine_info): Add inline keyword.
6877 * elf/tst-auditmod4b.c (check_avx): Likewise.
6878 * elf/tst-auditmod6b.c (check_avx): Likewise.
6879 * elf/tst-auditmod6c.c (check_avx): Likewise.
6880 * elf/tst-auditmod7b.c (check_avx): Likewise.
6881
6882 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6883
6884 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6885 !__SSE_MATH__.
6886
6887 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6888
6889 [BZ #13540]
6890 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6891 processing for last bytes.
6892
6893 2011-08-06 Bruno Haible <bruno@clisp.org>
6894
6895 [BZ #13061]
6896 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6897 U+0385, not to U+1FEE.
6898
6899 [BZ #13062]
6900 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6901 entry for U+00A5 U+0301.
6902
6903 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6904
6905 [BZ #13166]
6906 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6907 buffer for the output is too small.
6908
6909 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6910 optimization.
6911
6912 [BZ #13185]
6913 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6914 SSE flags if possible.
6915
6916 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6917
6918 [BZ #13540]
6919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6920 processing for last bytes.
6921
6922 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6923
6924 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6925 (syscall-list-default-options, syscall-list-default-condition)
6926 (syscall-list-includes): Define.
6927 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6928 list of ABIs and options and #if conditions for each ABI. Do not
6929 handle common syscalls between ABIs specially.
6930 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6931 Remove.
6932 (syscall-list-variants, syscall-list-32bit-options)
6933 (syscall-list-32bit-condition, syscall-list-64bit-options)
6934 (syscall-list-64bit-condition): Define.
6935 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6936 (syscall-list-variants, syscall-list-32bit-options)
6937 (syscall-list-32bit-condition, syscall-list-64bit-options)
6938 (syscall-list-64bit-condition): Define.
6939 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6940 Remove.
6941 (syscall-list-variants, syscall-list-32bit-options)
6942 (syscall-list-32bit-condition, syscall-list-64bit-options)
6943 (syscall-list-64bit-condition): Define.
6944 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6945 Remove.
6946 (syscall-list-variants, syscall-list-32bit-options)
6947 (syscall-list-32bit-condition, syscall-list-64bit-options)
6948 (syscall-list-64bit-condition): Define.
6949
6950 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6951
6952 * locale/iso-639.def: Add brx entry.
6953
6954 [BZ #13328]
6955 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6956 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6957
6958 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6959 __feraiseexcept_renamed.
6960
6961 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6962
6963 [BZ #13538]
6964 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6965 EPOLLET with unsigned values.
6966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6968
6969 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6970 to large cancellation.
6971 * math/s_cacoshf.c: Likewise.
6972 * math/s_cacoshl.c: Likewise.
6973
6974 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6975
6976 [BZ #13305]
6977 [BZ #12786]
6978 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6979 * math/s_cacoshf.c: Likewise.
6980 * math/s_cacoshl.c: Likewise.
6981
6982 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6983
6984 [BZ #13439]
6985 * iconv/gconv.h: Define __GCONV_SWAP.
6986 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6987 * iconvdata/utf-16.c: Likewise.
6988 * iconvdata/utf-32.c: Likewise.
6989
6990 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6991
6992 [BZ #13524]
6993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6994 numerator after shifting it by one limb.
6995
6996 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6997
6998 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6999 under [__USE_EXTERN_INLINES].
7000
7001 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7002
7003 [BZ #13446]
7004 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7005
7006 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7007
7008 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7009 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7010 optimized code.
7011 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7013 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7014 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7015 for strncasecmp/strncasecmp_l compilation.
7016 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7017 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7018
7019 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7020
7021 [BZ #13484]
7022 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7023 of __asm__.
7024
7025 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7026
7027 [BZ #13506]
7028 * time/tzfile.c (__tzfile_read): Check values from file header.
7029
7030 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7031
7032 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7033 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7034 * powerpc/powerpc32/dl-start.S: Likewise.
7035 * powerpc/powerpc32/elf/start.S: Likewise.
7036 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7037 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7038 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7039 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7040 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7041 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7042 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7043 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7044 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7045 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7046 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7047 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7048 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7049 * powerpc/powerpc32/memset.S: Likewise.
7050 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7051 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7052 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7053 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7054 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7055 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7056 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7057 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7058 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7059 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7060 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7061 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7062 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7063
7064 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7065
7066 * math/libm-test.inc: Added more nearbyint tests.
7067 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7071
7072 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7073
7074 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7075 FD_CLOEXEC.
7076
7077 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7078
7079 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7080 Add wcscpy-ssse3 wcscpy-c.
7081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7082 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7083 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7084 * sysdeps/x86_64/wcschr.S: New file.
7085 * sysdeps/x86_64/wcsrchr.S: New file.
7086 * string/test-strcmp.c: Remove checking of wcscmp function for
7087 wrong alignments.
7088 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7089 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7090 wcsrchr-sse2 wcsrchr-c.
7091 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7092 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7093 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7094 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7095 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7096 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7097 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7098 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7100 * wcsmbc/wcschr.c (WCSCHR): New macro.
7101
7102 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7103
7104 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7105 * wcsmbs/test-wcsrchr.c: New file.
7106 * string/test-strrchr.c: Add wcsrchr support.
7107 (WIDE): New macro.
7108 * wcsmbs/test-wcscpy.c: New file.
7109 * string/test-strcpy.c: Add wcscpy support.
7110 (WIDE): New macro.
7111
7112 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7113
7114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7115 the inner loop.
7116
7117 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7118
7119 [BZ #13472]
7120 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7121
7122 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7123
7124 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7125 Minor optimizations.
7126
7127 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7128 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7129 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7130
7131 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7132
7133 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7134 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7135 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7136 for gcc to avoid warnings.
7137 * inet/Makefile (tests): Add tst-checks.
7138 * inet/tst-checks.c: New file.
7139
7140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7141 warning.
7142
7143 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7144 __wmemcmp_sse2.
7145
7146 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7147 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7148
7149 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7150
7151 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7152
7153 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7154 problem.
7155
7156 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7157
7158 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7159
7160 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7161 conditional on GCC version.
7162 (__arch_compare_and_exchange_val_8_acq)
7163 (__arch_compare_and_exchange_val_16_acq)
7164 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7165 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7166 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7167
7168 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7169
7170 * sysdeps/sh/backtrace.c: New file.
7171
7172 2011-12-02 Andreas Schwab <schwab@redhat.com>
7173
7174 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7175 parenthesis.
7176
7177 2011-12-01 Andreas Schwab <schwab@redhat.com>
7178
7179 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7180 falling back to utime.
7181
7182 2011-11-30 Andreas Schwab <schwab@redhat.com>
7183
7184 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7185 expectations for float.
7186
7187 2011-11-29 Andreas Schwab <schwab@redhat.com>
7188
7189 * locale/weight.h (findidx): Add parameter len.
7190 * locale/weightwc.h (findidx): Likewise.
7191 * posix/fnmatch_loop.c (FCT): Adjust caller.
7192 * posix/regcomp.c (build_equiv_class): Likewise.
7193 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7194 * posix/regexec.c (check_node_accept_bytes): Likewise.
7195 * string/strcoll_l.c (STRCOLL): Likewise.
7196 * string/strxfrm_l.c (STRXFRM): Likewise.
7197
7198 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7199
7200 * Makefile.in: Remove CVSOPT handling.
7201 * configure.in: Remove use of AC_REVISION.
7202 * iconvdata/Makefile (distribute): No need to filter out CVS.
7203 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7204 handling.
7205
7206 2011-11-16 Andreas Schwab <schwab@redhat.com>
7207
7208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7209 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7210 [USE_AS_STRNCASECMP_L]: Likewise.
7211 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7212 NO_TLS_DIRECT_SEG_REFS.
7213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7214 Fix argument offsets for non-PIC.
7215 [USE_AS_STRNCASECMP_L]: Likewise.
7216 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7217 NO_TLS_DIRECT_SEG_REFS.
7218
7219 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7220
7221 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7222 O_CLOEXEC.
7223 * locale/loadlocale.c (_nl_load_locale): Likewise.
7224
7225 2011-11-15 Andreas Schwab <schwab@redhat.com>
7226
7227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7228 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7230 (SYSCALL_GETTIME): Set errno on error.
7231
7232 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7233 count references to noai6ai_cached.
7234
7235 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7236
7237 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7238
7239 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7240 FD_CLOEXEC for /proc/self/maps.
7241
7242 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7243 FD_CLOEXEC for /proc/meminfo.
7244
7245 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7246 gai.conf.
7247
7248 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7249 FD_CLOEXEC for given file.
7250
7251 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7252
7253 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7254 FD_CLOEXEC for /etc/hosts.
7255 (_gethtent): Likewise.
7256
7257 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7258
7259 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7260 cancellation and set FD_CLOEXEC for /etc/netgroup.
7261
7262 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7263 reading /etc/publickey.
7264
7265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7266 allow cancellation when reading /etc/group.
7267
7268 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7269 cancellation.
7270 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7271
7272 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7273 when using data file.
7274
7275 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7276
7277 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7278 (write_nis_obj): Use "c" and "e" in fopen.
7279
7280 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7281
7282 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7283
7284 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7285
7286 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7287
7288 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7289 locale.alias.
7290
7291 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7292
7293 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7294
7295 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7296
7297 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7298 file parsing and set FD_CLOEXEC.
7299
7300 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7301
7302 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7303
7304 2011-11-14 Andreas Schwab <schwab@redhat.com>
7305
7306 * malloc/arena.c (arena_get2): Don't call reused_arena when
7307 _int_new_arena failed.
7308
7309 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7310
7311 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7312 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7314 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7317 to compile strcasecmp and strncasecmp.
7318 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7319 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7320
7321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7322
7323 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7324
7325 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7326 locale-defines.sym to gen-as-const-headers.
7327 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7328 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7330 to compile strcasecmp and strncasecmp.
7331 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7332 strcasecmp_l and strncasecmp_l.
7333 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7334 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7335 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7336 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7337 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7338 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7339 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7340 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7341 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7342 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7343 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7344
7345 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7346
7347 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7348 result of SYSDEP_GETTIME_CPU to retval.
7349 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7350 parameter list to macro. Remove trailing semicolon. Adjust users.
7351
7352 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7353 variable.
7354
7355 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7356 mantissa words.
7357 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7358
7359 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7360 from unused variable.
7361
7362 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7363 DWARF definitions.
7364 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7365 for assembling.
7366
7367 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7368 over namespaces.
7369
7370 * sunrpc/rpc_prot.c (rejected): Fix case value.
7371
7372 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7373 unsigned long long int to avoid warnings in shift.
7374
7375 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7376 of use of trans.
7377 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7378 variable tmp.
7379
7380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7381 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7383
7384 * nis/nis_table.c (nis_list): Use variable of correct type for
7385 result of __follow_path call.
7386
7387 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7388
7389 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7390 of math functions ceil, trunc, floor, round, and sqrt, when
7391 avaliable on the platform.
7392 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7393 name clash.
7394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7395 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7396 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7397
7398 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7399
7400 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7401 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7402
7403 2011-11-11 Roland McGrath <roland@hack.frob.com>
7404
7405 * include/unistd.h: Fix __readlink return type.
7406 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7407
7408 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7409
7410 * stdlib/ucontext.h: Undo last change for makecontext.
7411
7412 2011-11-11 Andreas Schwab <schwab@redhat.com>
7413
7414 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7415
7416 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7417 * setjmp/setjmp.h: Mark functions as non-leaf.
7418 * setjmp/bits/setjmp2.h: Likewise.
7419 * stdlib/ucontext.h: Likewise.
7420
7421 2011-11-10 Andreas Schwab <schwab@redhat.com>
7422
7423 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7424 (reused_arena): Don't check arena limit.
7425 (arena_get2): Atomically check arena limit.
7426
7427 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7428
7429 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7430 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7431
7432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7433 instructions.
7434
7435 2011-11-07 Andreas Schwab <schwab@redhat.com>
7436
7437 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7438 handler when locking.
7439
7440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7441 Fix size of allocated buffer.
7442
7443 2011-11-04 Andreas Schwab <schwab@redhat.com>
7444
7445 [BZ #10103]
7446 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7447 declarations for long double functions.
7448 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7449
7450 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7451
7452 2011-11-03 Andreas Schwab <schwab@redhat.com>
7453
7454 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7455 installed.
7456
7457 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7458 is disabled.
7459
7460 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7461
7462 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7463
7464 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7465
7466 * include/alloca.h (stackinfo_alloca_round): Define.
7467 (extend_alloca): Use it.
7468 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7469 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7470 here.
7471
7472 * scripts/check-local-headers.sh: Ignore libaudit.h.
7473
7474 * nscd/Makefile (extra-objs): Make recursively expanded.
7475
7476 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7477
7478 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7480
7481 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7482 * posix/tst-rfc3484-2.c: Likewise.
7483 * posix/tst-rfc3484-3.c: Likewise.
7484
7485 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7486 process_vm_writev.
7487 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7488 process_vm_writev.
7489 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7490 process_vm_writev from libc using GLIBC_2.15 version.
7491
7492 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7493
7494 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7495
7496 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7497 stack usage.
7498
7499 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7500
7501 [BZ #13367]
7502 * nss/getent.c (initgroups_keys): Show error message in case no group
7503 names are given.
7504
7505 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7506 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7507 __bump_nl_timestamp.
7508 * nscd/connections (nscd_init): When host database is served open
7509 netlink socket and request notification about configuration changes.
7510 (main_loop_poll): Track netlink file descriptor and bump timestamp
7511 in case data becomes available.
7512 (main_loop_epoll): Likewise.
7513 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7514 (database_pers_head): Add extra_data fileds.
7515 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7516 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7517 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7518 Adjust caller.
7519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7520 in6ai data, call __free_in6ai.
7521 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7522 Add -DHAVE_NETLINK.
7523 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7524 interface information. Reuse previous data if netlink timestamp
7525 is not changed.
7526 (__bump_nl_timestamp): New function.
7527 (__free_in6ai): New function.
7528
7529 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7530
7531 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7532 close_not_cancel_no_status here.
7533 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7534
7535 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7536
7537 [BZ #13276]
7538 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7539 return value.
7540
7541 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7542 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7543 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7544
7545 2011-07-03 Andreas Jaeger <aj@suse.de>
7546
7547 [BZ #10709]
7548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7549 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7550 * math/libm-test.inc (sin_test): Add test case.
7551
7552 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7553
7554 [BZ #13337]
7555 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7556 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7557
7558 * elf/chroot_canon.c (chroot_canon): Cleanups.
7559
7560 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7561
7562 [BZ #13335]
7563 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7564 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7565
7566 * string/test-strchr.c: Make usable for strchrnul testing.
7567 * string/test-strchrnul.c: New file.
7568 * string/Makefile (strop-tests): Add strchrnul.
7569
7570 * po/it.po: Update from translation team.
7571 * po/es.po: Likewise.
7572
7573 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7574
7575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7576 the three constants needed as parameters. Drop the others.
7577 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7578 __m128i_strloadu_tolower.
7579 Create and initialize variable zero and use it in all the places
7580 where _mm_setzero_si128 was used.
7581
7582 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7583 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7584 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7585 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7586 anymore.
7587 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7588 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7589 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7590 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7591 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7592 __mpranred, __mptan.
7593 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7594 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7595 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7596 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7597 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7598 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7602
7603 2011-10-28 Andreas Schwab <schwab@redhat.com>
7604
7605 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7606 redefine if SHARED.
7607 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7608
7609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7610 wide char related routines to wcsmbs subdir.
7611
7612 2011-10-27 Andreas Schwab <schwab@redhat.com>
7613
7614 [BZ #13344]
7615 * misc/sys/cdefs.h (__THROWNL): Define.
7616 * posix/unistd.h: Use __THREADNL instead of __THREAD
7617 for memory synchronization functions.
7618
7619 2011-10-26 Roland McGrath <roland@hack.frob.com>
7620
7621 [BZ #13349]
7622 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7623 doesn't exist.
7624 * manual/stdio.texi (Obstack Streams): Node removed.
7625
7626 2011-10-26 Andreas Schwab <schwab@redhat.com>
7627
7628 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7630 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7631
7632 * math/math_private.h (math_force_eval): Allow non-addressable
7633 arguments.
7634 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7635
7636 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7637
7638 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7639 file is not needed.
7640
7641 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7648 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7649 Add AVX variants.
7650 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7651 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7652 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7653 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7655 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7656 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7657 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7658 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7659 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7660 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7661 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7662 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7663 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7664 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7665 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7666 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7667 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7668 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7669
7670 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7671 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7672
7673 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7674 place. Use VEX encoding when compiling for AVX.
7675
7676 2011-10-25 Andreas Schwab <schwab@redhat.com>
7677
7678 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7679 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7680
7681 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7682
7683 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7684
7685 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7686 useless if() expression.
7687 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7696 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7698 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7701 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7705 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7706
7707 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7708
7709 2011-10-25 Andreas Schwab <schwab@redhat.com>
7710
7711 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7712 condition.
7713 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7714
7715 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7716
7717 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7718 .text section. Avoid duplicate constants.
7719 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7731 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7734 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7743 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7744 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7745 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7746 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7748 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7750 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7752 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7753 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7754 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7755 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7756 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7757 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7758 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7759 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7761 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7762 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7763 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7764
7765 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7766
7767 * sysdeps/x86_64/dla.h: Move to ...
7768 * sysdeps/x86_64/fpu/dla.h: ...here.
7769 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7770 situations. Use __builtin_fma only for gcc 4.6 and up.
7771
7772 * config.make.in: Add have-mfma4 entry.
7773 * configure.in: Substitute libc_cv_cc_fma4.
7774 * math/Makefile (dbl-only-routines): Add sincostab.
7775 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7776 Use __sincostab not sincos.
7777 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7778 name is a macro.
7779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7783 using __copysign.
7784 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7785 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7786 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7787 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7788 and __inv.
7789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7790 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7791 __copysign.
7792 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7793 define aliases when function name is a macro.
7794 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7795 sysdeps/ieee754/dbl-64/sincos.tbl.
7796 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7797 fma4-enabled routines.
7798 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7799 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7800 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7801 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7802 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7803 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7804 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7806 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7808 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7809 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7810 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7811 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7812 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7813 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7814 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7815 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7816 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7818 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7823 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7825 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7826 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7827 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7828
7829 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7830 rename.
7831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7839
7840 2011-10-24 Andreas Schwab <schwab@redhat.com>
7841
7842 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7843
7844 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7845
7846 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7847
7848 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7849 prediction.
7850 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7851
7852 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7853 Remove unused variable magic_bits.
7854 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7855
7856 * string/strnlen.c: Define and use STRNLEN macro.
7857 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7858 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7860 * wcsmbs/wcslen.c: Define and use WCSLEN.
7861 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7862 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7863 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7864 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7865 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7866 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7867 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7868
7869 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7870
7871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7872 strnlen-sse2-no-bsf.
7873 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7874 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7875 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7876 Add strnlen support.
7877 (USE_AS_STRNLEN): New macro.
7878 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7880 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7881 * sysdeps/x86_64/wcslen.S: New file.
7882
7883 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7884
7885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7886 XMM-moves are used for copying on small sizes.
7887
7888 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7889
7890 * wcsmbs/Makefile (strop-tests): Add wcschr.
7891 * wcsmbs/test-wcschr.c: New file.
7892 * string/test-strchr.c: Update.
7893 Add wcschr support.
7894 (WIDE): New macro.
7895
7896 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7897
7898 * wcsmbs/Makefile (strop-tests): Add wcslen.
7899 * wcsmbs/test-wcslen.c: New file.
7900 * string/test-strlen.c: Update.
7901 Add wcslen support.
7902 (WIDE): New macro.
7903
7904 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7905
7906 * po/it.po: Update from translation team.
7907
7908 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7909
7910 * sysdeps/x86_64/wcscmp.S: Update.
7911 Fix wrong comparison semantics.
7912 wcscmp shall use signed comparison not unsigned.
7913 Don't use substraction to avoid overflow bug.
7914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7915 * wcsmbc/wcscmp.c: Likewise.
7916 * string/test-strcmp.c: Likewise.
7917 Add new tests to check cases with negative values.
7918
7919 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7920
7921 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7922 * sysdeps/x86_64/dla.h: ...here. New file.
7923 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7932
7933 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7934
7935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7936 __ynl_finite aliases.
7937
7938 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7939
7940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7941
7942 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7943 define DLA_FMA.
7944 [DLA_FMA] (EMULV): Use DLA_FMA.
7945 [DLA_FMA] (MUL12): Use EMULV.
7946 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7947 that are not needed.
7948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7955
7956 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7957
7958 * math/s_nan.c: Undef __nan.
7959 * math/s_nanf.c: Undef __nanf.
7960 * math/s_nanl.c: Undef __nanl.
7961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7962 "math_private.h".
7963
7964 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7965
7966 * math/s_catan.c: Add branch predictions.
7967 * math/s_catanf.c: Likewise.
7968 * math/s_catanh.c: Likewise.
7969 * math/s_catanhf.c: Likewise.
7970 * math/s_catanhl.c: Likewise.
7971 * math/s_catanl.c: Likewise.
7972 * math/s_cexp.c: Likewise.
7973 * math/s_cexpf.c: Likewise.
7974 * math/s_cexpl.c: Likewise.
7975 * math/s_clog.c: Likewise.
7976 * math/s_clog10.c: Likewise.
7977 * math/s_clog10f.c: Likewise.
7978 * math/s_clog10l.c: Likewise.
7979 * math/s_clogf.c: Likewise.
7980 * math/s_clogl.c: Likewise.
7981 * math/s_csqrt.c: Likewise.
7982 * math/s_csqrtf.c: Likewise.
7983 * math/s_csqrtl.c: Likewise.
7984 * math/s_ctanf.c: Likewise.
7985 * math/s_ctanh.c: Likewise.
7986 * math/s_ctanhf.c: Likewise.
7987 * math/s_ctanhl.c: Likewise.
7988 * math/s_ctanl.c: Likewise.
7989
7990 * math/math_private.h: Define __nan, __nanf, __nanl.
7991 * math/s_cacosh.c: Include <math_private.h>.
7992 * math/s_cacoshl.c: Likewise.
7993 * math/s_casinh.c: Likewise.
7994 * math/s_casinhf.c: Likewise.
7995 * math/s_casinhl.c: Likewise.
7996 * math/s_ccos.c: Rely entire on ccosh.
7997 * math/s_ccosf.c: Rely entire on ccoshf.
7998 * math/s_ccosl.c: Rely entirely on ccoshl.
7999 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8000 Remove tests for FE_INVALID.
8001 * math/s_ccoshf.c: Likewise.
8002 * math/s_ccoshl.c: Likewise.
8003 * math/s_csin.c: Likewise.
8004 * math/s_csinf.c: Likewise.
8005 * math/s_csinh.c Likewise.
8006 * math/s_csinhf.c: Likewise.
8007 * math/s_csinhl.c: Likewise.
8008 * math/s_csinl.c: Likewise.
8009 * math/s_ctan.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8011 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8013
8014 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8015
8016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8017 compilation problems.
8018
8019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8020 __builtin_expect.
8021
8022 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8023
8024 * sysdeps/i386/configure.in: Test for -mfma4 option.
8025 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8026 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8027 COMMON_CPUID_INDEX_80000001.
8028 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8029 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8030 use it if FMA3 is not supported.
8031 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8032
8033 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8034 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8035
8036 2011-10-20 Andreas Schwab <schwab@redhat.com>
8037
8038 [BZ #12892]
8039 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8040 it would create a cycle with a link time dependency.
8041
8042 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8043
8044 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8045 instruction.
8046 * string/Makefile (strop-tests): Add rawmemchr.
8047 * string/test-rawmemchr.c: New file.
8048
8049 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8051 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8052 when compiling str{,n}casecmp and when AVX is available. Hook up
8053 new optimized code in initializers.
8054
8055 2011-10-19 Andreas Schwab <schwab@redhat.com>
8056
8057 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8058 __feraiseexcept instead of feraiseexcept.
8059
8060 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8061
8062 * math/math_private.h: Define defaults for libc_fetestexcept and
8063 libc_feupdateenv.
8064 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8065 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8066 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8067 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8068 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8069 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8070 libc_fetestexcept and libc_feupdateenv.
8071
8072 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8073 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8074 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8075 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8076 libc_feholdexcept_setround.
8077
8078 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8079 Add s_nearbyint-c and s_nearbyintf-c.
8080 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8081 nearbyintf inlines.
8082 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8084 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8085 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8086
8087 * math/math_private.h: Define defaults for libc_fegetround,
8088 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8089 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8090 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8091 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8092 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8093 standard functions.
8094 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8095 Remove comments and hacks for old compiler versions.
8096 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8097 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8098 libc_feholdexceptl.
8099
8100 2011-10-18 Andreas Schwab <schwab@redhat.com>
8101
8102 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8103 (__feraiseexcept_renamed): Add __NTH.
8104 (feraiseexcept): Add __NTH. Rename local variables to fix
8105 namespace violations.
8106
8107 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8108
8109 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8110
8111 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8112
8113 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8114 recently added interfaces.
8115 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8116
8117 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8118 about macro parameter expansion.
8119
8120 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8121 __NO_MATH_INLINES is defined. Cleanups.
8122
8123 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8124 and __floorf is target has SSE4.1.
8125 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8126 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8127 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8128 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8129
8130 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8131 name.
8132 (floorf): Likewise.
8133
8134 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8135
8136 2011-10-17 Andreas Schwab <schwab@redhat.com>
8137
8138 * misc/sys/cdefs.h: Fix last change.
8139
8140 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8141 database lookup.
8142
8143 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8144
8145 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8146
8147 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8148 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8153 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8154 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8155 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8156 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8157 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8158 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8159 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8160 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8162 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8164 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8165 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8166 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8167 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8168 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8169
8170 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8171 ceil, ceilf, floor, floorf.
8172
8173 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8174 Perform IRELATIVE relocations last.
8175
8176 * elf/do-rel.h: Add another parameter nrelative, replacing the
8177 local variable with the same name. Change name of the function
8178 to end in Rel or Rela (uppercase).
8179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8180 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8181 elf_dynamic_do_##reloc function.
8182
8183 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8184
8185 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8186 is sufficient, at least on modern CPUs.
8187
8188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8189
8190 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8192
8193 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8194 __expl_finite.
8195 * math/bits/math-finite.h: Add entries for exp.
8196 * math/e_expl.c: Add __*_finite alias.
8197 * sysdeps/i386/fpu/e_exp.S: Likewise.
8198 * sysdeps/i386/fpu/e_expf.S: Likewise.
8199 * sysdeps/i386/fpu/e_expl.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8201 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8202 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8203 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8205 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8207
8208 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8209 is sufficient, at least on modern CPUs.
8210
8211 * ctype/ctype-info.c (__ctype_init): Define.
8212 * include/ctype.h (__ctype_init): Declare.
8213 (__ctype_b_loc): The variable is always initialized.
8214 (__ctype_toupper_loc): Likewise.
8215 (__ctype_tolower_loc): Likewise.
8216 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8217 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8218
8219 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8220
8221 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8222
8223 * configure.in: Also look in $cxxmachine/include for C++ system
8224 headers.
8225
8226 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8227
8228 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8229 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8230 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8231 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8233 (USE_AS_WMEMCMP): New macro.
8234 Fixing indents.
8235 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8236 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8237 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8238 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8240 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8241 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8242 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8243 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8244 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8245 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8246 (USE_AS_WMEMCMP): New macro.
8247 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8248 * sysdeps/string/test-memcmp.c: Update.
8249 Fix simple_wmemcmp.
8250 Add new tests.
8251 * wcsmbs/wmemcmp.c: Update.
8252 (WMEMCMP): New macro.
8253 Fix overflow bug.
8254
8255 2011-10-12 Andreas Jaeger <aj@suse.de>
8256
8257 [BZ #13268]
8258 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8259
8260 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8261
8262 * libio/iofwide.c (do_length): Avoid warning.
8263
8264 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8265
8266 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8267
8268 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8269
8270 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8271 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8272 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8273 * sysdeps/i386/i686/fpu/e_log.S: New file.
8274 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8275 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8276
8277 * ctype/ctype.h: Add support for inlined isXXX functions when
8278 compiling C++ code.
8279
8280 2011-10-14 Andreas Schwab <schwab@redhat.com>
8281
8282 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8283
8284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8285
8286 2011-10-13 Roland McGrath <roland@hack.frob.com>
8287
8288 [BZ #13291]
8289 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8290
8291 2011-10-13 Andreas Schwab <schwab@redhat.com>
8292
8293 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8294 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8295 feraiseexcept.
8296
8297 * sysdeps/x86_64/memrchr.S: Check for zero size.
8298
8299 * string/stratcliff.c: Add memrchr tests.
8300
8301 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8302
8303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8304 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8305 rawmemchr-sse2 rawmemchr-sse2-bsf.
8306 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8307 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8308 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8309 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8310 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8311 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8312 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8313 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8314 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8315 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8316 * string/memrchr.c (MEMRCHR): New macro.
8317
8318 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8319
8320 Add integration with gcc's -ffinite-math-only and optimize wrapper
8321 functions in libm.
8322 * Versions.def: Define GLIBC_2.15 version for libm.
8323 * math/Makefile (headers): Add bits/math-finite.h.
8324 * math/bits/math-finite.h: New file.
8325 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8326 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8327 * math/e_acoshl.c: Add __*_finite alias.
8328 * math/e_acosl.c: Likewise.
8329 * math/e_asinl.c: Likewise.
8330 * math/e_atan2l.c: Likewise.
8331 * math/e_atanhl.c: Likewise.
8332 * math/e_coshl.c: Likewise.
8333 * math/e_exp10.c: Likewise.
8334 * math/e_exp10f.c: Likewise.
8335 * math/e_exp10l.c: Likewise.
8336 * math/e_exp2l.c: Likewise.
8337 * math/e_fmodl.c: Likewise.
8338 * math/e_gammal_r.c: Likewise.
8339 * math/e_hypotl.c: Likewise.
8340 * math/e_j0l.c: Likewise.
8341 * math/e_j1l.c: Likewise.
8342 * math/e_jnl.c: Likewise.
8343 * math/e_lgammal_r.c: Likewise.
8344 * math/e_log10l.c: Likewise.
8345 * math/e_log2l.c: Likewise.
8346 * math/e_logl.c: Likewise.
8347 * math/e_powl.c: Likewise.
8348 * math/e_sinhl.c: Likewise.
8349 * math/e_sqrtl.c: Likewise.
8350 * math/e_scalb.c: Completely rewritten and optimized.
8351 * math/e_scalbf.c: Likewise.
8352 * math/e_scalbl.c: Likewise.
8353 * math/w_acos.c: Likewise.
8354 * math/w_acosf.c: Likewise.
8355 * math/w_acosl.c: Likewise.
8356 * math/w_acosh.c: Likewise.
8357 * math/w_acoshf.c: Likewise.
8358 * math/w_acoshl.c: Likewise.
8359 * math/w_asin.c: Likewise.
8360 * math/w_asinf.c: Likewise.
8361 * math/w_asinl.c: Likewise.
8362 * math/w_atan2.c: Likewise.
8363 * math/w_atan2f.c: Likewise.
8364 * math/w_atan2l.c: Likewise.
8365 * math/w_atanh.c: Likewise.
8366 * math/w_atanhf.c: Likewise.
8367 * math/w_atanhl.c: Likewise.
8368 * math/w_exp10.c: Likewise.
8369 * math/w_exp10f.c: Likewise.
8370 * math/w_exp10l.c: Likewise.
8371 * math/w_fmod.c: Likewise.
8372 * math/w_fmodf.c: Likewise.
8373 * math/w_fmodl.c: Likewise.
8374 * math/w_j0.c: Likewise.
8375 * math/w_j0f.c: Likewise.
8376 * math/w_j0l.c: Likewise.
8377 * math/w_j1.c: Likewise.
8378 * math/w_j1f.c: Likewise.
8379 * math/w_j1l.c: Likewise.
8380 * math/w_jn.c: Likewise.
8381 * math/w_jnf.c: Likewise.
8382 * math/w_log.c: Likewise.
8383 * math/w_logf.c: Likewise.
8384 * math/w_logl.c: Likewise.
8385 * math/w_log10.c: Likewise.
8386 * math/w_log10f.c: Likewise.
8387 * math/w_log10l.c: Likewise.
8388 * math/w_log2.c: Likewise.
8389 * math/w_log2f.c: Likewise.
8390 * math/w_log2l.c: Likewise.
8391 * math/w_pow.c: Likewise.
8392 * math/w_powf.c: Likewise.
8393 * math/w_powl.c: Likewise.
8394 * math/w_remainder.c: Likewise.
8395 * math/w_remainderf.c: Likewise.
8396 * math/w_remainderl.c: Likewise.
8397 * math/w_scalb.c: Likewise.
8398 * math/w_scalbf.c: Likewise.
8399 * math/w_scalbl.c: Likewise.
8400 * math/w_sqrt.c: Likewise.
8401 * math/w_sqrtf.c: Likewise.
8402 * math/w_sqrtl.c: Likewise.
8403 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8404 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8405 used.
8406 * math/math_private.h: Declare __kernel_standard_f.
8407 * math/w_cosh.c: Remove cruft and optimize a bit.
8408 * math/w_coshf.c: Likewise.
8409 * math/w_coshl.c: Likewise.
8410 * math/w_exp2.c: Likewise.
8411 * math/w_exp2f.c: Likewise.
8412 * math/w_exp2l.c: Likewise.
8413 * math/w_hypot.c: Likewise.
8414 * math/w_hypotf.c: Likewise.
8415 * math/w_hypotl.c: Likewise.
8416 * math/w_lgamma.c: Likewise.
8417 * math/w_lgamma_r.c: Likewise.
8418 * math/w_lgammaf.c: Likewise.
8419 * math/w_lgammaf_r.c: Likewise.
8420 * math/w_lgammal.c: Likewise.
8421 * math/w_lgammal_r.c: Likewise.
8422 * math/w_sinh.c: Likewise.
8423 * math/w_sinhf.c: Likewise.
8424 * math/w_sinhl.c: Likewise.
8425 * math/w_tgamma.c: Likewise.
8426 * math/w_tgammaf.c: Likewise.
8427 * math/w_tgammal.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8430 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8431 Minor optimizations. Pretty printing. Remove cruft.
8432 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8433 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8434 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8436 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8437 * sysdeps/i386/fpu/e_asin.S: Likewise.
8438 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8439 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8440 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8441 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8444 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8445 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8446 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8447 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8448 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8449 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8450 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8451 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8452 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8453 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8454 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8455 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8456 * sysdeps/i386/fpu/e_log.S: Likewise.
8457 * sysdeps/i386/fpu/e_log10.S: Likewise.
8458 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8459 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8460 * sysdeps/i386/fpu/e_log2.S: Likewise.
8461 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8462 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8463 * sysdeps/i386/fpu/e_logf.S: Likewise.
8464 * sysdeps/i386/fpu/e_logl.S: Likewise.
8465 * sysdeps/i386/fpu/e_pow.S: Likewise.
8466 * sysdeps/i386/fpu/e_powf.S: Likewise.
8467 * sysdeps/i386/fpu/e_powl.S: Likewise.
8468 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8469 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8470 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8471 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8472 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8474 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8475 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8476 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8498 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8499 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8500 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8501 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8502 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8503 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8504 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8505 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8506 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8507 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8508 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8510 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8511 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8512 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8513 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8514 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8515 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8516 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8517 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8518 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8519 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8557 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8560 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8562 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8563 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8565 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8570 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8572 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8573 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8574 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8575 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8576 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8577 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8578 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8579 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8580 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8581 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8582 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8583 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8585 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8587 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8588 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8589 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8590 (__isnanf): Likewise.
8591 (__isinf_ns): Likewise.
8592 (__isinf_nsf): Likewise.
8593 (__finite): Likewise.
8594 (__finitef): Likewise.
8595 (__ieee754_sqrt): Define as macro.
8596 (__ieee754_sqrtf): Define as macro.
8597 (__ieee754_sqrtl): Define as macro.
8598 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8599 inlined copy.
8600 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8601 __FINITE_MATH_ONLY__ consistent.
8602 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8603
8604 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8605
8606 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8607 of rawmemchr.
8608
8609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8610
8611 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8612
8613 * po/ja.po: Update from translation team.
8614
8615 2011-10-08 Roland McGrath <roland@hack.frob.com>
8616
8617 * locale/programs/locarchive.c (prepare_address_space): New function.
8618 (create_archive, enlarge_archive, open_archive): Use it.
8619
8620 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8621 inside [SHARED], where it is used.
8622
8623 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8624
8625 * nss/getent.c (netgroup_keys): Remove unused variable.
8626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8627
8628 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8629
8630 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8631 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8633 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8634 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8635 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8636 * math/Makefile (libm-calls): Add s_isinf_ns.
8637 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8638 * math/multc3.c: Likewise.
8639 * math/s_casin.c: Likewise.
8640 * math/s_casinf.c: Likewise.
8641 * math/s_casinl.c: Likewise.
8642 * math/s_ccos.c: Likewise.
8643 * math/s_ccosf.c: Likewise.
8644 * math/s_ccosl.c: Likewise.
8645 * math/s_ctan.c: Likewise.
8646 * math/s_ctanf.c: Likewise.
8647 * math/s_ctanh.c: Likewise.
8648 * math/s_ctanhf.c: Likewise.
8649 * math/s_ctanhl.c: Likewise.
8650 * math/s_ctanl.c: Likewise.
8651 * math/w_fmod.c: Likewise.
8652 * math/w_fmodf.c: Likewise.
8653 * math/w_fmodl.c: Likewise.
8654 * math/w_remainder.c: Likewise.
8655 * math/w_remainderf.c: Likewise.
8656 * math/w_remainderl.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8658 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8661 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8662 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8663 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8664 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8665
8666 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8667 of the number.
8668 * stdio-common/printf_fphex.c: Likewise.
8669 * stdio-common/printf_size.c: Likewise.
8670
8671 * math/e_exp10.c: Include math_private.h using <...> not "...".
8672 * math/e_exp10f.c: Likewise.
8673 * math/e_exp10l.c: Likewise.
8674 * math/e_exp2l.c: Likewise.
8675 * math/e_j0l.c: Likewise.
8676 * math/e_j1l.c: Likewise.
8677 * math/e_jnl.c: Likewise.
8678 * math/e_lgammal_r.c: Likewise.
8679 * math/e_rem_pio2l.c: Likewise.
8680 * math/e_scalb.c: Likewise.
8681 * math/e_scalbf.c: Likewise.
8682 * math/e_scalbl.c: Likewise.
8683 * math/k_cosl.c: Likewise.
8684 * math/k_sinl.c: Likewise.
8685 * math/k_tanl.c: Likewise.
8686 * math/s_cacoshf.c: Likewise.
8687 * math/s_catan.c: Likewise.
8688 * math/s_catanf.c: Likewise.
8689 * math/s_catanh.c: Likewise.
8690 * math/s_catanhf.c: Likewise.
8691 * math/s_catanhl.c: Likewise.
8692 * math/s_catanl.c: Likewise.
8693 * math/s_ccosh.c: Likewise.
8694 * math/s_ccoshf.c: Likewise.
8695 * math/s_ccoshl.c: Likewise.
8696 * math/s_cexp.c: Likewise.
8697 * math/s_cexpf.c: Likewise.
8698 * math/s_cexpl.c: Likewise.
8699 * math/s_clog.c: Likewise.
8700 * math/s_clog10.c: Likewise.
8701 * math/s_clog10f.c: Likewise.
8702 * math/s_clog10l.c: Likewise.
8703 * math/s_clogf.c: Likewise.
8704 * math/s_clogl.c: Likewise.
8705 * math/s_csin.c: Likewise.
8706 * math/s_csinf.c: Likewise.
8707 * math/s_csinh.c: Likewise.
8708 * math/s_csinhf.c: Likewise.
8709 * math/s_csinhl.c: Likewise.
8710 * math/s_csinl.c: Likewise.
8711 * math/s_csqrt.c: Likewise.
8712 * math/s_csqrtf.c: Likewise.
8713 * math/s_csqrtl.c: Likewise.
8714 * math/s_ctan.c: Likewise.
8715 * math/s_ctanf.c: Likewise.
8716 * math/s_ctanh.c: Likewise.
8717 * math/s_ctanhf.c: Likewise.
8718 * math/s_ctanhl.c: Likewise.
8719 * math/s_ctanl.c: Likewise.
8720 * math/s_ldexp.c: Likewise.
8721 * math/s_ldexpf.c: Likewise.
8722 * math/s_ldexpl.c: Likewise.
8723 * math/s_significand.c: Likewise.
8724 * math/s_significandf.c: Likewise.
8725 * math/s_significandl.c: Likewise.
8726 * math/w_acos.c: Likewise.
8727 * math/w_acosf.c: Likewise.
8728 * math/w_acosh.c: Likewise.
8729 * math/w_acoshf.c: Likewise.
8730 * math/w_acoshl.c: Likewise.
8731 * math/w_acosl.c: Likewise.
8732 * math/w_asin.c: Likewise.
8733 * math/w_asinf.c: Likewise.
8734 * math/w_asinl.c: Likewise.
8735 * math/w_atan2.c: Likewise.
8736 * math/w_atan2f.c: Likewise.
8737 * math/w_atan2l.c: Likewise.
8738 * math/w_atanh.c: Likewise.
8739 * math/w_atanhf.c: Likewise.
8740 * math/w_atanhl.c: Likewise.
8741 * math/w_cosh.c: Likewise.
8742 * math/w_coshf.c: Likewise.
8743 * math/w_coshl.c: Likewise.
8744 * math/w_dremf.c: Likewise.
8745 * math/w_exp10.c: Likewise.
8746 * math/w_exp10f.c: Likewise.
8747 * math/w_exp10l.c: Likewise.
8748 * math/w_exp2.c: Likewise.
8749 * math/w_exp2f.c: Likewise.
8750 * math/w_fmod.c: Likewise.
8751 * math/w_fmodf.c: Likewise.
8752 * math/w_fmodl.c: Likewise.
8753 * math/w_hypot.c: Likewise.
8754 * math/w_hypotf.c: Likewise.
8755 * math/w_hypotl.c: Likewise.
8756 * math/w_j0.c: Likewise.
8757 * math/w_j0f.c: Likewise.
8758 * math/w_j0l.c: Likewise.
8759 * math/w_j1.c: Likewise.
8760 * math/w_j1f.c: Likewise.
8761 * math/w_j1l.c: Likewise.
8762 * math/w_jn.c: Likewise.
8763 * math/w_jnf.c: Likewise.
8764 * math/w_jnl.c: Likewise.
8765 * math/w_lgamma.c: Likewise.
8766 * math/w_lgamma_r.c: Likewise.
8767 * math/w_lgammaf.c: Likewise.
8768 * math/w_lgammaf_r.c: Likewise.
8769 * math/w_lgammal.c: Likewise.
8770 * math/w_lgammal_r.c: Likewise.
8771 * math/w_log.c: Likewise.
8772 * math/w_log10.c: Likewise.
8773 * math/w_log10f.c: Likewise.
8774 * math/w_log10l.c: Likewise.
8775 * math/w_log2.c: Likewise.
8776 * math/w_log2f.c: Likewise.
8777 * math/w_log2l.c: Likewise.
8778 * math/w_logf.c: Likewise.
8779 * math/w_logl.c: Likewise.
8780 * math/w_pow.c: Likewise.
8781 * math/w_powf.c: Likewise.
8782 * math/w_powl.c: Likewise.
8783 * math/w_remainder.c: Likewise.
8784 * math/w_remainderf.c: Likewise.
8785 * math/w_remainderl.c: Likewise.
8786 * math/w_scalb.c: Likewise.
8787 * math/w_scalbf.c: Likewise.
8788 * math/w_scalbl.c: Likewise.
8789 * math/w_sinh.c: Likewise.
8790 * math/w_sinhf.c: Likewise.
8791 * math/w_sinhl.c: Likewise.
8792 * math/w_sqrt.c: Likewise.
8793 * math/w_sqrtf.c: Likewise.
8794 * math/w_sqrtl.c: Likewise.
8795 * math/w_tgamma.c: Likewise.
8796 * math/w_tgammaf.c: Likewise.
8797 * math/w_tgammal.c: Likewise.
8798
8799 * po/ja.po: Update from translation team.
8800
8801 2011-09-29 Andreas Jaeger <aj@suse.de>
8802
8803 [BZ #13179]
8804 * sunrpc/netname.c (netname2host): Fix logic.
8805
8806 [BZ #6779]
8807 [BZ #6783]
8808 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8809 correctly.
8810 * math/w_remainder.c (__remainder): Likewise.
8811 * math/w_remainderf.c (__remainderf): Likewise.
8812 * math/libm-test.inc (remainder_test): Add test cases.
8813
8814 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8815
8816 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8817 sdiv_qrnnd.
8818
8819 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8820
8821 * string/test-memcmp.c: Avoid unncessary #defines.
8822 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8823
8824 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8825
8826 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8827 Use new sse2 version for core i3 - i7 as it's faster
8828 than sse42 version.
8829 (bit_Prefer_PMINUB_for_stringop): New.
8830 * sysdeps/x86_64/rawmemchr.S: Update.
8831 Replace with faster SSE2 version.
8832 * sysdeps/x86_64/memrchr.S: New file.
8833 * sysdeps/x86_64/memchr.S: Update.
8834 Replace with faster SSE2 version.
8835
8836 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8837
8838 * elf/dl-load.c (lose): Add cast to avoid warning.
8839
8840 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8841
8842 * po/ca.po: Update from translation team.
8843
8844 * inet/getnetgrent_r.c: Hook up nscd.
8845 * nscd/Makefile (routines): Add nscd_netgroup.
8846 (nscd-modules): Add netgroupcache.
8847 (CFLAGS-netgroupcache.c): Define.
8848 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8849 (cache_search): Add const to second parameter.
8850 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8851 INNETGR.
8852 (dbs): Add netgrdb entry.
8853 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8854 (verify_persistent_db): Handle netgrdb.
8855 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8856 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8857 GETFDNETGR.
8858 (netgroup_response_header): Define.
8859 (innetgroup_response_header): Define.
8860 (datahead): Add netgroup_response_header and innetgroup_response_header
8861 elements.
8862 * nscd/nscd.conf: Add entries for netgroup cache.
8863 * nscd/nscd.h (dbtype): Add netgrdb.
8864 (_PATH_NSCD_NETGROUP_DB): Define.
8865 (netgroup_iov_disabled): Declare.
8866 (xmalloc, xcalloc, xrealloc): Move declarations here.
8867 (cache_search): Adjust prototype.
8868 Add netgroup-related prototypes.
8869 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8870 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8871 (__nscd_innetgr): Declare.
8872 * nscd/selinux.c (perms): Use access_vector_t as element type and
8873 add netgroup-related initializers.
8874 * nscd/netgroupcache.c: New file.
8875 * nscd/nscd_netgroup.c: New file.
8876 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8877 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8878 For four parameters use innetgr.
8879 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8880 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8881 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8882 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8883
8884 * nscd/connections.c (register_traced_file): Don't register file
8885 for disabled databases.
8886
8887 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8888
8889 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8890
8891 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8892 from tree and freeing node.
8893
8894 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8895
8896 * nss/nsswitch.c (__nss_database_lookup): Handle
8897 nss_parse_service_list out of memory case.
8898
8899 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8900
8901 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8902 out of memory case.
8903
8904 2011-10-04 Andreas Schwab <schwab@redhat.com>
8905
8906 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8907 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8908 pass it down.
8909 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8910 elf_machine_rela, elf_machine_lazy_rel.
8911 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8912 (ELF_DYNAMIC_DO_REL): Likewise.
8913 (ELF_DYNAMIC_DO_RELA): Likewise.
8914 (ELF_DYNAMIC_RELOCATE): Likewise.
8915 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8916 to ELF_DYNAMIC_DO_REL.
8917 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8918 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8919 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8920 elf_machine_rela.
8921 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8922 skip_ifunc, don't call ifunc function if non-zero.
8923 (elf_machine_rela): Likewise.
8924 (elf_machine_lazy_rel): Likewise.
8925 (elf_machine_lazy_rela): Likewise.
8926 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8927 (elf_machine_lazy_rel): Likewise.
8928 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8929 Likewise.
8930 (elf_machine_lazy_rel): Likewise.
8931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8932 Likewise.
8933 (elf_machine_lazy_rel): Likewise.
8934 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8935 (elf_machine_lazy_rel): Likewise.
8936 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8937 (elf_machine_lazy_rel): Likewise.
8938 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8939 (elf_machine_lazy_rel): Likewise.
8940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8941 (elf_machine_lazy_rel): Likewise.
8942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8943 (elf_machine_lazy_rel): Likewise.
8944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8945 (elf_machine_lazy_rel): Likewise.
8946
8947 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8948
8949 * nss/nss_files/files-init.c (_nss_files_init): Use static
8950 initialization for all the *_traced_file variables.
8951
8952 2011-09-28 Andreas Schwab <schwab@redhat.com>
8953
8954 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8955
8956 2011-09-27 Roland McGrath <roland@hack.frob.com>
8957
8958 [BZ #13226]
8959 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8960
8961 2011-09-27 Andreas Schwab <schwab@redhat.com>
8962
8963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8964 Reread the line before reparsing it.
8965
8966 2011-09-26 Andreas Schwab <schwab@redhat.com>
8967
8968 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8969
8970 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8971 Maxim Kuvyrkov <maxim@codesourcery.com>
8972 Joseph Myers <joseph@codesourcery.com>
8973
8974 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8975 if needed for __stack_chk_guard.
8976
8977 2011-09-19 Roland McGrath <roland@hack.frob.com>
8978
8979 * sysdeps/posix/spawni.c (script_execute): Always define it.
8980 It will be optimized away if unused.
8981 (maybe_script_execute): New function.
8982 (__spawni): Call it.
8983
8984 * Makerules: Don't include tls.make.
8985 (config-tls): Always set to thread.
8986 * tls.make.c: File removed.
8987
8988 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8989
8990 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8991 * config.make.in (CPPFLAGS-config): New substituted variable.
8992
8993 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8994
8995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8996
8997 [BZ #13192]
8998 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8999 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9000
9001 2011-09-15 Roland McGrath <roland@hack.frob.com>
9002
9003 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9004 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9006 (CALL_FAIL): Likewise.
9007 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9008 (CALL_FAIL): Macro removed.
9009 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9010
9011 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9012
9013 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9014 for __FINITE_MATH_ONLY__ == 1.
9015
9016 2011-09-15 Andreas Schwab <schwab@redhat.com>
9017
9018 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9019 __ieee754_sqrt instead of sqrt.
9020 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9021 __ieee754_sqrtf instead of sqrtf.
9022 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9023 __floorf instead of floorf.
9024 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9025 __floorf, __truncf instead of floorf, truncf.
9026
9027 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9028
9029 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9030
9031 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9032 __extern_always_inline.
9033 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9034 32-bit.
9035
9036 2011-09-14 Andreas Schwab <schwab@redhat.com>
9037
9038 * elf/rtld.c (dl_main): Also relocate in dependency order when
9039 doing symbol dependency testing.
9040
9041 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9042
9043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9044 Always define `refsym'.
9045
9046 2011-09-13 Andreas Schwab <schwab@redhat.com>
9047
9048 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9049 (__FD_ELT): Renamed from __FDELT.
9050 * misc/bits/select2.h (__FD_ELT): Likewise.
9051 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9052 __FD_MASK instead of __FDELT, __FDMASK.
9053 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9054 Likewise.
9055 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9056 Likewise.
9057
9058 * elf/Makefile (gen-ldd): Fix pattern.
9059
9060 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9061 (init_tls): Likewise.
9062
9063 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9064
9065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9066
9067 2011-09-12 Andreas Schwab <schwab@redhat.com>
9068
9069 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9070 `struct cmsghdr *' instead of `void *'.
9071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9072 Likewise.
9073
9074 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9075
9076 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9077 if non-absolute.
9078 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9079 ldd_rewrite_script.
9080
9081 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9082
9083 * configure.in: Remove --with-tls option.
9084 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9085 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9086 out in case it is missing.
9087 * sysdeps/ia64/elf/configure.in: Likewise.
9088 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9089 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9090 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9091 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9092 * sysdeps/sh/elf/configure.in: Likewise.
9093 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9094 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9095 * sysdeps/x86_64/elf/configure.in: Likewise.
9096 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9097 * sysdeps/mach/hurd/tls.h: Likewise.
9098
9099 [BZ #13067]
9100 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9101
9102 [BZ #13090]
9103 * configure.in: Fix use of AC_INIT.
9104
9105 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9106
9107 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9108
9109 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9110 __set_errno.
9111 * malloc/hooks.c: Likewise.
9112
9113 [BZ #11929]
9114 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9115 variables statically.
9116 (narenas): Initialize.
9117 (list_lock): Initialize.
9118 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9119 initializtion of main_arena and list_lock. Small cleanups.
9120 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9121 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9122 Add initializers to main_arena and mp_.
9123 (malloc_state): Remove pagesize member. Change all users to use
9124 GLRO(dl_pagesize).
9125
9126 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9127 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9128 is always initialized.
9129
9130 * malloc/malloc.c: Removed unused configurations and dead code.
9131 * malloc/arena.c: Likewise.
9132 * malloc/hooks.c: Likewise.
9133 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9134
9135 * include/tls.h: Removed. USE___THREAD must always be defined.
9136 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9137 * elf/dl-libc.c: Likewise.
9138 * elf/dl-tsd.c: Likewise.
9139 * include/errno.h: Likewise.
9140 * include/netdb.h: Likewise.
9141 * include/resolv.h: Likewise.
9142 * inet/herrno-loc.c: Likewise.
9143 * inet/herrno.c: Likewise.
9144 * malloc/arena.c: Likewise.
9145 * malloc/hooks.c: Likewise.
9146 * malloc/malloc.c: Likewise.
9147 * resolv/res-state.c: Likewise.
9148 * resolv/res_libc.c: Likewise.
9149 * sysdeps/i386/dl-machine.h: Likewise.
9150 * sysdeps/ia64/dl-machine.h: Likewise.
9151 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9152 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9153 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9154 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9155 * sysdeps/sh/dl-machine.h: Likewise.
9156 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9157 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9158 * sysdeps/unix/i386/sysdep.S: Likewise.
9159 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9160 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9165 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9170 * sysdeps/x86_64/dl-machine.h: Likewise.
9171 * tls.make.c: Likewise.
9172
9173 * configure.in: Remove --with-__thread option. Make tests for
9174 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9175 tls_model attribute fail if no support is available. Remove
9176 USE_IN_LIBIO.
9177 * Makeconfig: Adjust for dropped configure option. All features are
9178 now mandatory.
9179 * Makerules: Likewise.
9180 * Versions.def: Likewise.
9181 * argp/argp-fmtstream.c: Likewise.
9182 * argp/argp-fmtstream.h: Likewise.
9183 * argp/argp-help.c: Likewise.
9184 * assert/assert.c: Likewise.
9185 * config.h.in: Likewise.
9186 * config.make.in: Likewise.
9187 * configure: Likewise.
9188 * configure.in: Likewise.
9189 * csu/Versions: Likewise.
9190 * csu/init.c: Likewise.
9191 * elf/tst-audit2.c: Likewise.
9192 * elf/tst-tls10.c: Likewise.
9193 * elf/tst-tls10.h: Likewise.
9194 * elf/tst-tls11.c: Likewise.
9195 * elf/tst-tls12.c: Likewise.
9196 * elf/tst-tls14.c: Likewise.
9197 * elf/tst-tlsmod11.c: Likewise.
9198 * elf/tst-tlsmod12.c: Likewise.
9199 * elf/tst-tlsmod13.c: Likewise.
9200 * elf/tst-tlsmod13a.c: Likewise.
9201 * elf/tst-tlsmod14a.c: Likewise.
9202 * elf/tst-tlsmod15b.c: Likewise.
9203 * elf/tst-tlsmod16a.c: Likewise.
9204 * elf/tst-tlsmod16b.c: Likewise.
9205 * elf/tst-tlsmod7.c: Likewise.
9206 * elf/tst-tlsmod8.c: Likewise.
9207 * elf/tst-tlsmod9.c: Likewise.
9208 * gmon/gmon.c: Likewise.
9209 * grp/fgetgrent_r.c: Likewise.
9210 * grp/putgrent.c: Likewise.
9211 * hurd/fopenport.c: Likewise.
9212 * include/libc-symbols.h: Likewise.
9213 * include/tls.h: Likewise.
9214 * intl/gettextP.h: Likewise.
9215 * intl/loadinfo.h: Likewise.
9216 * locale/global-locale.c: Likewise.
9217 * locale/localeinfo.h: Likewise.
9218 * mach/devstream.c: Likewise.
9219 * malloc/arena.c: Likewise.
9220 * malloc/set-freeres.c: Likewise.
9221 * misc/err.c: Likewise.
9222 * misc/getttyent.c: Likewise.
9223 * misc/mntent_r.c: Likewise.
9224 * posix/getopt.c: Likewise.
9225 * posix/wordexp.c: Likewise.
9226 * pwd/fgetpwent_r.c: Likewise.
9227 * resolv/Versions: Likewise.
9228 * resolv/res_hconf.c: Likewise.
9229 * shadow/fgetspent_r.c: Likewise.
9230 * shadow/putspent.c: Likewise.
9231 * stdio-common/printf_fphex.c: Likewise.
9232 * stdio-common/tmpfile.c: Likewise.
9233 * stdlib/abort.c: Likewise.
9234 * stdlib/fmtmsg.c: Likewise.
9235 * sunrpc/auth_unix.c: Likewise.
9236 * sunrpc/clnt_perr.c: Likewise.
9237 * sunrpc/clnt_tcp.c: Likewise.
9238 * sunrpc/clnt_udp.c: Likewise.
9239 * sunrpc/clnt_unix.c: Likewise.
9240 * sunrpc/openchild.c: Likewise.
9241 * sunrpc/svc_simple.c: Likewise.
9242 * sunrpc/svc_tcp.c: Likewise.
9243 * sunrpc/svc_udp.c: Likewise.
9244 * sunrpc/svc_unix.c: Likewise.
9245 * sunrpc/xdr.c: Likewise.
9246 * sunrpc/xdr_array.c: Likewise.
9247 * sunrpc/xdr_rec.c: Likewise.
9248 * sunrpc/xdr_ref.c: Likewise.
9249 * sunrpc/xdr_stdio.c: Likewise.
9250
9251 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9252
9253 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9254
9255 2011-07-03 Andreas Jaeger <aj@suse.de>
9256
9257 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9258 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9259 regenerate with gen-libm-tests.pl.
9260
9261 2010-05-12 Petr Baudis <pasky@suse.cz>
9262
9263 [BZ #11589]
9264 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9265 around j0() zero points by switching to j1().
9266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9270
9271 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9272
9273 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9274 instead of 0.
9275 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9276 instead of 0. .
9277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9278 Patch in part by Pavel Roskin <proski@gnu.org>.
9279
9280 [BZ #13138]
9281 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9282 realloc.
9283 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9284 Free memory block if necessary.
9285
9286 [BZ #12847]
9287 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9288 be NULL. Don't lock in this case.
9289
9290 2011-09-09 Roland McGrath <roland@hack.frob.com>
9291
9292 * elf/elf.h (ELFOSABI_GNU): New macro.
9293 (ELFOSABI_LINUX): Define to that.
9294
9295 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9296
9297 * string/strncat.c (strncat): Undef the symbol in case it has been
9298 defined in bits/string.h.
9299
9300 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9301
9302 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9303
9304 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9305 link map.
9306
9307 2011-08-17 Andreas Jaeger <aj@suse.de>
9308
9309 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9310
9311 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9312 Ian Lance Taylor <iant@google.com>
9313
9314 * math/libm-test.inc (lround_test): New testcase.
9315 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9316
9317 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9318
9319 * Makefile: Remove support for automatic cvs check-ins.
9320 * Makerules: Likewise.
9321 * config.make.in: Likewise.
9322 * configure.in: Likewise.
9323 * intl/Makefile: Likewise.
9324 * locale/Makefile: Likewise.
9325 * po/Makefile: Likewise.
9326 * posix/Makefile: Likewise.
9327 * sysdeps/gnu/Makefile: Likewise.
9328 * sysdeps/mach/hurd/Makefile: Likewise.
9329 * sysdeps/sparc/sparc32/Makefile: Likewise.
9330
9331 [BZ #13118]
9332 * posix/Makefile (bug-regex32-ENV): Define.
9333 Patch by John Stanley <jpsinthemix@verizon.net>.
9334
9335 * misc/Makefile (headers): Add bits/select2.h.
9336 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9337 * misc/bits/select2.h: New file.
9338 * include/bits/select2.h: New file.
9339 * debug/Makefile (routines): Add fdelt_chk.
9340 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9341 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9342 FD_ISSET.
9343 * debug/fdelt_chk.c: New file.
9344
9345 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9346 * wcsmbs/test-wmemcmp.c: Likewise.
9347 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9348 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9349
9350 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9351
9352 * string/Makefile (strop-tests): Add memcmp.
9353 * string/test-wmemcmp.c: New file.
9354 * string/test-memcmp.c: Add wmemcmp support.
9355
9356 2011-09-08 Roland McGrath <roland@hack.frob.com>
9357
9358 [BZ #13153]
9359 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9360 2011-07-19 change.
9361
9362 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9363 garbage value in a __mach_port_mod_refs call in the cases of the
9364 task-self and thread-self ports.
9365
9366 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9367
9368 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9369
9370 2011-09-08 Andreas Schwab <schwab@redhat.com>
9371
9372 * elf/dl-load.c (lose): Check for non-null L.
9373
9374 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9375
9376 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9377
9378 * elf/dl-libc.c (dlerror_run): Pass back error code from
9379 dl_catch_error.
9380
9381 [BZ #13123]
9382 * elf/dl-load.c (lose): Free l_origin if it is valid.
9383
9384 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9385 names.
9386 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9389 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9390 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9391 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9392
9393 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9394
9395 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9396 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9397 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9398 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9399 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9400 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9401 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9402 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9403 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9404 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9405
9406 2011-08-15 Alan Modra <amodra@gmail.com>
9407
9408 [BZ #13092]
9409 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9410 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9411 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9412 ppc_mcount to static-only-routines.
9413 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9414 __mcount_internal.
9415 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9416 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9417
9418 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9419
9420 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9421 for finite and infinity parameters.
9422
9423 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9424
9425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9426 and add nop instructions for throughput optimization.
9427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9428
9429 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9430
9431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9432 aligned copy for power7 with vector-scalar instructions.
9433 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9434
9435 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9436
9437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9438 AVX check.
9439
9440 2011-09-07 Andreas Schwab <schwab@redhat.com>
9441
9442 [BZ #13144]
9443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9444 last change.
9445
9446 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9447
9448 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9449 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9450 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9451 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9452 clock_gettime.
9453
9454 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9455
9456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9457 Forgot to demangle the pointer.
9458
9459 * sysdeps/i386/sysdep.h: Define atom_text_section.
9460 * sysdeps/x86_64/sysdep.h: Likewise.
9461 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9462 section with atom_text_section.
9463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9467 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9468
9469 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9471 already be defined. Change to take two parameters and don't assign
9472 result to variable. Adjust all users.
9473 Define INTERNAL_GETTIME if not already defined.
9474 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9475 call.
9476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9477 HAVE_CLOCK_GETTIME_VSYSCALL.
9478 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9479
9480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9481 gettimeofday vsyscall, just use time.
9482
9483 2011-09-06 Andreas Schwab <schwab@redhat.com>
9484
9485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9486 <errno.h>.
9487
9488 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9489
9490 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9491 syscall on x86-64.
9492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9493 syscall.
9494 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9495 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9496 syscall if possible.
9497
9498 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9499
9500 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9501 e_ident. Don't pass to find_mapsXX.
9502 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9503
9504 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9505
9506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9507 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9508 * sysdeps/x86_64/multiarch/strchr.S: Update.
9509 Check bit_slow_BSF bit.
9510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9511 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9512 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9513
9514 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9515
9516 [BZ #13134]
9517 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9518 before glibc 2.15.
9519 (tryshell): Define.
9520 (__spawni): Change last parameter to be flag. Test
9521 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9522 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9523 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9524 * posix/spawni.c: Likewise.
9525 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9526 * posix/spawnp.c: Likewise. Change normal version to use
9527 SPAWN_XFLAGS_USE_PATH.
9528 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9529 SPAWN_XFLAGS_TRY_SHELL.
9530
9531 [BZ #13150]
9532 * posix/glob.h: Remove gcc 1.x support.
9533
9534 [BZ #13068]
9535 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9536
9537 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9538
9539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9540 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9541 strrchr-sse2-bsf
9542 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9543 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9545 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9546 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9547 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9548
9549 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9550
9551 * sysdeps/x86_64/wcscmp.S: New file.
9552
9553 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9554 wcscmp-c wcscmp-sse2
9555 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9556 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9557 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9558 * wcsmbs/wcscmp.c: Allow renaming.
9559
9560 2011-09-05 David S. Miller <davem@davemloft.net>
9561
9562 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9563 stack slot, rather than the struct return pointer slot.
9564 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9565 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9567 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9568
9569 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9570
9571 * po/ja.po: Update from translation team.
9572
9573 [BZ #13144]
9574 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9575 kernel in 64-bit binaries.
9576
9577 2011-09-01 David S. Miller <davem@davemloft.net>
9578
9579 * elf/elf.h (HWCAP_SPARC_*): Move to..
9580 * sysdeps/sparc/sysdep.h: this new file and add new values.
9581 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9582 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9583 _DL_HWCAP_COUNT to 24.
9584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9585 entries.
9586 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9587 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9588 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9590 instead of magic constants.
9591 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9592
9593 2011-08-31 David S. Miller <davem@davemloft.net>
9594
9595 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9597 Reimplement to do errno handling inline.
9598 (SYSCALL_ERROR_HANDLER): New macro.
9599 (__SYSCALL_STRING): Do not do errno handling in asm.
9600 (__CLONE_SYSCALL_STRING): Delete.
9601 (__INTERNAL_SYSCALL_STRING): Delete.
9602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9603 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9604 (PSEUDO): Reimplement to do errno handling inline.
9605 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9606 (SYSCALL_ERROR_HANDLER): New macro.
9607 (__SYSCALL_STRING): Do not do errno handling in asm.
9608 (__CLONE_SYSCALL_STRING): Delete.
9609 (__INTERNAL_SYSCALL_STRING): Delete.
9610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9611 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9612 i386.
9613 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9614 (inline_syscall*): Add 'err' argument.
9615 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9616 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9617 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9618 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9619
9620 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9621 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9622
9623 2011-08-30 Andreas Schwab <schwab@redhat.com>
9624
9625 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9626
9627 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9628
9629 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9630 directive.
9631
9632 2011-08-24 David S. Miller <davem@davemloft.net>
9633
9634 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9635
9636 2011-08-24 Andreas Schwab <schwab@redhat.com>
9637
9638 * elf/Makefile: Add rules to build and run unload8 test.
9639 * elf/unload8.c: New file.
9640 * elf/unload8mod1.c: New file.
9641 * elf/unload8mod1x.c: New file.
9642 * elf/unload8mod2.c: New file.
9643 * elf/unload8mod3.c: New file.
9644
9645 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9646 it wasn't used.
9647
9648 2011-08-23 David S. Miller <davem@davemloft.net>
9649
9650 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9651 subtract stack bias.
9652 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9653 %sp not %fp in calculations.
9654 (_JMPBUF_UNWINDS_ADJ): Likewise.
9655
9656 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9657 (aio_suspend): Call it to force an exception region around the
9658 AIO_MISC_WAIT() invocation.
9659
9660 2011-08-23 Andreas Schwab <schwab@redhat.com>
9661
9662 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9663 backslash.
9664
9665 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9666
9667 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9668 protection macro.
9669 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9670 and <dl-machine.h>.
9671 (Elf64_FuncDesc): Remove.
9672
9673 2011-08-22 David S. Miller <davem@davemloft.net>
9674
9675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9676 sigaltstack check, add missing cfi directives.
9677 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9678 missing cfi directives, and sigaltstack handling.
9679
9680 2011-08-16 Andreas Schwab <schwab@redhat.com>
9681
9682 [BZ #11724]
9683 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9684 object is seen twice.
9685 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9686
9687 * elf/Makefile (distribute): Add tst-initorder2.c.
9688 (tests): Add tst-initorder2.
9689 (modules-names): Add tst-initorder2a tst-initorder2b
9690 tst-initorder2c tst-initorder2d. Add rules to build them.
9691 ($(objpfx)tst-initorder2.out): New rule.
9692 * elf/tst-initorder2.c: New file.
9693 * elf/tst-initorder2.exp: New file.
9694
9695 2011-08-22 Andreas Schwab <schwab@redhat.com>
9696
9697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9698
9699 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9700 dependencies back to end of function.
9701
9702 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9703 $(elfobjdir)/ld.so.
9704
9705 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9706
9707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9708 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9710 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9711 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9712 of __vdso_gettimeofday.
9713 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9714 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9715 attribute_hidden.
9716 (_libc_vdso_platform_setup): Remove initialization of
9717 __vdso_gettimeofday and __vdso_time.
9718
9719 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9720
9721 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9722 and fgetc_unlocked.
9723 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9724 getc_unlocked.
9725
9726 * elf/dl-open.c (add_to_global): Report additions to the global scope
9727 for LD_DEBUG=scopes.
9728 (dl_open_worker): Also print scope of newly loaded dependencies.
9729 (_dl_show_scope): Indicate if there is no scope.
9730
9731 [BZ #13114]
9732 * stdio-common/Makefile (tests): Add bug24.
9733 * stdio-common/bug24.c: New file.
9734
9735 2011-08-19 Andreas Jaeger <aj@suse.de>
9736
9737 [BZ #13114]
9738 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9739 non-existant file when using close-on-exec mode.
9740
9741 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9742
9743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9744 the very first instruction.
9745
9746 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9747 the CFI state in the end.
9748 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9749 inclusion of dl-trampoline.h.
9750 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9751
9752 2011-08-19 Andreas Schwab <schwab@redhat.com>
9753
9754 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9755 expectations for long double.
9756
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9758 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9759
9760 2011-08-14 David S. Miller <davem@davemloft.net>
9761
9762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9763 artificual limit depends upon the system page size.
9764
9765 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9766
9767 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9768 * resolv/Makefile: Define CFLAGS-libresolv.
9769
9770 2011-08-17 Andreas Schwab <schwab@redhat.com>
9771
9772 * nss/makedb.c (compute_tables): Make variables used in nested
9773 function static.
9774
9775 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9776
9777 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9778 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9779 if buffer was too small.
9780
9781 * elf/pldd.c (main): Attach to all threads in the process.
9782 Rewrite /proc handling to use *at functions.
9783
9784 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9785
9786 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9787 specifies first scope to show.
9788 (dl_open_worker): Update callers. Move printing scope of new
9789 object to before the relocation.
9790 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9791 * sysdeps/generic/ldsodefs.h: Update declaration.
9792
9793 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9794 string for the scope number.
9795
9796 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9797
9798 * nscd/servicescache.c (cache_addserv): Make sure written is always
9799 initialized.
9800
9801 2011-08-14 Roland McGrath <roland@hack.frob.com>
9802
9803 * sysdeps/i386/i486/bits/atomic.h
9804 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9805 statement expression, so as to suppress "set but not used" warning.
9806 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9807
9808 * string/strncat.c (STRNCAT): Use prototype definition.
9809
9810 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9811 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9812 -Iprograms here.
9813 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9814 (localedef-modules): Add localedef.
9815 (locale-modules): Add locale.
9816
9817 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9818 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9819 to avoid a warning.
9820
9821 2011-08-14 David S. Miller <davem@davemloft.net>
9822
9823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9824 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9825
9826 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9827
9828 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9829 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9830 * elf/rtld.c (dl_main): Set l_name of vDSO.
9831 Call _dl_show_scope when DL_DEBUG_SCOPES.
9832 (process_dl_debug): Recognize scopes flag and also set it for all.
9833 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9834 Declare _dl_show_scope.
9835
9836 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9837 (do_dlopen): Pass caller_dlopen to dl_open.
9838 (__libc_dlopen_mode): Initialize caller_dlopen.
9839
9840 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9841 of libc. Make tolower call locale-independent. Optimize a bit by
9842 using isdigit instead of isalnum.
9843 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9844
9845 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9846
9847 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9848 was a dependency or dynamically loaded.
9849
9850 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9851
9852 * intl/l10nflist.c: Allow architecture-specific pop function.
9853 * sysdeps/x86_64/l10nflist.c: New file.
9854
9855 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9856 classification.
9857
9858 2011-08-10 Andreas Schwab <schwab@redhat.com>
9859
9860 * include/dirent.h: Add libc_hidden_proto for scandirat and
9861 scandirat64. Don't declare __scandirat64.
9862 * dirent/scandirat.c: Add libc_hidden_def.
9863 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9864 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9865
9866 2011-08-10 David S. Miller <davem@davemloft.net>
9867
9868 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9869 enum.
9870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9871 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9873
9874 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9875
9876 * Versions.def [libc]: Add GLIBC_2.15.
9877 * dirent/Makefile (routines): Add scandirat and scandirat64.
9878 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9879 GLIBC_2.15.
9880 * dirent/dirent.h: Declare scandirat and scandirat64.
9881 * dirent/scandirat.c: New file.
9882 * dirent/scandirat64.c: New file.
9883 * sysdeps/wordsize-64/scandirat.c: New file.
9884 * sysdeps/wordsize-64/scandirat64.c: New file.
9885 * dirent/opendir.c: Define opendirat.
9886 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9887 using scandirat.
9888 * dirent/scandir64.c: Adjust for scandir.c change.
9889 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9890 __scandirat64, and __scandir_cancel_handler.
9891 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9892 additional parameter and use openat instead of open (outside of ld.so).
9893 Add new __opendir as wrapper around __opendirat.
9894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9895 here without requiring old scandirat implementation.
9896
9897 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9898
9899 * dirent/scandir.c (cancel_handler): Renamed to
9900 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9901 defined. Adjust users.
9902 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9903 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9904
9905 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9906
9907 * string/test-string.h (IMPL): Use __STRING to expand name and then
9908 stringify it.
9909
9910 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9911 of cleanups.
9912
9913 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9914
9915 * string/Makefile: Update.
9916 (strop-tests): Append strncat.
9917 * string/test-wcscmp.c: New file.
9918 New comprehensive test for wcscmp.
9919 * string/test-strcmp.c: Update.
9920 (WIDE): New define.
9921
9922 2011-07-22 Andreas Schwab <schwab@redhat.com>
9923
9924 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9925 line.
9926
9927 2011-07-26 Andreas Schwab <schwab@redhat.com>
9928
9929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9930 encoding to ACE if AI_IDN.
9931
9932 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9933
9934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9935 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9936
9937 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9938
9939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9940 Fix overflow bug in strncat.
9941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9942
9943 * string/test-strncat.c: Update.
9944 Add new tests for checking overflow bugs.
9945
9946 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9947
9948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9949 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9950 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9951 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9953 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9954 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9955 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9956 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9957
9958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9959 (USE_AS_STRCAT): Define.
9960 Add strcat and strncat support.
9961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9962
9963 2011-07-25 Andreas Schwab <schwab@redhat.com>
9964
9965 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9966 __n bigger than INT_MAX+1.
9967 (__strncmp_g): Likewise.
9968
9969 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9970
9971 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9972 * libio/stido.h: Likewise.
9973
9974 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9975 (AF_NFC): Define.
9976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9977 (AF_NFC): Define.
9978
9979 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9980 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9983 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9984
9985 [BZ #13021]
9986 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9987 installed.
9988
9989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9990 typo.
9991 (_dl_x86_64_save_sse): Likewise.
9992
9993 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9994
9995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9996 OSXSAVE.
9997 (_dl_x86_64_save_sse): Likewise.
9998
9999 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10000
10001 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10002
10003 2011-07-21 Andreas Schwab <schwab@redhat.com>
10004
10005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10006 change.
10007 (_dl_x86_64_save_sse): Use correct AVX check.
10008
10009 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10010
10011 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10012 bug in strncpy/strncat.
10013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10014
10015 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10016
10017 * string/tester.c (test_strcat): Add tests for different alignments
10018 of source and destination.
10019 (test_strncat): Likewise.
10020
10021 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10022
10023 [BZ #12852]
10024 * posix/glob.c (glob): Check passed in values before using them in
10025 expressions to avoid some overflows.
10026 (glob_in_dir): Likewise.
10027
10028 [BZ #13007]
10029 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10030 check for AVX enablement so that we don't crash with old kernels and
10031 new hardware.
10032 * elf/tst-audit4.c: Add same checks here.
10033 * elf/tst-audit6.c: Likewise.
10034
10035 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10036
10037 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10038
10039 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10040
10041 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10042
10043 * po/cs.po: Update from translation team.
10044 * po/bg.po: Likewise.
10045
10046 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10047
10048 * misc/sys/cdefs.h: Add support for const attribute.
10049 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10050 to gnu_dev_{major,minor,makedev} functions.
10051
10052 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10053
10054 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10055
10056 2011-07-20 Andreas Schwab <schwab@redhat.com>
10057
10058 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10059 strlen results.
10060
10061 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10062
10063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10064 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10065 register in order to avoid conflicts with the soft frame pointer
10066 being held in r11 when necessary.
10067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10068 (INTERNAL_VSYSCALL_NCS): Likewise.
10069
10070 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10071
10072 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10073 * elf/dl-fini.c (_dl_fini): Adjust caller.
10074 * elf/dl-close.c (_dl_close_worker): Likewise.
10075 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10076
10077 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10078
10079 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10080 "aux_cache->nlibs < 0".
10081
10082 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10083 in the reload-count case.
10084
10085 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10086
10087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10088 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10089 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10090 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10091 * sysdeps/x86_64/multiarch/strcat.S: New file.
10092 * sysdeps/x86_64/multiarch/strncat.S: New file.
10093 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10095 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10096 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10098 (USE_AS_STRCAT): Define.
10099 Add strcat and strncat support.
10100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10102 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10103 * string/strncat.c: Update.
10104 (USE_AS_STRNCAT): Define.
10105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10106 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10107 and i7.
10108 * sysdeps/x86_64/multiarch/init-arch.h
10109 (bit_Prefer_PMINUB_for_stringop): New.
10110 (index_Prefer_PMINUB_for_stringop): Likewise.
10111 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10112 bit_Prefer_PMINUB_for_stringop.
10113
10114 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10115
10116 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10117 buffer64.
10118 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10119 of casting of buffer.
10120 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10121 buffer32 and buffer64.
10122 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10123 writes instead of casting of buffer.
10124 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10125 buffer32.
10126 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10127 casting of buffer.
10128
10129 2011-07-19 Andreas Schwab <schwab@redhat.com>
10130
10131 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10132
10133 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10134
10135 * nscd/nscd.c (termination_handler): Don't do anything for a database
10136 if it has not yet been initialized.
10137
10138 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10139
10140 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10141
10142 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10143
10144 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10145
10146 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10147
10148 * po/nl.po: Update from translation team.
10149 * po/sv.po: Likewise.
10150
10151 2011-07-16 Roland McGrath <roland@hack.frob.com>
10152
10153 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10154 now disallowed by GCC.
10155
10156 * configure.in (use-default-link): Default to yes if a test -shared
10157 link meets our qualifications.
10158 * configure: Regenerated.
10159
10160 * config.make.in (output-format): New variable.
10161 * configure.in: Check for ld --print-output-format support.
10162 * configure: Regenerated.
10163 * Makerules ($(common-objpfx)format.lds)
10164 [$(output-format) != unknown]: Just use $(output-format),
10165 instead of the linker-script munging.
10166
10167 2011-07-14 Roland McGrath <roland@hack.frob.com>
10168
10169 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10170 of $(common-objpfx)shlib.lds.
10171 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10172
10173 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10174 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10175
10176 * configure.in (-z relro check): Adjust test code to add a large
10177 writable data section after it.
10178 * configure: Regenerated.
10179
10180 2011-07-11 Roland McGrath <roland@hack.frob.com>
10181
10182 * configure.in (-z relro check): Fix test code to make the variable
10183 truly const.
10184 * configure: Regenerated.
10185
10186 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10187
10188 * nscd/nscd.h (struct traced_file): Define.
10189 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10190 elements. Add traced_files.
10191 (inotify_fd): Declare.
10192 (register_traced_file): Declare.
10193 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10194 (inotify_fd): Export.
10195 (resolv_conf_descr): Remove.
10196 (nscd_init): Move inotify descriptor creation to main.
10197 Don't register files for notification here.
10198 (register_traced_file): New function.
10199 (invalidate_cache): Don't use reset_res to determine whether to call
10200 res_init, go through the list of registered files.
10201 (main_loop_poll): The inotify descriptors are now stored in the
10202 structures for the traced files.
10203 (main_loop_epoll): Likewise
10204 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10205 to __nss_disable_nscd.
10206 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10207 for a database anymore. Check the records for all the registered
10208 files instead.
10209 * nss/Makefile (libnss_files-routines): Add files-init.
10210 (libnss_db-routines): Add db-init.
10211 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10212 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10213 * nss/nss_db/db-init.c: New file.
10214 * nss/nss_files/files-init.c: New file.
10215 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10216 __nss_lookup_function.
10217 (__nss_lookup_function): Call nss_load_library.
10218 (nss_load_all_libraries): New function.
10219 (__nss_disable_nscd): Take parameter with callback function for files
10220 to register. Set is_nscd. Load all the DSOs for the NSS modules
10221 used for the cached services.
10222 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10223 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10224 options for features to all the files in nscd.
10225
10226 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10227
10228 2011-07-10 Roland McGrath <roland@hack.frob.com>
10229
10230 * csu/elf-init.c (__libc_csu_init): Comment typo.
10231
10232 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10233
10234 * po/pl.po: Update from translation team.
10235 * po/ja.po: Likewise.
10236 * po/ru.po: Likewise.
10237 * po/ko.po: Likewise.
10238 * po/fr.po: Likewise.
10239
10240 2011-07-09 Roland McGrath <roland@hack.frob.com>
10241
10242 * configure.in (.ctors/.dtors header and trailer check):
10243 Use an empirical test on a built program.
10244 * configure: Regenerated.
10245
10246 * configure.in (-z relro check): Use an empirical test on a built DSO.
10247 Detect, but do not require, on ia64.
10248 * configure: Regenerated.
10249
10250 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10251 Update tests that use readelf to use $READELF instead.
10252 * configure: Regenerated.
10253
10254 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10255
10256 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10257 if the result is not used.
10258
10259 2011-07-05 Andreas Jaeger <aj@suse.de>
10260
10261 [BZ#9696]
10262 * stdlib/tst-strtod.c: Add testcase.
10263
10264 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10265
10266 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10267 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10268 The latter has a higher limit. Take additional parameter to pass to
10269 the new function.
10270 (__pathconf): Pass file to __statfs_link_max.
10271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10272 __statfs_link_max.
10273 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10274 __statfs_link_max.
10275
10276 [BZ #12868]
10277 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10279 Handle Lustre.
10280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10281 (__statfs_filesize_max): Likewise.
10282 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10283
10284 2011-07-05 Andreas Jaeger <aj@suse.de>
10285
10286 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10287
10288 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10289
10290 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10291 `status' variable.
10292 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10293 Likewise.
10294
10295 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10296
10297 * Makefile (strop-tests): Add strncat.
10298 * string/test-strncat.c: New file.
10299
10300 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10301
10302 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10303
10304 2011-06-21 Andreas Jaeger <aj@suse.de>
10305
10306 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10307 Copy rule from iconvdata/Makefile.
10308
10309 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10310
10311 [BZ #12922]
10312 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10313 but no long options are defined, just return 'W'.
10314
10315 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10316
10317 [BZ #9696]
10318 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10319
10320 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10321
10322 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10323 netgroups to read.
10324 (innetgr): Likewise.
10325
10326 2011-07-05 Roland McGrath <roland@hack.frob.com>
10327
10328 * config.make.in (install_root): Default to $(DESTDIR).
10329
10330 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10331
10332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10333
10334 2011-07-02 Roland McGrath <roland@hack.frob.com>
10335
10336 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10337
10338 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10339 containing directory rather than embedding absolute directory names.
10340
10341 * scripts/check-local-headers.sh: Rewritten using awk.
10342 Match by word, not by line. Print error messages for matches.
10343 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10344
10345 * Makerules [shlib-lds-flags empty]:
10346 ($(common-objpfx)libc_pic.opts): New target.
10347 ($(common-objpfx)libc_pic.os.clean): New target.
10348 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10349
10350 * config.make.in (OBJCOPY): New variable.
10351 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10352 * configure: Regenerated.
10353
10354 * config.make.in (use-default-link): New variable.
10355 * configure.in (use_default_link): Grok --with-default-link to set it.
10356 * configure: Regenerated.
10357 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10358 (shlib-lds, shlib-lds-flags): Define to empty.
10359
10360 * Makerules (shlib-lds): New variable.
10361 (shlib-lds-flags): New variable.
10362 (build-shlib, build-moduile, build-module-asneeded): Use it.
10363 ($(common-objpfx)libc.so): Use $(shlib-lds).
10364 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10365 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10366
10367 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10368 DT_FLAGS/DT_FLAGS_1 with zero flags.
10369
10370 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10371 linker script munging.
10372
10373 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10374
10375 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10376 as 128-bit value.
10377 * crypt/sha512.c (sha512_process_block): Perform total addition using
10378 128-bit if possible.
10379 (__sha512_finish_ctx): Likewise.
10380 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10381 as 64-bit value.
10382 * crypt/sha256.c (SWAP64): Define.
10383 (sha256_process_block): Perform total addition using 64-bit if
10384 possible.
10385 (__sha256_finish_ctx): Likewise.
10386
10387 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10388
10389 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10391 * nscd/hstcache.c (cache_addhst): Likewise.
10392 * nscd/grpcache.c (cache_addgr): Likewise.
10393 * nscd/aicache.c (addhstaiX): Likewise
10394 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10395
10396 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10397
10398 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10400 * nscd/hstcache.c (cache_addhst): Likewise.
10401 * nscd/grpcache.c (cache_addgr): Likewise.
10402 * nscd/aicache.c (addhstaiX): Likewise
10403
10404 2011-07-01 Andreas Schwab <schwab@redhat.com>
10405
10406 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10407 domain only when needed.
10408
10409 2011-06-30 Andreas Schwab <schwab@redhat.com>
10410
10411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10412 is always restored.
10413
10414 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10415
10416 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10417 are re-adding the entry.
10418 * nscd/servicescache.c (cache_addserv): Likewise.
10419
10420 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10421
10422 * sysdeps/generic/dl-irel.h: fix protection against multiple
10423 inclusions.
10424 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10425
10426 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10427
10428 [BZ #12935]
10429 * malloc/memusage.sh: Fix quoting in message.
10430 * debug/xtrace.sh: Likewise.
10431
10432 * configure.in: Remove support for --experimental-malloc option, make
10433 it the default.
10434 * config.make.in: Likewise.
10435 * malloc/Makefile: Likewise.
10436
10437 2011-06-27 Andreas Schwab <schwab@redhat.com>
10438
10439 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10440 two-byte characters.
10441
10442 2011-06-27 Roland McGrath <roland@hack.frob.com>
10443
10444 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10445 AC_CACHE_CHECK invocation.
10446 * configure: Regenerated.
10447
10448 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10449
10450 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10451
10452 [BZ #12350]
10453 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10454 bit from old_res_options.
10455
10456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10457
10458 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10459 value type for setfct.
10460
10461 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10462
10463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10464 __gettimeofday instead of gettimeofday.
10465
10466 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10467
10468 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10469
10470 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10471
10472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10473
10474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10475 info.
10476
10477 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10480 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10481 strcpy-sse2-unaligned strncpy-sse2-unaligned
10482 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10483 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10484 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10485 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10486 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10487 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10489 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10490 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10491 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10492 (STRCPY): Support SSE2 and SSSE3 versions.
10493
10494 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10495
10496 [BZ #12874]
10497 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10498 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10499 kernels which artificially limit size of requests.
10500
10501 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10502
10503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10504 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10505 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10506 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10507 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10508 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10509 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10510 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10513 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10514 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10515 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10516 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10517 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10519 Enable unaligned load optimization for Intel Core i3, i5 and i7
10520 processors.
10521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10522 Define.
10523 (index_Fast_Unaligned_Load): Define.
10524 (HAS_FAST_UNALIGNED_LOAD): Define.
10525
10526 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10527
10528 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10529
10530 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10531
10532 [BZ #12907]
10533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10534 until it is clear that the information is realy needed.
10535 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10536
10537 2011-06-22 Andreas Schwab <schwab@redhat.com>
10538
10539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10540
10541 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10542
10543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10544 /sys/devices/system/cpu/online if it is usable.
10545
10546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10547 reading the information from the /proc filesystem to once a second.
10548
10549 2011-06-21 Andreas Jaeger <aj@suse.de>
10550
10551 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10552 NULL after inclusion of kernel headers.
10553
10554 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10555
10556 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10557 calls to internal_setent.
10558
10559 [BZ #12885]
10560 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10561 addresses using gethostbyname4_r ignore IPv4 addresses.
10562
10563 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10564 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10565
10566 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10567
10568 2011-06-20 David S. Miller <davem@davemloft.net>
10569
10570 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10571 inclusions.
10572 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10573
10574 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10575 (elf_irel): Use it.
10576 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10577 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10578 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10579 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10580 * sysdeps/x86_64/dl-irel.h: Likewise.
10581
10582 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10583 * elf/dl-sym.c: Likewise.
10584
10585 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10586
10587 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10588 need to dereference resplen2.
10589
10590 2011-06-14 Andreas Schwab <schwab@redhat.com>
10591
10592 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10593
10594 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10595
10596 * Makeconfig: Define vardbdir and inst_vardbdir.
10597 * nss/Makefile: Add rules to install db-Makefile.
10598
10599 * nss/nss_db/db-XXX.c: Cleanup.
10600
10601 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10602 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10603 GLIBC_PRIVATE.
10604 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10605 * nss/makedb.c: Implement -g option to specify that value strings
10606 are generated and should not be added to table iterated over for
10607 get*ent calls.
10608 * nss/nss_db/db-initgroups.c: New file.
10609
10610 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10611 interface.
10612
10613 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10614 (internal_getgrouplist): Adjust to name change.
10615 Update use_initgroups_entry if this is not the first call.
10616 * nss/databases.def: Add initgroups entry.
10617
10618 * nss/makedb.c (compute_tables): Check result of multiple hash table
10619 sizes to minimize maximum chain length.
10620
10621 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10622
10623 * Versions.def: Add entry for libnss_db.
10624 * shlib-versions: Likewise.
10625 * nss/Makefile: Add rules to build libnss_db.
10626 * nss/Versions: Add libnss_db information. Organize libnss_files
10627 entries better.
10628 * nss/db-Makefile: Add gshadow support. Change rules for the new
10629 makedb progra. Some minor improvements to generate smaller files.
10630 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10631 here from...
10632 * nss/makedb.c: ...here.
10633 Improve database format to be smaller and require less memory at
10634 runtime.
10635 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10636 db anymore.
10637 * nss/nss_db/db-netgrp.c: Likewise.
10638 * nss/nss_db/db-open.c: Likewise.
10639 * nss/nss_files/flies-XXX.x: Adjust comments.
10640 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10641 * nss/nss_files/files-grp.c: Likewise.
10642 * nss/nss_files/files-hosts.c: Likewise.
10643 * nss/nss_files/files-network.c: Likewise.
10644 * nss/nss_files/files-proto.c: Likewise.
10645 * nss/nss_files/files-pwd.c: Likewise.
10646 * nss/nss_files/files-rpc.c: Likewise.
10647 * nss/nss_files/files-service.c: Likewise.
10648 * nss/nss_files/files-sgrp.c: Likewise.
10649 * nss/nss_files/files-spwd.c: Likewise.
10650 * nss/nss_db/db-alias.c: Removed.
10651 * nss/nss_db/dummy-db.h: Removed.
10652
10653 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10654
10655 * nss/makedb.c: Rewritten to not use database library.
10656 * nss/Makefile: Update to build new makedb program.
10657
10658 2011-06-14 Andreas Jaeger <aj@suse.de>
10659
10660 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10661 memset declaration.
10662
10663 2011-06-10 Andreas Schwab <schwab@redhat.com>
10664
10665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10666 tmpbuf.
10667
10668 2011-06-10 Roland McGrath <roland@hack.frob.com>
10669
10670 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10671 * elf/Makefile ($(objpfx)ld.so): Likewise.
10672
10673 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10674 Don't list ld.so twice in dependencies.
10675
10676 * posix/bug-regex31.c: Include <stdlib.h>.
10677
10678 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10679
10680 * nis/nss_compat/compat-spwd.c
10681 (getspent_next_nss_netgr): Remove unused variable.
10682 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10683
10684 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10685 nonmembers" output to use the right array.
10686
10687 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10688
10689 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10690
10691 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10692 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10693 * catgets/gencat.c (read_input_file): Likewise.
10694 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10695
10696 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10697 variable definition inside #if's controlling its use.
10698
10699 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10700
10701 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10702
10703 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10704
10705 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10706 unreachable code.
10707
10708 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10709
10710 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10711 * configure: Regenerated.
10712
10713 * Makerules: Revert last change.
10714 * elf/Makefile: Likewise.
10715
10716 2011-06-09 Roland McGrath <roland@hack.frob.com>
10717
10718 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10719 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10720 (reloc-link): Likewise.
10721
10722 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10723
10724 * elf/Makefile: Add rules to build pldd.
10725 * elf/pldd.c: New file.
10726 * elf/pldd-xx.c: New file.
10727
10728 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10729
10730 * version.h: Update for 2.15 development version.
10731
10732 2011-06-07 David S. Miller <davem@davemloft.net>
10733
10734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10735 ifuncs.
10736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10737 elf_machine_lazy_rel): Likewise.
10738 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10739 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10740 elf_machine_lazy_rel): Likewise.
10741 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10742 dl_hwcap via passed in argument.
10743 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10744 Likewise.
10745
10746 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10747
10748 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10749
10750 2011-06-06 Roland McGrath <roland@hack.frob.com>
10751
10752 [BZ #12849]
10753 * manual/fdl-1.1.texi: New file, verbatim from:
10754 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10755 * manual/lgpl-2.1.texi: New file, verbatim from:
10756 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10757 * manual/Makefile (licenses): New variable, list those new file names.
10758 (texis): Use it.
10759 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10760
10761 * manual/fdl.texi: File removed.
10762 * manual/lesser.texi: File removed.
10763 * manual/libc.texinfo (Copying, Documentation License):
10764 Use new @include file names, put @appendix directive before @include.
10765
10766 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10767
10768 [BZ #12841]
10769 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10770 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10771 (mq_open): Add __NTH.
10772
10773 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10774
10775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10776 Assume Intel Core i3/i5/i7 processor if AVX is available.
10777
10778 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10779
10780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10781 typo.
10782
10783 2011-05-31 Andreas Schwab <schwab@redhat.com>
10784
10785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10786 memory. Use alloca_account. Fix memory leak when retrying.
10787
10788 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10789
10790 * version.h (RELEASE): Bump for 2.14 release.
10791 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10792
10793 * config.make.in (RANLIB): Remove entry.
10794
10795 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10796
10797 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10798 (libc.pot): Work around missing support for .ksh extension in xgettext.
10799
10800 [BZ #12684]
10801 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10802 if both request failed.
10803 (send_dg): In case of server errors clear resplen or *resplen2.
10804
10805 [BZ #12454]
10806 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10807 when there are multiple maps.
10808 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10809 (_dl_fini): Remove test here.
10810
10811 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10812
10813 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10814
10815 [BZ #12350]
10816 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10817 bit from old_res_options.
10818 (gaih_inet): Likewise.
10819
10820 [BZ #11099]
10821 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10822 as signed.
10823
10824 * resolv/res_init.c (res_setoptions): Make the code more compact.
10825
10826 [BZ #11558]
10827 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10828 set RES_USEVC.
10829
10830 [BZ #11634]
10831 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10832
10833 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10834
10835 [BZ #11781]
10836 * malloc/malloc.h: Declare malloc hook variables as volatile.
10837
10838 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10839 in last patch.
10840
10841 [BZ #11799]
10842 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10843 raise in the comment.
10844 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10845 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10846 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10847
10848 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10849
10850 [BZ #12811]
10851 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10852 grow the buffers more if it already has to be sufficient.
10853 (build_wcs_upper_buffer): Likewise.
10854 * posix/regexec.c (check_matching): Likewise.
10855 (clean_state_log_if_needed): Likewise.
10856 (extend_buffers): Don't enlarge buffers beyond size of the input
10857 buffer.
10858 Patches mostly by Emil Wojak <emil@wojak.eu>.
10859 * posix/bug-regex32.c: New file.
10860 * posix/Makefile (tests): Add bug-regex32.
10861
10862 * locale/findlocale.c (_nl_find_locale): Return right away if
10863 _nl_explode_name failed.
10864 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10865
10866 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10867
10868 * debug/xtrace.sh: Unify messages.
10869 * malloc/memusage.sh: Likewise.
10870
10871 [BZ #12813]
10872 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10873 time symbol from vDSO. Substitute with vsyscall if not available.
10874 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10875 __vdso_time.
10876
10877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10878 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10879 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10880 Add sendmmsg and internal_sendmmsg.
10881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10882 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10884
10885 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10886 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10887 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10888
10889 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10890
10891 [BZ #12813]
10892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10893 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10894 available.
10895 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10896 __vdso_getcpu.
10897
10898 [BZ #12814]
10899 * iconvdata/Makefile (tests): Add bug-iconv9.
10900 * iconvdata/bug-iconv9.c: New file.
10901
10902 2011-05-27 Andreas Schwab <schwab@redhat.com>
10903
10904 [BZ #12814]
10905 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10906
10907 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10908
10909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10910 (struct user_regs_struct): Change intcs field back to cs.
10911
10912 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10913
10914 * po/ja.po: Update from translation team.
10915
10916 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10917
10918 [BZ #12795]
10919 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10920 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10921
10922 2011-05-20 Andreas Schwab <schwab@redhat.com>
10923
10924 * stdlib/longlong.h: Update from GCC.
10925
10926 2011-05-23 Andreas Schwab <schwab@redhat.com>
10927
10928 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10929 parameter name.
10930 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10931 Add parameter name.
10932 (__sysconf): Pass it down.
10933
10934 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10935
10936 [BZ #12671]
10937 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10938 some situations.
10939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10940 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10941 add in in __libc_use_alloca calls. Adjust callers.
10942 (glob): Use malloc in some situations.
10943
10944 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10945 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10946 pltexit.
10947
10948 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10949
10950 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10951 and CLOCK_BOOTTIME_ALARM.
10952
10953 [BZ #12782]
10954 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10955 is returned.
10956
10957 * string/_strerror.c (__strerror_r): Print negative errors as signed
10958 numbers.
10959
10960 [BZ #12777]
10961 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10962 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10963 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10964
10965 * configure.in: Fix typo in redirection and correct removal of test
10966 files in two cases.
10967
10968 [BZ #12788]
10969 * locale/setlocale.c (new_composite_name): Fix test to check for
10970 identical name of all categories.
10971
10972 [BZ #12792]
10973 * libio/filedoalloc.c (local_isatty): New function.
10974 (_IO_file_doallocate): Use local_isatty.
10975 * stdio-common/perror.c (perror): In case a new stream is used
10976 forward the stream error.
10977 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10978 error flag.
10979
10980 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10981
10982 [BZ #11869]
10983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10984 alloca.
10985 * include/alloca.h (extend_alloca_account): Define.
10986
10987 [BZ #11857]
10988 * posix/regex.h: Fix comments with documentation of user-accessible
10989 fields after compilation and describe correct free'ing of pattern
10990 after re_compile_pattern.
10991 Patch by Reuben Thomas <rrt@sc3d.org>.
10992
10993 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10994
10995 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10996 and -mno-altivec to prevent the compiler from using Altivec and/or
10997 VSX instructions when the corresponding registers are not available.
10998
10999 2011-05-19 Andreas Schwab <schwab@redhat.com>
11000
11001 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11002
11003 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11004
11005 * libio/freopen.c (freopen): Use __dup2, not dup2.
11006 * libio/freopen64.c (freopen64): Likewise.
11007
11008 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11009
11010 [BZ #12775]
11011 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11012 * math/Makefile (tests): Add test-powl.
11013 (CFLAGS-test-powl.c): Define.
11014 * math/test-powl.c: New file.
11015
11016 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11017
11018 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11019
11020 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11021
11022 [BZ #11837]
11023 * iconvdata/gb18030.c: Update to GB18020-2005.
11024
11025 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11026
11027 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11028 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11029 Patch by Aharon Robbins <arnold@skeeve.com>.
11030
11031 [BZ #11892]
11032 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11033 on the stack.
11034
11035 [BZ #11895]
11036 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11037 through underflows.
11038
11039 [BZ #12766]
11040 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11041 point to strings before performing equality test for error_one_per_line
11042 mode.
11043
11044 [BZ #11697]
11045 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11046
11047 [BZ #11820]
11048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11049 (struct user_fpregs_struct): Avoid __uint*_t types.
11050
11051 [BZ #6420]
11052 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11053 symbol info. Use it instead of calling _dl_addr locally.
11054 (lock_and_info): New function.
11055 (tr_freehook): Call lock_and_info and pass symbol info as additional
11056 parameter to tr_where.
11057 (tr_mallochook): Likewise.
11058 (tr_reallochook): Likewise.
11059 (tr_memalignhook): Likewise.
11060
11061 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11062 used and couldn't be at all thread-safe.
11063
11064 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11065
11066 * libio/freopen.c (freopen): Don't close old file descriptor
11067 before the new one is opened. Instead dup the new file descriptor
11068 to the old one after the new stream is created.
11069 * libio/freopen64.c (freopen64): Likewise.
11070 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11071 * libio/fileops.c (_IO_new_file_close_it): Handle new
11072 _IO_FLAGS2_NOCLOSE flag.
11073 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11074 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11075 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11076 _IO_FLAGS2_NOCLOSE flag.
11077 * include/unistd.h: Add hidden_proto for dup3.
11078 Define __have_dup3.
11079 * io/dup3.c: Define hidden symbol.
11080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11081
11082 [BZ #7101]
11083 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11084 when an incomplete long option is used.
11085 * posix/tst-getopt_long1.c: New file.
11086 * posix/Makefile (tests): Add tst-getopt_long1.
11087
11088 [BZ #10138]
11089 * scripts/config.guess: Update from autoconf-2.68.
11090 * scripts/config.sub: Likewise.
11091
11092 [BZ #10157]
11093 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11094 tests into ...
11095 (has_cpuclock): ...this. New function.
11096 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11097 macro here based on has_cpuclock code.
11098
11099 [BZ #10149]
11100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11101 First byte (not low byte) is now always NUL.
11102 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11103
11104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11105 Use non-cancelable interfaces.
11106
11107 [BZ #9809]
11108 * locale/iso-639.def: Add entry for Sorani.
11109
11110 [BZ #11901]
11111 * include/stdlib.h: Move include protection to the right place.
11112 Define abort_msg_s. Declare __abort_msg with it.
11113 * stdlib/abort.c (__abort_msg): Adjust type.
11114 * assert/assert.c (__assert_fail_base): New function. Majority
11115 of code from __assert_fail. Allocate memory for __abort_msg with
11116 mmap.
11117 (__assert_fail): Now call __assert_fail_base.
11118 * assert/assert-perr.c: Remove bulk of implementation. Use
11119 __assert_fail_base.
11120 * include/assert.hL Declare __assert_fail_base.
11121 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11122 mmap.
11123 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11124
11125 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11126
11127 [BZ #11952]
11128 [BZ #12453]
11129 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11130 until all modules are registered in the DTV.
11131 * elf/Makefile: Add rules to build and run tst-tls19.
11132 * elf/tst-tls19.c: New file.
11133 * elf/tst-tls19mod1.c: New file.
11134 * elf/tst-tls19mod2.c: New file.
11135 * elf/tst-tls19mod3.c: New file.
11136 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11137
11138 [BZ #12083]
11139 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11140 correctly.
11141
11142 [BZ #12601]
11143 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11144 two-byte sequence errors.
11145 * iconvdata/Makefile (tests): Add bug-iconv8.
11146 * iconvdata/bug-iconv8.c: New file.
11147
11148 [BZ #12626]
11149 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11150 buf2 definition.
11151
11152 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11153
11154 [BZ #12432]
11155 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11156 (dummy_getcfa): New function.
11157 (init): Get _Unwind_GetCFA address, use dummy if not found.
11158 (backtrace_helper): In recursion check, also check whether CFA changes.
11159 (__backtrace): Completely initialize arg.
11160
11161 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11162 storing incomplete byte sequence in state object. Avoid testing for
11163 guaranteed too small input if we know there is enough data available.
11164
11165 2011-05-11 Andreas Schwab <schwab@redhat.com>
11166
11167 * Makeconfig (+link-pie): Indent.
11168 * Rules (binaries-pie): Define if $(have-fpie) and
11169 $(build-shared).
11170 (binaries-shared): Also filter out $(binaries-pie).
11171 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11172 * nscd/Makefile (others-pie): Add nscd.
11173 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11174 ($(objpfx)nscd): Remove command override.
11175 * login/Makefile (others-pie): Add pt_chown.
11176 ($(objpfx)pt_chown): Remove command override.
11177 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11178 remove command overrides.
11179
11180 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11181
11182 * libio/tst_putwc.c: Fix error messages.
11183
11184 [BZ #12724]
11185 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11186 currently writing and seek to current position when not.
11187 * libio/Makefile (tests): Add bug-fclose1.
11188 * libio/bug-fclose1.c: New file.
11189
11190 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11191
11192 [BZ #12511]
11193 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11194 don't set DF_1_NODELETE here.
11195 (do_lookup_x): When entering new entry test for copy relocation
11196 and if necessary set DF_1_NODELETE flag.
11197 * elf/tst-unique4.cc: New file.
11198 * elf/tst-unique4.h: New file.
11199 * elf/tst-unique4lib.cc: New file.
11200 * elf/Makefile: Add rules to build and run tst-unique4.
11201 Patch by Piotr Bury <pbury@goahead.com>.
11202
11203 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11204
11205 [BZ #12052]
11206 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11207
11208 [BZ #12625]
11209 * misc/mntent_r.c (addmntent): Flush the stream after the output
11210
11211 [BZ #12393]
11212 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11213 (is_trusted_path_normalize): Skip initial colon. Append slash
11214 to empty buffer. Duplicate is_trusted_path code but allow
11215 constructed patch to be prefix.
11216 (is_dst): Allow $ORIGIN followed by /.
11217 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11218 Correct testing of result of is_trusted_path_normalize
11219 (decompose_rpath): Fix warning.
11220
11221 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11222
11223 [BZ #11257]
11224 * grp/initgroups.c (internal_getgrouplist): When we found the service
11225 list through the initgroups entry in nsswitch.conf do not always
11226 continue on a successful lookup. Don't always use the
11227 __nss_group_database value if it is set.
11228 * nss/nsswitch.conf (initgroups): Change action for successful db
11229 lookup to continue for compatibility.
11230
11231 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11232
11233 [BZ #11532]
11234 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11235 and CP774 modules.
11236 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11237 and CP774 modules.
11238 * iconvdata/tst-tables.sh: Likewise.
11239 * iconvdata/cp770.c: New file.
11240 * iconvdata/cp771.c: New file.
11241 * iconvdata/cp772.c: New file.
11242 * iconvdata/cp773.c: New file.
11243 * iconvdata/cp774.c: New file.
11244 * iconvdata/testdata/CP770: New file.
11245 * iconvdata/testdata/CP770..UTF8: New file.
11246 * iconvdata/testdata/CP771: New file.
11247 * iconvdata/testdata/CP771..UTF8: New file.
11248 * iconvdata/testdata/CP772: New file.
11249 * iconvdata/testdata/CP772..UTF8: New file.
11250 * iconvdata/testdata/CP773: New file.
11251 * iconvdata/testdata/CP773..UTF8: New file.
11252 * iconvdata/testdata/CP774: New file.
11253 * iconvdata/testdata/CP774..UTF8: New file.
11254
11255 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11256 END CHARMAP line.
11257 * iconvdata/gen-8bit-gap.sh: Likewise.
11258 * iconvdata/gen-8bit.sh: Likewise.
11259
11260 * locale/iso-639.def: Add ary entry.
11261
11262 [BZ #11258]
11263 * locale/C-translit.h.in: Add U20A1 transliteration.
11264
11265 [BZ #12178]
11266 * locale/iso-639.def: Add wae entry.
11267 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11268
11269 [BZ #12545]
11270 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11271 for n.
11272
11273 [BZ #12711]
11274 * locale/C-translit.h.in: Add entry for U20B9.
11275 Patch by pravin.d.s@gmail.com.
11276
11277 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11278
11279 [BZ #12713]
11280 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11281 ENAMETOOLONG use generic getcwd.
11282 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11283 in rtld. Use *stat64.
11284 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11285 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11286 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11287 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11288 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11289 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11290 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11291 __fstatat64 macros.
11292 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11293 * dirent/rewinddir.c: Add libc_hidden_def.
11294 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11295 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11296
11297 * include/dirent.h (__alloc_dir): Add flags parameter.
11298 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11299 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11300 __alloc_dir.
11301 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11302 from fdopendir if O_CLOEXEC is already set.
11303
11304 2011-03-15 Alan Modra <amodra@gmail.com>
11305
11306 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11307 l_tls_firstbyte_offset non-zero. Save padding offset in
11308 l_tls_firstbyte_offset for later use.
11309 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11310 freeing static tls block.
11311
11312 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11313
11314 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11315 where #ifdef was intended. The intent is to prevent ARG_MAX from
11316 being defined by the kernel headers.
11317
11318 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11319
11320 [BZ #12734]
11321 * resolv/resolv.h: Define RES_NOTLDQUERY.
11322 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11323 no-tld-query and set RES_NOTLDQUERY.
11324 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11325 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11326 modern BIND to search name as TLD unless forbidden.
11327
11328 2011-05-07 Petr Baudis <pasky@suse.cz>
11329 Ulrich Drepper <drepper@gmail.com>
11330
11331 [BZ #12393]
11332 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11333 (is_trusted_path): ...to here.
11334 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11335 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11336 using is_trusted_path_normalize() in setuid scripts.
11337
11338 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11339
11340 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11341 __BEGIN/__END_DECLS.
11342
11343 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11344
11345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11346 NSS_STATUS_NOTFOUND if no record was found.
11347
11348 2011-05-05 Andreas Schwab <schwab@redhat.com>
11349
11350 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11351 (headers-not-in-tirpc): Remove rpc/netdb.h
11352 * resolv/netdb.h: Revert last change.
11353
11354 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11355
11356 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11357 circular dependency between libgcc.a and libc.a.
11358
11359 2011-05-05 Andreas Schwab <schwab@redhat.com>
11360
11361 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11362 * nis/Makefile: Don't install rpcsvc/*.
11363 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11364 instead of <rpc/types.h>.
11365 (MAXHOSTNAMELEN): Define.
11366
11367 2011-05-03 Andreas Schwab <schwab@redhat.com>
11368
11369 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11370
11371 2011-04-28 Maciej Babinski <mbabinski@google.com>
11372
11373 [BZ #12714]
11374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11375 gethostbyname4_r when IPv6 results are possible.
11376
11377 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11378
11379 [BZ #12723]
11380 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11381 _PC_PIPE_BUF handling.
11382
11383 2011-04-30 Bruno Haible <bruno@clisp.org>
11384
11385 [BZ #12717]
11386 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11387 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11388 to 'int'.
11389 * inet/getnameinfo.c (getnameinfo): Likewise.
11390
11391 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11392
11393 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11394 to groups setting in database lookup.
11395 * nss/nsswitch.conf: Add initgroups entry.
11396
11397 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11398
11399 [BZ #12685]
11400 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11401 mode string.
11402 Patch by Eric Blake <eblake@redhat.com>.
11403
11404 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11405
11406 * sunrpc/Makefile (need-export-routines): Add svc_run.
11407 (routines): Remove svc_run.
11408 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11409 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11410 * sunrpc/svc_run.c (svc_run): Likewise.
11411 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11412
11413 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11414
11415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11416 problem in reallocation in last patch.
11417
11418 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11419
11420 * sunrpc/Makefile: Move inclusion of Rules.
11421
11422 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11423
11424 * nss/nss_files/files-initgroups.c: New file.
11425 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11426 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11427 _nss_files_initgroups_dyn.
11428
11429 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11430
11431 * elf/elf.h (R_ARM_IRELATIVE): Define.
11432
11433 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11434
11435 * po/ru.po: Update from translation team.
11436
11437 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11438
11439 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11440 dependencies.
11441
11442 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11443
11444 [BZ #12653]
11445 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11446 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11449 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11450
11451 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11452
11453 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11454 differing bytes.
11455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11458
11459 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11460
11461 [BZ #12420]
11462 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11463 storing it.
11464 * stdlib/bug-getcontext.c: New file.
11465 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11466
11467 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11468
11469 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11470 instructions into .machine "z9-109".
11471 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11472 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11473
11474 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11475
11476 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11477 between environment variables and auxiliary vector.
11478
11479 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11480
11481 * Makefile: Add rules to build linkobj/libc.so.
11482 * include/libc-symbols.h: Define libc_hidden_nolink.
11483 * include/rpc/auth.h: Mark functions which are to be hidden.
11484 * include/rpc/auth_des.h: Likewise.
11485 * include/rpc/auth_unix.h: Likewise.
11486 * include/rpc/clnt.h: Likewise.
11487 * include/rpc/des_crypt.h: Likewise.
11488 * include/rpc/key_prot.h: Likewise.
11489 * include/rpc/pmap_clnt.h: Likewise.
11490 * include/rpc/pmap_prot.h: Likewise.
11491 * include/rpc/pmap_rmt.h: Likewise.
11492 * include/rpc/rpc_msg.h: Likewise.
11493 * include/rpc/svc.h: Likewise.
11494 * include/rpc/svc_auth.h: Likewise.
11495 * include/rpc/xdr.h: Likewise.
11496 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11497 * nss/Makefile: Likewise.
11498 * sunrpc/Makefile: Don't install headers. Build library with normal
11499 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11500 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11501 for the compat linking library. Remove use of INTDEF/INTUSE.
11502 * sunrpc/auth_none.c: Likewise.
11503 * sunrpc/auth_unix.c: Likewise.
11504 * sunrpc/authdes_prot.c: Likewise.
11505 * sunrpc/authuxprot.c: Likewise.
11506 * sunrpc/clnt_gen.c: Likewise.
11507 * sunrpc/clnt_perr.c: Likewise.
11508 * sunrpc/clnt_raw.c: Likewise.
11509 * sunrpc/clnt_simp.c: Likewise.
11510 * sunrpc/clnt_tcp.c: Likewise.
11511 * sunrpc/clnt_udp.c: Likewise.
11512 * sunrpc/clnt_unix.c: Likewise.
11513 * sunrpc/des_crypt.c: Likewise.
11514 * sunrpc/des_soft.c: Likewise.
11515 * sunrpc/get_myaddr.c: Likewise.
11516 * sunrpc/key_call.c: Likewise.
11517 * sunrpc/key_prot.c: Likewise.
11518 * sunrpc/netname.c: Likewise.
11519 * sunrpc/pm_getmaps.c: Likewise.
11520 * sunrpc/pm_getport.c: Likewise.
11521 * sunrpc/pmap_clnt.c: Likewise.
11522 * sunrpc/pmap_prot.c: Likewise.
11523 * sunrpc/pmap_prot2.c: Likewise.
11524 * sunrpc/pmap_rmt.c: Likewise.
11525 * sunrpc/publickey.c: Likewise.
11526 * sunrpc/rpc_cmsg.c: Likewise.
11527 * sunrpc/rpc_common.c: Likewise.
11528 * sunrpc/rpc_dtable.c: Likewise.
11529 * sunrpc/rpc_prot.c: Likewise.
11530 * sunrpc/rpc_thread.c: Likewise.
11531 * sunrpc/rtime.c: Likewise.
11532 * sunrpc/svc.c: Likewise.
11533 * sunrpc/svc_auth.c: Likewise.
11534 * sunrpc/svc_authux.c: Likewise.
11535 * sunrpc/svc_raw.c: Likewise.
11536 * sunrpc/svc_run.c: Likewise.
11537 * sunrpc/svc_simple.c: Likewise.
11538 * sunrpc/svc_tcp.c: Likewise.
11539 * sunrpc/svc_udp.c: Likewise.
11540 * sunrpc/svc_unix.c: Likewise.
11541 * sunrpc/svcauth_des.c: Likewise.
11542 * sunrpc/xcrypt.c: Likewise.
11543 * sunrpc/xdr.c: Likewise.
11544 * sunrpc/xdr_array.c: Likewise.
11545 * sunrpc/xdr_float.c: Likewise.
11546 * sunrpc/xdr_intXX_t.c: Likewise.
11547 * sunrpc/xdr_mem.c: Likewise.
11548 * sunrpc/xdr_rec.c: Likewise.
11549 * sunrpc/xdr_ref.c: Likewise.
11550 * sunrpc/xdr_sizeof.c: Likewise.
11551 * sunrpc/xdr_stdio.c: Likewise.
11552
11553 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11554
11555 [BZ #12650]
11556 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11557 * sysdeps/ia64/dl-tls.h: Likewise.
11558 * sysdeps/powerpc/dl-tls.h: Likewise.
11559 * sysdeps/s390/dl-tls.h: Likewise.
11560 * sysdeps/sh/dl-tls.h: Likewise.
11561 * sysdeps/sparc/dl-tls.h: Likewise.
11562 * sysdeps/x86_64/dl-tls.h: Likewise.
11563 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11564
11565 2011-03-14 Andreas Schwab <schwab@redhat.com>
11566
11567 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11568 rpath element also skip the following colon.
11569 (expand_dynamic_string_token): Add is_path parameter and pass
11570 down to DL_DST_REQUIRED and _dl_dst_substitute.
11571 (decompose_rpath): Call expand_dynamic_string_token with
11572 non-zero is_path. Ignore empty rpaths.
11573 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11574 with zero is_path.
11575
11576 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11577
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11579 Make cancelable.
11580
11581 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11582
11583 [BZ #12655]
11584 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11585 Patch by Filipe David Manana <fdmanana@apache.org>.
11586
11587 2011-04-07 Andreas Schwab <schwab@redhat.com>
11588
11589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11590 Maintain aligned stack.
11591 (CHECK_RSP): Remove unused macro.
11592
11593 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11594
11595 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11596 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11597
11598 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11599
11600 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11601
11602 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11603
11604 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11605
11606 [BZ #12518]
11607 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11608 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11609 * sysdeps/x86_64/memmove.c: New file.
11610 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11611 (memcpy): Renamed to ...
11612 (__new_memcpy): This.
11613 (memcpy): Provide GLIBC_2_14 memcpy.
11614 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11615 (memcpy): Provide GLIBC_2_2_5 memcpy.
11616
11617 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11618
11619 [BZ #12631]
11620 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11621
11622 2011-03-30 Andreas Schwab <schwab@redhat.com>
11623
11624 * misc/syncfs.c: New file.
11625 * misc/Makefile (routines): Add syncfs.
11626 * posix/unistd.h: Declare syncfs.
11627 * sysdeps/unix/syscalls.list: Add syncfs.
11628
11629 2011-04-01 Andreas Schwab <schwab@redhat.com>
11630
11631 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11632 open_by_handle_at.
11633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11634 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11638 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11640
11641 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11642
11643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11645 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11649 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11650
11651 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11652 sync_file_range.c with -fexceptions.
11653 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11654 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11655 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11656 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11657 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11658 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11660 sync_file_range as cancellation point
11661 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11662 now a wrapper around __call_sync_file_range with cancellation handling.
11663 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11664 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11665 function name to __call_sync_file_range.
11666 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11667 Add call_sync_file_range.
11668
11669 2011-04-01 Andreas Schwab <schwab@redhat.com>
11670
11671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11672 bits/timex.h.
11673
11674 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11675
11676 * iconv/iconv.h: Fix typo in comment.
11677 * io/fcntl.h: Likewise.
11678 * libio/stdio.h: Likewise.
11679 * posix/spawn.h: Likewise.
11680 * posix/unistd.h: Likewise.
11681 * stdlib/stdlib.h: Likewise.
11682 * time/time.h: Likewise.
11683 * wcsmbs/wchar.h: Likewise.
11684
11685 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11686 open_by_handle): Add.
11687 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11688 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11689 Augment a few comments.
11690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11695 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11696 open_by_handle.
11697
11698 * io/fcntl.h (AT_EMPTY_PATH): Define.
11699
11700 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11701
11702 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11703 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11704 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11705 to...
11706 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11707 * Versions.def: Add GLIBC_2.14.
11708 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11709 Export.
11710
11711 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11712
11713 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11714 round counter.
11715 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11716
11717 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11718
11719 [BZ #12597]
11720 * string/test-strncmp.c (do_page_test): New function.
11721 (check2): Likewise.
11722 (test_main): Call check2.
11723 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11724
11725 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11726
11727 [BZ #12587]
11728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11729 Handle cache information in CPU leaf 4.
11730 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11731
11732 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11733
11734 [BZ #12583]
11735 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11736 character representation.
11737 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11738
11739 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11740
11741 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11742 END(__isnan) to END(__isnanf) to match function entry point/label
11743 EALIGN(__isnanf,...).
11744
11745 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11746
11747 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11748
11749 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11750
11751 [BZ #12510]
11752 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11753 copy from the symbol referenced in the relocation to initialize the
11754 used variable.
11755 Patch by Piotr Bury <pbury@goahead.com>.
11756 * elf/Makefile: Add rules to build and tst-unique3.
11757 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11758 * elf/tst-unique3.cc: New file.
11759 * elf/tst-unique3.h: New file.
11760 * elf/tst-unique3lib.cc: New file.
11761 * elf/tst-unique3lib2.cc: New file.
11762
11763 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11764
11765 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11766
11767 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11768 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11769 to _start.
11770
11771 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11772
11773 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11774 to-be-loaded object along a path to loader is ld.so.
11775
11776 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11777 Ulrich Drepper <drepper@gmail.com>
11778
11779 * sysdeps/x86_64/memset.S: After aligning destination, code
11780 branches to different locations depending on the value of
11781 misalignment, when multiarch is enabled. Fix this.
11782
11783 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11784
11785 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11786 Set _x86_64_preferred_memory_instruction for AMD processsors.
11787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11788 Set bit_Prefer_SSE_for_memop for AMD processors.
11789
11790 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11791
11792 * libio/fmemopen.c (fmemopen): Optimize a bit.
11793
11794 2011-03-03 Andreas Schwab <schwab@redhat.com>
11795
11796 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11797
11798 2011-03-03 Roland McGrath <roland@redhat.com>
11799
11800 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11801
11802 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11803
11804 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11805 __bzero_ultra1 instead of __memset_ultra1.
11806
11807 2011-02-23 Andreas Schwab <schwab@redhat.com>
11808 Ulrich Drepper <drepper@gmail.com>
11809
11810 [BZ #12509]
11811 * include/link.h (struct link_map): Add l_orig_initfini.
11812 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11813 returning unsuccessfully.
11814 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11815 close of a file loaded at startup, restore the original l_initfini
11816 list.
11817 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11818 list, store the pointer.
11819 * elf/Makefile ($(objpfx)noload-mem): New rule.
11820 (noload-ENV): Define.
11821 (tests): Add $(objpfx)noload-mem.
11822 * elf/noload.c: Include <memcheck.h>.
11823 (main): Call mtrace. Close all opened handles.
11824
11825 2011-02-17 Andreas Schwab <schwab@redhat.com>
11826
11827 [BZ #12454]
11828 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11829 dependencies are missing.
11830
11831 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11832
11833 Fix __if_freereq crash: Unlike the generic version which uses free,
11834 Hurd needs munmap.
11835 * sysdeps/mach/hurd/ifreq.h: New file.
11836
11837 2011-01-27 Petr Baudis <pasky@suse.cz>
11838 Ulrich Drepper <drepper@gmail.com>
11839
11840 [BZ 12445]#
11841 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11842 to extend_alloca().
11843 * stdio-common/bug23.c: New file.
11844 * stdio-common/Makefile (tests): Add bug23.
11845
11846 2010-09-28 Andreas Schwab <schwab@redhat.com>
11847 Ulrich Drepper <drepper@gmail.com>
11848
11849 [BZ #12489]
11850 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11851 before performing relro protection. At old place add assertion
11852 to make sure nothing changed.
11853
11854 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11855 Glauber de Oliveira Costa <glommer@gmail.com>
11856
11857 * elf/elf.h: Add new ARM TLS relocs.
11858
11859 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11860
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11862 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11863 cast from r3.
11864 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11865 'tests' variable.
11866 * sysdeps/wordsize-64/tst-writev.c: New file.
11867
11868 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11869
11870 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11871 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11872 insns in _dl_start to prevent a TOC reference before relocs are
11873 resolved.
11874
11875 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11876
11877 [BZ #12469]
11878 * Makeconfig: Remove RANLIB definition.
11879 * Makerules: Don't use RANLIB.
11880 * aclocal.m4: Remove ranlib test.
11881 * configure.in: No need to check for ranlib.
11882 * elf/rtld-Rules: Don't use RANLIB.
11883
11884 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11885
11886 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11887 protection macro.
11888 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11889 inclusion protection macro.
11890
11891 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11892 SIGRTMIN and SIGRTMAX and print information in that case only when
11893 SIGRTMIN is defined.
11894
11895 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11896
11897 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11898 arginfo fn returning -1.
11899
11900 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11901 and thousands string is zero terminated.
11902
11903 2011-02-03 Andreas Schwab <schwab@redhat.com>
11904
11905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11906 sysdeps/unix/sysv/linux/bits/socket.h.
11907
11908 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11909
11910 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11911 (__CPU_COUNT): Remove old macros.
11912 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11913 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11914 (__CPU_ALLOC, __CPU_FREE): Add macros.
11915 (__sched_cpualloc, __sched_cpufree): Add declarations.
11916
11917 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11918
11919 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11920 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11921 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11922 (readdhstai): Return value of addhstaiX call.
11923 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11924 (addgrbyX): Return value returned by cache_addgr.
11925 (readdgrbyname): Return value returned by addgrbyX.
11926 (readdgrbygid): Likewise.
11927 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11928 (addpwbyX): Return value returned by cache_addpw.
11929 (readdpwbyname): Return value returned by addhstbyX.
11930 (readdpwbyuid): Likewise.
11931 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11932 (addservbyX): Return value returned by cache_addserv.
11933 (readdservbyname): Return value returned by addservbyX:
11934 (readdservbyport): Likewise.
11935 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11936 (addhstbyX): Return value returned by cache_addhst.
11937 (readdhstbyname): Return value returned by addhstbyX.
11938 (readdhstbyaddr): Likewise.
11939 (readdhstbynamev6): Likewise.
11940 (readdhstbyaddrv6): Likewise.
11941 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11942 (readdinitgroups): Return value returned by addinitgroupsX.
11943 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11944 (prune_cache): Keep track of timeout value of re-added entries.
11945 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11946 * nscd/nscd.h: Adjust prototypes of readd* functions.
11947
11948 2011-02-04 Roland McGrath <roland@redhat.com>
11949
11950 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11951 (nis_stats): Likewise.
11952 * nis/nis_modify.c (nis_modify): Likewise.
11953 * nis/nis_remove.c (nis_remove): Likewise.
11954 * nis/nis_add.c (nis_add): Likewise.
11955
11956 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11957
11958 * posix/fnmatch_loop.c: Add some consts.
11959
11960 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11961
11962 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11963
11964 [BZ #12460]
11965 * config.make.in (config-cflags-novzeroupper): Define.
11966 * configure.in: Substitute libc_cv_cc_novzeroupper.
11967 * elf/Makefile (AVX-CFLAGS): Define.
11968 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11969 (CFLAGS-tst-auditmod4a.c): Likewise.
11970 (CFLAGS-tst-auditmod4b.c): Likewise.
11971 (CFLAGS-tst-auditmod6b.c): Likewise.
11972 (CFLAGS-tst-auditmod6c.c): Likewise.
11973 (CFLAGS-tst-auditmod7b.c): Likewise.
11974 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11975
11976 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11977
11978 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11979 function to the callback.
11980 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11981
11982 2011-02-02 Andreas Schwab <schwab@redhat.com>
11983
11984 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11985 of errno.
11986
11987 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11988
11989 [BZ #11724]
11990 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11991 of constructors.
11992 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11993 of destructors.
11994 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11995
11996 [BZ #11724]
11997 * elf/Makefile: Add rules to build and run new test.
11998 * elf/tst-initorder.c: New file.
11999 * elf/tst-initorder.exp: New file.
12000 * elf/tst-initordera1.c: New file.
12001 * elf/tst-initordera2.c: New file.
12002 * elf/tst-initordera3.c: New file.
12003 * elf/tst-initordera4.c: New file.
12004 * elf/tst-initorderb1.c: New file.
12005 * elf/tst-initorderb2.c: New file.
12006 * elf/tst-order-a1.c: New file.
12007 * elf/tst-order-a2.c: New file.
12008 * elf/tst-order-a3.c: New file.
12009 * elf/tst-order-a4.c: New file.
12010 * elf/tst-order-b1.c: New file.
12011 * elf/tst-order-b2.c: New file.
12012 * elf/tst-order-main.c: New file.
12013 New test case by George Gensure <werkt0@gmail.com>.
12014
12015 2010-10-01 Andreas Schwab <schwab@redhat.com>
12016
12017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12018 decoding ACE if AI_CANONIDN.
12019
12020 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12021
12022 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12023
12024 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12025
12026 * version.h (RELEASE): Bump for 2.13 release.
12027 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12028
12029 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12030
12031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12032 MADV_NOHUGEPAGE.
12033 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12034 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12036 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12038 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12039
12040 * posix/getconf.c: Update copyright year.
12041 * catgets/gencat.c: Likewise.
12042 * csu/version.c: Likewise.
12043 * debug/catchsegv.sh: Likewise.
12044 * debug/xtrace.sh: Likewise.
12045 * elf/ldconfig.c: Likewise.
12046 * elf/ldd.bash.in: Likewise.
12047 * elf/sprof.c (print_version): Likewise.
12048 * iconv/iconv_prog.c: Likewise.
12049 * iconv/iconvconfig.c: Likewise.
12050 * locale/programs/locale.c: Likewise.
12051 * locale/programs/localedef.c: Likewise.
12052 * malloc/memusage.sh: Likewise.
12053 * malloc/mtrace.pl: Likewise.
12054 * nscd/nscd.c (print_version): Likewise.
12055 * nss/getent.c: Likewise.
12056
12057 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12058 PF_CAIF, and PF_ALG.
12059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12060
12061 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12062
12063 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12064 (modules-names): Use them.
12065 (ifunc-test-modules, ifunc-pie-tests): Define.
12066 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12067 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12068 (test-extras): Likewise.
12069 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12070 $(compile-command.c).
12071 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12072 (all-built-dso): Define.
12073 (check-textrel.out, check-execstack.out): Depend on it.
12074
12075 * configure.in: Don't override --enable-multi-arch.
12076
12077 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12078
12079 [BZ #6812]
12080 * nscd/hstcache.c (tryagain): Define.
12081 (cache_addhst): Return tryagain not notfound for temporary errors.
12082 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12083 failed.
12084
12085 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12086
12087 [BZ #10563]
12088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12089 to make the syscall.
12090 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12091
12092 [BZ #12378]
12093 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12094 and fall back to matching as normal character if the string ends before
12095 the matching ']' is found. This is what POSIX requires.
12096 * posix/testfnm.c: Adjust test result.
12097 * posix/globtest.sh: Adjust test result. Add new test.
12098 * posix/tst-fnmatch.input: Likewise.
12099 * posix/tst-fnmatch2.c: Add new test.
12100
12101 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12102
12103 * elf/Makefile (check-execstack): Revert last change. Depend on
12104 check-execstack.h.
12105 (check-execstack.h): New target.
12106 (generated): Add check-execstack.h.
12107 * elf/check-execstack.c: Include "check-execstack.h".
12108 (main): Revert last change.
12109 (handle_file): Return zero if GNU_STACK is absent and
12110 DEFAULT_STACK_PERMS doesn't include PF_X.
12111
12112 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12113
12114 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12115 in child fails because the descriptor is already closed.
12116 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12117 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12118 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12119
12120 [BZ #12397]
12121 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12122 syscall.
12123
12124 [BZ #10484]
12125 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12126 temporary buffer used to handle multi lookups locally.
12127 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12128
12129 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12130
12131 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12132 loader is ld.so.
12133
12134 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12135
12136 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12137 alignment for SSE2.
12138
12139 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12140
12141 [BZ #12394]
12142 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12143 characters. When rounding increased number of integer digits recompute
12144 number of groups.
12145 * stdio-common/tst-grouping.c: New file.
12146 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12147
12148 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12149
12150 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12151 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12152
12153 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12154 void.
12155 * bits/select.h: Likewise.
12156
12157 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12158
12159 * po/ja.po: Update from translation team.
12160
12161 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12162
12163 [BZ #11155]
12164 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12165 implementation just like for lxstat, fxstatat, et al.
12166
12167 2010-12-27 Jim Meyering <meyering@redhat.com>
12168
12169 [BZ #12348]
12170 * posix/regexec.c (build_trtable): Return failure indication upon
12171 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12172
12173 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12174
12175 [BZ #12201]
12176 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12177 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12178 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12180
12181 [BZ #12207]
12182 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12183
12184 [BZ #12204]
12185 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12186 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12187
12188 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12191 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12192 script has SORT_BY_INIT_PRIORITY.
12193 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12194 NO_CTORS_DTORS_SECTIONS is defined.
12195 * elf/soinit.c: Likewise.
12196 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12197 NO_CTORS_DTORS_SECTIONS is defined.
12198 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12199 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12200 * sysdeps/sh/init-first.c: Likewise.
12201 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12202
12203 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12204
12205 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12206 always use the slow path.
12207
12208 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12209
12210 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12211 similar rule which adds the sysdep directories to the header search in
12212 order to pick up the correct platform stackinfo.h.
12213 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12214 perform test if it is, otherwise return successfully without testing.
12215 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12216 DEFAULT_STACK_PERMS define in stackinfo.h.
12217 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12218 defined in stackinfo.h.
12219 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12220 DEFAULT_STACK_PERMS defined in stackinfo.h.
12221 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12222 * sysdeps/ia64/stackinfo.h: Likewise.
12223 * sysdeps/s390/stackinfo.h: Likewise.
12224 * sysdeps/sh/stackinfo.h: Likewise.
12225 * sysdeps/sparc/stackinfo.h: Likewise.
12226 * sysdeps/x86_64/stackinfo.h: Likewise.
12227 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12228 PF_X for powerpc64. Retain PF_X for powerpc32.
12229
12230 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12231
12232 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12233 accurately.
12234 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12235 GETDENTS_64BIT_ALIGNED.
12236
12237 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12238
12239 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12240
12241 2010-12-10 Andreas Schwab <schwab@redhat.com>
12242
12243 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12244 _GNU_SOURCE.
12245
12246 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12247 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12248 Remove __restrict.
12249 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12250 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12251
12252 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12253
12254 [BZ #11655]
12255 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12256 are initialized.
12257
12258 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12259
12260 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12261
12262 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12263
12264 * po/it.po: Update from translation team.
12265
12266 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12269 unused codes.
12270
12271 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12272
12273 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12274
12275 2010-11-24 Andreas Schwab <schwab@redhat.com>
12276
12277 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12278 specially.
12279 (gaih_getanswer_slice): Likewise.
12280
12281 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12282
12283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12284
12285 2010-05-31 Petr Baudis <pasky@suse.cz>
12286
12287 [BZ #11149]
12288 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12289 silently even in the chroot mode.
12290
12291 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12292
12293 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12294 last patch a bit. Pretty printing
12295
12296 2010-05-31 Petr Baudis <pasky@suse.cz>
12297
12298 [BZ #10085]
12299 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12300 initialization of skip_initgroups_dyn.
12301
12302 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12303
12304 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12305 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12306
12307 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12308
12309 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12310
12311 2010-11-11 Andreas Schwab <schwab@redhat.com>
12312
12313 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12314 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12315 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12316 ($(objpfx)tst-fnmatch-mem): New rule.
12317 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12318 * posix/tst-fnmatch.c (main): Call mtrace.
12319
12320 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12323 Support Intel processor model 6 and model 0x2c.
12324
12325 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12326
12327 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12328 signed comparison.
12329
12330 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 [BZ #12205]
12333 * string/test-strncasecmp.c (check_result): New function.
12334 (do_one_test): Use it.
12335 (check1): New function.
12336 (test_main): Use it.
12337 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12338 Support strcasecmp and strncasecmp.
12339
12340 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12341
12342 [BZ #12194]
12343 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12345
12346 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12347
12348 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12349 IFUNC support.
12350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12351 memset-x86-64.
12352 * sysdeps/x86_64/multiarch/bzero.S: New file.
12353 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12354 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12355 * sysdeps/x86_64/multiarch/memset.S: New file.
12356 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12358 Set bit_Prefer_SSE_for_memop for Intel processors.
12359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12360 Define.
12361 (index_Prefer_SSE_for_memop): Define.
12362 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12363
12364 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12365
12366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12367 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12368
12369 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12370
12371 [BZ #12191]
12372 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12373 (__x86_64_raw_data_cache_size_half): Likewise.
12374 (__x86_64_raw_shared_cache_size): Likewise.
12375 (__x86_64_raw_shared_cache_size_half): Likewise.
12376
12377 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12378 (__x86_64_raw_data_cache_size_half): Likewise.
12379 (__x86_64_raw_shared_cache_size): Likewise.
12380 (__x86_64_raw_shared_cache_size_half): Likewise.
12381 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12382 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12383 and __x86_64_raw_shared_cache_size_half. Round
12384 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12385 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12386 to multiple of 256 bytes.
12387
12388 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12389
12390 [BZ #12167]
12391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12392 of inacessible symlinks. Verify result of symlink before returning it.
12393 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12394 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12395
12396 2010-10-28 Erich Ritz <erichritz@gmail.com>
12397
12398 * math/math.h (isinf): Fix typo in comment.
12399
12400 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12401
12402 * po/da.po: Update from translation team.
12403
12404 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12405
12406 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12407 is added to the list.
12408
12409 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12410 Ulrich Drepper <drepper@gmail.com>
12411
12412 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12413 the global list here. Move code to...
12414 (_dl_add_to_namespace_list): ...here. New function.
12415 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12416 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12417 * elf/dl-load.c (lose): Don't remove the element from the list.
12418 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12419 (_dl_map_object): Likewise.
12420
12421 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12422
12423 [BZ #12159]
12424 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12425 into all bytes of SSE register.
12426 Patch by Richard Li <richardpku@gmail.com>.
12427
12428 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12429
12430 [BZ #12140]
12431 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12432 perturbing.
12433
12434 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12435
12436 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12437 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12438 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12441 submachine.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12443
12444 2010-10-22 Andreas Schwab <schwab@redhat.com>
12445
12446 * include/dlfcn.h (__RTLD_SECURE): Define.
12447 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12448 mode & __RTLD_SECURE instead.
12449 (open_path): Rename preloaded parameter to secure.
12450 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12451 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12452 * elf/dl-deps.c (openaux): Likewise.
12453 * elf/rtld.c (struct map_args): Remove is_preloaded.
12454 (map_doit): Don't use it.
12455 (dl_main): Likewise.
12456 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12457 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12458
12459 2010-09-09 Andreas Schwab <schwab@redhat.com>
12460
12461 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12462 (sysd-rules-targets): Remove duplicates.
12463 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12464 rtld-%.$o dependency.
12465
12466 2010-10-18 Andreas Schwab <schwab@redhat.com>
12467
12468 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12469 _dl_map_object do it.
12470
12471 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12472
12473 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12474 fast fma builtins, define the macros in the C99 standard.
12475 (FP_FAST_FMAF): Likewise.
12476 (FP_FAST_FMAL): Likewise.
12477 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12478
12479 * bits/mathdef.h: Update copyright year.
12480 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12481
12482 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12483
12484 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12485 builtins, define the macros in the C99 standard.
12486 (FP_FAST_FMAF): Likewise.
12487 (FP_FAST_FMAL): Likewise.
12488 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12489 multiply/add.
12490 (FP_FAST_FMAF): Likewise.
12491
12492 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12493
12494 [BZ #3268]
12495 * math/libm-test.inc (fma_test): Some new testcases.
12496 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12498 y and infinite z. Do multiplication by C already in long double.
12499 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12501 y and infinite z. Do bitwise or of inexact bit into u.d.
12502 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12503 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12504 * sysdeps/i386/fpu/s_fma.S: Removed.
12505 * sysdeps/i386/fpu/s_fmal.S: Removed.
12506
12507 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12508
12509 [BZ #3268]
12510 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12512 computation is not scheduled after fetestexcept. Fix value
12513 of minimum denormal long double.
12514
12515 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12516
12517 [BZ #3268]
12518 * math/libm-test.inc (fma_test): Add some more tests.
12519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12520 correctly.
12521
12522 2010-10-15 Andreas Schwab <schwab@redhat.com>
12523
12524 * scripts/data/localplt-s390-linux-gnu.data: New file.
12525 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12526
12527 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12528
12529 [BZ #3268]
12530 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12531 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12532 instead of dbl-64.
12533 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12534 inlines.
12535 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12537 if one of x and y is very large and the other is subnormal.
12538 * sysdeps/s390/fpu/s_fmaf.c: New file.
12539 * sysdeps/s390/fpu/s_fma.c: New file.
12540 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12541 * sysdeps/powerpc/fpu/s_fma.S: New file.
12542 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12543 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12544 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12545
12546 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12547
12548 [BZ #3268]
12549 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12550 fma tests.
12551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12552 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12553 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12554 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12555 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12556 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12557 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12558
12559 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12560
12561 [BZ #12078]
12562 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12563 * posix/bug-regex31.input: Add test case.
12564
12565 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12566
12567 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12568 * posix/bug-regex31.input: New file.
12569
12570 [BZ #12078]
12571 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12572 (parse_sub_exp): Fix last change, use postorder.
12573
12574 * posix/bug-regex31.c: New file.
12575 * posix/Makefile: Add rules to build and run bug-regex31.
12576
12577 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12578
12579 [BZ #12078]
12580 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12581
12582 [BZ #12108]
12583 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12584 to have entries in sys_siglist.
12585
12586 [BZ #12093]
12587 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12588 be NULL.
12589
12590 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12591
12592 [BZ #3268]
12593 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12594 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12595 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12596 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12597 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12598 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12599 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12600 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12601 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12602 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12603 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12604 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12605 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12606 * math/ftestexcept.c (fetestexcept): Likewise.
12607 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12608 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12609 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12610 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12611 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12612 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12613 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12614
12615 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12616
12617 [BZ #12107]
12618 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12619 newline.
12620
12621 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12622
12623 * string/bug-strstr1.c: New file.
12624 * string/Makefile: Add rules to build and run bug-strstr1.
12625
12626 2010-10-05 Eric Blake <eblake@redhat.com>
12627
12628 [BZ #12092]
12629 * string/str-two-way.h (two_way_long_needle): Always clear memory
12630 when skipping input due to the shift table.
12631
12632 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12633
12634 [BZ #12005]
12635 * malloc/mcheck.c: Handle large requests.
12636
12637 [BZ #12077]
12638 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12639 for strncmp and strncasecmp.
12640 * string/stratcliff.c: Add tests for strcmp and strncmp.
12641 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12642
12643 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12644
12645 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12646 __set_fpscr.
12647
12648 2010-09-30 Andreas Jaeger <aj@suse.de>
12649
12650 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12651 (CGROUP_SUPER_MAGIC): Define.
12652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12653 Handle btrfs and cgroup file systems.
12654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12655 Likewise.
12656
12657 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12658
12659 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12660 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12661
12662 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12663
12664 [BZ #12067]
12665 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12666 trying to locate the ELF header.
12667
12668 2010-09-27 Andreas Schwab <schwab@redhat.com>
12669
12670 [BZ #11611]
12671 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12672 Mask out sign-bit copies when constructing f_fsid.
12673
12674 2010-09-24 Petr Baudis <pasky@suse.cz>
12675
12676 * debug/stack_chk_fail_local.c: Add missing licence exception.
12677 * debug/warning-nop.c: Likewise.
12678
12679 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12680
12681 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12682 implementing getdents64 using getdents syscall, set d_type if
12683 __ASSUME_GETDENTS32_D_TYPE.
12684
12685 2010-09-16 Andreas Schwab <schwab@redhat.com>
12686
12687 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12688 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12689
12690 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12691
12692 [BZ #12037]
12693 * posix/unistd.h: Undo change of feature selection for ftruncate from
12694 2010-01-11.
12695
12696 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12697
12698 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12699 detection.
12700
12701 2010-09-20 Andreas Schwab <schwab@redhat.com>
12702
12703 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12704 fanotify_mark.
12705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12706
12707 2010-09-14 Andreas Schwab <schwab@redhat.com>
12708
12709 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12710 variables after CHECK_SP call.
12711 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12712
12713 2010-09-13 Andreas Schwab <schwab@redhat.com>
12714 Ulrich Drepper <drepper@redhat.com>
12715
12716 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12717 re-relocationg ld.so.
12718 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12719 _dl_init_paths call.
12720 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12721 here anymore.
12722
12723 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12724
12725 * resolv/res_init.c (__res_vinit): Count the default server we added.
12726
12727 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12728 Ulrich Drepper <drepper@redhat.com>
12729
12730 [BZ #11968]
12731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12732 (____longjmp_chk): Use %ebx for saving value across system call.
12733 Add unwind info.
12734
12735 2010-09-06 Andreas Schwab <schwab@redhat.com>
12736
12737 * manual/Makefile: Don't mix pattern rules with normal rules.
12738
12739 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12740
12741 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12742 operation.
12743 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12744 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12745 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12746 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12748 Likewise.
12749
12750 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12751
12752 [BZ #11979]
12753 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12754 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12755
12756 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12757
12758 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12759 * sysdeps/x86_64/addmul_1.S: Likewise.
12760 * sysdeps/x86_64/lshift.S: Likewise.
12761 * sysdeps/x86_64/mul_1.S: Likewise.
12762 * sysdeps/x86_64/rshift.S: Likewise.
12763 * sysdeps/x86_64/sub_n.S: Likewise.
12764 * sysdeps/x86_64/submul_1.S: Likewise.
12765
12766 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12767
12768 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12769 Define __sched_param instead of SCHED_* and sched_param when
12770 <bits/sched.h> is included with __need_schedparam defined.
12771 * bits/sched.h [__need_schedparam]
12772 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12773 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12774 (__defined_schedparam): Define to 1.
12775 (__sched_param): New structure, identical to sched_param.
12776 (__need_schedparam): Undefine.
12777
12778 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12779
12780 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12781 (epoll_create1): Declare.
12782
12783 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12784
12785 2010-08-31 Andreas Schwab <schwab@redhat.com>
12786
12787 [BZ #7066]
12788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12789 shifting retval into place.
12790
12791 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12792
12793 * nis/rpcsvc/nis.h: Update copyright notice.
12794 * nis/rpcsvc/nis.x: Likewise.
12795 * nis/rpcsvc/nis_callback.h: Likewise.
12796 * nis/rpcsvc/nis_callback.x: Likewise.
12797 * nis/rpcsvc/nis_object.x: Likewise.
12798 * nis/rpcsvc/nis_tags.h: Likewise.
12799 * nis/rpcsvc/yp.h: Likewise.
12800 * nis/rpcsvc/yp.x: Likewise.
12801 * nis/rpcsvc/ypupd.h: Likewise.
12802 * nis/yp_xdr.c: Likewise.
12803 * nis/ypupdate_xdr.c: Likewise.
12804
12805 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12806 mainly the body of pmap_getport. Add parameters to specify timeouts.
12807 (pmap_getport): Use __libc_rpc_getport.
12808 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12809 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12810 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12811
12812 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12813
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12815 fanotify_mark.
12816
12817 2010-08-27 Roland McGrath <roland@redhat.com>
12818
12819 * sysdeps/i386/i686/multiarch/Makefile
12820 (CFLAGS-varshift.c): New variable.
12821
12822 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12823
12824 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12825 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12826
12827 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12828
12829 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12830
12831 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12832
12833 * sysdeps/x86_64/strlen.S: Unroll the loop.
12834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12835 strlen-sse2 strlen-sse2-bsf.
12836 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12837 __strlen_no_bsf if bit_Slow_BSF is set.
12838 (__strlen_sse42): Removed.
12839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12840 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12841
12842 2010-08-25 Roland McGrath <roland@redhat.com>
12843
12844 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12845 * sysdeps/x86_64/multiarch/varshift.c: New file.
12846 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12847 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12848 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12849 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12850
12851 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12854 strlen-sse2 strlen-sse2-bsf.
12855 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12856 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12857 (__strlen_sse2): Removed.
12858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12861 bit_Slow_BSF for Atom.
12862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12863 (index_Slow_BSF): Define.
12864 (HAS_SLOW_BSF): Define.
12865
12866 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12867
12868 [BZ #10851]
12869 * resolv/res_init.c (__res_vinit): When no server address at all
12870 is given default to loopback.
12871
12872 2010-08-24 Roland McGrath <roland@redhat.com>
12873
12874 * configure.in: Remove config-name.h generation.
12875 * configure: Regenerated.
12876 * config-name.in: File removed.
12877 * scripts/config-uname.sh: New file.
12878 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12879 ($(objdir)config-name.h): New target.
12880
12881 * sunrpc/rpc_parse.h: Avoid nested comment.
12882
12883 2010-08-24 Richard Henderson <rth@redhat.com>
12884 Ulrich Drepper <drepper@redhat.com>
12885 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12889 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12890 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12891 _mm_alignr_epi8 with _mm_loadu_si128.
12892 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12893 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12894 (__m128i_shift_right): Removed.
12895 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12896 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12897 * sysdeps/x86_64/multiarch/varshift.h: New file.
12898 * sysdeps/x86_64/multiarch/varshift.S: New file.
12899
12900 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12901
12902 * configure.in: Move assembler checks to before sysdep dir checking.
12903
12904 2010-08-20 Petr Baudis <pasky@suse.cz>
12905
12906 * LICENSES: Sync the sunrpc license.
12907
12908 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12909
12910 * sunrpc/auth_des.c: Update copyright notice once again.
12911 * sunrpc/auth_none.c: Likewise.
12912 * sunrpc/auth_unix.c: Likewise.
12913 * sunrpc/authdes_prot.c: Likewise.
12914 * sunrpc/authuxprot.c: Likewise.
12915 * sunrpc/bindrsvprt.c: Likewise.
12916 * sunrpc/clnt_gen.c: Likewise.
12917 * sunrpc/clnt_perr.c: Likewise.
12918 * sunrpc/clnt_raw.c: Likewise.
12919 * sunrpc/clnt_simp.c: Likewise.
12920 * sunrpc/clnt_tcp.c: Likewise.
12921 * sunrpc/clnt_udp.c: Likewise.
12922 * sunrpc/clnt_unix.c: Likewise.
12923 * sunrpc/des_crypt.c: Likewise.
12924 * sunrpc/des_soft.c: Likewise.
12925 * sunrpc/get_myaddr.c: Likewise.
12926 * sunrpc/getrpcport.c: Likewise.
12927 * sunrpc/key_call.c: Likewise.
12928 * sunrpc/key_prot.c: Likewise.
12929 * sunrpc/openchild.c: Likewise.
12930 * sunrpc/pm_getmaps.c: Likewise.
12931 * sunrpc/pm_getport.c: Likewise.
12932 * sunrpc/pmap_clnt.c: Likewise.
12933 * sunrpc/pmap_prot.c: Likewise.
12934 * sunrpc/pmap_prot2.c: Likewise.
12935 * sunrpc/pmap_rmt.c: Likewise.
12936 * sunrpc/rpc/auth.h: Likewise.
12937 * sunrpc/rpc/auth_unix.h: Likewise.
12938 * sunrpc/rpc/clnt.h: Likewise.
12939 * sunrpc/rpc/des_crypt.h: Likewise.
12940 * sunrpc/rpc/key_prot.h: Likewise.
12941 * sunrpc/rpc/netdb.h: Likewise.
12942 * sunrpc/rpc/pmap_clnt.h: Likewise.
12943 * sunrpc/rpc/pmap_prot.h: Likewise.
12944 * sunrpc/rpc/pmap_rmt.h: Likewise.
12945 * sunrpc/rpc/rpc.h: Likewise.
12946 * sunrpc/rpc/rpc_des.h: Likewise.
12947 * sunrpc/rpc/rpc_msg.h: Likewise.
12948 * sunrpc/rpc/svc.h: Likewise.
12949 * sunrpc/rpc/svc_auth.h: Likewise.
12950 * sunrpc/rpc/types.h: Likewise.
12951 * sunrpc/rpc/xdr.h: Likewise.
12952 * sunrpc/rpc_clntout.c: Likewise.
12953 * sunrpc/rpc_cmsg.c: Likewise.
12954 * sunrpc/rpc_common.c: Likewise.
12955 * sunrpc/rpc_cout.c: Likewise.
12956 * sunrpc/rpc_dtable.c: Likewise.
12957 * sunrpc/rpc_hout.c: Likewise.
12958 * sunrpc/rpc_main.c: Likewise.
12959 * sunrpc/rpc_parse.c: Likewise.
12960 * sunrpc/rpc_parse.h: Likewise.
12961 * sunrpc/rpc_prot.c: Likewise.
12962 * sunrpc/rpc_sample.c: Likewise.
12963 * sunrpc/rpc_scan.c: Likewise.
12964 * sunrpc/rpc_scan.h: Likewise.
12965 * sunrpc/rpc_svcout.c: Likewise.
12966 * sunrpc/rpc_tblout.c: Likewise.
12967 * sunrpc/rpc_util.c: Likewise.
12968 * sunrpc/rpc_util.h: Likewise.
12969 * sunrpc/rpcinfo.c: Likewise.
12970 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12971 * sunrpc/rpcsvc/key_prot.x: Likewise.
12972 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12973 * sunrpc/rpcsvc/mount.x: Likewise.
12974 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12975 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12976 * sunrpc/rpcsvc/rex.x: Likewise.
12977 * sunrpc/rpcsvc/rstat.x: Likewise.
12978 * sunrpc/rpcsvc/rusers.x: Likewise.
12979 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12980 * sunrpc/rpcsvc/spray.x: Likewise.
12981 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12982 * sunrpc/rtime.c: Likewise.
12983 * sunrpc/svc.c: Likewise.
12984 * sunrpc/svc_auth.c: Likewise.
12985 * sunrpc/svc_authux.c: Likewise.
12986 * sunrpc/svc_raw.c: Likewise.
12987 * sunrpc/svc_run.c: Likewise.
12988 * sunrpc/svc_simple.c: Likewise.
12989 * sunrpc/svc_tcp.c: Likewise.
12990 * sunrpc/svc_udp.c: Likewise.
12991 * sunrpc/svc_unix.c: Likewise.
12992 * sunrpc/svcauth_des.c: Likewise.
12993 * sunrpc/xcrypt.c: Likewise.
12994 * sunrpc/xdr.c: Likewise.
12995 * sunrpc/xdr_array.c: Likewise.
12996 * sunrpc/xdr_float.c: Likewise.
12997 * sunrpc/xdr_mem.c: Likewise.
12998 * sunrpc/xdr_rec.c: Likewise.
12999 * sunrpc/xdr_ref.c: Likewise.
13000 * sunrpc/xdr_sizeof.c: Likewise.
13001 * sunrpc/xdr_stdio.c: Likewise.
13002
13003 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13004 handling.
13005
13006 2010-08-19 Andreas Schwab <schwab@redhat.com>
13007
13008 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13009
13010 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13011
13012 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13013 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13014 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13015 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13016 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13017 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13018 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13019 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13021 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13022 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13023 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13024 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13025 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13026
13027 2010-07-26 Anton Blanchard <anton@samba.org>
13028
13029 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13030 * malloc/arena.c (heap_trim): Likewise.
13031
13032 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13033
13034 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13035 here. Not...
13036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13037 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13038
13039 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 * sysdeps/i386/elf/Makefile: New file.
13042
13043 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13044
13045 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13046 from fanotify_init.
13047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13049
13050 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13051
13052 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13053 of strncasecmp_l.
13054 * sysdeps/multiarch/strcmp.S: Likewise.
13055
13056 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13057
13058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13059 strncase_l-nonascii.
13060 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13061 Add strncase_l-ssse3.
13062 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13063 * sysdeps/x86_64/strcmp.S: Likewise.
13064 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13065 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13066 * sysdeps/x86_64/strncase.S: New file.
13067 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13068 * sysdeps/x86_64/strncase_l.S: New file.
13069 * string/Makefile (strop-tests): Add strncasecmp.
13070 * string/test-strncasecmp.c: New file.
13071
13072 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13073 warning.
13074
13075 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13076 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13077
13078 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13079
13080 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13081
13082 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13083
13084 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13085 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13086 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13087
13088 2010-05-01 Alan Modra <amodra@gmail.com>
13089
13090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13091 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13092 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13093 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13094 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13095 tidying. Don't tail-call __sigjmp_save for static lib.
13096 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13097 save location.
13098 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13099 (CALL_MCOUNT): Add eh info, and nop after bl.
13100 (TAIL_CALL_SYSCALL_ERROR): New macro.
13101 (PSEUDO_RET): Use it.
13102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13103 Correct save location of integer regs and cr.
13104 (_dl_profile_resolve): Correct cr save location. Delete nops
13105 after bl when SHARED. Reduce cfi size a little by better
13106 placement of cfi directives.
13107 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13108 make a stack frame. Instead use parm save area as a temp.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13110 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13112 Don't make a stack frame for parent, use parm save area.
13113 Increase child stack frame to 112 bytes. Don't save unused reg,
13114 and adjust reg usage. Set up cfi on error recovery and
13115 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13117 (__makecontext): Add dummy nop after jump to exit.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13119 Use correct parm save area and cr save, reduce stack frame.
13120 Correct cfi for possible PSEUDO_RET frame setup.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13122 Branch to local label emitted by PSEUDO_RET rather than
13123 __syscall_error.
13124
13125 2010-08-12 Andreas Schwab <schwab@redhat.com>
13126
13127 [BZ #11904]
13128 * locale/programs/locale.c (print_assignment): New function.
13129 (show_locale_vars): Use it.
13130
13131 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13132
13133 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13134 field.
13135 (struct statfs64): Likewise.
13136 (_STATFS_F_FLAGS): Define.
13137 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13139 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13140 (ST_VALID): Define locally.
13141 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13142 __statvfs_getflags, use the provided value.
13143 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13144 __ASSUME_STATFS_F_FLAGS.
13145
13146 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13147
13148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13149 Add sys/fanotify.h.
13150 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13151 fanotify_mask for GLIBC_2.13.
13152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13153 fanotify_init and fanotify_mark.
13154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13155 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13156
13157 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13158 Add prlimit.
13159 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13160 prlimit64 for GLIBC_2.13.
13161 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13162 prlimit64.
13163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13164 syscall.
13165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13166 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13167 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13168 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13170 add prlimit alias.
13171 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13172
13173 [BZ #11903]
13174 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13175 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13176
13177 * nss/Makefile: Add rules to build and run tst-nss-test1.
13178 * shlib-versions: Add entry for libnss_test1.
13179 * nss/nss_test1.c: New file.
13180 * nss/tst-nss-test1.c: New file.
13181
13182 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13183 (__nss_configure_lookup): Set appropriate entry in
13184 __nss_configure_lookup to true.
13185 * nss/nsswitch.h: Define enum with indeces of databases in
13186 databases and __nss_database_custom arrays. Declare
13187 __nss_database_custom.
13188 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13189 to avoid using nscd when custom rules are installed.
13190 * nss/getXXbyYY_r.c: Likewise.
13191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13192
13193 * nss/nss_files/files-parse.c: Whitespace fixes.
13194
13195 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13196
13197 [BZ #11883]
13198 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13199 * posix/fnmatch_loop.c: Likewise.
13200
13201 2010-07-17 Andi Kleen <ak@linux.intel.com>
13202
13203 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13204 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13205 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13206 * Versions.def [GLIBC_2.13]: Add.
13207
13208 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13209
13210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13211 Also fail if tpwd after pwuid call is NULL.
13212
13213 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13214
13215 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13216 when converting to ms.
13217
13218 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13219
13220 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13221 EOPNOTSUPP errors with ENOTTY.
13222 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13223 EOPNOTSUPP errors with ENOTTY.
13224
13225 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13226
13227 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13228 Add strcasecmp_l-ssse3.
13229 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13230 strcasecmp.
13231 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13232 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13233 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13234
13235 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13236
13237 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13238
13239 * string/Makefile (strop-tests): Add strcasecmp.
13240 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13241 strcasecmp_l-nonascii.
13242 (gen-as-const-headers): Add locale-defines.sym.
13243 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13244 * sysdeps/x86_64/strcasecmp.S: New file.
13245 * sysdeps/x86_64/strcasecmp_l.S: New file.
13246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13247 * sysdeps/x86_64/locale-defines.sym: New file.
13248 * string/test-strcasecmp.c: New file.
13249
13250 * string/test-strcasestr.c: Test both ends of the range of characters.
13251 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13252
13253 2010-07-29 Roland McGrath <roland@redhat.com>
13254
13255 [BZ #11856]
13256 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13257
13258 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13259
13260 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13261 for ld.so.
13262
13263 2010-07-27 Andreas Schwab <schwab@redhat.com>
13264
13265 * manual/memory.texi (Malloc Tunable Parameters): Document
13266 M_PERTURB.
13267
13268 2010-07-26 Roland McGrath <roland@redhat.com>
13269
13270 [BZ #11840]
13271 * configure.in (-fgnu89-inline check): Set and substitute
13272 gnu89_inline, not libc_cv_gnu89_inline.
13273 * configure: Regenerated.
13274 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13275
13276 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13277
13278 * string/test-strnlen.c: New file.
13279 * string/Makefile (strop-tests): Add strnlen.
13280 * string/tester.c (test_strnlen): Add a few more test cases.
13281 * string/tst-strlen.c: Better error reporting.
13282
13283 * sysdeps/x86_64/strnlen.S: New file.
13284
13285 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13286
13287 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13288 lower-latency instructions.
13289
13290 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13291
13292 * string/test-strcasestr.c: New file.
13293 * string/test-strstr.c: New file.
13294 * string/Makefile (strop-tests): Add strstr and strcasestr.
13295 * string/str-two-way.h: Don't undefine MAX.
13296 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13297
13298 2010-07-21 Andreas Schwab <schwab@redhat.com>
13299
13300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13301 strcasestr-nonascii.
13302 (CFLAGS-strcasestr-nonascii.c): Define.
13303 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13304 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13305 Remove unused attribute.
13306
13307 2010-07-20 Roland McGrath <roland@redhat.com>
13308
13309 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13310 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13311 ld.so.cache was broken. With it, there is no way to disable dsocaps
13312 like LD_HWCAP_MASK can disable hwcaps.
13313
13314 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13315
13316 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13317
13318 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13319
13320 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13321 call in strcasestr.
13322 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13323 __strcasestr_sse42_nonascii.
13324 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13325 strcasestr-nonascii.c.
13326 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13327
13328 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13329
13330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13331 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13332 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13333 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13334
13335 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13336
13337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13338 fcntl.
13339
13340 2010-07-06 Andreas Schwab <schwab@redhat.com>
13341
13342 [BZ #11577]
13343 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13344 dl_signal_cerror.
13345
13346 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13347
13348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13349 _PC_PIPE_BUF using F_GETPIPE_SZ.
13350
13351 2010-07-05 Roland McGrath <roland@redhat.com>
13352
13353 * manual/arith.texi (Rounding Functions): Fix rint description
13354 implicit in round description.
13355
13356 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13357
13358 * elf/Makefile: Fix linking for a few tests to make recent linker
13359 happy.
13360
13361 2010-06-30 Andreas Schwab <schwab@redhat.com>
13362
13363 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13364 $(common-objpfx)libc_nonshared.a.
13365
13366 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13367
13368 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13369 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13370 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13371 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13372 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13373 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13374 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13375 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13390 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13391 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13392 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13393 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13394 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13395 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13396 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13397 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13398 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13399 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13400 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13401 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13416
13417 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13418
13419 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13420 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13421 * string/memmove.c (memmove): Renamed to ...
13422 (MEMMOVE): ...this. Default to memmove.
13423 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13424 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13425 (END_CHK): Define.
13426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13427 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13428 mempcpy-ssse3-back memmove-ssse3-back.
13429 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13432 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13433 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13434 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13435 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13436 * sysdeps/x86_64/multiarch/memmove.c: New file.
13437 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13438 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13439 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13440 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13441 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13443 Define.
13444 (index_Fast_Copy_Backward): Define.
13445 (HAS_ARCH_FEATURE): Define.
13446 (HAS_FAST_REP_STRING): Define.
13447 (HAS_FAST_COPY_BACKWARD): Define.
13448
13449 2010-06-21 Andreas Schwab <schwab@redhat.com>
13450
13451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13452 Restore proper fallback handling.
13453
13454 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13455
13456 [BZ #11701]
13457 * posix/group_member.c (__group_member): Correct checking loop.
13458
13459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13460 OOM in getpwuid_r correctly. Return error number when the caller
13461 should return, otherwise -1.
13462 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13463 call returning > 0 value.
13464 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13465
13466 2010-06-07 Andreas Schwab <schwab@redhat.com>
13467
13468 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13469 libc_nonshared.a from targets in modules-names.
13470
13471 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13472
13473 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13474 requires it.
13475
13476 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13477
13478 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13482
13483 2010-06-02 Andreas Schwab <schwab@redhat.com>
13484
13485 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13486
13487 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13488
13489 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13490 and F_GETPIPE_SZ.
13491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13492 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13495 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13496 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13497
13498 2010-06-14 Roland McGrath <roland@redhat.com>
13499
13500 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13501
13502 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13503
13504 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13505 __REDIRECT followed by __THROW.
13506 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13507 * posix/getopt.h (getopt): Likewise.
13508
13509 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13510
13511 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13512 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13513 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13514 in AT_FLAGS.
13515 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13516 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13517
13518 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13519
13520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13521
13522 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13523
13524 [BZ #11640]
13525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13526 Properly check family and model.
13527
13528 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13529
13530 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13531
13532 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13533
13534 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13535
13536 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13537
13538 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13539 symbol reference.
13540
13541 2010-05-19 Andreas Schwab <schwab@redhat.com>
13542
13543 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13544 symbol reference.
13545
13546 2010-05-21 Andreas Schwab <schwab@redhat.com>
13547
13548 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13549 and internal_recvmmsg.
13550 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13551 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13552 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13553 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13554
13555 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13556 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13557 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13558
13559 2010-05-20 Andreas Schwab <schwab@redhat.com>
13560
13561 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13562
13563 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13564
13565 POWER7 optimizations.
13566 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13567 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13568
13569 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13570
13571 * version.h: Update for 2.13 development version.
13572
13573 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13574
13575 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13576 exceptions. Return 0.
13577
13578 2010-05-07 Roland McGrath <roland@redhat.com>
13579
13580 * elf/ldconfig.c (main): Add a const.
13581
13582 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13583
13584 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13585 (args_options): Add no-idn option.
13586 (ahosts_keys_int): Add idn_flags to ai_flags.
13587 (parse_option): Handle 'i' option to clear idn_flags.
13588
13589 * malloc/malloc.c (_int_free): Possible race in the most recently
13590 added check. Only act on the data if no current modification
13591 happened.
13592
13593 See ChangeLog.17 for earlier changes.