]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
soft-fp: Fix used without set warning in _FP_MUL and _FP_DIV
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-12-07 Richard Henderson <rth@redhat.com>
2
3 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4 normal/normal case to before the switch.
5 (_FP_DIV): Likewise.
6
72012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8 Mike Frysinger <vapier@gentoo.org>
9
10 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11 check for __NR_fadvise64_64.
12
132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14
15 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16 0, not just to plain "0" as a statement.
17 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18 with cw.
19
202012-12-06 Joseph Myers <joseph@codesourcery.com>
21
22 * NEWS: Use sourceware.org in Bugzilla URL.
23
242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25
26 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28
29 * stdio-common/tst-put-error.c (do_test): Add newline to the
30 padded test to ensure flush.
31
322012-12-05 Jeff Law <law@redhat.com>
33
34 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35
362012-12-05 Joseph Myers <joseph@codesourcery.com>
37
38 * README: Don't refer to ports add-on as distributed separately.
39 Mention AArch64 in list of systems supported in the ports add-on.
40
41 * LICENSES: Add more non-FSF copyright and license notices.
42
43 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
44 ((unused)).
45
46 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
47
48 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
49 10000 as width of padded output.
50
512012-12-04 Joseph Myers <joseph@codesourcery.com>
52
53 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54
55 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56 variable LX with __attribute__ ((unused)).
57 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58 Likewise.
59 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62 with __attribute__ ((unused)).
63
642012-12-04 David S. Miller <davem@abraco.davemloft.net>
65
66 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67
682012-12-04 Joseph Myers <joseph@codesourcery.com>
69
70 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71 (CFLAGS-nldbl-acos.c): New variable.
72 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
74 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
75 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
76 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
77 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
78 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
79 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
80 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
81 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
82 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
83 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
84 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
85 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
86 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
87 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
88 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
117 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
118 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
138 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
139 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
140 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
141 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
142 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
143 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
144 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
145 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
146 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
147 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
148 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
149 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
150 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
151 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
152 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
153 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
154 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
155 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
156 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
157 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
158 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
159 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
160 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
161 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
162 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
163 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
164 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
165 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
166 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
167 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
168 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
169
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
171 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
172
173 [BZ #14914]
174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
175 whole low double instead of just low 47 bits when splitting values
176 into two parts.
177
1782012-12-03 Allan McRae <allan@archlinux.org>
179
180 * manual/stdio.texi (Predefined Printf Handlers): Remove
181 @hsep and @vsep usage.
182
1832012-12-03 Mike Frysinger <vapier@gentoo.org>
184
185 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
186 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
187
1882012-12-03 Jeff Law <law@redhat.com>
189
190 * time/sys/time.h (settimeofday): Do not mark TV argument
191 as __nonnull.
192
1932012-12-01 Mike Frysinger <vapier@gentoo.org>
194
195 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
196 when currently writing and seek to current position when not.
197 * libio/Makefile (tests): Remove bug-fclose1.
198 * libio/bug-fclose1.c: Delete.
199
2002012-12-01 Joseph Myers <joseph@codesourcery.com>
201
202 * manual/arith.texi (feenableexcept): Fix typo.
203 (fedisableexcept): Likewise.
204
2052012-11-30 Roland McGrath <roland@hack.frob.com>
206
207 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
208 second, differently-typed declaration, rather than a cast.
209
2102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
211
212 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
213 * include/rpc/svc.h: ... here.
214
2152012-11-30 Aurelien Jarno <aurel32@debian.org>
216
217 [BZ #13013]
218 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
219 depending n and resplen2 to catch cases where answer
220 equals answerp2.
221
2222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
223
224 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
225 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
226
2272012-11-29 Mike Frysinger <vapier@gentoo.org>
228
229 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
230
2312012-11-29 Roland McGrath <roland@hack.frob.com>
232
233 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
234
2352012-11-28 Jeff Law <law@redhat.com>
236
237 [BZ #13761]
238 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
239 dataset_temporary. Track alloca usage into alloca_used.
240 If dataset is large allocate and release it via malloc/free.
241
2422012-06-04 Florian Weimer <fweimer@redhat.com>
243
244 [BZ #14197]
245 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
246
2472012-11-28 David S. Miller <davem@davemloft.net>
248
249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
250
2512012-11-28 Joseph Myers <joseph@codesourcery.com>
252
253 [BZ #14803]
254 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
255 of pi/2 rounded to nearest to 64 bits.
256 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
257 nearest to 64 bits.
258 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
259 bits.
260
2612012-11-28 Jeff Law <law@redhat.com>
262 Martin Osvald <mosvald@redhat.com>
263
264 [BZ #14889]
265 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
266 * sunrpc/svc.c: Include time.h.
267 (__svc_accept_failed): New function.
268 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
269 any reason other than EINTR, call __svc_accept_failed.
270 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
271 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
272
2732012-11-28 Andreas Schwab <schwab@suse.de>
274
275 * scripts/abilist.awk: Also handle indirect functions in .opd
276 section.
277
2782012-11-28 Joseph Myers <joseph@codesourcery.com>
279
280 [BZ #13881]
281 * sysdeps/x86/fpu/powl_helper.c: New file.
282 * sysdeps/x86/fpu/Makefile: Likewise.
283 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
284 (p3): New object.
285 (__ieee754_powl): Use __powl_helper for finite arguments except
286 integer exponents below 8.
287 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
288 (p3): New object.
289 (__ieee754_powl): Use __powl_helper for finite arguments except
290 integer exponents below 8.
291 * math/libm-test.inc (pow_test): Add more tests and enable some
292 previously disabled tests.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295
2962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
297 Carlos O'Donell <carlos_odonell@mentor.com>
298
299 * nss/makedb.c (is_prime): Assert that input is odd and greater
300 than 4. Note that fact in a comment too.
301 (next_prime): Add 4 to input.
302
3032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
304
305 [BZ #11741]
306 * libio/Makefile (tests): Add test case tst-fwrite-error.
307 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
308 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
309 * libio/tst-fwrite-error.c: New test case.
310
3112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
312
313 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
314 before casting to void *.
315 * include/libc-internal.h (__pointer_type): New macro.
316 (__integer_if_pointer_type_sub): Likewise.
317 (__integer_if_pointer_type): Likewise.
318 (cast_to_integer): Likewise.
319 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
320 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
321 before casting to atomic64_t.
322 (atomic_exchange_acq): Likewise.
323 (__arch_exchange_and_add_body): Likewise.
324 (__arch_add_body): Likewise.
325 (atomic_add_negative): Likewise.
326 (atomic_add_zero): Likewise.
327
3282012-11-26 Joseph Myers <joseph@codesourcery.com>
329
330 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
331 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
332 (add_fdes): Likewise.
333 (linear_search_fdes): Likewise.
334 (binary_search_unencoded_fdes): Likewise.
335
3362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
337
338 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
339
3402012-11-24 Adam Conrad <adconrad@0c3.net>
341
342 * configure.in: Autodetect C++ header directories.
343 * configure: Regenerated.
344
3452012-11-23 Mike Frysinger <vapier@gentoo.org>
346
347 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
348
3492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
350
351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
352
3532012-11-22 Joseph Myers <joseph@codesourcery.com>
354
355 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
356 LDBL_MANT_DIG == 106]: Disable some tests.
357 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
358 Likewise.
359 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
360 Likewise.
361
362 [BZ #14871]
363 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
364 input for small inputs. Return +/- pi/2 for large inputs.
365 * math/libm-test.inc (atan_test): Add more tests.
366
367 * sysdeps/generic/unwind-dw2-fde-glibc.c
368 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
369 __attribute__ ((unused)).
370
371 [BZ #14645]
372 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
373 x * y if x and y are nonzero and z is zero.
374
375 [BZ #14811]
376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
377 nonzero exponents with absolute value below 0x1p-117 to +/-
378 0x1p-117.
379
380 [BZ #14869]
381 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
382 up arguments below 2**-450, not just those below 2**-500.
383 * math/libm-test.inc (hypot_test): Add another test.
384
385 [BZ #14868]
386 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
387 Return a+b for ratio over 2**120, not 2**60.
388 * math/libm-test.inc (hypot_test): Add another test.
389
390 * math/libm-test.inc (clog_test): Use
391 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
392 (clog10_test): Likewise.
393
394 [BZ #6778]
395 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
396
3972012-11-22 Andreas Schwab <schwab@suse.de>
398
399 * sysdeps/i386/fpu/libm-test-ulps: Update.
400
4012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
402
403 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
404 printf output with newline.
405
4062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
407
408 [BZ #14865]
409 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
410 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
411 -z nodlopen, -z initfirst and -z execstack support.
412 * configure: Regenerated.
413
414 * elf/elf.h (DF_1_NODIRECT): New macro.
415 (DF_1_IGNMULDEF): Likewise.
416 (DF_1_NOKSYMS): Likewise.
417 (DF_1_NOHDR): Likewise.
418 (DF_1_EDITED): Likewise.
419 (DF_1_NORELOC): Likewise.
420 (DF_1_SYMINTPOSE): Likewise.
421 (DF_1_GLOBAUDIT): Likewise.
422 (DF_1_SINGLETON): Likewise.
423 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
424 DT_1_SUPPORTED_MASK bits.
425 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
426
4272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
428
429 * sysdeps/unix/make-syscalls.sh: Document prefixes.
430
4312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
432
433 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
434 macro.
435
436 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
437 (sendmmsg): Move declarations...
438 * socket/sys/socket.h: ... here.
439 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
440 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
441 include it from...
442 * socket/recvmmsg.c: ... this new file.
443 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
444 (sendmmsg): Rename to __sendmmsg, create weak alias and make
445 definition of __sendmmsg hidden.
446 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
447 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
448 Move ENOSYS stub into and include it from...
449 * socket/sendmmsg.c: ... this new file.
450 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
451 (sysdep_routines): Move recvmmsg and sendmmsg...
452 * socket/Makefile (routines): ... here.
453 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
454 (GLIBC_PRIVATE): Add __sendmmsg.
455 * include/sys/socket.h (__sendmmsg): Add declarations.
456 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
457 sendmmsg.
458
4592012-11-20 Joseph Myers <joseph@codesourcery.com>
460
461 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
462 variable I1 with __attribute__ ((unused)).
463 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
464
4652012-11-19 Joseph Myers <joseph@codesourcery.com>
466
467 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
468 DUMMY variables with __attribute__ ((unused)).
469
470 * bits/byteswap.h: Include <bits/types.h>.
471 (__bswap_64): Use __uint64_t instead of unsigned long long int.
472
4732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
474
475 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
476 string_t. Do not manually set errno.
477 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
478 length with __strnlen. Make sure to both set errno and return it on
479 failure.
480
4812012-11-19 David S. Miller <davem@davemloft.net>
482
483 With help from Joseph Myers.
484 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
485 very large arguments properly.
486 * math/libm-test.inc (atan_test): New tests.
487 (atan2_test): New tests.
488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
490
4912012-11-19 Joseph Myers <joseph@codesourcery.com>
492
493 [BZ #14856]
494 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
495 Define to 3.
496
497 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
498 [POSIX] (EADDRNOTAVAIL): Likewise.
499 [POSIX] (EAFNOSUPPORT): Likewise.
500 [POSIX] (EALREADY): Likewise.
501 [POSIX] (ECONNABORTED): Likewise.
502 [POSIX] (ECONNREFUSED): Likewise.
503 [POSIX] (ECONNRESET): Likewise.
504 [POSIX] (EDESTADDRREQ): Likewise.
505 [POSIX] (EDQUOT): Likewise.
506 [POSIX] (EHOSTUNREACH): Likewise.
507 [POSIX] (EIDRM): Likewise.
508 [POSIX] (EISCONN): Likewise.
509 [POSIX] (ELOOP): Likewise.
510 [POSIX] (EMULTIHOP): Likewise.
511 [POSIX] (ENETDOWN): Likewise.
512 [POSIX] (ENETUNREACH): Likewise.
513 [POSIX] (ENOBUFS): Likewise.
514 [POSIX] (ENODATA): Likewise.
515 [POSIX] (ENOLINK): Likewise.
516 [POSIX] (ENOMSG): Likewise.
517 [POSIX] (ENOPROTOOPT): Likewise.
518 [POSIX] (ENOSR): Likewise.
519 [POSIX] (ENOSTR): Likewise.
520 [POSIX] (ENOTCONN): Likewise.
521 [POSIX] (ENOTSOCK): Likewise.
522 [POSIX] (EOPNOTSUPP): Likewise.
523 [POSIX] (EOVERFLOW): Likewise.
524 [POSIX] (EPROTO): Likewise.
525 [POSIX] (EPROTONOSUPPORT): Likewise.
526 [POSIX] (EPROTOTYPE): Likewise.
527 [POSIX] (ESTALE): Likewise.
528 [POSIX] (ETIME): Likewise.
529 [POSIX] (ETXTBSY): Likewise.
530 [POSIX] (EWOULDBLOCK): Likewise.
531 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
532 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
533 [POSIX] (SEEK_CUR): Likewise.
534 [POSIX] (SEEK_END): Likewise.
535 [POSIX || UNIX98] (mode_t): Do not require.
536 [POSIX] (off_t): Likewise.
537 [POSIX] (pid_t): Likewise.
538 [POSIX] (sys/stat.h): Do not allow header.
539 [POSIX] (unistd.h): Likewise.
540 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
541 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
542 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
543 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
544 require.
545 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
546 sigevent): Specify elements.
547 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
548 entry.
549 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
550 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
551
552 * conform/data/cpio.h-data [POSIX]: Disable whole file.
553 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
554 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
555 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
556 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
557 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
558 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
559 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
560 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
561 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
562 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
563 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
564 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
566 Likewise.
567 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
568 Likewise.
569 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
570 Likewise.
571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
572 Likewise.
573 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
574 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
575 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
576 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
577 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
578 Specify lower bound on value.
579 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
580 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
581 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
582 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
583 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
584 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
585 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
586 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
587 value.
588 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
589 as optional.
590 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
591 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
592 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
593 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
594 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
595 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
596 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
597 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
598 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
599 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
600 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
601 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
602 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
603 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
604 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
605 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
606 entry.
607 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
608 optional.
609 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
610 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
611 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
612 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
613 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
614 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
615 Likewise.
616 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
617 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
618 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
619 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
620 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
621 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
622 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
623 as optional.
624 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
625 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
626 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
627 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
628 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
629 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
630 specify as optional.
631 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
632 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
633 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
634 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
635 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
636 [XPG3] (NL_LANGMAX): Likewise.
637 [POSIX || XPG3] (NL_MSGMAX): Likewise.
638 [POSIX || XPG3] (NL_NMAX): Likewise.
639 [POSIX || XPG3] (NL_SETMAX): Likewise.
640 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
641 [XPG3] (NZERO): Likewise.
642 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
643 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
644 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
645 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
646 (REG_ERANGE): Expect.
647 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
648 optional-constant.
649 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
650 Use (void) in prototype.
651 [POSIX] (*_t): Allow.
652 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
653 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
654 (WRDE_BADVAL): Expect.
655
656 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
657 expect.
658 [XPG3 || XPG4] (O_RSYNC): Likewise.
659 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
660 Likewise.
661 [XPG3 || XPG4] (pthread_sigmask): Likewise.
662 [XPG3 || XPG4] (sigqueue): Likewise.
663 [XPG3 || XPG4] (sigtimedwait): Likewise.
664 [XPG3 || XPG4] (sigwaitinfo): Likewise.
665 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
666 [XPG3 || XPG4] (vsnprintf): Likewise.
667 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
668 Likewise.
669 [XPG3 || XPG4] (blksize_t): Likewise.
670 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
671 Likewise.
672 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
673 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
674 [XPG3 || XPG4] (struct itimerspec): Likewise.
675 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
676 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
677 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
678 [XPG3 || XPG4] (clockid_t): Likewise.
679 [XPG3 || XPG4] (timer_t): Likewise.
680 [XPG3 || XPG4] (clock_getres): Likewise.
681 [XPG3 || XPG4] (clock_gettime): Likewise.
682 [XPG3 || XPG4] (clock_settime): Likewise.
683 [XPG3 || XPG4] (nanosleep): Likewise.
684 [XPG3 || XPG4] (timer_create): Likewise.
685 [XPG3 || XPG4] (timer_delete): Likewise.
686 [XPG3 || XPG4] (timer_gettime): Likewise.
687 [XPG3 || XPG4] (timer_getoverrun): Likewise.
688 [XPG3 || XPG4] (timer_settime): Likewise.
689 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
690 [XPG3 || XPG4] (getlogin_r): Likewise.
691 [XPG3 || XPG4] (pread): Likewise.
692 [XPG3 || XPG4] (pthread_atfork): Likewise.
693 [XPG3 || XPG4] (pwrite): Likewise.
694
695 [BZ #14835]
696 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
697 <bits/siginfo.h>.
698
6992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
700
701 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
702 finalizing MALLSTREAM.
703
704 * sysdeps/mach/hurd/syncfs.c: New file.
705
7062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
707
708 [BZ #14719]
709 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
710 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
711 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
712 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
713 (_nss_dns_gethostbyname4_r): Likewise.
714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
715 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
716
7172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
718
719 [BZ #13763]
720 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
721
7222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
723
724 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
725 * elf/cache.c (print_entry): Print ",AArch64" for
726 FLAG_AARCH64_LIB64
727
728 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
729 * elf/cache.c (print_entry): Print ",hard-float" for
730 FLAG_ARM_LIBHF.
731
7322012-11-18 David S. Miller <davem@davemloft.net>
733
734 With help from Joseph Myers.
735 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
736 cutoff to 2**-13.
737 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
738 cutoff to 2**-25.
739 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
740 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
741 small.
742 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
743 * math/libm-test.inc (y0_test): New tests.
744 (y1_test): New tests.
745 * sysdeps/i386/fpu/libm-test-ulps: Update.
746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
748
7492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
750
751 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
752 64-bit targets.
753 * configure: Regenerated.
754
7552012-11-17 David S. Miller <davem@davemloft.net>
756
757 [BZ #14811]
758 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
759 nonzero exponents with absolute value below 0x1p-128 to +/-
760 0x1p-128.
761
7622012-11-17 Joseph Myers <joseph@codesourcery.com>
763
764 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
765
766 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
767
768 * posix/getconf-speclist.c: New file.
769 * posix/posix-envs.def: Likewise.
770 * posix/confstr.c (START_ENV_GROUP): New macro.
771 (END_ENV_GROUP): Likewise.
772 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
773 (KNOWN_PRESENT_ENV_STRING): Likewise.
774 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
775 (UNKNOWN_ENVIRONMENT): Likewise.
776 (confstr): Include posix-envs.def instead of handling
777 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
778 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
779 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
780 (END_ENV_GROUP): Likewise.
781 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
782 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
783 (UNKNOWN_ENVIRONMENT): Likewise.
784 (__sysconf): Include posix-envs.def instead of handling associated
785 cases directly here.
786 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
787 preprocessing getconf-speclist.c rather than running getconf or
788 generating empty file.
789
7902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
791
792 * scripts/check-local-headers.sh: Ignore 'mach' headers.
793
7942012-11-16 Andrej Lajovic <natrij@gmail.com>
795
796 [BZ #14672]
797 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
798
7992012-11-16 David S. Miller <davem@davemloft.net>
800
801 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
802 smaller than LDBL_EPSILON/2.0L, just return xm1.
803
8042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
805
806 * elf/tst-array1.c (init): Set constructor priority to 1000.
807 (fini): Set destructor priority to 1000.
808 * elf/tst-array2dep.c: Likewise.
809
8102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
811
812 [BZ #11741]
813 * libio/fileops.c (_IO_new_file_write): Correctly return error.
814 (_IO_new_file_xsputn): Also return EOF if none of the input
815 data was written when overflow failed.
816 * libio/iopadn.c (_IO_padn): Likewise.
817 * libio/iowpadn.c (_IO_wpadn): Likewise.
818 * stdio-common/tst-put-error.c: Add copyright notice.
819 (do_test): Add case for printing padded string.
820 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
821 _IO_padn returned error.
822 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
823 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
824 return EOF.
825
8262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
827
828 * libio/libioP.h: Add comment note that the references to C++
829 bits are now obsolete.
830
8312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
832
833 * math/libm-test.inc (check_complex): Use asprintf.
834
8352012-11-14 Joseph Myers <joseph@codesourcery.com>
836
837 * debug/pcprofiledump.c (print_version): Update copyright year.
838 * malloc/memusagestat.c (print_version): Likewise.
839
8402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
841
842 [BZ #14831]
843 * elf/Makefile (tests): Add tst-audit8.
844 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
845 ($(objpfx)tst-audit8.out): New target.
846 (tst-audit8-ENV): New variable.
847 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
848 audit if l_reloc_result is NULL.
849 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
850 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
851 * elf/tst-audit8.c: New file.
852
8532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
854
855 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
856 * misc/Makefile (CFLAGS-select.c): Define.
857 * posix/Makefile (CFLAGS-pause.c): Define.
858
8592012-11-13 David S. Miller <davem@davemloft.net>
860
861 * crypt/Makefile: Move test targets after toplevel Rules
862 inclusion. Grab any necessary sysdep routines when linking.
863 * crypt/md5.c (md5_process_block): Remove define, we will always
864 name it __md5_process_block.
865 (md5_finish_ctx): Update md5_process_block call.
866 (md5_stream): Likewise.
867 (md5_process_bytes): Likewise.
868 (md5_process_block): Rename to __md5_process_block and move to ...
869 * crypt/md5-block.c: ... here.
870 * crypt/sha256.c (sha256_process_block): Move to ...
871 * crypt/sha256-block.c: ... here.
872 * crypt/sha512.c (sha512_process_block): Move to ...
873 * crypt/sha512-block.c: ... here.
874 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
875 path.
876 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
877 * sysdeps/sparc/sparc64/multiarch/Makefile
878 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
879 crypt subdir.
880 (localedef-aux): Add md5 crypto assembler when in locale subdir.
881 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
882 multiarch changes.
883 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
884 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
885 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
886 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
887 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
888 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
889 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
890 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
891 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
892 file.
893 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
894 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
895 file.
896 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
897
8982012-11-13 Joseph Myers <joseph@codesourcery.com>
899
900 * timezone/tzselect.ksh: Update from tzcode git revision
901 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
902 * timezone/zdump.c: Likewise.
903 * timezone/zic.c: Likewise.
904 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
905 in TZVERSION setting, not $(PKGVERSION).
906 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
907 REPORT_BUGS_TO settings.
908
909 [BZ #14838]
910 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
911 macro.
912
9132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
914
915 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
916 detection to immediately after _FP_ROUND().
917 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
918 bits are 0.
919
9202012-11-11 David S. Miller <davem@davemloft.net>
921
922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
923 inttypes.h
924 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
925 __close rather than their public counterparts.
926
9272012-11-10 Joseph Myers <joseph@codesourcery.com>
928
929 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
930 file.
931 [UNIX98] (sem_timedwait): Do not expect.
932 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
933 [XPG4 || UNIX98] (sockatmark): Do not expect.
934 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
935 (clock_getcpuclockid): Do not expect.
936 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
937 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
938 Do not expect.
939 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
940 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
941 [UNIX98] (vwscanf): Likewise.
942 [UNIX98] (vswscanf): Likewise.
943
9442012-11-09 Joseph Myers <joseph@codesourcery.com>
945
946 * timezone/version.h: Remove file.
947 * timezone/README: Do not refer to version.h.
948 * timezone/Makefile ($(objpfx)zic.o): New dependency on
949 $(objpfx)version.h.
950 ($(objpfx)zdump.o): Likewise.
951 ($(objpfx)version.h): New target.
952
953 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
954 2012i.
955 * timezone/README: Don't mention modification to tzselect.ksh.
956 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
957 work on unmodified tzselect.ksh. Substitute version numbers in
958 tzselect.ksh.
959
960 * Makefile (format-me): Remove.
961 (INSTALL): Adjust indentation. Use commands directly instead of
962 using $(format-me).
963
964 * aclocal.m4 (ACX_PKGVERSION): New macro.
965 (ACX_BUGURL): Likewise.
966 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
967 (PKGVERSION): New AC_DEFINE_UNQUOTED.
968 (REPORT_BUGS_TO): Likewise.
969 * configure: Regenerated.
970 * config.h.in (PKGVERSION): New macro.
971 (REPORT_BUGS_TO): Likewise.
972 * config.make.in (PKGVERSION): New variable.
973 (PKGVERSION_TEXI): Likewise.
974 (REPORT_BUGS_TO): Likewise.
975 (REPORT_BUGS_TEXI): Likewise.
976 * Makefile (format-me): Use -I$(common-objpfx)manual.
977 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
978 ($(common-objpfx)manual/%): New target.
979 (manual/%): Remove target.
980 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
981 (print_version): Use PKGVERSION.
982 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
983 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
984 and REPORT_BUGS_TO.
985 ($(objpfx)xtrace): Likewise.
986 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
987 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
988 (print_version): Use PKGVERSION.
989 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
990 (do_version): Use PKGVERSION.
991 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
992 REPORT_BUGS_TO.
993 (common-ldd-rewrite): Likewise.
994 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
995 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
996 (print_version): Use PKGVERSION.
997 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
998 * elf/pldd.c (argp_program_bug_address): Remove variable.
999 (more_help): New function.
1000 (argp): Use more_help.
1001 (print_version): Use PKGVERSION.
1002 * elf/sln.c (main): Use PKGVERSION.
1003 (usage): Use REPORT_BUGS_TO.
1004 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1005 (top level): Use PKGVERSION.
1006 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1007 (print_version): Use PKGVERSION.
1008 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1009 (print_version): Use PKGVERSION.
1010 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1011 (print_version): Use PKGVERSION.
1012 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1013 (print_version): Use PKGVERSION.
1014 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1015 (print_version): Use PKGVERSION.
1016 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1017 (print_version): Use PKGVERSION.
1018 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1019 and BUGURL.
1020 ($(objpfx)memusage): Likewise.
1021 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1022 (do_version): Use PKGVERSION.
1023 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1024 (print_version): Use PKGVERSION.
1025 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1026 ($PKGVERSION): New variable.
1027 ($REPORT_BUGS_TO): Likewise.
1028 (usage): Use $REPORT_BUGS_TO.
1029 (top level): Use $PKGVERSION.
1030 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1031 ($(objpfx)pkgvers.texi): New rule.
1032 ($(objpfx)stamp-pkgvers): Likewise.
1033 * manual/install.texi: Include pkgvers.texi.
1034 (--with-pkgversion): Document new configure option.
1035 (--with-bugurl): Likewise.
1036 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1037 than necessarily for this particular distribution. Use
1038 REPORT_BUGS_TO for where to report bugs.
1039 * INSTALL: Regenerated.
1040 * manual/libc.texinfo: Include pkgvers.texi.
1041 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1042 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1043 (print_version): Use PKGVERSION.
1044 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1045 (print_version): Use PKGVERSION.
1046 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1047 (print_version): Use PKGVERSION.
1048 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1049 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1050 macro.
1051 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1052 (print_version): Use PKGVERSION.
1053 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1054 (print_version): Use PKGVERSION.
1055 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1056 and PKGVERSION.
1057
1058 * timezone/checktab.awk: Update from tzcode 2012i.
1059 * timezone/ialloc.c: Likewise.
1060 * timezone/private.h: Likewise.
1061 * timezone/scheck.c: Likewise.
1062 * timezone/tzfile.h: Likewise.
1063 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1064 (TZVERSION): Hardcode tzcode version number.
1065 * timezone/zdump.c: Update from tzcode 2012i.
1066 * timezone/zic.c: Likewise.
1067 * timezone/version.h: New file.
1068 * timezone/README: Describe version.h. Update upstream location.
1069
1070 [BZ #14824]
1071 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1072 (mktemp): Enable declaration.
1073 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1075 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1077 Likewise.
1078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1079 Likewise.
1080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1081 Likewise.
1082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1083 Likewise.
1084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1085 Likewise.
1086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1087 Likewise.
1088
1089 [BZ #14821]
1090 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1091 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1092 for copies of such integer values.
1093 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1094 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1095
10962012-11-09 Andreas Jaeger <aj@suse.de>
1097
1098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1099 definitions and declarations that are provided by
1100 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1101
11022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1103
1104 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1105 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1106 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1107 definition.
1108
11092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1110
1111 * elf/elf.h: Update comment before AArch64 relocations.
1112
11132012-11-07 David S. Miller <davem@davemloft.net>
1114
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1116 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1117 (__start_context): Declare.
1118 (__makecontext_ret): Delete.
1119 (__makecontext): Hook up __start_context instead of
1120 __makecontext_ret.
1121 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1122 (sysdep_routines): Add __start_context when in stdlib.
1123
11242012-11-07 Joseph Myers <joseph@codesourcery.com>
1125
1126 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1127 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1128 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1129 hardcoded "nm".
1130 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1131 (READELF): New variable. Use it instead of hardcoded "readelf".
1132
11332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1134
1135 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1136 * sysdeps/x86/Makefile: Here.
1137 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1138 * sysdeps/x86/tst-xmmymm.sh: This.
1139
11402012-11-07 Joseph Myers <joseph@codesourcery.com>
1141
1142 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1143 expectations.
1144 [UNIX98] (pthread_barrier_t): Do not expect.
1145 [UNIX98] (pthread_barrierattr_t): Likewise.
1146 [UNIX98] (pthread_spinlock_t): Likewise.
1147 [UNIX98] (pthread_barrier_destroy): Likewise.
1148 [UNIX98] (pthread_barrier_init): Likewise.
1149 [UNIX98] (pthread_barrier_wait): Likewise.
1150 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1151 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1152 [UNIX98] (pthread_barrierattr_init): Likewise.
1153 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1154 [UNIX98] (pthread_getcpuclockid): Likewise.
1155 [UNIX98] (pthread_mutex_timedlock): Likewise.
1156 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1157 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1158 [UNIX98] (pthread_sigmask): Likewise.
1159 [UNIX98] (pthread_spin_destroy): Likewise.
1160 [UNIX98] (pthread_spin_init): Likewise.
1161 [UNIX98] (pthread_spin_lock): Likewise.
1162 [UNIX98] (pthread_spin_trylock): Likewise.
1163 [UNIX98] (pthread_spin_unlock): Likewise.
1164 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1165 Do not expect.
1166 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1167 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1168 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1169 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1170 [XPG3 || XPG4] (pthread_key_t): Likewise.
1171 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1172 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1173 [XPG3 || XPG4] (pthread_once_t): Likewise.
1174 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1175 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1176 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1177 [XPG3 || XPG4] (pthread_t): Likewise.
1178
1179 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1180 not expect.
1181 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1182
1183 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1184 Change function return type to int.
1185
1186 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1187 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1188 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1189 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1190 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1191 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1192 [!POSIX] (posix_madvise): Likewise.
1193 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1194 && !UNIX98].
1195 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1196 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1197 (mode_t): Likewise.
1198 (posix_mem_offset): Likewise.
1199 (posix_typed_mem_get_info): Likewise.
1200 (posix_typed_mem_open): Likewise.
1201
1202 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1203 Change condition to [XOPEN2K8].
1204
1205 * conform/conformtest.pl: Preprocess allow-header data with -x c
1206 instead of from stdin.
1207 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1208 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1209 [C99-based standards] (cerfc): Likewise.
1210 [C99-based standards] (cexp2): Likewise.
1211 [C99-based standards] (cexpm1): Likewise.
1212 [C99-based standards] (clog10): Likewise.
1213 [C99-based standards] (clog1p): Likewise.
1214 [C99-based standards] (clog2): Likewise.
1215 [C99-based standards] (clgamma): Likewise.
1216 [C99-based standards] (ctgamma): Likewise.
1217 [C99-based standards] (cerff): Likewise.
1218 [C99-based standards] (cerfcf): Likewise.
1219 [C99-based standards] (cexp2f): Likewise.
1220 [C99-based standards] (cexpm1f): Likewise.
1221 [C99-based standards] (clog10f): Likewise.
1222 [C99-based standards] (clog1pf): Likewise.
1223 [C99-based standards] (clog2f): Likewise.
1224 [C99-based standards] (clgammaf): Likewise.
1225 [C99-based standards] (ctgammaf): Likewise.
1226 [C99-based standards] (cerfl): Likewise.
1227 [C99-based standards] (cerfcl): Likewise.
1228 [C99-based standards] (cexp2l): Likewise.
1229 [C99-based standards] (cexpm1l): Likewise.
1230 [C99-based standards] (clog10l): Likewise.
1231 [C99-based standards] (clog1pl): Likewise.
1232 [C99-based standards] (clog2l): Likewise.
1233 [C99-based standards] (clgammal): Likewise.
1234 [C99-based standards] (ctgammal): Likewise.
1235 * conform/data/inttypes.h-data [C99-based standards]: Include
1236 stdint.h-data. Remove all expectations for stdint.h contents.
1237 [C99-based standards] (PRI*): Do not allow.
1238 [C99-based standards] (SCN*): Likewise.
1239 [C99-based standards] (*_t): Likewise.
1240 [C99-based-standards] (PRId8): Expect macro.
1241 [C99-based-standards] (PRIi8): Likewise.
1242 [C99-based-standards] (PRIo8): Likewise.
1243 [C99-based-standards] (PRIu8): Likewise.
1244 [C99-based-standards] (PRIx8): Likewise.
1245 [C99-based-standards] (PRIX8): Likewise.
1246 [C99-based-standards] (SCNd8): Likewise.
1247 [C99-based-standards] (SCNi8): Likewise.
1248 [C99-based-standards] (SCNo8): Likewise.
1249 [C99-based-standards] (SCNu8): Likewise.
1250 [C99-based-standards] (SCNx8): Likewise.
1251 [C99-based-standards] (PRIdLEAST8): Likewise.
1252 [C99-based-standards] (PRIiLEAST8): Likewise.
1253 [C99-based-standards] (PRIoLEAST8): Likewise.
1254 [C99-based-standards] (PRIuLEAST8): Likewise.
1255 [C99-based-standards] (PRIxLEAST8): Likewise.
1256 [C99-based-standards] (PRIXLEAST8): Likewise.
1257 [C99-based-standards] (SCNdLEAST8): Likewise.
1258 [C99-based-standards] (SCNiLEAST8): Likewise.
1259 [C99-based-standards] (SCNoLEAST8): Likewise.
1260 [C99-based-standards] (SCNuLEAST8): Likewise.
1261 [C99-based-standards] (SCNxLEAST8): Likewise.
1262 [C99-based-standards] (PRIdFAST8): Likewise.
1263 [C99-based-standards] (PRIiFAST8): Likewise.
1264 [C99-based-standards] (PRIoFAST8): Likewise.
1265 [C99-based-standards] (PRIuFAST8): Likewise.
1266 [C99-based-standards] (PRIxFAST8): Likewise.
1267 [C99-based-standards] (PRIXFAST8): Likewise.
1268 [C99-based-standards] (SCNdFAST8): Likewise.
1269 [C99-based-standards] (SCNiFAST8): Likewise.
1270 [C99-based-standards] (SCNoFAST8): Likewise.
1271 [C99-based-standards] (SCNuFAST8): Likewise.
1272 [C99-based-standards] (SCNxFAST8): Likewise.
1273 [C99-based-standards] (PRId16): Likewise.
1274 [C99-based-standards] (PRIi16): Likewise.
1275 [C99-based-standards] (PRIo16): Likewise.
1276 [C99-based-standards] (PRIu16): Likewise.
1277 [C99-based-standards] (PRIx16): Likewise.
1278 [C99-based-standards] (PRIX16): Likewise.
1279 [C99-based-standards] (SCNd16): Likewise.
1280 [C99-based-standards] (SCNi16): Likewise.
1281 [C99-based-standards] (SCNo16): Likewise.
1282 [C99-based-standards] (SCNu16): Likewise.
1283 [C99-based-standards] (SCNx16): Likewise.
1284 [C99-based-standards] (PRIdLEAST16): Likewise.
1285 [C99-based-standards] (PRIiLEAST16): Likewise.
1286 [C99-based-standards] (PRIoLEAST16): Likewise.
1287 [C99-based-standards] (PRIuLEAST16): Likewise.
1288 [C99-based-standards] (PRIxLEAST16): Likewise.
1289 [C99-based-standards] (PRIXLEAST16): Likewise.
1290 [C99-based-standards] (SCNdLEAST16): Likewise.
1291 [C99-based-standards] (SCNiLEAST16): Likewise.
1292 [C99-based-standards] (SCNoLEAST16): Likewise.
1293 [C99-based-standards] (SCNuLEAST16): Likewise.
1294 [C99-based-standards] (SCNxLEAST16): Likewise.
1295 [C99-based-standards] (PRIdFAST16): Likewise.
1296 [C99-based-standards] (PRIiFAST16): Likewise.
1297 [C99-based-standards] (PRIoFAST16): Likewise.
1298 [C99-based-standards] (PRIuFAST16): Likewise.
1299 [C99-based-standards] (PRIxFAST16): Likewise.
1300 [C99-based-standards] (PRIXFAST16): Likewise.
1301 [C99-based-standards] (SCNdFAST16): Likewise.
1302 [C99-based-standards] (SCNiFAST16): Likewise.
1303 [C99-based-standards] (SCNoFAST16): Likewise.
1304 [C99-based-standards] (SCNuFAST16): Likewise.
1305 [C99-based-standards] (SCNxFAST16): Likewise.
1306 [C99-based-standards] (PRId32): Likewise.
1307 [C99-based-standards] (PRIi32): Likewise.
1308 [C99-based-standards] (PRIo32): Likewise.
1309 [C99-based-standards] (PRIu32): Likewise.
1310 [C99-based-standards] (PRIx32): Likewise.
1311 [C99-based-standards] (PRIX32): Likewise.
1312 [C99-based-standards] (SCNd32): Likewise.
1313 [C99-based-standards] (SCNi32): Likewise.
1314 [C99-based-standards] (SCNo32): Likewise.
1315 [C99-based-standards] (SCNu32): Likewise.
1316 [C99-based-standards] (SCNx32): Likewise.
1317 [C99-based-standards] (PRIdLEAST32): Likewise.
1318 [C99-based-standards] (PRIiLEAST32): Likewise.
1319 [C99-based-standards] (PRIoLEAST32): Likewise.
1320 [C99-based-standards] (PRIuLEAST32): Likewise.
1321 [C99-based-standards] (PRIxLEAST32): Likewise.
1322 [C99-based-standards] (PRIXLEAST32): Likewise.
1323 [C99-based-standards] (SCNdLEAST32): Likewise.
1324 [C99-based-standards] (SCNiLEAST32): Likewise.
1325 [C99-based-standards] (SCNoLEAST32): Likewise.
1326 [C99-based-standards] (SCNuLEAST32): Likewise.
1327 [C99-based-standards] (SCNxLEAST32): Likewise.
1328 [C99-based-standards] (PRIdFAST32): Likewise.
1329 [C99-based-standards] (PRIiFAST32): Likewise.
1330 [C99-based-standards] (PRIoFAST32): Likewise.
1331 [C99-based-standards] (PRIuFAST32): Likewise.
1332 [C99-based-standards] (PRIxFAST32): Likewise.
1333 [C99-based-standards] (PRIXFAST32): Likewise.
1334 [C99-based-standards] (SCNdFAST32): Likewise.
1335 [C99-based-standards] (SCNiFAST32): Likewise.
1336 [C99-based-standards] (SCNoFAST32): Likewise.
1337 [C99-based-standards] (SCNuFAST32): Likewise.
1338 [C99-based-standards] (SCNxFAST32): Likewise.
1339 [C99-based-standards] (PRId64): Likewise.
1340 [C99-based-standards] (PRIi64): Likewise.
1341 [C99-based-standards] (PRIo64): Likewise.
1342 [C99-based-standards] (PRIu64): Likewise.
1343 [C99-based-standards] (PRIx64): Likewise.
1344 [C99-based-standards] (PRIX64): Likewise.
1345 [C99-based-standards] (SCNd64): Likewise.
1346 [C99-based-standards] (SCNi64): Likewise.
1347 [C99-based-standards] (SCNo64): Likewise.
1348 [C99-based-standards] (SCNu64): Likewise.
1349 [C99-based-standards] (SCNx64): Likewise.
1350 [C99-based-standards] (PRIdLEAST64): Likewise.
1351 [C99-based-standards] (PRIiLEAST64): Likewise.
1352 [C99-based-standards] (PRIoLEAST64): Likewise.
1353 [C99-based-standards] (PRIuLEAST64): Likewise.
1354 [C99-based-standards] (PRIxLEAST64): Likewise.
1355 [C99-based-standards] (PRIXLEAST64): Likewise.
1356 [C99-based-standards] (SCNdLEAST64): Likewise.
1357 [C99-based-standards] (SCNiLEAST64): Likewise.
1358 [C99-based-standards] (SCNoLEAST64): Likewise.
1359 [C99-based-standards] (SCNuLEAST64): Likewise.
1360 [C99-based-standards] (SCNxLEAST64): Likewise.
1361 [C99-based-standards] (PRIdFAST64): Likewise.
1362 [C99-based-standards] (PRIiFAST64): Likewise.
1363 [C99-based-standards] (PRIoFAST64): Likewise.
1364 [C99-based-standards] (PRIuFAST64): Likewise.
1365 [C99-based-standards] (PRIxFAST64): Likewise.
1366 [C99-based-standards] (PRIXFAST64): Likewise.
1367 [C99-based-standards] (SCNdFAST64): Likewise.
1368 [C99-based-standards] (SCNiFAST64): Likewise.
1369 [C99-based-standards] (SCNoFAST64): Likewise.
1370 [C99-based-standards] (SCNuFAST64): Likewise.
1371 [C99-based-standards] (SCNxFAST64): Likewise.
1372 [C99-based-standards] (PRIdMAX): Likewise.
1373 [C99-based-standards] (PRIiMAX): Likewise.
1374 [C99-based-standards] (PRIoMAX): Likewise.
1375 [C99-based-standards] (PRIuMAX): Likewise.
1376 [C99-based-standards] (PRIxMAX): Likewise.
1377 [C99-based-standards] (PRIXMAX): Likewise.
1378 [C99-based-standards] (SCNdMAX): Likewise.
1379 [C99-based-standards] (SCNiMAX): Likewise.
1380 [C99-based-standards] (SCNoMAX): Likewise.
1381 [C99-based-standards] (SCNuMAX): Likewise.
1382 [C99-based-standards] (SCNxMAX): Likewise.
1383 [C99-based-standards] (PRIdPTR): Likewise.
1384 [C99-based-standards] (PRIiPTR): Likewise.
1385 [C99-based-standards] (PRIoPTR): Likewise.
1386 [C99-based-standards] (PRIuPTR): Likewise.
1387 [C99-based-standards] (PRIxPTR): Likewise.
1388 [C99-based-standards] (PRIXPTR): Likewise.
1389 [C99-based-standards] (SCNdPTR): Likewise.
1390 [C99-based-standards] (SCNiPTR): Likewise.
1391 [C99-based-standards] (SCNoPTR): Likewise.
1392 [C99-based-standards] (SCNuPTR): Likewise.
1393 [C99-based-standards] (SCNxPTR): Likewise.
1394 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1395 allow.
1396 * conform/data/stdint.h-data: Update comments to clarify
1397 requirements.
1398 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1399 type.
1400 [C99-based standards] (INT8_MAX): Likewise.
1401 [C99-based standards] (INT16_MIN): Likewise.
1402 [C99-based standards] (INT16_MAX): Likewise.
1403 [C99-based standards] (INT32_MIN): Likewise.
1404 [C99-based standards] (INT32_MAX): Likewise.
1405 [C99-based standards] (INT64_MIN): Likewise.
1406 [C99-based standards] (INT64_MAX): Likewise.
1407 [C99-based standards] (UINT8_MAX): Likewise.
1408 [C99-based standards] (UINT16_MAX): Likewise.
1409 [C99-based standards] (UINT32_MAX): Likewise.
1410 [C99-based standards] (UINT64_MAX): Likewise.
1411 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1412 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1413 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1414 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1415 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1416 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1417 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1418 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1419 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1420 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1421 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1422 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1423 [C99-based standards] (INT_FAST8_MIN): Likewise.
1424 [C99-based standards] (INT_FAST8_MAX): Likewise.
1425 [C99-based standards] (INT_FAST16_MIN): Likewise.
1426 [C99-based standards] (INT_FAST16_MAX): Likewise.
1427 [C99-based standards] (INT_FAST32_MIN): Likewise.
1428 [C99-based standards] (INT_FAST32_MAX): Likewise.
1429 [C99-based standards] (INT_FAST64_MIN): Likewise.
1430 [C99-based standards] (INT_FAST64_MAX): Likewise.
1431 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1432 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1433 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1434 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1435 [C99-based standards] (INTPTR_MIN): Likewise.
1436 [C99-based standards] (INTPTR_MAX): Likewise.
1437 [C99-based standards] (UINTPTR_MAX): Likewise.
1438 [C99-based standards] (INTMAX_MIN): Likewise.
1439 [C99-based standards] (INTMAX_MAX): Likewise.
1440 [C99-based standards] (UINTMAX_MAX): Likewise.
1441 [C99-based standards] (PTRDIFF_MIN): Likewise.
1442 [C99-based standards] (PTRDIFF_MAX): Likewise.
1443 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1444 [C99-based standards] (SIZE_MAX): Likewise.
1445 [C99-based standards] (WCHAR_MAX): Likewise.
1446 [C99-based standards] (WINT_MAX): Likewise.
1447 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1448 constraint on value.
1449 [C99-based standards] (WCHAR_MIN): Likewise.
1450 [C99-based standards] (WINT_MIN): Likewise.
1451 [C99-based standards] (*_t): Allow.
1452 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1453 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1454 Include math.h-data and complex.h-data. Remove all expectations
1455 of math.h and complex.h contents.
1456 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1457 at end of line.
1458 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1459 (struct tm): Expect tag.
1460 [C99-based-standards] (wcstof): Expect function.
1461 [C99-based-standards] (wcstold): Likewise.
1462 [C99-based-standards] (wcstoll): Likewise.
1463 [C99-based-standards] (wcstoull): Likewise.
1464 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1465 macro-int-constant. Specify type.
1466 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1467 constraint on value.
1468 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1469 Specify type.
1470 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1471 Specify value.
1472 [ISO C standards]: Do not allow headers.
1473 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1474 wcs[abcdefghijklmnopqrstuvwxyz]*.
1475 [ISO C standards] (*_t): Do not allow.
1476 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1477 Expect function.
1478 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1479 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1480 Specify type.
1481 [ISO C standards]: Do not allow headers.
1482 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1483 is[abcdefghijklmnopqrstuvwxyz]*.
1484 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1485 to[abcdefghijklmnopqrstuvwxyz]*.
1486 [ISO C standards] (*_t): Do not allow.
1487 * conform/data/stdalign.h-data: New file.
1488 * conform/data/stdbool.h-data: Likewise.
1489 * conform/data/stdnoreturn.h-data: Likewise.
1490
14912012-11-07 Roland McGrath <roland@hack.frob.com>
1492
1493 [BZ #14815]
1494 * manual/filesys.texi (Directory Entries): Typo fix.
1495 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1496
14972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1498
1499 * elf/elf.h (EM_AARCH64): New macro.
1500 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1501 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1502 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1503 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1504 (R_AARCH64_TLSDESC): Likewise.
1505 (NT_ARM_TLS): Likewise.
1506 (NT_ARM_HW_BREAK): Likewise.
1507 (NT_ARM_HW_WATCH): Likewise.
1508
15092012-11-07 Joseph Myers <joseph@codesourcery.com>
1510
1511 [BZ #14811]
1512 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1513 (__ieee754_powl): Saturate nonzero exponents with absolute value
1514 below 0x1p-79 to +/- 0x1p-79.
1515 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1516 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1517 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1518 nonzero exponents with absolute value below 0x1p-32 to +/-
1519 0x1p-32.
1520 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1521 (__ieee754_powl): Saturate nonzero exponents with absolute value
1522 below 0x1p-79 to +/- 0x1p-79.
1523 * math/libm-test.inc (pow_test): Add more tests.
1524
15252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1526
1527 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1528 _dl_s390_cap_flags with kernel. Increase string length.
1529 (_dl_s390_platforms): Add z196 and zEC12.
1530
15312012-11-07 Joseph Myers <joseph@codesourcery.com>
1532
1533 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1534 Change XOPEN21K to XOPEN2K.
1535
15362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1537
1538 * string/memmove.c: Use memcpy when possible.
1539
15402012-11-06 Andreas Jaeger <aj@suse.de>
1541
1542 * po/eo.po: Update from translation team.
1543
15442012-11-06 Joseph Myers <joseph@codesourcery.com>
1545
1546 [BZ #14793]
1547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1548 exponent and small x and y exponents, scale x or y up. Increase
1549 by 2 the exponent used in scaling up.
1550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1552 * math/libm-test.inc (fma_test): Add more tests.
1553 (fma_test_towardzero): Likewise.
1554 (fma_test_downward): Likewise.
1555 (fma_test_upward): Likewise.
1556
15572012-11-05 Joseph Myers <joseph@codesourcery.com>
1558
1559 [BZ #14805]
1560 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1561 fenv_t *.
1562
1563 [BZ #14801]
1564 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1565 namespace for names of struct fields.
1566 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1567 fenv_t fields.
1568 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1569 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1570
15712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1572
1573 [BZ #3665]
1574 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1575
15762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1577
1578 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1579 PTR_DEMANGLE.
1580
1581 [BZ #5246]
1582 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1583 PTR_DEMANGLE.
1584
15852012-11-04 Joseph Myers <joseph@codesourcery.com>
1586
1587 [BZ #14797]
1588 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1589 definitely overflow as x * y not x * y + z.
1590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1592 * math/libm-test.inc (fma_test): Add more tests.
1593 (fma_test_towardzero): Likewise.
1594 (fma_test_downward): Likewise.
1595 (fma_test_upward): Likewise.
1596
15972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1598
1599 [BZ #157]
1600
1601 * include/stub-tag.h: Remove file.
1602 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1603 '#include' of it.
1604 * manual/maint.texi (Porting): Don't reference it.
1605 * Makerules ($(objpfx)stubs): Likewise.
1606 * dirent/closedir.c: Don't include <stub-tag.h>.
1607 * dirent/dirfd.c: Likewise.
1608 * dirent/fdopendir.c: Likewise.
1609 * dirent/getdents.c: Likewise.
1610 * dirent/getdents64.c: Likewise.
1611 * dirent/opendir.c: Likewise.
1612 * dirent/readdir.c: Likewise.
1613 * dirent/readdir64.c: Likewise.
1614 * dirent/readdir64_r.c: Likewise.
1615 * dirent/readdir_r.c: Likewise.
1616 * dirent/rewinddir.c: Likewise.
1617 * dirent/seekdir.c: Likewise.
1618 * dirent/telldir.c: Likewise.
1619 * gmon/profil.c: Likewise.
1620 * grp/setgroups.c: Likewise.
1621 * inet/if_index.c: Likewise.
1622 * io/access.c: Likewise.
1623 * io/chdir.c: Likewise.
1624 * io/chmod.c: Likewise.
1625 * io/chown.c: Likewise.
1626 * io/close.c: Likewise.
1627 * io/dup.c: Likewise.
1628 * io/dup2.c: Likewise.
1629 * io/dup3.c: Likewise.
1630 * io/euidaccess.c: Likewise.
1631 * io/faccessat.c: Likewise.
1632 * io/fchdir.c: Likewise.
1633 * io/fchmod.c: Likewise.
1634 * io/fchmodat.c: Likewise.
1635 * io/fchown.c: Likewise.
1636 * io/fchownat.c: Likewise.
1637 * io/fcntl.c: Likewise.
1638 * io/flock.c: Likewise.
1639 * io/fstatfs.c: Likewise.
1640 * io/fstatfs64.c: Likewise.
1641 * io/fstatvfs.c: Likewise.
1642 * io/fstatvfs64.c: Likewise.
1643 * io/futimens.c: Likewise.
1644 * io/fxstat.c: Likewise.
1645 * io/fxstat64.c: Likewise.
1646 * io/fxstatat.c: Likewise.
1647 * io/fxstatat64.c: Likewise.
1648 * io/getcwd.c: Likewise.
1649 * io/isatty.c: Likewise.
1650 * io/lchmod.c: Likewise.
1651 * io/lchown.c: Likewise.
1652 * io/link.c: Likewise.
1653 * io/linkat.c: Likewise.
1654 * io/lseek.c: Likewise.
1655 * io/lseek64.c: Likewise.
1656 * io/lxstat64.c: Likewise.
1657 * io/mkdir.c: Likewise.
1658 * io/mkdirat.c: Likewise.
1659 * io/mkfifo.c: Likewise.
1660 * io/mkfifoat.c: Likewise.
1661 * io/open.c: Likewise.
1662 * io/open64.c: Likewise.
1663 * io/openat.c: Likewise.
1664 * io/openat64.c: Likewise.
1665 * io/pipe.c: Likewise.
1666 * io/pipe2.c: Likewise.
1667 * io/poll.c: Likewise.
1668 * io/posix_fadvise.c: Likewise.
1669 * io/posix_fadvise64.c: Likewise.
1670 * io/posix_fallocate.c: Likewise.
1671 * io/posix_fallocate64.c: Likewise.
1672 * io/read.c: Likewise.
1673 * io/readlink.c: Likewise.
1674 * io/readlinkat.c: Likewise.
1675 * io/rmdir.c: Likewise.
1676 * io/sendfile.c: Likewise.
1677 * io/sendfile64.c: Likewise.
1678 * io/statfs.c: Likewise.
1679 * io/statfs64.c: Likewise.
1680 * io/statvfs.c: Likewise.
1681 * io/statvfs64.c: Likewise.
1682 * io/symlink.c: Likewise.
1683 * io/symlinkat.c: Likewise.
1684 * io/ttyname.c: Likewise.
1685 * io/ttyname_r.c: Likewise.
1686 * io/umask.c: Likewise.
1687 * io/unlink.c: Likewise.
1688 * io/unlinkat.c: Likewise.
1689 * io/utime.c: Likewise.
1690 * io/utimensat.c: Likewise.
1691 * io/write.c: Likewise.
1692 * io/xmknod.c: Likewise.
1693 * io/xmknodat.c: Likewise.
1694 * io/xstat.c: Likewise.
1695 * io/xstat64.c: Likewise.
1696 * login/getpt.c: Likewise.
1697 * login/grantpt.c: Likewise.
1698 * login/unlockpt.c: Likewise.
1699 * math/e_acoshl.c: Likewise.
1700 * math/e_acosl.c: Likewise.
1701 * math/e_asinl.c: Likewise.
1702 * math/e_atan2l.c: Likewise.
1703 * math/e_atanhl.c: Likewise.
1704 * math/e_coshl.c: Likewise.
1705 * math/e_expl.c: Likewise.
1706 * math/e_fmodl.c: Likewise.
1707 * math/e_gammal_r.c: Likewise.
1708 * math/e_hypotl.c: Likewise.
1709 * math/e_j0l.c: Likewise.
1710 * math/e_j1l.c: Likewise.
1711 * math/e_jnl.c: Likewise.
1712 * math/e_lgammal_r.c: Likewise.
1713 * math/e_log10l.c: Likewise.
1714 * math/e_log2l.c: Likewise.
1715 * math/e_logl.c: Likewise.
1716 * math/e_powl.c: Likewise.
1717 * math/e_rem_pio2l.c: Likewise.
1718 * math/e_sinhl.c: Likewise.
1719 * math/e_sqrtl.c: Likewise.
1720 * math/fclrexcpt.c: Likewise.
1721 * math/fedisblxcpt.c: Likewise.
1722 * math/feenablxcpt.c: Likewise.
1723 * math/fegetenv.c: Likewise.
1724 * math/fegetexcept.c: Likewise.
1725 * math/fegetround.c: Likewise.
1726 * math/feholdexcpt.c: Likewise.
1727 * math/fesetenv.c: Likewise.
1728 * math/fesetround.c: Likewise.
1729 * math/feupdateenv.c: Likewise.
1730 * math/fgetexcptflg.c: Likewise.
1731 * math/fraiseexcpt.c: Likewise.
1732 * math/fsetexcptflg.c: Likewise.
1733 * math/ftestexcept.c: Likewise.
1734 * math/k_cosl.c: Likewise.
1735 * math/k_rem_pio2l.c: Likewise.
1736 * math/k_sinl.c: Likewise.
1737 * math/k_tanl.c: Likewise.
1738 * math/s_asinhl.c: Likewise.
1739 * math/s_atanl.c: Likewise.
1740 * math/s_cbrtl.c: Likewise.
1741 * math/s_erfl.c: Likewise.
1742 * math/s_expm1l.c: Likewise.
1743 * math/s_log1pl.c: Likewise.
1744 * math/s_tanhl.c: Likewise.
1745 * misc/acct.c: Likewise.
1746 * misc/brk.c: Likewise.
1747 * misc/chflags.c: Likewise.
1748 * misc/chroot.c: Likewise.
1749 * misc/fchflags.c: Likewise.
1750 * misc/fgetxattr.c: Likewise.
1751 * misc/flistxattr.c: Likewise.
1752 * misc/fremovexattr.c: Likewise.
1753 * misc/fsetxattr.c: Likewise.
1754 * misc/fsync.c: Likewise.
1755 * misc/ftruncate.c: Likewise.
1756 * misc/futimes.c: Likewise.
1757 * misc/futimesat.c: Likewise.
1758 * misc/getdomain.c: Likewise.
1759 * misc/getdtsz.c: Likewise.
1760 * misc/gethostid.c: Likewise.
1761 * misc/gethostname.c: Likewise.
1762 * misc/getloadavg.c: Likewise.
1763 * misc/getpagesize.c: Likewise.
1764 * misc/getsysstats.c: Likewise.
1765 * misc/getxattr.c: Likewise.
1766 * misc/gtty.c: Likewise.
1767 * misc/ioctl.c: Likewise.
1768 * misc/lgetxattr.c: Likewise.
1769 * misc/listxattr.c: Likewise.
1770 * misc/llistxattr.c: Likewise.
1771 * misc/lremovexattr.c: Likewise.
1772 * misc/lsetxattr.c: Likewise.
1773 * misc/lutimes.c: Likewise.
1774 * misc/madvise.c: Likewise.
1775 * misc/mincore.c: Likewise.
1776 * misc/mlock.c: Likewise.
1777 * misc/mlockall.c: Likewise.
1778 * misc/mmap.c: Likewise.
1779 * misc/mprotect.c: Likewise.
1780 * misc/msync.c: Likewise.
1781 * misc/munlock.c: Likewise.
1782 * misc/munlockall.c: Likewise.
1783 * misc/munmap.c: Likewise.
1784 * misc/preadv.c: Likewise.
1785 * misc/preadv64.c: Likewise.
1786 * misc/ptrace.c: Likewise.
1787 * misc/pwritev.c: Likewise.
1788 * misc/pwritev64.c: Likewise.
1789 * misc/readv.c: Likewise.
1790 * misc/reboot.c: Likewise.
1791 * misc/remap_file_pages.c: Likewise.
1792 * misc/removexattr.c: Likewise.
1793 * misc/revoke.c: Likewise.
1794 * misc/select.c: Likewise.
1795 * misc/setdomain.c: Likewise.
1796 * misc/setegid.c: Likewise.
1797 * misc/seteuid.c: Likewise.
1798 * misc/sethostid.c: Likewise.
1799 * misc/sethostname.c: Likewise.
1800 * misc/setregid.c: Likewise.
1801 * misc/setreuid.c: Likewise.
1802 * misc/setxattr.c: Likewise.
1803 * misc/sstk.c: Likewise.
1804 * misc/stty.c: Likewise.
1805 * misc/swapoff.c: Likewise.
1806 * misc/swapon.c: Likewise.
1807 * misc/sync.c: Likewise.
1808 * misc/syncfs.c: Likewise.
1809 * misc/syscall.c: Likewise.
1810 * misc/truncate.c: Likewise.
1811 * misc/ualarm.c: Likewise.
1812 * misc/usleep.c: Likewise.
1813 * misc/ustat.c: Likewise.
1814 * misc/utimes.c: Likewise.
1815 * misc/vhangup.c: Likewise.
1816 * misc/writev.c: Likewise.
1817 * posix/_exit.c: Likewise.
1818 * posix/alarm.c: Likewise.
1819 * posix/execve.c: Likewise.
1820 * posix/fexecve.c: Likewise.
1821 * posix/fork.c: Likewise.
1822 * posix/fpathconf.c: Likewise.
1823 * posix/getaddrinfo.c: Likewise.
1824 * posix/getegid.c: Likewise.
1825 * posix/geteuid.c: Likewise.
1826 * posix/getgid.c: Likewise.
1827 * posix/getgroups.c: Likewise.
1828 * posix/getlogin.c: Likewise.
1829 * posix/getlogin_r.c: Likewise.
1830 * posix/getpgid.c: Likewise.
1831 * posix/getpid.c: Likewise.
1832 * posix/getppid.c: Likewise.
1833 * posix/getresgid.c: Likewise.
1834 * posix/getresuid.c: Likewise.
1835 * posix/getsid.c: Likewise.
1836 * posix/getuid.c: Likewise.
1837 * posix/glob64.c: Likewise.
1838 * posix/nanosleep.c: Likewise.
1839 * posix/pathconf.c: Likewise.
1840 * posix/pause.c: Likewise.
1841 * posix/posix_madvise.c: Likewise.
1842 * posix/pread.c: Likewise.
1843 * posix/pread64.c: Likewise.
1844 * posix/pwrite.c: Likewise.
1845 * posix/pwrite64.c: Likewise.
1846 * posix/sched_getaffinity.c: Likewise.
1847 * posix/sched_getp.c: Likewise.
1848 * posix/sched_gets.c: Likewise.
1849 * posix/sched_primax.c: Likewise.
1850 * posix/sched_primin.c: Likewise.
1851 * posix/sched_rr_gi.c: Likewise.
1852 * posix/sched_setaffinity.c: Likewise.
1853 * posix/sched_setp.c: Likewise.
1854 * posix/sched_sets.c: Likewise.
1855 * posix/sched_yield.c: Likewise.
1856 * posix/setgid.c: Likewise.
1857 * posix/setlogin.c: Likewise.
1858 * posix/setpgid.c: Likewise.
1859 * posix/setresgid.c: Likewise.
1860 * posix/setresuid.c: Likewise.
1861 * posix/setsid.c: Likewise.
1862 * posix/setuid.c: Likewise.
1863 * posix/sleep.c: Likewise.
1864 * posix/spawni.c: Likewise.
1865 * posix/sysconf.c: Likewise.
1866 * posix/times.c: Likewise.
1867 * posix/wait.c: Likewise.
1868 * posix/wait3.c: Likewise.
1869 * posix/wait4.c: Likewise.
1870 * posix/waitpid.c: Likewise.
1871 * resolv/gai_sigqueue.c: Likewise.
1872 * resource/getpriority.c: Likewise.
1873 * resource/getrlimit.c: Likewise.
1874 * resource/getrusage.c: Likewise.
1875 * resource/nice.c: Likewise.
1876 * resource/setpriority.c: Likewise.
1877 * resource/setrlimit.c: Likewise.
1878 * resource/ulimit.c: Likewise.
1879 * rt/aio_cancel.c: Likewise.
1880 * rt/aio_fsync.c: Likewise.
1881 * rt/aio_read.c: Likewise.
1882 * rt/aio_sigqueue.c: Likewise.
1883 * rt/aio_suspend.c: Likewise.
1884 * rt/aio_write.c: Likewise.
1885 * rt/clock_getres.c: Likewise.
1886 * rt/clock_gettime.c: Likewise.
1887 * rt/clock_nanosleep.c: Likewise.
1888 * rt/clock_settime.c: Likewise.
1889 * rt/lio_listio.c: Likewise.
1890 * rt/mq_close.c: Likewise.
1891 * rt/mq_getattr.c: Likewise.
1892 * rt/mq_notify.c: Likewise.
1893 * rt/mq_open.c: Likewise.
1894 * rt/mq_receive.c: Likewise.
1895 * rt/mq_send.c: Likewise.
1896 * rt/mq_setattr.c: Likewise.
1897 * rt/mq_timedreceive.c: Likewise.
1898 * rt/mq_timedsend.c: Likewise.
1899 * rt/mq_unlink.c: Likewise.
1900 * rt/shm_open.c: Likewise.
1901 * rt/shm_unlink.c: Likewise.
1902 * rt/timer_create.c: Likewise.
1903 * rt/timer_delete.c: Likewise.
1904 * rt/timer_getoverr.c: Likewise.
1905 * rt/timer_gettime.c: Likewise.
1906 * rt/timer_settime.c: Likewise.
1907 * setjmp/__longjmp.c: Likewise.
1908 * setjmp/setjmp.c: Likewise.
1909 * signal/kill.c: Likewise.
1910 * signal/killpg.c: Likewise.
1911 * signal/raise.c: Likewise.
1912 * signal/sigaction.c: Likewise.
1913 * signal/sigaltstack.c: Likewise.
1914 * signal/sigblock.c: Likewise.
1915 * signal/sigignore.c: Likewise.
1916 * signal/sigintr.c: Likewise.
1917 * signal/signal.c: Likewise.
1918 * signal/sigpause.c: Likewise.
1919 * signal/sigpending.c: Likewise.
1920 * signal/sigqueue.c: Likewise.
1921 * signal/sigreturn.c: Likewise.
1922 * signal/sigset.c: Likewise.
1923 * signal/sigsetmask.c: Likewise.
1924 * signal/sigstack.c: Likewise.
1925 * signal/sigsuspend.c: Likewise.
1926 * signal/sigtimedwait.c: Likewise.
1927 * signal/sigvec.c: Likewise.
1928 * signal/sigwait.c: Likewise.
1929 * signal/sigwaitinfo.c: Likewise.
1930 * signal/sysv_signal.c: Likewise.
1931 * socket/accept.c: Likewise.
1932 * socket/accept4.c: Likewise.
1933 * socket/bind.c: Likewise.
1934 * socket/connect.c: Likewise.
1935 * socket/getpeername.c: Likewise.
1936 * socket/getsockname.c: Likewise.
1937 * socket/getsockopt.c: Likewise.
1938 * socket/isfdtype.c: Likewise.
1939 * socket/listen.c: Likewise.
1940 * socket/recv.c: Likewise.
1941 * socket/recvfrom.c: Likewise.
1942 * socket/recvmsg.c: Likewise.
1943 * socket/send.c: Likewise.
1944 * socket/sendmsg.c: Likewise.
1945 * socket/sendto.c: Likewise.
1946 * socket/setsockopt.c: Likewise.
1947 * socket/shutdown.c: Likewise.
1948 * socket/sockatmark.c: Likewise.
1949 * socket/socket.c: Likewise.
1950 * socket/socketpair.c: Likewise.
1951 * stdio-common/ctermid.c: Likewise.
1952 * stdio-common/cuserid.c: Likewise.
1953 * stdio-common/remove.c: Likewise.
1954 * stdio-common/rename.c: Likewise.
1955 * stdio-common/renameat.c: Likewise.
1956 * stdio-common/tempname.c: Likewise.
1957 * stdlib/getcontext.c: Likewise.
1958 * stdlib/makecontext.c: Likewise.
1959 * stdlib/setcontext.c: Likewise.
1960 * stdlib/swapcontext.c: Likewise.
1961 * stdlib/system.c: Likewise.
1962 * streams/fattach.c: Likewise.
1963 * streams/fdetach.c: Likewise.
1964 * streams/getmsg.c: Likewise.
1965 * streams/getpmsg.c: Likewise.
1966 * streams/putmsg.c: Likewise.
1967 * streams/putpmsg.c: Likewise.
1968 * sysdeps/unix/bsd/getpt.c: Likewise.
1969 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1970 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1971 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1973 Likewise.
1974 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1975 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1976 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1977 * sysvipc/msgctl.c: Likewise.
1978 * sysvipc/msgget.c: Likewise.
1979 * sysvipc/msgrcv.c: Likewise.
1980 * sysvipc/msgsnd.c: Likewise.
1981 * sysvipc/semctl.c: Likewise.
1982 * sysvipc/semget.c: Likewise.
1983 * sysvipc/semop.c: Likewise.
1984 * sysvipc/semtimedop.c: Likewise.
1985 * sysvipc/shmat.c: Likewise.
1986 * sysvipc/shmctl.c: Likewise.
1987 * sysvipc/shmdt.c: Likewise.
1988 * sysvipc/shmget.c: Likewise.
1989 * termios/tcdrain.c: Likewise.
1990 * termios/tcflow.c: Likewise.
1991 * termios/tcflush.c: Likewise.
1992 * termios/tcgetattr.c: Likewise.
1993 * termios/tcgetpgrp.c: Likewise.
1994 * termios/tcsendbrk.c: Likewise.
1995 * termios/tcsetattr.c: Likewise.
1996 * termios/tcsetpgrp.c: Likewise.
1997 * time/adjtime.c: Likewise.
1998 * time/clock.c: Likewise.
1999 * time/getitimer.c: Likewise.
2000 * time/gettimeofday.c: Likewise.
2001 * time/setitimer.c: Likewise.
2002 * time/settimeofday.c: Likewise.
2003 * time/stime.c: Likewise.
2004 * time/time.c: Likewise.
2005
20062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2007
2008 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2009 /usr/old/bin.
2010
2011 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2012 instead of spaces.
2013 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2014
20152012-11-03 Joseph Myers <joseph@codesourcery.com>
2016
2017 [BZ #14796]
2018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2019 FE_TONEAREST before applying Dekker multiplication and Knuth
2020 addition. Clear inexact exceptions and check for exact zero
2021 results afterwards.
2022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2023 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2024 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2025 * math/libm-test.inc (fma_test): Add more tests.
2026 (fma_test_towardzero): Likewise.
2027 (fma_test_downward): Likewise.
2028 (fma_test_upward): Likewise.
2029 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2030 function.
2031 (libc_fesetround): New macro.
2032 (libc_fesetroundf): Likewise.
2033 (libc_fesetroundl): Likewise.
2034 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2035 function.
2036 (libc_fesetround_387): Likewise.
2037 (libc_fesetroundf): New macro.
2038 (libc_fesetround): Likewise.
2039 (libc_fesetroundl): Likewise.
2040 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2041 function.
2042 (libc_fesetroundf): New macro.
2043 (libc_fesetround): Likewise.
2044 (libc_fesetroundl): Likewise.
2045 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2046 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2047 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2048 libm_hidden_ver.
2049 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2050 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2051 libm_hidden_def.
2052 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2053 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2054 libm_hidden_ver.
2055 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2056 libm_hidden_def.
2057
2058 [BZ #3439]
2059 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2060 integer constant usable in #if and use that to give value to enum
2061 constant.
2062 (FE_DIVBYZERO): Likewise.
2063 (FE_UNDERFLOW): Likewise.
2064 (FE_OVERFLOW): Likewise.
2065 (FE_INVALID): Likewise.
2066 (FE_INVALID_SNAN): Likewise.
2067 (FE_INVALID_ISI): Likewise.
2068 (FE_INVALID_IDI): Likewise.
2069 (FE_INVALID_ZDZ): Likewise.
2070 (FE_INVALID_IMZ): Likewise.
2071 (FE_INVALID_COMPARE): Likewise.
2072 (FE_INVALID_SOFTWARE): Likewise.
2073 (FE_INVALID_SQRT): Likewise.
2074 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2075 (FE_TONEAREST): Likewise.
2076 (FE_TOWARDZERO): Likewise.
2077 (FE_UPWARD): Likewise.
2078 (FE_DOWNWARD): Likewise.
2079 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2080 (FE_DIVBYZERO): Likewise.
2081 (FE_OVERFLOW): Likewise.
2082 (FE_UNDERFLOW): Likewise.
2083 (FE_INEXACT): Likewise.
2084 (FE_TONEAREST): Likewise.
2085 (FE_DOWNWARD): Likewise.
2086 (FE_UPWARD): Likewise.
2087 (FE_TOWARDZERO): Likewise.
2088 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2089 (FE_UNDERFLOW): Likewise.
2090 (FE_OVERFLOW): Likewise.
2091 (FE_DIVBYZERO): Likewise.
2092 (FE_INVALID): Likewise.
2093 (FE_TONEAREST): Likewise.
2094 (FE_TOWARDZERO): Likewise.
2095 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2096 (FE_OVERFLOW): Likewise.
2097 (FE_UNDERFLOW): Likewise.
2098 (FE_DIVBYZERO): Likewise.
2099 (FE_INEXACT): Likewise.
2100 (FE_TONEAREST): Likewise.
2101 (FE_TOWARDZERO): Likewise.
2102 (FE_UPWARD): Likewise.
2103 (FE_DOWNWARD): Likewise.
2104 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2105 (FE_DIVBYZERO): Likewise.
2106 (FE_OVERFLOW): Likewise.
2107 (FE_UNDERFLOW): Likewise.
2108 (FE_INEXACT): Likewise.
2109 (FE_TONEAREST): Likewise.
2110 (FE_DOWNWARD): Likewise.
2111 (FE_UPWARD): Likewise.
2112 (FE_TOWARDZERO): Likewise.
2113
21142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2115
2116 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2117
21182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2119
2120 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2121 commands. Quote $PWD.
2122 (blacklist_exports): Don't use remove_newlines. Replace "declare
2123 -x" by "export".
2124 (remove_newlines): Remove.
2125
21262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2129 * stdlib/stdlib.h (atof): Moved to ...
2130 * include/bits/stdlib-float.h: Here. New file.
2131 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2132 * stdlib/bits/stdlib-float.h: New file.
2133 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2134 -mno-sse -mno-mmx.
2135 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2136 <xmmintrin.h>.
2137
21382012-11-02 Joseph Myers <joseph@codesourcery.com>
2139
2140 * conform/conformtest.pl (@headers): Add fenv.h.
2141 * conform/data/fenv.h-data: New file.
2142 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2143 include of <math/fenv.h>.
2144
2145 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2146 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2147 && !UNIX98]. Enables tests for XOPEN2K8.
2148 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2149 POSIX2008]: Likewise.
2150
2151 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2152 (struct rusage): Do not expect type or its members.
2153
2154 [BZ #3439]
2155 * math/math.h (FP_NAN): Define macro to integer constant usable in
2156 #if and use that to give value to enum constant.
2157 (FP_INFINITE): Likewise.
2158 (FP_ZERO): Likewise.
2159 (FP_SUBNORMAL): Likewise.
2160 (FP_NORMAL): Likewise.
2161
21622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2163
2164 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2165 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2166 arguments.
2167
21682012-11-02 Roland McGrath <roland@hack.frob.com>
2169
2170 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2171 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2172 autoconf-time if not.
2173 * configure.in: Remove AC_PREREQ.
2174
21752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2176
2177 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2178 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2179 of the internal implementation.
2180
21812012-11-02 Joseph Myers <joseph@codesourcery.com>
2182
2183 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2184 except include of <misc/sys/syslog.h>.
2185
21862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2187
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2189 function returns with a NULL context exit with zero.
2190
21912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2192
2193 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2194
21952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2196
2197 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2198 (run_program_cmd): This.
2199 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2200 (tst_langinfo): New variable. Use it.
2201
22022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2203
2204 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2205 floating point opcodes.
2206
22072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2208
2209 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2210 variable.
2211
2212 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2213
2214 * sysdeps/mach/hurd/powerpc: Remove directory.
2215 * sysdeps/mach/powerpc: Likewise.
2216
22172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2218
2219 * scripts/check-local-headers.sh: Ignore c++ headers.
2220
22212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2222
2223 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2224 __libc_cleanup_region_start argument.
2225
22262012-11-01 Joseph Myers <joseph@codesourcery.com>
2227
2228 [BZ #14784]
2229 [BZ #14785]
2230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2231 x * y using scaling, not as x * y + z.
2232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2234 * math/libm-test.inc (fma_test): Add more tests.
2235 (fma_test_towardzero): Likewise.
2236 (fma_test_downward): Likewise.
2237 (fma_test_upward): Likewise.
2238
22392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2240
2241 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2242
22432012-10-31 Joseph Myers <joseph@codesourcery.com>
2244
2245 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2246 New variable.
2247
22482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2249
2250 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2251
22522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2253
2254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2255 Fix sort order.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2257 Likewise.
2258
22592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2260
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2262 Fix the order of the list for glibc 2.17.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2264 Likewise.
2265
22662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2267
2268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2269
22702012-10-31 Joseph Myers <joseph@codesourcery.com>
2271
2272 [BZ #14610]
2273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2274 for low part of x being zero before using __atanl (y).
2275 * math/libm-test.inc (atan2_test): Add another test.
2276
2277 * manual/install.texi (Configuring and compiling): Document
2278 general use of test-wrapper and test-wrapper-env.
2279 * INSTALL: Regenerated.
2280
2281 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2282 (__fma): Do not extract and scale down low bits on after-rounding
2283 systems when result rounded to normal precision would have normal
2284 exponent.
2285 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2286 (__fmal): Do not extract and scale down low bits on after-rounding
2287 systems when result rounded to normal precision would have normal
2288 exponent.
2289 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2290 (__fmal): Do not extract and scale down low bits on after-rounding
2291 systems when result rounded to normal precision would have normal
2292 exponent.
2293 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2294 macro.
2295 (fma_test): Add more tests.
2296 (fma_test_towardzero): Likewise.
2297 (fma_test_downward): Likewise.
2298 (fma_test_upward): Likewise.
2299
23002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * sysdeps/i386/tininess.h: Renamed to ...
2303 * sysdeps/x86/tininess.h: This.
2304 * sysdeps/x86_64/tininess.h: Removed.
2305
23062012-10-30 Joseph Myers <joseph@codesourcery.com>
2307
2308 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2309 input. Use $(build-program-cmd).
2310 ($(objpfx)tst-array1-static.out): Likewise.
2311 ($(objpfx)tst-array2.out): Likewise.
2312 ($(objpfx)tst-array3.out): Likewise.
2313 ($(objpfx)tst-array4.out): Likewise.
2314 ($(objpfx)tst-array5.out): Likewise.
2315 ($(objpfx)tst-array5-static.out): Likewise.
2316
23172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2318
2319 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2320 if defined.
2321
2322 * nss/nsswitch.h (nss_interface_function): Provide new
2323 macro for use with NSS functions.
2324 * grp/initgroups.c: Use new macro.
2325 * nss/getXXbyYY.c: Likewise.
2326 * nss/getXXbyYY_r.c: Likewise.
2327 * nss/getXXent.c: Likewise.
2328 * nss/getXXent_r.c: Likewise.
2329 * sysdeps/posix/getaddrinfo.c: Likewise.
2330
23312012-10-30 Andreas Jaeger <aj@suse.de>
2332
2333 * po/ru.po: Update Russion translation from translation project.
2334
23352012-10-30 Joseph Myers <joseph@codesourcery.com>
2336
2337 [BZ #14152]
2338 [BZ #14783]
2339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2340 result and shift together with sticky bit instead of replicating
2341 round-to-nearest rounding.
2342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2344 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2345 missing underflow exceptions.
2346 (fma_test_towardzero): Add more tests.
2347 (fma_test_downward): Likewise.
2348 (fma_test_upward): Likewise.
2349
2350 [BZ #14047]
2351 * sysdeps/generic/tininess.h: New file.
2352 * sysdeps/i386/tininess.h: Likewise.
2353 * sysdeps/sh/tininess.h: Likewise.
2354 * sysdeps/x86_64/tininess.h: Likewise.
2355 * stdlib/tst-strtod-underflow.c: Likewise.
2356 * stdlib/tst-tininess.c: Likewise.
2357 * stdlib/strtod_l.c: Include <tininess.h>.
2358 (round_and_return): Do not set errno for exact underflow cases.
2359 Force an underflow exception when setting errno for underflow.
2360 Determine underflow based on rounding to normal precision if
2361 TININESS_AFTER_ROUNDING.
2362 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2363 ERANGE for exact underflow cases.
2364 * stdlib/Makefile (tests): Add tst-tininess and
2365 tst-strtod-underflow.
2366 ($(objpfx)tst-tininess): Use $(link-libm).
2367 ($(objpfx)tst-strtod-underflow): Likewise.
2368
23692012-10-30 Andreas Jaeger <aj@suse.de>
2370
2371 [BZ#14767]
2372 * elf/Makefile (tests): Remove conditional for have-initfini-array
2373 since this is now always required and the variable does not exist
2374 anymore.
2375 (tests-static): Likewise.
2376 (modules-names): Likewise.
2377
2378 * po/eo.po: Add Esperanto translation from translation project.
2379
2380 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2381 merged with constructor/destructor.
2382 (init_array): Likewise.
2383 * elf/tst-array2dep.c (fini_array): Likewise.
2384 (init_array): Likewise.
2385
23862012-10-29 Mike Frysinger <vapier@gentoo.org>
2387
2388 * manual/message.texi: Delete @cartouche tags.
2389
23902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2391
2392 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2393 EOPNOTSUPP.
2394 * sysdeps/mach/hurd/fsync.c: Likewise.
2395
2396 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2397 [_POSIX_REALTIME_SIGNALS]: Change condition to
2398 [_POSIX_REALTIME_SIGNALS > 0].
2399
24002012-10-27 Andreas Jaeger <aj@suse.de>
2401
2402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2403 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2405 [__WORDSIZE != 64]: Likewise.
2406
24072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2408
2409 * iconvdata/tst-table.sh: Remove ${SHELL}.
2410 * iconvdata/tst-tables.sh: Likewise.
2411
24122012-10-25 David S. Miller <davem@davemloft.net>
2413
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2415 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2416 of strtoull.
2417
2418 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2419 ifunc-impl-list.c
2420 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2421 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2422 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2423 file.
2424
24252012-10-25 Roland McGrath <roland@hack.frob.com>
2426
2427 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2428 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2429 __getdirentries.
2430
24312012-10-25 Joseph Myers <joseph@codesourcery.com>
2432 Jim Blandy <jimb@codesourcery.com>
2433
2434 * scripts/cross-test-ssh.sh: New file.
2435 * manual/install.texi (Configuring and compiling): Document use of
2436 cross-test-ssh.sh.
2437 * INSTALL: Regenerated.
2438
24392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2440
2441 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2442 EOPNOTSUPP.
2443
24442012-10-25 Joseph Myers <joseph@codesourcery.com>
2445
2446 * Makeconfig (run-program-prefix): Fix comment.
2447
24482012-10-24 Joseph Myers <joseph@codesourcery.com>
2449 Jim Blandy <jimb@codesourcery.com>
2450
2451 * Makeconfig (test-wrapper): New variable,
2452 (test-wrapper-env): Likewise.
2453 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2454 (run-built-tests): Define to yes.
2455 (run-program-prefix): Use $(test-wrapper).
2456 (built-program-cmd): Likewise.
2457 * Rules (make-test-out): Use $(test-wrapper-env) and
2458 $(host-built-program-cmd).
2459 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2460 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2461 tst-pathopt.sh.
2462 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2463 $(test-wrapper-env) to tst-rtld-load-self.sh.
2464 ($(objpfx)order2.out): Use $(test-wrapper).
2465 ($(objpfx)tst-initorder.out): Likewise.
2466 ($(objpfx)tst-initorder2.out): Likewise.
2467 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2468 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2469 (test_wrapper_env): New variable. Use it to run ld.so.
2470 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2471 Use it to run ld.so.
2472 (test_wrapper_env): Likewise.
2473 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2474 $(test-wrapper) to run-iconv-test.sh.
2475 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2476 (ICONV): Use $test_wrapper.
2477 * posix/Makefile ($(objpfx)globtest.out): Pass
2478 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2479 globtest.sh, not $(run-program-prefix).
2480 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2481 (test_wrapper): Likewise.
2482 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2483 set together with run_via_rtld_prefix.
2484 (run_program_prefix): Define in terms of test_wrapper and
2485 run_via_rtld_prefix.
2486
24872012-10-24 Roland McGrath <roland@hack.frob.com>
2488
2489 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2490 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2491 Targets removed.
2492
2493 [BZ #14743]
2494 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2495 Declare __clock_getres, __clock_gettime, __clock_settime,
2496 __clock_nanosleep, and __clock_getcpuclockid.
2497 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2498 Remove librt_hidden_def (clock_gettime).
2499 * sysdeps/unix/clock_gettime.c: Likewise.
2500 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2502 * rt/clock_getres.c: Define __clock_getres as an alias.
2503 * sysdeps/posix/clock_getres.c: Likewise.
2504 * rt/clock_settime.c: Define __clock_settime as an alias.
2505 * sysdeps/unix/clock_settime.c: Likewise.
2506 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2507 * sysdeps/unix/clock_nanosleep.c: Likewise.
2508 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2509 * rt/clock-compat.c: New file.
2510 * rt/Makefile (librt-routines): Add clock-compat and move
2511 $(clock-routines) to ...
2512 (routines): ... here, new variable.
2513 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2514 Don't add get_clockfreq here.
2515 * rt/Versions (libc: GLIBC_2.17): New version set.
2516 Add clock_* symbols here.
2517 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2518 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2519 (GLIBC_2.17): Add clock_* symbols.
2520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2522 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2524 Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2526 Likewise.
2527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2531 * NEWS: Mention the move.
2532
2533 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2534 Use __open, __read, __close rather than their public counterparts.
2535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2536 (__get_clockfreq_via_cpuinfo): Likewise.
2537 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2538 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2539
2540 * config.h.in (HAVE_IFUNC): New #undef.
2541 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2542 was successful.
2543 * configure: Regenerated.
2544
25452012-10-24 Mike Frysinger <vapier@gentoo.org>
2546
2547 * configure.in: Move READELF check to start of file.
2548 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2549 libc_cv_asm_gnu_indirect_function in the process.
2550 * configure: Regenerated.
2551
25522012-10-24 Mike Frysinger <vapier@gentoo.org>
2553
2554 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2555 send the output to /dev/null.
2556 (libc_cv_cc_with_libunwind): Likewise.
2557 (libc_cv_as_noexecstack): Likewise.
2558 * configure: Regenerate.
2559
25602012-10-24 Joseph Myers <joseph@codesourcery.com>
2561
2562 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2563
2564 * posix/globtest.sh (TMPDIR): Do not set.
2565 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2566 (testout): Likewise.
2567
25682012-10-24 Andreas Jaeger <aj@suse.de>
2569
2570 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2571 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2572 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2573 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2574 posix_fadvise64, posix_fallocate64.
2575
2576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2577 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2578 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2579 Likewise.
2580 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2581 Likewise.
2582 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2583
2584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2585 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2586 <bits/fcntl-linux.h>.
2587 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2588
2589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2590 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2591 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2592 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2593 [__WORDSIZE != 64]: Likewise.
2594
25952012-10-23 Joseph Myers <joseph@codesourcery.com>
2596
2597 * Makeconfig (run-built-tests): New variable.
2598 * Rules [$(cross-compiling) = yes]: Change condition to
2599 [$(run-built-tests) = no].
2600 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2601 to [$(run-built-tests) = yes].
2602 * elf/Makefile [$(cross-compiling) = no]: Likewise
2603 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2604 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2605 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2606 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2607 * io/Makefile [$(cross-compiling) = no]: Likewise.
2608 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2609 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2610 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2611 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2612 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2613 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2614 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2615 * string/Makefile [$(cross-compiling) = no]: Likewise.
2616
2617 * posix/Makefile ($(objpfx)globtest.out): Pass
2618 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2619 $(rtld-installed-name).
2620 * posix/globtest.sh (elf_objpfx): Remove variable.
2621 (rtld_installed_name): Likewise.
2622 (library_path): Likewise.
2623 (run_program_prefix): New variable. Use for running globtest
2624 binary.
2625
26262012-10-23 Jim Blandy <jimb@codesourcery.com>
2627 Joseph Myers <joseph@codesourcery.com>
2628
2629 * Makeconfig (host-built-program-cmd): New variable.
2630 * elf/Makefile (tst-stackguard1-ARGS): Use
2631 $(host-built-program-cmd).
2632 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2633 (tst-spawn-ARGS): Likewise.
2634 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2635
26362012-10-23 Joseph Myers <joseph@codesourcery.com>
2637 Jim Blandy <jimb@codesourcery.com>
2638
2639 * Makeconfig (run-via-rtld-prefix): New variable.
2640 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2641 (built-program-cmd): Likewise.
2642
26432012-10-22 Andreas Jaeger <aj@suse.de>
2644
2645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2646 __O_RSYNC if it exists, otherwise to O_SYNC.
2647
26482012-10-22 Jim Blandy <jimb@codesourcery.com>
2649 Joseph Myers <joseph@codesourcery.com>
2650
2651 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2652 /dev/null.
2653 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2654 from /dev/null
2655 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2656 /dev/null.
2657
26582012-10-22 Andreas Jaeger <aj@suse.de>
2659
2660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2661 Define always.
2662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2663
2664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2665 bits/fcntl-linux.h.
2666
2667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2668 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2669
2670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2671 to __O_LARGEFILE.
2672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2673 to __O_LARGEFILE.
2674
26752012-10-21 Jim Blandy <jimb@codesourcery.com>
2676 Joseph Myers <joseph@codesourcery.com>
2677
2678 * config.make.in (NM): New variable.
2679
26802012-10-21 Andreas Jaeger <aj@suse.de>
2681
2682 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2683 definitions and declarations that are provided by
2684 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2685
26862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2687
2688 [BZ #14683]
2689 * elf/Makefile (tests-static): Add tst-leaks1-static.
2690 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2691 ($(objpfx)tst-leaks1-static): New rule.
2692 ($(objpfx)tst-leaks1-static-mem): Likewise.
2693 (tst-leaks1-static-ENV): New macro.
2694 * elf/dl-open.c (dl_open_worker): Check the main application
2695 only if SHARED is defined.
2696 * elf/tst-leaks1-static.c: New file.
2697
26982012-10-20 Andreas Jaeger <aj@suse.de>
2699
2700 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2701 generic values for Linux.
2702 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2703 and declarations that are provided by <bits/fcntl-linux.h> and
2704 include <bits/fcntl-linux.h>.
2705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2707
27082012-10-20 Roland McGrath <roland@hack.frob.com>
2709
2710 * io/fcntl.h: Move include of <bits/types.h> to the top and
2711 include it unconditionally.
2712
27132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2714
2715 * wcsmbs/Makefile (tests-ifunc): New variable.
2716 (tests): Add $(tests-ifunc).
2717 * wcsmbs/test-wcschr-ifunc.c: New file.
2718 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2719 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2720 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2721 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2722 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2723
2724 * string/Makefile (tests-ifunc): New variable.
2725 (tests): Add $(tests-ifunc).
2726 * string/test-memccpy.c (TEST_NAME): New macro.
2727 * string/test-memchr.c (TEST_NAME): Likewise.
2728 * string/test-memcmp.c (TEST_NAME): Likewise.
2729 * string/test-memcpy.c (TEST_NAME): Likewise.
2730 * string/test-memmem.c (TEST_NAME): Likewise.
2731 * string/test-memmove.c (TEST_NAME): Likewise.
2732 * string/test-memset.c (TEST_NAME): Likewise.
2733 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2734 * string/test-stpcpy.c (TEST_NAME): Likewise.
2735 * string/test-stpncpy.c (TEST_NAME): Likewise.
2736 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2737 * string/test-strcasestr.c (TEST_NAME): Likewise.
2738 * string/test-strcat.c (TEST_NAME): Likewise.
2739 * string/test-strchr.c (TEST_NAME): Likewise.
2740 * string/test-strcmp.c(TEST_NAME): Likewise.
2741 * string/test-strcpy.c (TEST_NAME): Likewise.
2742 * string/test-strcspn.c (TEST_NAME): Likewise.
2743 * string/test-strlen.c (TEST_NAME): Likewise.
2744 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2745 * string/test-strncmp.c (TEST_NAME): Likewise.
2746 * string/test-strncpy.c (TEST_NAME): Likewise.
2747 * string/test-strnlen.c (TEST_NAME): Likewise.
2748 * string/test-strpbrk.c (TEST_NAME): Likewise.
2749 * string/test-strrchr.c (TEST_NAME): Likewise.
2750 * string/test-strspn.c (TEST_NAME): Likewise.
2751 * string/test-strstr.c (TEST_NAME): Likewise.
2752 * string/test-bcopy-ifunc.c: New file.
2753 * string/test-bzero-ifunc.c: Likewise.
2754 * string/test-memccpy-ifunc.c: Likewise.
2755 * string/test-memchr-ifunc.c: Likewise.
2756 * string/test-memcmp-ifunc.c: Likewise.
2757 * string/test-memcpy-ifunc.c: Likewise.
2758 * string/test-memmem-ifunc.c: Likewise.
2759 * string/test-memmove-ifunc.c: Likewise.
2760 * string/test-mempcpy-ifunc.c: Likewise.
2761 * string/test-memset-ifunc.c: Likewise.
2762 * string/test-rawmemchr-ifunc.c: Likewise.
2763 * string/test-stpcpy-ifunc.c: Likewise.
2764 * string/test-stpncpy-ifunc.c: Likewise.
2765 * string/test-strcasecmp-ifunc.c: Likewise.
2766 * string/test-strcasestr-ifunc.c: Likewise.
2767 * string/test-strcat-ifunc.c: Likewise.
2768 * string/test-strchr-ifunc.c: Likewise.
2769 * string/test-strchrnul-ifunc.c: Likewise.
2770 * string/test-strcmp-ifunc.c: Likewise.
2771 * string/test-strcpy-ifunc.c: Likewise.
2772 * string/test-strcspn-ifunc.c: Likewise.
2773 * string/test-strlen-ifunc.c: Likewise.
2774 * string/test-strncasecmp-ifunc.c: Likewise.
2775 * string/test-strncat-ifunc.c: Likewise.
2776 * string/test-strncmp-ifunc.c: Likewise.
2777 * string/test-strncpy-ifunc.c: Likewise.
2778 * string/test-strnlen-ifunc.c: Likewise.
2779 * string/test-strpbrk-ifunc.c: Likewise.
2780 * string/test-strrchr-ifunc.c: Likewise.
2781 * string/test-strspn-ifunc.c: Likewise.
2782 * string/test-strstr-ifunc.c: Likewise.
2783
2784 * debug/Makefile (tests-ifunc): New variable.
2785 (tests): Add $(tests-ifunc).
2786 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2787 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2788 * debug/test-stpcpy_chk-ifunc.c: New file.
2789 * debug/test-strcpy_chk-ifunc.c: Likewise.
2790
27912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2792
2793 [BZ #13601]
2794 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2795 header is not read in.
2796
27972012-10-19 Joseph Myers <joseph@codesourcery.com>
2798
2799 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2800 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2801 directly. Pass built executable to script as
2802 $(built-program-cmd).
2803 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2804 $testprogram without using LD_LIBRARY_PATH and $ldso.
2805
2806 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2807 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2808 $(rtld-installed-name).
2809 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2810 (rtld_installed_name): Likewise.
2811 (library_path): Likewise.
2812 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2813 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2814 $(run-program-prefix) to tst-tables.sh.
2815 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2816 it to run tst-table-from and tst-table-to.
2817 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2818 Pass it to tst-table.sh.
2819 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2820 $(run-program-prefix) to tst-gettext.sh.
2821 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2822 tst-translit.sh.
2823 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2824 tst-gettext2.sh.
2825 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2826 to run tst-gettext.
2827 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2828 to run tst-gettext2.
2829 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2830 to run tst-translit.
2831 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2832 $(run-program-prefix) to tst-mtrace.sh.
2833 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2834 to run tst-mtrace.
2835 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2836 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2837 $(rtld-installed-name).
2838 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2839 (rtld_installed_name): Likewise.
2840 (run_program_prefix): New variable. Use it to run wordexp-test.
2841
2842 * Makeconfig (ARCH): Remove all definitions.
2843 (machine): Likewise.
2844 [ARCH]: Remove conditional code.
2845 [!objdir]: Give error.
2846 [!objdir] (objpfx): Remove.
2847 [!objdir] (common-objpfx): Likewise.
2848 [!objdir] (common-objdir): Likewise.
2849 * configure.in (config_makefile): Remove. Hardcode Makefile in
2850 AC_CONFIG_FILES call.
2851 * configure: Regenerated.
2852
2853 [BZ #13888]
2854 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2855 or TMPDIR.
2856 (testout): Likewise.
2857
2858 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2859 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2860 $(rtld-installed-name).
2861 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2862 (rtld_installed_name): Likwise.
2863 (runit): Remove function.
2864 (run_getconf): New variable, Use it for running getconf binary.
2865
28662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 [BZ #14716]
2869 * string/test-memmem.c (check_result): New function.
2870 (do_one_test): Use it.
2871 (check1): New function.
2872 (test_main): Use it.
2873
28742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2875
2876 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2877
28782012-10-18 Joseph Myers <joseph@codesourcery.com>
2879
2880 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2881 (_G_LSEEK64): Likewise.
2882 (_G_MMAP64): Likewise.
2883 (_G_FSTAT64): Likewise.
2884 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2885 (_G_LSEEK64): Likewise.
2886 (_G_MMAP64): Likewise.
2887 (_G_FSTAT64): Likewise.
2888 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2889 unconditional. Call __mmap64 directly.
2890 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2891 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2892 __lseek64 directly.
2893 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2894 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2895 __mmap64 directly.
2896 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2897 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2898 __lseek64 directly.
2899 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2900 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2901 __lseek64 directly.
2902 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2903 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2904 __lseek64 directly.
2905 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2906 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2907 __fxstat64 directly.
2908 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2909 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2910 unconditional.
2911 (freopen64) [!_G_OPEN64]: Remove conditional code.
2912 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2913 unconditional.
2914 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2915 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2916 unconditional.
2917 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2918 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2919 unconditional.
2920 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2921 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2922 unconditional.
2923 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2924 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2925 unconditional.
2926 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2927 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2928 unconditional.
2929 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2930 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2931 unconditional.
2932 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2933
29342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2935
2936 [BZ #12140]
2937 * manual/memory.texi (Malloc Tunable Parameters): Add note
2938 about free list pointers overwriting some perturb bytes.
2939 Wording suggested by Roland McGrath.
2940
29412012-10-17 Joseph Myers <joseph@codesourcery.com>
2942
2943 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2944 (lgamma_test): Likewise.
2945 (tgamma_test): Likewise.
2946
29472012-10-16 Florian Weimer <fweimer@redhat.com>
2948
2949 [BZ #14700]
2950 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2951 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2952
29532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2954
2955 * NEWS: Mention BZ #14716.
2956 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2957 when removing AVAILABLE1_USES_J macro.
2958
29592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2960
2961 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2962 (__bswap_64): __uint64_t for unsigned 64-bit int.
2963
29642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2965
2966 * include/string.h (memmem): Declare libc hidden alias.
2967 * string/memmem.c (memmem): Define libc hidden alias.
2968 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2969 __read, __close instead of open, read, close.
2970
29712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2974 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2975 global and hidden.
2976 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2977 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2978 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2979 Likewise.
2980 (__rawmemchr_sse2): Likewise.
2981 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2982 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2983 (__strchr_sse2): Likewise.
2984 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2985 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2986 (__strcasecmp_sse2): Likewise.
2987 (__strncasecmp_sse2): Likewise.
2988 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2989 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2990 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2991 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2992 (__strrchr_sse2): Likewise.
2993 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2994 ifunc-impl-list.c.
2995 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2996 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2997 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2998 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2999 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3000 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3001 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3002 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3003 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3004 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3005 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3006 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3007 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3008 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3009 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3010 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3011 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3012 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3013 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3014 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3015 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3016 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3017 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3018 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3019 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3021 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3022 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3023 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3024 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3025
3026 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3027 global and hidden.
3028 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3029 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3030 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3031 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3032 Likewise.
3033 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3034 Likewise.
3035 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3036 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3037 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3038 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3039 ifunc-impl-list.c.
3040 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3047 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3054 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3056 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3057 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3058 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3059 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3060 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3061 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3062 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3063 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3064 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3065 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3066 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3067 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3068 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3069 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3070 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3071 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3072 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3073 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3074 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3075 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3076 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3077 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3078 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3079 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3080 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3081
3082 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3083 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3084 * include/ifunc-impl-list.h: New file.
3085 * misc/ifunc-impl-list.c: Likewise.
3086 * misc/Makefile (routines): Add ifunc-impl-list.
3087 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3088 * string/test-string.h: Include <ifunc-impl-list.h>.
3089 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3090 impl_array): New variables.
3091 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3092 are defined.
3093 (test_init): Call __libc_ifunc_impl_list to initialize
3094 func_list if TEST_IFUNC and TEST_NAME are defined.
3095
3096 * string/Makefile (strop-tests): Add bcopy and bzero.
3097 * string/test-bcopy.c: New file.
3098 * string/test-bzero.c: Likewise.
3099 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3100 defined.
3101 * string/test-memset.c: Support bzero test if TEST_BZERO is
3102 defined.
3103 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3104 __libc_memmove.
3105 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3106 __libc_memset.
3107 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3108 of memset.
3109
31102012-10-10 Joseph Myers <joseph@codesourcery.com>
3111
3112 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3113 * configure: Regenerated.
3114
3115 * Makeconfig (+link-static-before-libc): Don't include
3116 $(link-static-libc).
3117
3118 * libio/libio.h (_IO_pos_t): Remove.
3119
31202012-10-10 Alexandre Oliva <aoliva@redhat.com>
3121
3122 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3123 McGrath.
3124
31252012-10-10 Alexandre Oliva <aoliva@redhat.com>
3126
3127 * crypt/crypt-entry.c: Include fips-private.h.
3128 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3129 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3130 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3131 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3132
31332012-10-10 Alexandre Oliva <aoliva@redhat.com>
3134
3135 * crypt/crypt-private.h: Include stdbool.h.
3136 (_ufc_setup_salt_r): Return bool.
3137 * crypt/crypt-entry.c: Include errno.h.
3138 (__crypt_r): Return NULL with EINVAL for bad salt.
3139 * crypt/crypt_util.c (bad_for_salt): New.
3140 (_ufc_setup_salt_r): Check that salt is long enough and within
3141 the specified alphabet.
3142 * crypt/badsalttest.c: New file.
3143 * crypt/Makefile (tests): Add it.
3144 ($(objpfx)badsalttest): New.
3145
31462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3147
3148 * NEWS: Add entry for BZ #14602.
3149
31502012-10-09 Joseph Myers <joseph@codesourcery.com>
3151
3152 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3153 type-generic.
3154 * math/libm-test.inc: Update comment listing what functions and
3155 macros are tested.
3156 (isgreater_test): New function.
3157 (isgreaterequal_test): Likewise.
3158 (isless_test): Likewise.
3159 (islessequal_test): Likewise.
3160 (islessgreater_test): Likewise.
3161 (isunordered_test): Likewise.
3162 (main): Call the new functions.
3163
31642012-10-09 Roland McGrath <roland@hack.frob.com>
3165
3166 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3167 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3168 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3169 * sysdeps/i386/configure: Regenerated.
3170 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3171 * sysdeps/mach/configure: Regenerated.
3172 * sysdeps/mach/hurd/configure: Regenerated.
3173 * sysdeps/powerpc/configure: Regenerated.
3174 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3175 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3176 * sysdeps/s390/s390-32/configure: Regenerated.
3177 * sysdeps/s390/s390-64/configure: Regenerated.
3178 * sysdeps/sh/configure: Regenerated.
3179 * sysdeps/sparc/configure: Regenerated.
3180 * sysdeps/unix/sysv/linux/configure: Regenerated.
3181 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3182 * sysdeps/x86_64/configure: Regenerated.
3183
3184 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3185 defined. Don't check if MAP is NULL.
3186
31872012-10-09 Joseph Myers <joseph@codesourcery.com>
3188
3189 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3190 (_G_stat64): Likewise.
3191 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3192 (_G_stat64): Likewise.
3193 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3194 instead of struct _G_stat64.
3195 * libio/fileops.c (mmap_remap_check): Likewise.
3196 (decide_maybe_mmap): Likewise.
3197 (_IO_new_file_seekoff): Likewise.
3198 (_IO_file_stat): Likewise.
3199 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3200 _G_off64_t.
3201 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3202 instead of struct _G_stat64.
3203 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3204
32052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3206
3207 [BZ #14602]
3208 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3209 Replace with ...
3210 (CHECK_EOL): New macro.
3211 (two_way_short_needle): Check beginning of haystack for EOL. Use
3212 CHECK_EOL.
3213 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3214 Replace with CHECK_EOL.
3215 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3216 Replace with CHECK_EOL.
3217
32182012-10-08 Joseph Myers <joseph@codesourcery.com>
3219
3220 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3221 type-generic.
3222 * math/libm-test.inc: Update comment listing what functions and
3223 macros are tested.
3224 (finite_test): New function.
3225 (isinf_test): Likewise.
3226 (isnan_test): Likewise.
3227 (fpclassify_test): Test subnormal input.
3228 (isfinite_test): Likewise.
3229 (isnormal_test): Likewise.
3230 (main): Call the new functions.
3231
32322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3233
3234 [BZ #14660]
3235 * Makerules (%.dynsym): Force C locale when running
3236 $(OBJDUMP) --dynamic-syms.
3237
32382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3239
3240 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3241 <stdint.h>.
3242
32432012-10-06 David S. Miller <davem@davemloft.net>
3244
3245 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3246 upper 32-bits of the length value in %o2 since we use branch-on-register
3247 tests which consider the entire 64-bit register.
3248
32492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3250
3251 * string/test-strstr.c (check2): Add a test for page boundary.
3252
32532012-10-05 David S. Miller <davem@davemloft.net>
3254
3255 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3256 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3257 file.
3258 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3259 sysdep_routines.
3260 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3261 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3262 and bzero when HWCAP_SPARC_CRYPTO is present.
3263
32642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3265
3266 [BZ #14602]
3267 * string/test-strstr.c (check2): New function.
3268 (test_main): Call check2.
3269
3270 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3271 and bug-strchr1.
3272 * string/bug-strcasestr1.c (do_test): Moved to ...
3273 * string/test-strcasestr.c (check1): Here. New function.
3274 (do_one_test): Break out result checking code into ...
3275 (check_result): This. New function.
3276 (do_one_test): Call check_result.
3277 (test_main): Call check1.
3278 * string/bug-strchr1.c (do_test): Moved to ...
3279 * string/test-strchr.c (check1): Here. New function.
3280 (do_one_test): Break out result checking code into ...
3281 (check_result): This. New function.
3282 (do_one_test): Call check_result.
3283 (test_main): Call check1.
3284 * string/bug-strstr1.c (main): Moved to ...
3285 * string/test-strchr.c (check1): Here. New function.
3286 (do_one_test): Break out result checking code into ...
3287 (check_result): This. New function.
3288 (do_one_test): Call check_result.
3289 (test_main): Call check1.
3290 * string/bug-strcasestr1.c: Removed.
3291 * string/bug-strchr1.c: Likewise.
3292 * string/bug-strstr1.c: Likewise.
3293
3294 * elf/Makefile (dl-routines): Add hwcaps.
3295 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3296 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3297 (_dl_important_hwcaps): Moved to ...
3298 * elf/dl-hwcaps.c: Here. New file.
3299 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3300
3301 [BZ #14557]
3302 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3303 if IS_IN_rtld isn't defined.
3304
3305 * elf/dl-support.c (_dl_sysinfo_map): New.
3306 Include "get-dynamic-info.h" and "setup-vdso.h".
3307 (_dl_non_dynamic_init): Call setup_vdso.
3308 * elf/dynamic-link.h: Don't include <assert.h>.
3309 (elf_get_dynamic_info): Moved to ...
3310 * elf/get-dynamic-info.h: Here. New file.
3311 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3312 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3313 * elf/setup-vdso.h: Here. New file.
3314 * elf/rtld.c: Include "setup-vdso.h".
3315 (dl_main): Call setup_vdso.
3316
33172012-10-05 Joseph Myers <joseph@codesourcery.com>
3318
3319 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3320 creal in comment listing functions tested. List finite, isinf,
3321 isnan, isless, islessequal, isgreater, isgreaterequal,
3322 islessgreater, isunordered, lgamma_r and pow10 as functions and
3323 macros not tested. Mention which functions not tested are aliases
3324 for other functions. Fix typo. Note that signs of NaNs are not
3325 tested.
3326
3327 * scripts/config.guess: Update from config.git.
3328 * scripts/config.sub: Likewise.
3329
33302012-10-04 Roland McGrath <roland@hack.frob.com>
3331
3332 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3333 * misc/madvise.c (madvise): Renamed to __madvise.
3334 Make madvise a weak alias.
3335 * include/sys/mman.h: Declare __madvise.
3336 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3337 * sysdeps/unix/syscalls.list
3338 (madvise): Make __madvise the strong name, and madvise a weak alias.
3339 * sysdeps/unix/sysv/linux/syscalls.list
3340 (madvise, mmap): Remove redundant entries.
3341 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3342 * malloc/malloc.c (mtrim): Likewise.
3343 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3344
33452012-10-03 Roland McGrath <roland@hack.frob.com>
3346
3347 * sysdeps/mach/hurd/dl-cache.c: File removed.
3348 * config.h.in (USE_LDCONFIG): New #undef.
3349 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3350 * configure: Regenerated.
3351 * elf/Makefile (dl-routines): Add dl-cache only under
3352 [$(use-ldconfig) = yes].
3353 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3354 cache on [USE_LDCONFIG].
3355 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3356 [USE_LDCONFIG].
3357 * elf/rtld.c (dl_main): Likewise.
3358
33592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3360
3361 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3362 _SC_LEVEL4_CACHE_LINESIZE.
3363
33642012-10-03 Roland McGrath <roland@hack.frob.com>
3365
3366 * sysdeps/unix/bsd/confstr.h: File removed.
3367
33682012-10-02 Alexandre Oliva <aoliva@redhat.com>
3369
3370 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3371 sys/sdt-config.h.
3372
33732012-10-02 Roland McGrath <roland@hack.frob.com>
3374
3375 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3376 Make 'mapoff' field ElfW(Off) rather than off_t.
3377
33782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3379
3380 * nscd/Makefile: Remove nscd-cflags and all its users.
3381 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3382 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3383
3384 [BZ #10631]
3385 * malloc.c (malloc_printerr): Clarify error message.
3386
33872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 [BZ #14648]
3390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3391 Set bit_FMA_Usable if FMA is supported.
3392 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3393 macro.
3394 (bit_FMA4_Usable): Updated.
3395 (index_FMA_Usable): New macro.
3396 (CPUID_FMA): Likewise
3397 (HAS_FMA): Defined with bit_FMA_Usable.
3398
33992012-10-01 Roland McGrath <roland@hack.frob.com>
3400
3401 * bits/types.h (__swblk_t): Type removed.
3402 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3403 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3404 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3405 (__SWBLK_T_TYPE): Likewise.
3406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3407 (__SWBLK_T_TYPE): Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3409 (__SWBLK_T_TYPE): Likewise.
3410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3411 (__SWBLK_T_TYPE): Likewise.
3412
34132012-10-01 Patsy Franklin <pfrankli@redhat.com>
3414 Honza Horak <hhorak@redhat.com>
3415
3416 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3417 (xdr_mapname): Use YPMAXMAP as maxsize.
3418 (xdr_peername): Use YPMAXPEER as maxsize.
3419 (xdr_keydat): Use YPAXRECORD as maxsize.
3420 (xdr_valdat): Use YPMAXRECORD as maxsize.
3421
34222012-10-01 Roland McGrath <roland@hack.frob.com>
3423
3424 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3425
3426 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3427 * csu/init-first.c: ... here.
3428 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3429 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3430 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3431 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3432 * sysdeps/i386/init-first.c: File removed.
3433 * sysdeps/sh/init-first.c: File removed.
3434
34352012-10-01 Joseph Myers <joseph@codesourcery.com>
3436
3437 [BZ #14645]
3438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3439 if x * y might underflow to zero and z is zero.
3440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3442 * math/libm-test.inc (min_subnorm_value): New variable.
3443 (fma_test): Add more tests.
3444 (fma_test_towardzero): Likewise.
3445 (fma_test_downward): Likewise
3446 (fma_test_upward): Likewise.
3447 (initialize): Set min_subnorm_value.
3448
34492012-09-29 Joseph Myers <joseph@codesourcery.com>
3450
3451 [BZ #14638]
3452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3453 0 + 0.
3454 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3455 mode for addition resulting in exact zero.
3456 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3458 exact 0 + 0.
3459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3461 * math/libm-test.inc (fma_test): Add more tests.
3462 (fma_test_towardzero): New function.
3463 (fma_test_downward): Likewise.
3464 (fma_test_upward): Likewise.
3465 (main): Call the new functions.
3466
34672012-09-28 David S. Miller <davem@davemloft.net>
3468
3469 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3470
34712012-09-28 Roland McGrath <roland@hack.frob.com>
3472
3473 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3474 instead of SIGALRM.
3475
3476 * sysdeps/gnu/_G_config.h: Moved to ...
3477 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3478 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3479 * sysdeps/generic/_G_config.h: ... here.
3480
3481 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3482
3483 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3484
3485 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3486 Conditionalize target on [libnss_test1.so-version].
3487
3488 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3489
3490 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3491 (elfobjdir): Move out of conditionals.
3492
3493 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3494 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3495 (__nss_lookup_function): Conditionalize label remove_from_tree on
3496 [!DO_STATIC_NSS || SHARED], matching its only use.
3497
34982012-09-28 David S. Miller <davem@davemloft.net>
3499
3500 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3501 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3502 file.
3503 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3504 sysdep_routines.
3505 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3507 when HWCAP_SPARC_CRYPTO is present.
3508
35092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3510
3511 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3512
35132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3514
3515 [BZ #6530]
3516 * stdio-common/vfprintf.c (process_string_arg): Revert
3517 2000-07-22 change.
3518
35192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3520
3521 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3522 for testcase.
3523 * stdio-common/tst-sprintf.c: Include <locale.h>
3524 (main): Test sprintf's handling of incomplete multibyte
3525 characters.
3526
35272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3528
3529 * elf/dl-runtime.c (VERSYMIDX): Removed.
3530 * elf/dl-version.c (VERSYMIDX): Likewise.
3531 * elf/do-rel.h (VERSYMIDX): Likewise.
3532 (VALIDX): Likewise.
3533 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3534 * elf/rtld.c (VALIDX): Likewise.
3535 (ADDRIDX): Likewise.
3536 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3537 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3538 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3539 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3540 (VALIDX): Likewise.
3541 (ADDRIDX): Likewise.
3542
35432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3544
3545 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3546
35472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3548
3549 [BZ #11438]
3550 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3551 to global scope.
3552 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3553 addresses are in the same scope as 192.0.2/24.
3554 * posix/gai.conf: Document new scope table defaults.
3555
35562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3557
3558 [BZ #5298]
3559 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3560 for ftell. Compute offsets from write pointers instead.
3561 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3562
35632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3564
3565 [BZ #14543]
3566 * libio/Makefile (tests): New test case tst-fseek.
3567 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3568 combination works in wide mode.
3569 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3570 state when the external buffer state changes.
3571
35722012-09-27 David S. Miller <davem@davemloft.net>
3573
3574 [BZ #14376]
3575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3576 pass reloc->r_addend in as the 'high' argument to
3577 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3578
3579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3580
35812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3582
3583 * rt/tst-aio2.c: Include <pthread.h>.
3584 * rt/tst-aio3.c: Likewise.
3585
35862012-09-27 Steve Ellcey <sellcey@mips.com>
3587
3588 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3589
35902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3591
3592 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3593 contents on [SHARED].
3594
35952012-09-26 Marek Polacek <polacek@redhat.com>
3596
3597 [BZ #14530]
3598 [BZ #13741]
3599 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3600 for C++ and GCC <4.3 as well as for non GCC compilers.
3601
36022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3603
3604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3605
36062012-09-25 Roland McGrath <roland@hack.frob.com>
3607
3608 * Makefile.in (all, install): Declare with .PHONY.
3609 Reported by Michael Hope <michael.hope@linaro.org>.
3610
36112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3612
3613 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3614 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3615 system header.
3616 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3617 Likewise.
3618 (sydep_routines): Add the new and the internal functions.
3619 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3620 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3622 (GLIBC_2.17): Add the new function.
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3624 (GLIBC_2.17): Likewise.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3626 (GLIBC_2.17): Likewise.
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3628 (GLIBC_2.17): Likewise.
3629 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3630
36312012-09-25 Alan Modra <amodra@gmail.com>
3632
3633 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3634 Add release barrier before setting once_control to say
3635 initialisation is done. Add hints on lwarx. Use macro in
3636 place of isync.
3637 (clear_once_control): Add release barrier.
3638
36392012-09-25 Joseph Myers <joseph@codesourcery.com>
3640
3641 [BZ #13629]
3642 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3643 specially.
3644 * math/s_clog10.c (__clog10): Likewise.
3645 * math/s_clog10f.c (__clog10f): Likewise.
3646 * math/s_clog10l.c (__clog10l): Likewise.
3647 * math/s_clogf.c (__clogf): Likewise.
3648 * math/s_clogl.c (__clogl): Likewise.
3649 * math/Makefile (libm-calls): Add x2y2m1.
3650 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3651 (__x2y2m1): Likewise.
3652 (__x2y2m1l): Likewise.
3653 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3654 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3655 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3656 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3657 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3658 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3659 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3660 * sysdeps/i386/fpu/libm-test-ulps: Update.
3661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3662
3663 [BZ #14621]
3664 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3665 int as type of variable DEPTH.
3666 (glob): Use size_t instead of int as type of variables NEWCOUNT
3667 and OLD_PATHC.
3668
36692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3670
3671 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3672 Add s_sincosf-sse2.
3673 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3674 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3675 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3676 macros for using routine as __sincosf_ia32.
3677 Use macro for function declaration and weak_alias.
3678 * sysdeps/i386/fpu/libm-test-ulps: Update.
3679
3680 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3682
3683 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3684 subnormal argument.
3685 * math/s_cexpf.c (__cexpf): Likewise.
3686 * math/s_csinf.c (__csinf): Likewise.
3687 * math/s_csinhf.c (__csinhf): Likewise.
3688 * math/s_ctanf.c (__ctanf): Likewise.
3689 * math/s_ctanhf.c (__ctanhf): Likewise.
3690 * math/s_ccosh.c (__ccoshf): Likewise.
3691 * math/s_cexp.c (__cexpl): Likewise.
3692 * math/s_csin.c (__csin): Likewise.
3693 * math/s_csinh.c (__csinh): Likewise.
3694 * math/s_ctan.c (__ctan): Likewise.
3695 * math/s_ctanh.c (ctanh): Likewise.
3696 * math/s_ccoshl.c (__ccoshl): Likewise.
3697 * math/s_cexpl.c (__cexpl): Likewise.
3698 * math/s_csinl.c (__csinl): Likewise.
3699 * math/s_csinhl.c (__csinhl): Likewise.
3700 * math/s_ctanl.c (__ctanl): Likewise.
3701 * math/s_ctanhl.c (__ctanhl): Likewise.
3702
37032012-09-25 Joseph Myers <joseph@codesourcery.com>
3704
3705 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3706 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3707 (_IO_off_t): Define to __off_t, not _G_off_t.
3708 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3709 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3710 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3711 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3712 type of __dummy and __dummy2 fields.
3713 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3714 (_G_ssize_t): Likewise.
3715 (_G_off_t): Likewise.
3716 (_G_pid_t): Likewise.
3717 (_G_uid_t): Likewise.
3718 (_G_wchar_t): Likewise.
3719 (_G_wint_t): Likewise.
3720 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3721 (_G_ssize_t): Likewise.
3722 (_G_off_t): Likewise.
3723 (_G_pid_t): Likewise.
3724 (_G_uid_t): Likewise.
3725 (_G_wchar_t): Likewise.
3726 (_G_wint_t): Likewise.
3727 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3728 (_G_ssize_t): Likewise.
3729 (_G_off_t): Likewise.
3730 (_G_pid_t): Likewise.
3731 (_G_uid_t): Likewise.
3732 (_G_wchar_t): Likewise.
3733 (_G_wint_t): Likewise.
3734
37352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3736
3737 * malloc/arena.c: Include malloc-sysdep.h.
3738 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3739 is sufficient to shrink the heap or an unmap is needed.
3740 * sysdeps/generic/malloc-sysdep.h: New file. Define
3741 new function check_may_shrink_heap.
3742 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3743 new function check_may_shrink_heap.
3744
37452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3746
3747 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3748 comments.
3749
37502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3751
3752 * catgets/test-gencat.sh: Add "set -e".
3753 * elf/tst-pathopt.sh: Likewise.
3754 * grp/tst_fgetgrent.sh: Likewise.
3755 * iconvdata/run-iconv-test.sh: Likewise.
3756 * intl/tst-gettext.sh: Likewise.
3757 * intl/tst-gettext2.sh: Likewise.
3758 * intl/tst-gettext4.sh: Likewise.
3759 * intl/tst-gettext6.sh: Likewise.
3760 * intl/tst-translit.sh: Likewise.
3761 * io/ftwtest-sh: Likewise.
3762 * libio/test-freopen.sh: Likewise.
3763 * malloc/tst-mtrace.sh: Likewise.
3764 * posix/globtest.sh: Likewise.
3765 * posix/tst-getconf.sh: Likewise.
3766 * posix/wordexp-tst.sh: Likewise.
3767 * stdio-common/tst-printf.sh: Likewise.
3768 * stdio-common/tst-unbputc.sh: Likewise.
3769 * stdlib/tst-fmtmsg.sh: Likewise.
3770 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3771 * catgets/Makefile: Do not specify -e option when running
3772 testsuite shell scripts.
3773 * elf/Makefile: Likewise.
3774 * grp/Makefile: Likewise.
3775 * iconvdata/Makefile: Likewise.
3776 * intl/Makefile: Likewise.
3777 * io/Makefile: Likewise.
3778 * libio/Makefile: Likewise.
3779 * malloc/Makefile: Likewise.
3780 * posix/Makefile: Likewise.
3781 * stdio-common/Makefile: Likewise.
3782 * stdlib/Makefile: Likewise.
3783 * sysdeps/x86_64/Makefile: Likewise.
3784
3785 * io/ftwtest-sh: Add copyright header.
3786 * posix/globtest.sh: Likewise.
3787 * posix/tst-getconf.sh: Likewise.
3788 * posix/wordexp-tst.sh: Likewise.
3789 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3790
37912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3792
3793 [BZ #13679]
3794 * Makeconfig (+link): Defined as $(+link-static) if
3795 $(build-shared) isn't yes.
3796 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3797 isn't yes.
3798 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3799
3800 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3801
3802 [BZ #14562]
3803 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3804 new chunk size with MALLOC_ALIGN_MASK.
3805
38062012-09-24 Joseph Myers <joseph@codesourcery.com>
3807
3808 [BZ #5044]
3809 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3810 <rounding-mode.h>.
3811 (__printf_fphex): Determine rounding using get_rounding_mode and
3812 round_away.
3813 * stdio-common/tst-printf-round.c (struct hex_test): New
3814 structure.
3815 (hex_tests): New variable.
3816 (test_hex_in_one_mode): New function.
3817 (do_test): Also run tests for hex float output.
3818
38192012-09-21 Joseph Myers <joseph@codesourcery.com>
3820
3821 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3822 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3823 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3824 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3825 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3826 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3827 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3828 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3829
38302012-09-20 Joseph Myers <joseph@codesourcery.com>
3831
3832 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3833 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3834 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3835 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3836
38372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3838
3839 [BZ #14579]
3840 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3841 mode only.
3842 * elf/tst-rtld-load-self.sh: New test.
3843 * elf/Makefile: Run it.
3844
38452012-09-18 Joseph Myers <joseph@codesourcery.com>
3846
3847 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3848 (tst-writev-ENV): Remove.
3849 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3850
38512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3852
3853 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3854
38552012-09-17 Joseph Myers <joseph@codesourcery.com>
3856
3857 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3858 unconditional.
3859 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3860 Likewise.
3861 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3862 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3863 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3864 Likewise.
3865
38662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3867
3868 [BZ #14587]
3869 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3870 * config.make.in (have-cpp-asm-debuginfo): Removed.
3871 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3872 * configure: Regenerated.
3873
38742012-09-14 Joseph Myers <joseph@codesourcery.com>
3875
3876 [BZ #5044]
3877 * stdio-common/printf_fp.c: Include <stdbool.h> and
3878 <rounding-mode.h>.
3879 (___printf_fp): Determine rounding using get_rounding_mode and
3880 round_away.
3881 * stdio-common/tst-printf-round.c: New file.
3882 * stdio-common/Makefile (tests): Add tst-printf-round.
3883 (link-libm): New variable.
3884 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3885
38862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 [BZ #14576]
3889 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3890 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3891 Likewise.
3892 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3893 Likewise.
3894
38952012-09-13 Joseph Myers <joseph@codesourcery.com>
3896
3897 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3898 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3899 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3900 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3901
39022012-09-12 Joseph Myers <joseph@codesourcery.com>
3903
3904 [BZ #14518]
3905 * include/rounding-mode.h: New file.
3906 * sysdeps/generic/get-rounding-mode.h: Likewise.
3907 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3908 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3909 (MAX_VALUE): New macro.
3910 (MIN_VALUE): Likewise.
3911 (overflow_value): New function.
3912 (underflow_value): Likewise.
3913 (round_and_return): Use overflow_value and underflow_value to
3914 determine return values in overflow and underflow cases. Use
3915 round_away to determine rounding depending on rounding mode.
3916 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3917 determine return values in overflow and underflow cases.
3918 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3919 (struct test_results): New structure.
3920 (struct test): Use struct test_results to store expected results
3921 for all rounding modes.
3922 (TEST): Include expected results for all rounding modes.
3923 (test_in_one_mode): New function.
3924 (do_test): Use test_in_one_mode to compute and check results.
3925 Check results for all rounding modes.
3926 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3927 $(link-libm).
3928
39292012-12-09 Allan McRae <allan@archlinux.org>
3930
3931 * sysdeps/i386/fpu/libm-test-ulps: Update
3932
39332012-09-11 Joseph Myers <joseph@codesourcery.com>
3934
3935 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3936 (_G_int32_t): Likewise.
3937 (_G_uint16_t): Likewise.
3938 (_G_uint32_t): Likewise.
3939 (_G_HAVE_BOOL): Likewise.
3940 (_G_HAVE_ATEXIT): Likewise.
3941 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3942 (_G_HAVE_IO_FILE_OPEN): Likewise.
3943 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3944 (_G_int32_t): Likewise.
3945 (_G_uint16_t): Likewise.
3946 (_G_uint32_t): Likewise.
3947 (_G_HAVE_BOOL): Likewise.
3948 (_G_HAVE_ATEXIT): Likewise.
3949 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3950 (_G_HAVE_IO_FILE_OPEN): Likewise.
3951 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3952 (_G_int32_t): Likewise.
3953 (_G_uint16_t): Likewise.
3954 (_G_uint32_t): Likewise.
3955 (_G_HAVE_BOOL): Likewise.
3956 (_G_HAVE_ATEXIT): Likewise.
3957 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3958 (_G_HAVE_IO_FILE_OPEN): Likewise.
3959
39602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3961
3962 * csu/libc-tls.c: Update copyright years.
3963
39642012-09-10 Joseph Myers <joseph@codesourcery.com>
3965
3966 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3967 [!_G_USING_THUNKS]: Remove conditional code.
3968 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3969 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3970
3971 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3972 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3973 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3974 (_G_VTABLE_LABEL_PREFIX): Likewise.
3975 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3976 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3977 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3978 (_G_VTABLE_LABEL_PREFIX): Likewise.
3979 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3980 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3981 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3982 (_G_VTABLE_LABEL_PREFIX): Likewise.
3983 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3984
39852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3986
3987 * libio/Makefile: Include ../Makeconfig before tests.
3988 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3989 only if $(build-shared) is yes.
3990
3991 * iconv/gconv_db.c: Update copyright years.
3992
39932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3994
3995 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3996 unwind info if defined PIC. Fix special cases description.
3997 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3998
3999 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4000 DP_HI_MASK entry.
4001 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4002
40032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4006
4007 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4008 is NULL.
4009
4010 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4011 (LDLIBS-tst-chk4): This.
4012 (LDFLAGS-tst-chk5): Renamed to ...
4013 (LDLIBS-tst-chk5): This.
4014 (LDFLAGS-tst-chk6): Renamed to ...
4015 (LDLIBS-tst-chk6): This.
4016 (LDFLAGS-tst-lfschk4): Renamed to ...
4017 (LDLIBS-tst-lfschk4): This.
4018 (LDFLAGS-tst-lfschk5): Renamed to ...
4019 (LDLIBS-tst-lfschk5): This.
4020 (LDFLAGS-tst-lfschk6): Renamed to ...
4021 (LDLIBS-tst-lfschk6): This.
4022
4023 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4024 on $(common-objpfx)soversions.mk.
4025
40262012-09-07 Joseph Myers <joseph@codesourcery.com>
4027
4028 [BZ #10014]
4029 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4030 example host name.
4031
40322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4033
4034 * malloc/arena.c (arena_get_retry): New function that gets
4035 another arena for the caller to try its request on.
4036 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4037 current arena cannot fulfill the request.
4038 (__libc_memalign): Likewise.
4039 (__libc_memalign): Likewise.
4040 (__libc_pvalloc): Likewise.
4041 (__libc_calloc): Likewise.
4042
40432012-09-05 John Tobey <john.tobey@gmail.com>
4044
4045 [BZ #13542]
4046 * manual/arith.texi (Operations on Complex): Fix description
4047 of carg branch cut.
4048
40492012-09-06 Joseph Myers <joseph@codesourcery.com>
4050
4051 [BZ #10014]
4052 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4053 host name.
4054
4055 [BZ #10038]
4056 * manual/memory.texi (Memory): Make order of menu items match
4057 order of sections.
4058
40592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4060
4061 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4062 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4063 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4064
40652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4066
4067 * csu/libc-tls.c (static_dtv): Renamed to ...
4068 (_dl_static_dtv): This. Make it global.
4069 (_dl_initial_dtv): Removed.
4070 (__libc_setup_tls): Updated.
4071 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4072 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4073 DL_INITIAL_DTV.
4074
40752012-09-06 Petr Machata <pmachata@redhat.com>
4076
4077 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4078 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4079 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4080 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4081
40822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4083
4084 [BZ #14545]
4085 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4086 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4087 freeing dtv[-1].
4088
40892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4090
4091 [BZ #14544]
4092 * Makeconfig (link-static-before-libc): Replace $(+prector)
4093 with $(+prectorT).
4094 (link-static-after-libc): Replace $(+postctor) with
4095 $(+postctorT).
4096 (link-bounded): Replace $(+prector)/$(+postctor) with
4097 $(+prectorT)/$(+postctorT).
4098 (+prectorT): New macro.
4099 (+postctorT): Likewise.
4100
41012012-09-06 Joseph Myers <joseph@codesourcery.com>
4102
4103 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4104 (round_str): Handle values above the maximum for IBM long double
4105 as inexact.
4106 * stdlib/tst-strtod-round.c (tests): Regenerated.
4107
41082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4109
4110 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4111 assembler flag.
4112 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4113 zarch_nohighgprs around the zarch optimized routines.
4114 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4115 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4116 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4117 for zarch.
4118
41192012-09-05 David S. Miller <davem@davemloft.net>
4120
4121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4122
4123 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4124 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4125 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4126 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4127 entries.
4128
41292012-09-05 Alexandre Oliva <aoliva@redhat.com>
4130
4131 * malloc/arena.c: Fold copyright years.
4132 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4133
41342012-09-05 Alexandre Oliva <aoliva@redhat.com>
4135
4136 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4137
41382012-09-05 Alexandre Oliva <aoliva@redhat.com>
4139
4140 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4141
41422012-09-05 Alexandre Oliva <aoliva@redhat.com>
4143
4144 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4145 change internal state upon failure.
4146
41472012-09-05 Alexandre Oliva <aoliva@redhat.com>
4148
4149 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4150 * malloc/memusage.c (mmap): Likewise.
4151 (mmap64, mremap): Likewise. Adjust name in comment.
4152
41532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4154
4155 * libio/fileops.c: Fix typos in comments.
4156 * libio/oldfileops.c: Likewise.
4157 * libio/wfileops.c: Likewise.
4158
41592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
4161 [BZ #1349]
4162 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4163 (tst-malloc-usable-ENV): Set environment for test case.
4164 * malloc/hooks.c (malloc_check_get_size): New function to get
4165 requested size.
4166 * malloc/malloc.c (musable): Use malloc_check_get_size.
4167 * malloc/tst-malloc-usable.c: New test case.
4168
41692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4170
4171 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4172
41732012-09-05 Allan McRae <allan@archlinux.org>
4174
4175 [BZ #13966]
4176 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4177 determine header location.
4178 * configure: Regenerated.
4179
41802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4181
4182 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4183 float format.
4184 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4185 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4186 format.
4187 (test): Regenerate.
4188
41892012-09-04 David S. Miller <davem@davemloft.net>
4190
4191 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4192 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4193 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4194
41952012-09-04 Florian Weimer <fweimer@redhat.com>
4196
4197 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4198 failures.
4199
4200 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4201
42022012-09-04 Joseph Myers <joseph@codesourcery.com>
4203
4204 [BZ #9914]
4205 * libio/iogetdelim.c: Include <limits.h>.
4206 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4207 + len + 1 would overflow.
4208
42092012-09-03 Andreas Jaeger <aj@suse.de>
4210
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4212 * sysdeps/i386/fpu/libm-test-ulps: Update.
4213
42142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4215
4216 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4217 Add s_sinf-sse2, s_conf-sse2.
4218
4219 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4220 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4221 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4222 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4223
4224 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4225 for using routine as __sinf_ia32.
4226 Use macro for function declaration and weak_alias.
4227 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4228 for using routine as __cosf_ia32.
4229 Use macro for function declaration and weak_alias.
4230
4231 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4232 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4233
4234 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4235 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4237
4238 * math/libm-test.inc (cos_test): Add more test cases.
4239 (sin_test): Likewise.
4240 (sincos_test): Likewise.
4241
42422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4243
4244 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4245 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4246 hidden.
4247 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4248
42492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4250
4251 [BZ #14538]
4252 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4253 first element of the GOT.
4254 (elf_machine_load_address): Return the difference between
4255 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4256
42572012-09-01 Allan McRae <allan@archlinux.org>
4258
4259 [BZ #13412]
4260 * configure.in (AWK): Require gawk version 3.0 or later.
4261 * configure: Regenerated.
4262
42632012-09-01 Joseph Myers <joseph@codesourcery.com>
4264
4265 * sysdeps/unix/sysv/linux/kernel-features.h
4266 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4267 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4268 [__NR_clock_getres]: Make code unconditional.
4269 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4270 (clock_getcpuclockid): Remove code left unreachable by removal of
4271 conditionals.
4272 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4273 code unconditional.
4274 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4275 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4276 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4277 Make code unconditional.
4278 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4279 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4280 * sysdeps/unix/sysv/linux/clock_settime.c
4281 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4282 conditional code.
4283 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4284 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4285
42862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4287
4288 [BZ #14476]
4289 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4290 scripts/test-installation.pl.
4291
4292 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4293 and $ld_so_version if it is set.
4294
42952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4296
4297 [BZ #14516]
4298 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4299 failure if reading from procfs failed.
4300 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4301
43022012-08-27 Joseph Myers <joseph@codesourcery.com>
4303
4304 * sysdeps/unix/sysv/linux/kernel-features.h
4305 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4306 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4307 Remove conditional code.
4308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4309 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4310 Remove conditional code.
4311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4312 * sysdeps/unix/sysv/linux/i386/fxstat.c
4313 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4315 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4316 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4318 * sysdeps/unix/sysv/linux/i386/lxstat.c
4319 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4321 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4322 Remove conditional code.
4323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4324 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4325 Remove conditional code.
4326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4327 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4328 <kernel-features.h>.
4329 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4330 Remove.
4331 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4332 Remove conditional code.
4333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4334 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4335 Remove conditional.
4336
43372012-08-27 Mike Frysinger <vapier@gentoo.org>
4338
4339 [BZ #5400]
4340 * NEWS: Add fixed bug number.
4341
43422012-08-27 Joseph Myers <joseph@codesourcery.com>
4343
4344 [BZ #14519]
4345 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4346 underflowing exponent in case of negative sign.
4347 * stdlib/tst-strtod-round-data: Add more tests.
4348 * stdlib/tst-strtod-round.c (tests): Regenerated.
4349
4350 [BZ #3479]
4351 * stdlib/strtod_l.c (NDIG): Remove.
4352 (HEXNDIG): Likewise.
4353 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4354 smallest representable value.
4355 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4356 lie within an exact representation of 1/2 ulp of the result.
4357 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4358 unconditionally.
4359 (TENS_P9_IDX): Define unconditionally.
4360 (TENS_P9_SIZE): Likewise.
4361 (TENS_P10_IDX): Likewise.
4362 (TENS_P10_SIZE): Likewise.
4363 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4364 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4365 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4366 entries for 10^2^13 and 10^2^14.
4367 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4368 (TENS_P13_IDX): Define.
4369 (TENS_P13_SIZE): Likewise.
4370 (TENS_P14_IDX): Likewise.
4371 (TENS_P14_SIZE): Likewise.
4372 (_fpioconst_pow10): Change array size to
4373 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4374 unconditional.
4375 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4376 1024]: Add entries for 10^2^13 and 10^2^14.
4377 [LAST_POW10 > _LAST_POW10]: Remove #error.
4378 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4379 (_fpioconst_pow10): Change array size to
4380 FPIOCONST_POW10_ARRAY_SIZE.
4381 * stdlib/gen-fpioconst.c: New file.
4382 * stdlib/gen-tst-strtod-round.c: Likewise.
4383 * stdlib/tst-strtod-round-data: Likewise.
4384 * stdlib/tst-strtod-round.c: Likewise.
4385 * stdlib/Makefile (tests): Add tst-strtod-round.
4386
4387 [BZ #14459]
4388 * stdlib/strtod_l.c: Include <stdint.h>.
4389 (NDEBUG): Do not define.
4390 (round_and_return): Change EXPONENT parameter to type intmax_t.
4391 Rearrange calculations to avoid internal overflow possibilities.
4392 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4393 Rearrange calculations to avoid internal overflow possibilities.
4394 Assert that number fits inside MPNSIZE limbs.
4395 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4396 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4397 calculations and add assertions to avoid internal overflow
4398 possibilities. Add casts to avoid signed/unsigned operations.
4399 * stdlib/tst-strtod-overflow.c: New file.
4400 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4401
44022012-08-25 Marek Polacek <polacek@redhat.com>
4403
4404 * time/time.h: Fix some typos in comments.
4405
44062012-08-23 Roland McGrath <roland@hack.frob.com>
4407
4408 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4409 * posix/tst-rfc3484-2.c: Likewise.
4410 * posix/tst-rfc3484-3.c: Likewise.
4411
44122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4413
4414 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4415 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4416
44172012-08-23 Joseph Myers <joseph@codesourcery.com>
4418
4419 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4420 #include of fxstatat64.c.
4421
44222012-08-22 Roland McGrath <roland@hack.frob.com>
4423
4424 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4425 * shadow/getspent_r.c: Likewise.
4426 * shadow/getspnam.c: Likewise.
4427 * shadow/getspnam_r.c: Likewise.
4428 * gshadow/getsgent.c: Likewise.
4429 * gshadow/getsgent_r.c: Likewise.
4430 * gshadow/getsgnam.c: Likewise.
4431 * gshadow/getsgnam_r.c: Likewise.
4432 * inet/getnetbyad.c: Likewise.
4433 * inet/getnetbyad_r.c: Likewise.
4434 * inet/getnetbynm.c: Likewise.
4435 * inet/getnetbynm_r.c: Likewise.
4436 * inet/getnetent.c: Likewise.
4437 * inet/getnetent_r.c: Likewise.
4438 * inet/getproto.c: Likewise.
4439 * inet/getproto_r.c: Likewise.
4440 * inet/getprtent.c: Likewise.
4441 * inet/getprtent_r.c: Likewise.
4442 * inet/getprtname.c: Likewise.
4443 * inet/getprtname_r.c: Likewise.
4444 * inet/getrpcbyname.c: Likewise.
4445 * inet/getrpcbyname_r.c: Likewise.
4446 * inet/getrpcbynumber.c: Likewise.
4447 * inet/getrpcbynumber_r.c: Likewise.
4448 * inet/getrpcent.c: Likewise.
4449 * inet/getrpcent_r.c: Likewise.
4450 * inet/getaliasent.c: Likewise.
4451 * inet/getaliasent_r.c: Likewise.
4452 * inet/getaliasname.c: Likewise.
4453 * inet/getaliasname_r.c: Likewise.
4454 * nscd/getgrgid_r.c: Likewise.
4455 * nscd/getgrnam_r.c: Likewise.
4456 * nscd/gethstbyad_r.c: Likewise.
4457 * nscd/gethstbynm3_r.c: Likewise.
4458 * nscd/getpwnam_r.c: Likewise.
4459 * nscd/getpwuid_r.c: Likewise.
4460 * nscd/getsrvbynm_r.c: Likewise.
4461 * nscd/getsrvbypt_r.c: Likewise.
4462 * nscd/gai.c: Likewise.
4463
4464 * configure.in (build_nscd): New substituted variable, set
4465 by --disable-build-nscd and defaults to $use_nscd.
4466 * configure: Regenerated.
4467 * config.make.in (build-nscd): New substituted variable.
4468 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4469 Change conditional to require [$(build-nscd) = yes] as well.
4470 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4471
4472 [BZ# 13696]
4473 * configure.in (use_nscd): New substituted variable, set by
4474 --disable-nscd. If enabled, define USE_NSCD.
4475 * configure: Regenerated.
4476 * config.h.in: Add USE_NSCD.
4477 * config.make.in (use-nscd): New substituted variable.
4478 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4479 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4480 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4481 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4482 (CFLAGS-getgrnam_r.c): Likewise.
4483 (CFLAGS-initgroups.c): Likewise.
4484 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4485 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4486 Variables removed.
4487 * inet/getnetgrent_r.c
4488 (nscd_setnetgrent): New function, broken out of ...
4489 (setnetgrent): ... here. Call it.
4490 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4491 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4492 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4493 * nscd/Makefile (routines, aux): Move definitions after include of
4494 Makeconfig. Conditionalize on [$(use-nscd) != no].
4495 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4496 Conditionalize on [USE_NSCD].
4497 (is_nscd, nscd_init_cb): Likewise.
4498 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4499 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4500 * nss/nss_db/db-init.c: Likewise.
4501 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4502 [USE_NSCD].
4503 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4504 (make_request): Use it.
4505 (cache_valid_p): New function.
4506 (__check_pf): Use it.
4507 * NEWS: Add item for --disable-nscd.
4508
45092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4510
4511 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4512 to support sed >= 4.2.1-20-ga9bf076.
4513 * configure: Regenerated.
4514
45152012-08-22 Roland McGrath <roland@hack.frob.com>
4516
4517 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4518 Conditionalize whole body on [IREL].
4519
45202012-08-22 Jeff Law <law@redhat.com>
4521
4522 [BZ #14505]
4523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4524 if the family is PF_UNSPEC.
4525
45262012-08-22 Mike Frysinger <vapier@gentoo.org>
4527
4528 * Makerules (lib-version): Rename from V.
4529 (install-lib-nosubdir): Change V to lib-version.
4530
45312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4532
4533 [BZ #14252]
4534 * powerpc32/power6/wcschr.c: New file.
4535 * powerpc32/power6/wcscpy.c: New file.
4536 * powerpc32/power6/wcsrchr.c: New file.
4537 * powerpc64/power6/wcschr.c: New file.
4538 * powerpc64/power6/wcscpy.c: New file.
4539 * powerpc64/power6/wcsrchr.c: New file.
4540
45412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4542
4543 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4544 (two_way_short_needle): Use it.
4545 * string/strstr.c (AVAILABLE1_USES_J): Define.
4546 * string/strcasestr.c: Likewise.
4547
4548 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4549 array references.
4550 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4551
4552 [BZ #11607]
4553 * NEWS: Add an entry.
4554 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4555 define their defaults.
4556 (two_way_short_needle): Detect end-of-string on-the-fly.
4557 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4558 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4559 * string/bug-strcasestr1.c: New test.
4560 * string/Makefile: Run it.
4561
45622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4563
4564 [BZ #11607]
4565 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4566 the first character.
4567
45682012-08-21 Roland McGrath <roland@hack.frob.com>
4569
4570 * csu/elf-init.c (__libc_csu_irel): Function removed.
4571 * csu/libc-start.c (apply_irel): New function.
4572 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4573
45742012-08-21 Joseph Myers <joseph@codesourcery.com>
4575
4576 * sysdeps/unix/sysv/linux/kernel-features.h
4577 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4578 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4579 <kernel-features.h>.
4580 [__NR_fadvise64_64]: Make code unconditional.
4581 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4582 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4583 !__NR_fadvise64_64)]: Likewise.
4584 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4585 !__NR_fadvise64_64))]: Likewise.
4586 [__NR_fadvise64]: Make code unconditional.
4587 [!__NR_fadvise64]: Remove conditional code.
4588 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4589 <kernel-features.h>.
4590 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4591 unconditional.
4592 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4593 conditional code.
4594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4595 not include <kernel-features.h>.
4596 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4597 unconditional.
4598 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4599 conditional code.
4600 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4601 include <kernel-features.h>.
4602 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4603 unconditional.
4604 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4605 conditional code.
4606
46072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4608
4609 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4610 slight instruction rearrangements per scrollpipe analysis.
4611 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4612
46132012-08-20 Roland McGrath <roland@hack.frob.com>
4614
4615 * manual/syslog.texi (syslog; vsyslog, closelog):
4616 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4617 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4618
4619 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4620 DSOCAPS to match condition on defining it.
4621
46222012-08-20 Joseph Myers <joseph@codesourcery.com>
4623
4624 * sysdeps/unix/sysv/linux/kernel-features.h
4625 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4627 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4628 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4630 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4631 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4633 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4634 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4635
4636 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4637 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4638
4639 * sysdeps/unix/sysv/linux/kernel-features.h
4640 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4641 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4642 unconditional.
4643 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4644 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4645 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4646 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4647 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4648 Make code unconditional.
4649 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4650 (__mmap64) [!__NR_mmap2]: Likewise.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4652 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4653 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4654 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4655 [__NR_mmap2]: Make code unconditional.
4656 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4657 (__mmap64) [!__NR_mmap2]: Likewise.
4658
46592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4660
4661 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4662
46632012-08-18 Andreas Jaeger <aj@suse.de>
4664
4665 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4666
46672012-08-18 Mike Frysinger <vapier@gentoo.org>
4668
4669 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4670 * include/unistd.h (__have_sock_cloexec): Likewise.
4671 (__have_pipe2): Likewise.
4672 (__have_dup3): Likewise.
4673
46742012-08-18 Mike Frysinger <vapier@gentoo.org>
4675
4676 [BZ #9685]
4677 * include/unistd.h (__have_pipe2): Change define into an extern int.
4678 (__have_dup3): Likewise.
4679 * socket/have_sock_cloexec.c: Include fcntl.h.
4680 (__have_pipe2): New variable.
4681 (__have_dup3): Likewise.
4682
46832012-08-17 Mike Frysinger <vapier@gentoo.org>
4684
4685 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4686
46872012-08-17 Marek Polacek <polacek@redhat.com>
4688
4689 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4690 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4691
46922012-08-17 Roland McGrath <roland@hack.frob.com>
4693
4694 * configure.in: Add AC_SUBST for sysheaders.
4695 * configure: Regenerated.
4696 * config.make.in (sysheaders): New substituted variable.
4697
4698 * sysdeps/unix/mkfifo.c: Moved ...
4699 * sysdeps/posix/mkfifo.c: ... here.
4700 * sysdeps/unix/mkfifoat.c: Moved ...
4701 * sysdeps/posix/mkfifoat.c: ... here.
4702
4703 * sysdeps/unix/utime.c: Moved ...
4704 * sysdeps/posix/utime.c: ... here.
4705
4706 * sysdeps/unix/time.c: Moved ...
4707 * sysdeps/posix/time.c: ... here.
4708 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4709 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4710
4711 * sysdeps/unix/nice.c: Moved ...
4712 * sysdeps/posix/nice.c: ... here.
4713
4714 * sysdeps/unix/alarm.c: Moved ...
4715 * sysdeps/posix/alarm.c: ... here.
4716
4717 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4718
47192012-08-17 Jeff Law <law@redhat.com>
4720
4721 * intl/Makefile (codeset_mo): New variable.
4722 ($(codeset_mo)): New target.
4723 (tst-codeset.out): Depend on that. Remove explicit rule.
4724 (tst-gettext3.out, tst-gettext5.out): Likewise.
4725 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4726 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4727 * intl/tst-codeset.sh: Remove.
4728 * intl/tst-gettext3.sh: Likewise.
4729 * intl/tst-gettext5.sh: Likewise.
4730
47312012-08-17 Roland McGrath <roland@hack.frob.com>
4732
4733 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4734 * sysdeps/unix/syscalls.list: ... here.
4735
4736 * sysdeps/posix/getaddrinfo.c
4737 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4738 (gaiconf_init, gaiconf_reload): Use them.
4739 [!_STATBUF_ST_NSEC]
4740 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4741 Define using time_t rather than struct timespec.
4742
4743 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4744 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4745 Macros removed.
4746 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4747 [!NO_THREADS].
4748 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4749 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4750 Likewise.
4751
4752 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4753 __libc_cleanup_push argument.
4754
4755 * bits/param.h: New file.
4756 * misc/sys/param.h: New file.
4757 * include/sys/param.h: New file.
4758 * misc/Makefile (headers): Add bits/param.h.
4759 * sysdeps/generic/sys/param.h: File removed.
4760 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4761 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4762 * sysdeps/mach/hurd/bits/param.h: New file.
4763 * sysdeps/mach/hurd/sys/param.h: File removed.
4764
4765 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4766 last change.
4767
4768 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4769 [_IO_MTSAFE_IO].
4770 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4771 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4772 New macros.
4773
4774 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4775 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4776 rather than -D_IO_MTSAFE_IO conditionally.
4777 * stdio-common/Makefile (CPPFLAGS): Likewise.
4778 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4779 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4780 Use $(libio-mtsafe).
4781 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4782 of -D_IO_MTSAFE_IO.
4783 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4784 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4785 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4786 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4787 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4788 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4789 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4790 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4791 (CFLAGS-fread_u_chk.c): Likewise.
4792 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4793 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4794 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4795 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4796 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4797 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4798 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4799 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4800 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4801
4802 * libio/Makefile: Test [$(libc-reentrant) = yes]
4803 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4804
4805 * Makeconfig
4806 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4807 * sysdeps/pthread/configure: File removed.
4808 * sysdeps/pthread/Makeconfig: New file.
4809 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4810 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4811
48122012-08-16 Gary Benson <gbenson@redhat.com>
4813
4814 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4815 unmapping the first object in a namespace.
4816
48172012-08-16 Roland McGrath <roland@hack.frob.com>
4818
4819 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4820 (__internal_setnetgrent): ... this. Add internal_function to
4821 definition. Add libc_hidden_def.
4822 (setnetgrent): Update caller.
4823 (internal_endnetgrent): Renamed to ...
4824 (__internal_endnetgrent): ... this. Add internal_function to
4825 definition. Add libc_hidden_def.
4826 (endnetgrent): Update caller.
4827 (internal_getnetgrent_r): Renamed to ...
4828 (__internal_getnetgrent_r): ... this. Add internal_function to
4829 definition. Add libc_hidden_def.
4830 (__getnetgrent_r): Update caller.
4831 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4832
48332012-08-16 Joseph Myers <joseph@codesourcery.com>
4834
4835 * stdlib/longlong.h: Update from GCC.
4836
48372012-08-16 Roland McGrath <roland@hack.frob.com>
4838
4839 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4840 on _QL, which is set by umul_ppmm but never used.
4841 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4842 variables, which are set by GMP macros but never used.
4843 * stdio-common/_itowa.c (_itowa): Likewise.
4844 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4845 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4846
48472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4848
4849 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4850 struct La_sh_regs is not constant.
4851 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4852 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4853 and struct La_sparc64_regs are not constant.
4854
48552012-08-16 Joseph Myers <joseph@codesourcery.com>
4856
4857 * sysdeps/unix/sysv/linux/kernel-features.h
4858 (__ASSUME_POSIX_TIMERS): Remove.
4859 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4860 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4861 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4862 Make code unconditional.
4863 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4864 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4865 Make code unconditional.
4866 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4867 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4868 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4869 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4870 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4871 Make code unconditional.
4872 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4873 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4874 (__libc_missing_posix_timers): Remove.
4875
48762012-08-15 Roland McGrath <roland@hack.frob.com>
4877
4878 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4879 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4880
4881 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4882
4883 * elf/dl-sym.c: Include <stdlib.h>.
4884
4885 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4886 constants, which avoids warnings in 32-bit builds.
4887
4888 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4889 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4890
4891 * misc/lseek.c: File moved to ...
4892 * io/lseek.c: ... here.
4893
4894 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4895
4896 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4897 shifting LEN more than 31 bits at once.
4898
48992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4900
4901 [BZ #14195]
4902 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4903 segmentation fault for a case of two empty input strings.
4904 * string/test-strncasecmp.c (check1): Renamed to...
4905 (bz12205): ...this.
4906 (bz14195): Add new testcase for two empty input strings and N > 0.
4907 (test_main): Call new testcase, adapt for renamed function.
4908
49092012-08-15 Andreas Jaeger <aj@suse.de>
4910
4911 [BZ #14090]
4912 * crypt/md5test2.c: New test, based on test supplied by Serge
4913 Belyshev <belyshev@depni.sinp.msu.ru>.
4914 * crypt/Makefile (xtests): Add md5test-giant..
4915 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4916
49172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4918
4919 [BZ #14090]
4920 * crypt/md5.c (md5_process_block): Don't assume the buffer
4921 length is less than 2**32.
4922 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4923 length is less than 2**64.
4924
49252012-08-15 Roland McGrath <roland@hack.frob.com>
4926
4927 * string/str-two-way.h: Include <sys/param.h>.
4928 (MAX): Macro removed.
4929
4930 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4931 Move #define and #undef of memmove to just before and after
4932 including <string.h>.
4933
4934 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4935 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4936 and after including <string.h>. Move declarations of
4937 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4938 to before #include "string/memmove.c".
4939
4940 * include/dirent.h: Declare __getdirentries.
4941
4942 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4943 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4944
49452012-08-14 Mike Frysinger <vapier@gentoo.org>
4946
4947 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4948 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4949 * sysdeps/i386/configure: Regenerated.
4950 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4951 STABS_CURRENT_FILE, and STABS_FUN.
4952 (END): Remove call to STABS_FUN_END.
4953 (STABS_CURRENT_FILE1): Delete.
4954 (STABS_CURRENT_FILE): Likewise.
4955 (STABS_FUN): Likewise.
4956 (STABS_FUN_END): Likewise.
4957 (STABS_FUN2): Likewise.
4958 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4959 * sysdeps/x86_64/configure: Regenerated.
4960
49612012-08-14 Roland McGrath <roland@hack.frob.com>
4962
4963 * elf/dl-open.c: Include <atomic.h>.
4964 * elf/dl-lookup.c: Likewise.
4965
49662012-08-14 Joseph Myers <joseph@codesourcery.com>
4967
4968 * sysdeps/unix/sysv/linux/kernel-features.h
4969 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4970 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4971 unconditionally.
4972 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4973 unconditionally.
4974 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4975 condition on __ASSUME_CLONE_THREAD_FLAGS.
4976
49772012-08-14 Andreas Jaeger <aj@suse.de>
4978
4979 * sysdeps/i386/fpu/libm-test-ulps: Update.
4980
49812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4982
4983 * include/atomic.h (atomic_exchange_and_add): Split into ...
4984 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4985 New atomic macros.
4986
49872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4988
4989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4990
49912012-08-13 Jeff Law <law@redhat.com>
4992
4993 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4994 null byte in the output string.
4995
49962012-08-10 Joseph Myers <joseph@codesourcery.com>
4997
4998 * sysdeps/unix/sysv/linux/kernel-features.h
4999 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5000 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5001 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5003 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5004 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5005 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5006
50072012-08-09 Jeff Law <law@redhat.com>
5008
5009 [BZ #13939]
5010 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5011 When avoid_arena is set, don't retry in the that arena. Pick the
5012 next one, whatever it might be.
5013 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5014 (arena_lock): Pass in new parameter to arena_get2.
5015 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5016 arena_get2.
5017 (__libc_malloc): Unify retrying after main arena failure with
5018 __libc_memalign version.
5019 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5020
50212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5022
5023 [BZ #14166]
5024 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5025 to __redirect_strstr.
5026 (__strstr_sse42): Use typeof __redirect_strstr.
5027 (__strstr_ia32): Likewise.
5028 (__libc_strstr): New prototype.
5029 (strstr): Renamed to ...
5030 (__libc_strstr): This.
5031 (strstr): New strong alias of __libc_strstr.
5032 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5033 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5034 __redirect_time.
5035 Include <time.h>.
5036 (__libc_time): New prototype.
5037 (time_ifunc): Replace time with __libc_time.
5038 (time): New strong alias and hidden definition of __libc_time.
5039 (__GI_time): Remove strong alias.
5040 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5041 Include <stddef.h>.
5042 (memmove): Redefined to __redirect_memmove.
5043 (__memmove_sse2): Use typeof __redirect_memmove.
5044 (__memmove_ssse3): Likewise.
5045 (__memmove_ssse3_back): Likewise.
5046 (__libc_memmove): New prototype.
5047 (memmove): Renamed to ...
5048 (__libc_memmove): This.
5049 (memmove): New strong alias of __libc_memmove.
5050
50512012-08-08 Mark Salter <msalter@redhat.com>
5052
5053 * elf/elf.h
5054 (R_MN10300_TLS_GD): Define.
5055 (R_MN10300_TLS_LD): Likewise.
5056 (R_MN10300_TLS_LDO): Likewise.
5057 (R_MN10300_TLS_GOTIE): Likewise.
5058 (R_MN10300_TLS_IE): Likewise.
5059 (R_MN10300_TLS_LE): Likewise.
5060 (R_MN10300_TLS_DTPMOD): Likewise.
5061 (R_MN10300_TLS_DTPOFF): Likewise.
5062 (R_MN10300_TLS_TPOFF): Likewise.
5063 (R_MN10300_SYM_DIFF): Likewise.
5064 (R_MN10300_ALIGN): Likewise.
5065 (R_MN10300_NUM): Update.
5066
50672012-08-08 Joseph Myers <joseph@codesourcery.com>
5068
5069 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5070 Remove.
5071
50722012-08-08 Roland McGrath <roland@hack.frob.com>
5073
5074 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5075
5076 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5077 sysdeps/unix -> sysdeps/posix move.
5078 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5079
50802012-08-07 Allan McRae <allan@archlinux.org>
5081
5082 [BZ #14303]
5083 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5084 (SUNOS_CPP): Likewise.
5085 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5086 not found.
5087 (open_input): Call CPP using execvp.
5088
50892012-08-07 Joseph Myers <joseph@codesourcery.com>
5090
5091 * sysdeps/unix/sysv/linux/kernel-features.h
5092 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5093 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5094 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5095 (__ASSUME_WAITID_SYSCALL): Likewise.
5096 * sysdeps/unix/sysv/linux/dl-execstack.c
5097 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5098 code unconditional.
5099 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5100 conditional code.
5101 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5102 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5103 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5104 code.
5105 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5106 unconditional.
5107 [__ASSUME_WAITID_SYSCALL]: Likewise.
5108 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5109
51102012-08-07 Roland McGrath <roland@hack.frob.com>
5111
5112 * sysdeps/unix/closedir.c: Renamed to ...
5113 * sysdeps/posix/closedir.c: ... here.
5114 * sysdeps/unix/dirfd.c: Renamed to ...
5115 * sysdeps/posix/dirfd.c: ... here.
5116 * sysdeps/unix/dirstream.h: Renamed to ...
5117 * sysdeps/posix/dirstream.h: ... here.
5118 * sysdeps/unix/fdopendir.c: Renamed to ...
5119 * sysdeps/posix/fdopendir.c: ... here.
5120 * sysdeps/unix/opendir.c: Renamed to ...
5121 * sysdeps/posix/opendir.c: ... here.
5122 * sysdeps/unix/readdir.c: Renamed to ...
5123 * sysdeps/posix/readdir.c: ... here.
5124 * sysdeps/unix/readdir_r.c: Renamed to ...
5125 * sysdeps/posix/readdir_r.c: ... here.
5126 * sysdeps/unix/rewinddir.c: Renamed to ...
5127 * sysdeps/posix/rewinddir.c: ... here.
5128 * sysdeps/unix/seekdir.c: Renamed to ...
5129 * sysdeps/posix/seekdir.c: ... here.
5130 * sysdeps/unix/telldir.c: Renamed to ...
5131 * sysdeps/posix/telldir.c: ... here.
5132 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5133 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5134 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5135 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5136
5137 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5138 * bits/fcntl.h: ... here.
5139
5140 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5141 not 0.
5142 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5143 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5144 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5145 (struct flock): Move l_start, l_len to the beginning.
5146 Use __pid_t for l_pid.
5147 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5148 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5149 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5150 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5151 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5152 [__USE_LARGEFILE64] (struct flock64): New type.
5153 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5154
5155 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5156 * bits/dirent.h: ... here.
5157
5158 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5159 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5160
51612012-08-07 Joseph Myers <joseph@codesourcery.com>
5162
5163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5164 Change from 2.6.0 to 2.6.16.
5165 * sysdeps/unix/sysv/linux/configure: Regenerated.
5166 * sysdeps/unix/sysv/linux/kernel-features.h
5167 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5168 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5169 version.
5170 (__ASSUME_UTIMES): Likewise.
5171 (__ASSUME_CLONE_STOPPED): Remove.
5172 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5173 architectures, not kernel version.
5174 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5175 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5176 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5177 (__ASSUME_WAITID_SYSCALL): Likewise.
5178 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5179 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5180 * README: State 2.6.16 as minimum Linux kernel version. Do not
5181 refer to older versions.
5182
51832012-08-06 Roland McGrath <roland@hack.frob.com>
5184
5185 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5186 Define alphasort64 as an alias.
5187 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5188 Define versionsort64 as an alias.
5189 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5190 Define scandir64 as an alias.
5191 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5192 Define scandirat64 as an alias.
5193 * dirent/alphasort64.c (alphasort64):
5194 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5195 * dirent/versionsort64.c: Likewise.
5196 * dirent/scandir64.c: Likewise.
5197 * dirent/scandirat64.c: Likewise.
5198 * sysdeps/wordsize-64/alphasort.c: File removed.
5199 * sysdeps/wordsize-64/alphasort64.c: File removed.
5200 * sysdeps/wordsize-64/scandir.c: File removed.
5201 * sysdeps/wordsize-64/scandir64.c: File removed.
5202 * sysdeps/wordsize-64/scandirat.c: File removed.
5203 * sysdeps/wordsize-64/scandirat64.c: File removed.
5204 * sysdeps/wordsize-64/versionsort.c: File removed.
5205 * sysdeps/wordsize-64/versionsort64.c: File removed.
5206 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5207 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5208 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5209 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5210 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5211 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5212 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5213 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5214
5215 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5217 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5219 [defined __arch64__ || defined __sparcv9]
5220 (__INO_T_MATCHES_INO64_T): New macro.
5221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5222 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5223 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5224 * sysdeps/unix/sysv/linux/bits/dirent.h
5225 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5226 (_DIRENT_MATCHES_DIRENT64): New macro.
5227
5228 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5229 Define lockf64 as an alias.
5230 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5231 Define fseeko64 as an alias.
5232 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5233 Define ftello64 as an alias.
5234 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5235 Define _IO_fgetpos64 and fgetpos64 as aliases.
5236 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5237 Define _IO_fsetpos64 and fsetpos64 as aliases.
5238 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5239 Conditionalize body on this.
5240 * libio/fseeko64.c: Likewise.
5241 * libio/ftello64.c: Likewise.
5242 * libio/iofgetpos64.c: Likewise.
5243 * libio/iofsetpos64.c: Likewise.
5244 * sysdeps/wordsize-64/lockf.c: File removed.
5245 * sysdeps/wordsize-64/lockf64.c: File removed.
5246 * sysdeps/wordsize-64/fseeko.c: File removed.
5247 * sysdeps/wordsize-64/fseeko64.c: File removed.
5248 * sysdeps/wordsize-64/ftello.c: File removed.
5249 * sysdeps/wordsize-64/ftello64.c: File removed.
5250 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5251 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5252 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5253 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5255 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5257 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5259 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5260 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5261 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5262 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5263 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5264
5265 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5267 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5269 [defined __arch64__ || defined __sparcv9]
5270 (__OFF_T_MATCHES_OFF64_T): New macro.
5271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5272 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5274 (__OFF_T_MATCHES_OFF64_T): New macro.
5275
52762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5277
5278 * stdlib/secure-getenv.c (__secure_getenv): Replace
5279 GLIBC_2_16 with GLIBC_2_17.
5280
52812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5282
5283 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5285
52862012-08-03 David S. Miller <davem@davemloft.net>
5287
5288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5289
52902012-08-03 Joseph Myers <joseph@codesourcery.com>
5291
5292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5293 Remove.
5294 (__ASSUME_CORRECT_SI_PID): Likewise.
5295 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5296 (__ASSUME_TMPFS_NAME): Likewise.
5297 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5298 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5299 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5300 (HAVE_AUX_SECURE): Make definition unconditional.
5301 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5302 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5303
53042012-08-03 Roland McGrath <roland@hack.frob.com>
5305
5306 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5307 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5308 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5309 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5310 __eloop_threshold instead of SYMLOOP_MAX.
5311
5312 * sysdeps/generic/eloop-threshold.h: New file.
5313 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5314 of MAXSYMLINKS.
5315 * elf/chroot_canon.c (chroot_canon): Likewise.
5316
53172012-08-03 Joseph Myers <joseph@codesourcery.com>
5318
5319 [BZ #13717]
5320 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5321 Change to 2.6.0 everywhere.
5322 * sysdeps/unix/sysv/linux/configure: Regenerated.
5323 * sysdeps/unix/sysv/linux/kernel-features.h
5324 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5325 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5326 kernel versions.
5327 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5328 (__ASSUME_FUTEX_REQUEUE): Remove.
5329 (__ASSUME_STATFS64): Define unconditionally.
5330 (__ASSUME_AT_SECURE): Likewise.
5331 (__ASSUME_CORRECT_SI_PID): Likewise.
5332 (__ASSUME_TGKILL): Define without depending on kernel version for
5333 i386.
5334 (__ASSUME_UTIMES): Likewise.
5335 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5336 kernel version.
5337 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5338 (__ASSUME_TMPFS_NAME): Likewise.
5339 * README: Update reference to Linux kernel versions.
5340
53412012-08-02 Marek Polacek <polacek@redhat.com>
5342
5343 [BZ# 14150]
5344 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5345 libc_cv_asm_type_prefix with %.
5346 * configure: Regenerated.
5347 * include/libc-symbols.h: Remove comment about
5348 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5349 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5350 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5351 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5352 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5353 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5354 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5355 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5356 * elf/tst-unique2mod1.c: Likewise.
5357 * elf/tst-unique1mod2.c: Likewise.
5358 * elf/tst-unique1mod1.c: Likewise.
5359 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5360 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5361 Replace ASM_TYPE_DIRECTIVE with .type.
5362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5363 * sysdeps/i386/sysdep.h: Likewise.
5364 * sysdeps/x86_64/sysdep.h: Likewise.
5365 * sysdeps/sh/sysdep.h: Likewise.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5367 Do not define ASM_TYPE_DIRECTIVE.
5368 * sysdeps/powerpc/sysdep.h: Likewise.
5369 * sysdeps/powerpc/powerpc32/sysdep.h:
5370 Replace ASM_TYPE_DIRECTIVE with .type.
5371 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5372 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5373 * sysdeps/i386/fpu/e_powf.S: Likewise.
5374 * sysdeps/i386/fpu/e_expl.S: Likewise.
5375 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5376 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5377 * sysdeps/i386/fpu/e_pow.S: Likewise.
5378 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5379 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5380 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5381 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5382 * sysdeps/i386/fpu/e_log2.S: Likewise.
5383 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5384 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5385 * sysdeps/i386/fpu/e_powl.S: Likewise.
5386 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5387 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5388 * sysdeps/i386/fpu/e_logl.S: Likewise.
5389 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5390 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5391 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5392 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5393 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5394 * sysdeps/i386/fpu/e_log.S: Likewise.
5395 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5396 * sysdeps/i386/fpu/e_logf.S: Likewise.
5397 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5398 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5399 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5400 * sysdeps/i386/fpu/e_log10.S: Likewise.
5401 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5402 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5403 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5404 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5405 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5406 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5407 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5408 * sysdeps/i386/i686/strtok.S: Likewise.
5409 * sysdeps/i386/i386-mcount.S: Likewise.
5410 * sysdeps/i386/strtok.S: Likewise.
5411 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5412 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5414 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5415 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5416 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5417 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5418 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5419 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5420 * sysdeps/x86_64/_mcount.S: Likewise.
5421 * sysdeps/x86_64/strtok.S: Likewise.
5422 * sysdeps/sh/_mcount.S: Likewise.
5423
54242012-08-01 Roland McGrath <roland@hack.frob.com>
5425
5426 * libio/iofopen.c: Include <fcntl.h>.
5427 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5428 (_IO_fopen64, fopen64): Define as aliases.
5429 * libio/iofopen64.c: Include <fcntl.h>.
5430 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5431 Conditionalize body on this.
5432 * sysdeps/wordsize-64/iofopen.c: File removed.
5433 * sysdeps/wordsize-64/iofopen64.c: File removed.
5434
54352012-08-01 Marek Polacek <polacek@redhat.com>
5436
5437 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5438 Use dlfcn directly instead of a variable.
5439 (binfmt-subdir): Do not define.
5440 (dlfcn): Likewise.
5441
54422012-08-01 Joseph Myers <joseph@codesourcery.com>
5443
5444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5445 Remove all definitions.
5446 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5447 <kernel-features.h>.
5448 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5449 (miss_F_GETOWN_EX): Remove all definitions.
5450 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5451 macro definition.
5452 [!__ASSUME_FCNTL64]: Remove conditional code.
5453 [__ASSUME_FCNTL64]: Make code unconditional.
5454 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5455 <kernel-features.h>.
5456 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5457 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5458 (lockf64) [__NR_fcntl64]: Make code unconditional.
5459 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5460
5461 * sysdeps/unix/sysv/linux/kernel-features.h
5462 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5463 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5464 Make code unconditional.
5465 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5466 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5468 [__NR_vfork]: Make code unconditional.
5469 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5470 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5472 [__NR_vfork]: Make code unconditional.
5473 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5474 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5475
54762012-08-01 Roland McGrath <roland@hack.frob.com>
5477
5478 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5479 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5480
5481 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5482 Define mkstemp64 as an alias.
5483 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5484 Define mkstemps64 as an alias.
5485 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5486 Define mkostemp64 as an alias.
5487 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5488 Define mkostemps64 as an alias.
5489 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5490 Conditionalize body on this.
5491 * misc/mkostemp64.c: Likewise.
5492 * misc/mkostemps64.c: Likewise.
5493 * misc/mkstemps64.c: Likewise.
5494 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5495 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5496 * sysdeps/wordsize-64/mkostemp.c: File removed.
5497 * sysdeps/wordsize-64/mkstemp.c: File removed.
5498 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5499 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5500 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5501 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5502
5503 [BZ #14138]
5504 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5505 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5506 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5507 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5508
5509 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5510 compat_symbol macros from <shlib-compat.h> rather than the underlying
5511 default_symbol_version and symbol_version macros, so that DEFAULT
5512 lines in shlib-versions are respected.
5513 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5514
55152012-08-01 Florian Weimer <fweimer@redhat.com>
5516
5517 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5518 Declare with warn_unused_result.
5519 (setgid, setregid, setegid, setresgid): Likewise.
5520 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5521 Likewise.
5522 * WUR-REPORT: Remove set*id functions.
5523
55242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5525
5526 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5527
55282012-07-31 Roland McGrath <roland@hack.frob.com>
5529
5530 * include/sys/socket.h (__libc_accept, __libc_accept4):
5531 Add attribute_hidden.
5532 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5533
5534 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5535 use of PTR_MANGLE.
5536 * inet/getnetgrent_r.c (setup): Likewise.
5537
5538 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5539
55402012-07-31 David S. Miller <davem@davemloft.net>
5541
5542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5543
55442012-07-31 Joseph Myers <joseph@codesourcery.com>
5545
5546 [BZ #13629]
5547 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5548 value between 1.0 and 2.0 and smaller part has absolute value less
5549 than 1.0.
5550 * math/s_clog10.c (__clog10): Likewise.
5551 * math/s_clog10f.c (__clog10f): Likewise.
5552 * math/s_clog10l.c (__clog10l): Likewise.
5553 * math/s_clogf.c (__clogf): Likewise.
5554 * math/s_clogl.c (__clogl): Likewise.
5555 * math/libm-test.inc (clog_test): Add more tests.
5556 (clog10_test): Likewise.
5557 * sysdeps/i386/fpu/libm-test-ulps: Update.
5558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5559
55602012-07-31 Florian Weimer <fweimer@redhat.com>
5561
5562 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5563 Exit with zero in case no suitable GID is found, and write a
5564 message to standard error.
5565
55662012-07-30 Roland McGrath <roland@hack.frob.com>
5567
5568 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5569 rather than to 1.
5570 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5571 (MAXPATHLEN): Removed.
5572 (NOGROUP, NODEV): New macros.
5573 (setbit, clrbit, isset, isclr): New macros.
5574 (howmany, roundup, powerof2): New macros.
5575 (DEV_BSIZE): New macro.
5576
5577 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5578 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5579
5580 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5581 definition on [!__NO_LONG_DOUBLE_MATH].
5582
5583 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5584 PTR_MANGLE and PTR_DEMANGLE.
5585
5586 * socket/accept4.c (accept4): Rename to __libc_accept4.
5587 Define accept4 as a weak alias.
5588
5589 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5590 on [_DIRENT_HAVE_D_TYPE].
5591 * io/ftw.c (ftw_dir): Likewise.
5592
5593 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5594
5595 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5596
5597 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5598 Use the BSD numbers rather than the arbitrary ones we had.
5599 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5600 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5601 (SIGXCPU, SIGXFSZ): New macros.
5602 (_NSIG): Now 32.
5603
5604 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5605 initializer on [_LIBC_REENTRANT].
5606
5607 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5608 definitions inside [_POSIX_MAPPED_FILES].
5609
5610 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5611
5612 * dirent/opendir.c: Include <fcntl.h>.
5613
5614 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5615 (__libc_getspecific): Likewise.
5616 (__libc_key_create): Likewise.
5617
5618 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5619 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5620 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5621 (tmpfile64): Define as alias.
5622 * sysdeps/wordsize-64/tmpfile.c: File removed.
5623 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5625 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5626
5627 * stdio-common/vfscanf.c: Include <stdbool.h>.
5628 * nss/makedb.c: Likewise.
5629 * stdio-common/_i18n_number.h: Likewise.
5630 * argp/argp-help.c: Likewise.
5631 * posix/wordexp.c: Likewise.
5632 * sysdeps/posix/spawni.c: Likewise.
5633 * nss/nss_files/files-initgroups.c: Likewise.
5634 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5635 * nss/nss_files/files-initgroups.c: Likewise.
5636 * nss/nss_db/db-netgrp.c: Likewise.
5637 * nss/nss_db/db-initgroups.c: Likewise.
5638 * io/fchmodat.c: Include <sys/stat.h>.
5639
5640 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5641 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5642
5643 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5644 [HAVE_MMAP].
5645
5646 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5647 Add multiple inclusion protection.
5648
56492012-07-27 David S. Miller <davem@davemloft.net>
5650
5651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5652
56532012-07-27 Gary Benson <gbenson@redhat.com>
5654
5655 [BZ #14298]
5656 * elf/rtld.c: Include <stap-probe.h>.
5657 (dl_main): Added static probes "init_start" and "init_complete".
5658 * elf/dl-load.c: Include <stap-probe.h>.
5659 (lose): Take new parameter "nsid".
5660 Added static probe "map_failed".
5661 (_dl_map_object_from_fd): Pass namespace id to lose.
5662 Added static probe "map_start".
5663 (open_verify): Pass namespace id to lose.
5664 * elf/dl-open.c: Include <stap-probe.h>.
5665 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5666 and "reloc_complete".
5667 * elf/dl-close.c: Include <stap-probe.h>.
5668 (_dl_close_worker): Added static probes "unmap_start" and
5669 "unmap_complete".
5670 * elf/rtld-debugger-interface.txt: New file documenting the above.
5671
56722012-07-26 Roland McGrath <roland@hack.frob.com>
5673
5674 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5675 rather than a string variable.
5676 * sunrpc/rpc_main.c (h_output): Likewise.
5677 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5678
56792012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5680
5681 * inet/check_native.c: New file.
5682
56832012-07-26 Joseph Myers <joseph@codesourcery.com>
5684
5685 [BZ #13629]
5686 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5687 if larger part has absolute value 1.0.
5688 * math/s_clog10.c (__clog10): Likewise.
5689 * math/s_clog10f.c (__clog10f): Likewise.
5690 * math/s_clog10l.c (__clog10l): Likewise.
5691 * math/s_clogf.c (__clogf): Likewise.
5692 * math/s_clogl.c (__clogl): Likewise.
5693 * math/libm-test.inc (clog_test): Add more tests.
5694 (clog10_test): Likewise.
5695 * sysdeps/i386/fpu/libm-test-ulps: Update.
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697
5698 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5699 (pltexit): Likewise.
5700 (La_regs): Likewise.
5701 (La_retval): Likewise.
5702 (int_retval): Likewise.
5703 Update #error for removed macros to refer only to definitions in
5704 tst-audit.h.
5705 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5706 macro.
5707 (pltexit): Likewise.
5708 (La_regs): Likewise.
5709 (La_retval): Likewise.
5710 (int_retval): Likewise.
5711 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5712 macro.
5713 (pltexit): Likewise.
5714 (La_regs): Likewise.
5715 (La_retval): Likewise.
5716 (int_retval): Likewise.
5717 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5718 macro.
5719 (pltexit): Likewise.
5720 (La_regs): Likewise.
5721 (La_retval): Likewise.
5722 (int_retval): Likewise.
5723 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5724 macro.
5725 (pltexit): Likewise.
5726 (La_regs): Likewise.
5727 (La_retval): Likewise.
5728 (int_retval): Likewise.
5729 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5730 macro.
5731 (pltexit): Likewise.
5732 (La_regs): Likewise.
5733 (La_retval): Likewise.
5734 (int_retval): Likewise.
5735 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5736 macro.
5737 (pltexit): Likewise.
5738 (La_regs): Likewise.
5739 (La_retval): Likewise.
5740 (int_retval): Likewise.
5741 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5742 macro definitions in tst-audit.h.
5743 * sysdeps/i386/tst-audit.h: New file.
5744 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5745 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5746 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5747 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5748 * sysdeps/sh/tst-audit.h: Likewise.
5749 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5750 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5751 * sysdeps/x86_64/tst-audit.h: Likewise.
5752
57532012-07-26 Andreas Jaeger <aj@suse.de>
5754
5755 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5756 ptrace.
5757
5758 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5759 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5760 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5761 PTRACE_O_MASK.
5762 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5763 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5764 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5765
5766 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5767 value.
5768
5769 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5770 _sigsys.
5771 (si_call_addr, si_syscall, si_arch): Define new macro.
5772 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5773 _sigsys.
5774 (si_call_addr, si_syscall, si_arch): Define new marcro.
5775 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5776 _sigsys.
5777 (si_call_addr, si_syscall, si_arch): Define new macro.
5778 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5779 _sigsys.
5780 (si_call_addr, si_syscall, si_arch): Define new macro.
5781
57822012-07-25 Joseph Myers <joseph@codesourcery.com>
5783
5784 [BZ #13717]
5785 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5786 Change to 2.4.21 where previously 2.4.1.
5787 * sysdeps/unix/sysv/linux/configure: Regenerated.
5788 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5789 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5790 Linux kernel version.
5791 (__ASSUME_STD_AUXV): Remove.
5792 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5793 kernel version.
5794 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5795 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5796 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5797 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5798 (__ASSUME_NETLINK_SUPPORT): Likewise.
5799 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5800 (__no_netlink_support): Remove conditional definition.
5801 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5802 Remove.
5803 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5804 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5805 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5806 (if_nameindex_ioctl): Remove.
5807 (if_nameindex_netlink): Do not handle __no_netlink_support.
5808 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5809 code.
5810 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5811 Remove conditional code.
5812 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5813 code.
5814 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5815 unconditional.
5816 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5817 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5818 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5819 Remove.
5820 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5821 [!__ASSUME_STD_AUXV]: Remove conditional code.
5822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5823 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5824 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5827 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5828 code.
5829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5831 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5832 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5833 conditional code.
5834 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5836 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5837 code.
5838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5839 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5840 conditional code.
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5842 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5843 code unconditional.
5844 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5845 conditional code.
5846 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5847 unconditional.
5848 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5849 conditional code.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5851 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5852 unconditional.
5853 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5854 conditional code.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5856 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5857 code unconditional.
5858 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5859 conditional code.
5860 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5861 unconditional.
5862 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5863 conditional code.
5864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5865 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5866 code unconditional.
5867 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5868 conditional code.
5869 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5870 unconditional.
5871 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5872 conditional code.
5873
58742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5875
5876 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5877 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5878 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5879 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5880 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5881 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5882 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5883 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5884 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5885 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5886 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5887 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5888 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5889 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5890 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5891 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5892 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5893 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5894 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5896 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5897 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5898 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5899
59002012-07-25 Florian Weimer <fweimer@redhat.com>
5901
5902 * Versions.def: Add GLIBC_2.17.
5903 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5904 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5905 Introduce __libc_secure_getenv.
5906 * stdlib/Versions (2.17): Add secure_getenv
5907 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5908 * stdlib/secure-getenv.c: Rename __secure_getenv to
5909 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5910 symbol __secure_getenv for GLIBC_2.0.
5911 * stdlib/tst-secure-getenv.c: New.
5912 * stdlib/Makefile (tests): Add testcase.
5913 * manual/startup.texi (Environment Access): Document
5914 secure_getenv.
5915 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5916 __libc_secure_getenv.
5917 * inet/ruserpass.c (ruserpass): Likewise.
5918 * malloc/mtrace.c (mtrace): Likewise.
5919 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
5920 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5921 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5922 * sysdeps/posix/tempname.c: Likewise. Evaluate
5923 HAVE_SECURE_GETENV.
5924 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
5925 __secure_getenv to __libc_secure_getenv.
5926 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5928 Likewise.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5930 Likewise.
5931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
5938
59392012-07-25 Joseph Myers <joseph@codesourcery.com>
5940
5941 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5942 (struct La_i86_retval): Likewise.
5943 (struct La_x86_64_regs): Likewise.
5944 (struct La_x86_64_retval): Likewise.
5945 (struct La_x32_regs): Likewise.
5946 (struct La_x32_retval): Likewise.
5947 (struct La_ppc32_regs): Likewise.
5948 (struct La_ppc32_retval): Likewise.
5949 (struct La_ppc64_regs): Likewise.
5950 (struct La_ppc64_retval): Likewise.
5951 (struct La_sh_regs): Likewise.
5952 (struct La_sh_retval): Likewise.
5953 (struct La_s390_32_regs): Likewise.
5954 (struct La_s390_32_retval): Likewise.
5955 (struct La_s390_64_regs): Likewise.
5956 (struct La_s390_64_retval): Likewise.
5957 (struct La_sparc32_regs): Likewise.
5958 (struct La_sparc32_retval): Likewise.
5959 (struct La_sparc64_regs): Likewise.
5960 (struct La_sparc64_retval): Likewise.
5961 (struct audit_ifaces): Remove architecture-specific pltenter and
5962 pltexit members.
5963 * sysdeps/i386/ldsodefs.h: New file.
5964 * sysdeps/powerpc/ldsodefs.h: Likewise.
5965 * sysdeps/s390/ldsodefs.h: Likewise.
5966 * sysdeps/sh/ldsodefs.h: Likewise.
5967 * sysdeps/sparc/ldsodefs.h: Likewise.
5968 * sysdeps/x86_64/ldsodefs.h: Likewise.
5969
59702012-07-25 Marek Polacek <polacek@redhat.com>
5971
5972 [BZ #6808]
5973 * math/libm-test.inc (yn_test): Add another test.
5974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5975 to ERANGE when the result is +-Inf.
5976 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5977 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5978 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5979 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5980
59812012-07-24 Joseph Myers <joseph@codesourcery.com>
5982
5983 * conform/data/time.h-data (NULL): Use macro-constant. Require
5984 equal to 0.
5985 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5986 clock_t.
5987 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5988
59892012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5990
5991 * configure.in <sysdeps resolving>: Correct printing
5992 Implies_before.
5993 * configure: Regenerate.
5994
59952012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5996
5997 * math/w_ilogb.c: Include <limits.h>.
5998 * math/w_ilogbl.c: Likewise.
5999
60002012-07-20 Joseph Myers <joseph@codesourcery.com>
6001
6002 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6003 va_copy. Document allowing for unavailable va_copy only as
6004 pre-C99 compatibility.
6005 * manual/string.texi (Copying and Concatenation): Use va_copy
6006 instead of __va_copy in concat example.
6007
60082012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6009
6010 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6011 (__sendto): Use create_address_port. Initialize APORT and deallocate
6012 it if not null.
6013
6014 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6015 with O_NOLINK passed to __file_name_lookup.
6016
6017 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6018 with O_NOLINK passed to __file_name_lookup.
6019
6020 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6021 negative N or less than NGIDS.
6022
6023 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6024 type to string_t. Set ERANGE as errno and return it if NAME is not big
6025 enough. Use memcpy instead of strncpy.
6026
60272012-07-20 Joseph Myers <joseph@codesourcery.com>
6028
6029 * elf/Makefile (check-data): Remove.
6030 (localplt.data): New vpath directive.
6031 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6032 instead of $(check-data).
6033 * scripts/data/localplt-generic.data: Move to ...
6034 * sysdeps/generic/localplt.data: ... here.
6035 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6036 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6037 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6039 ... here.
6040 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6042 ... here.
6043 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6045 ... here.
6046 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6048 ... here.
6049 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6051 ... here.
6052 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6054 ... here.
6055
60562012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057
6058 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6059 PPC32 and PPC64 files.
6060 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6061 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6062
60632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6064
6065 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6066 __makecontext_ret to ...
6067 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6068 ... here and call exit if uc_link is NULL. New file.
6069 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6070 __makecontext_ret.S.
6071 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6072 __makecontext_ret to ...
6073 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6074 ... here and call exit if uc_link is NULL. New file.
6075 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6076 __makecontext_ret.S.
6077
60782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6079
6080 * elf/elf.h (R_390_IRELATIVE): New definition.
6081 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6082 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6083 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6085 (elf_machine_lazy_rel): Likewise.
6086 * sysdeps/s390/dl-irel.h: New file.
6087 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6088 * sysdeps/s390/s390-64/memset.S: New asm code.
6089 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6090 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6092 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6093 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6094 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6096 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6097 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6098 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6099 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6100 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6101 * sysdeps/s390/s390-32/memset.S: New asm code.
6102 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6103
61042012-07-17 Marek Polacek <polacek@redhat.com>
6105
6106 [BZ #14349]
6107 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6108 * sysdeps/s390/s390-64/configure.in: Likewise.
6109 * sysdeps/sparc/configure.in: Likewise.
6110 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6111 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6112 * sysdeps/i386/configure.in: Likewise.
6113 * sysdeps/x86_64/configure.in: Likewise.
6114 * sysdeps/sh/configure.in: Likewise.
6115 * sysdeps/s390/s390-32/configure: Regenerated.
6116 * sysdeps/s390/s390-64/configure: Likewise.
6117 * sysdeps/x86_64/configure: Likewise.
6118 * sysdeps/sh/configure: Likewise.
6119 * sysdeps/powerpc/powerpc64/configure: Likewise.
6120 * sysdeps/powerpc/powerpc32/configure: Likewise.
6121 * sysdeps/sparc/configure: Likwise.
6122 * sysdeps/i386/configure: Likewise.
6123
6124 * elf/dl-open.c: Comment fixes.
6125
61262012-07-17 Joseph Myers <joseph@codesourcery.com>
6127
6128 * Makefile [CXX] (check-data): Remove.
6129 [CXX] (c++-types.data): New vpath directive.
6130 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6131 vpath. Do not allow for C++ type data being missing.
6132 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6133 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6134 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6135 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6136 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6137 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6138 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6140 ... here.
6141 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6143 ... here.
6144 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6146 ... here.
6147 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6149 ... here.
6150 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6152 ... here.
6153 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6155 ... here.
6156 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6158 ... here.
6159 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6161
6162 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6163 definitions to architecture-specific files.
6164 (TLS_IE): Likewise.
6165 (TLS_LD): Likewise.
6166 (TLS_GD): Likewise.
6167 * sysdeps/i386/tls-macros.h: New file.
6168 * sysdeps/powerpc/tls-macros.h: Likewise.
6169 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6170 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6171 * sysdeps/sh/tls-macros.h: Likewise.
6172 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6173 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6174 * sysdeps/x86_64/tls-macros.h: Likewise.
6175
61762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6177
6178 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6179 zero value for regular exit case.
6180
6181 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6182 (__start_context): Preserve zero value for regular exit case.
6183
61842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6185 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6186
6187 * manual/setjmp.texi (setcontext): Clarify normal process
6188 termination when uc_link is the null pointer.
6189 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6190 exit call.
6191
61922012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6193
6194 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6195 preprocessor. Test for each exception mask separately.
6196
61972012-07-16 Andreas Jaeger <aj@suse.de>
6198
6199 * po/ru.po: Update from translation team.
6200
62012012-07-15 Joseph Myers <joseph@codesourcery.com>
6202
6203 * conform/data/string.h-data (NULL): Use macro-constant. Require
6204 equal to 0.
6205 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6206 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6207 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6208 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6210
62112012-07-13 Andreas Jaeger <aj@suse.de>
6212
6213 * po/fr.po: Update from translation team.
6214
62152012-07-12 Marek Polacek <polacek@redhat.com>
6216
6217 [BZ #14173]
6218 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6219 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6220 loop condition.
6221
62222012-07-12 Joseph Myers <joseph@codesourcery.com>
6223
6224 [BZ #13717]
6225 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6226 Change to 2.4.1 where previously 2.4.0.
6227 * sysdeps/unix/sysv/linux/configure: Regenerated.
6228 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6229 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6230 version.
6231 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6232 (__ASSUME_AT_CLKTCK): Remove.
6233 (__ASSUME_AT_PAGESIZE): Likewise.
6234 (__ASSUME_AT_XID): Likewise.
6235 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6236 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6237 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6238 unconditionally.
6239 (HAVE_AUX_PAGESIZE): Likewise.
6240 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6241 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6242 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6243
62442012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6245
6246 [BZ #14307]
6247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6248 the temporary buffer used to invoke __gethostbyname2_r,
6249 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6250 host_data / struct gaih_addrtuple.
6251 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6252 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6253 header file nss/nsswitch.h.
6254 * nss/nsswitch.h (global scope): Add definition of implementation
6255 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6256 resolv/nss_dns/dns-host.c).
6257
62582012-07-11 Andreas Jaeger <aj@suse.de>
6259
6260 * po/fr.po: Update from translation team.
6261
6262 * po/sv.po: Update from translation team
6263 * po/fr.po: Another update from translation team.
6264
62652012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6266
6267 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6268 for subnormals or multiply small sinh result by itself.
6269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6271
62722012-07-11 David S. Miller <davem@davemloft.net>
6273
6274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6275
62762012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6277
6278 [BZ #14347]
6279 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6280 (INTERNAL_MARK): Shift it here.
6281
62822012-07-10 Marek Polacek <polacek@redhat.com>
6283
6284 [BZ #14151]
6285 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6286 libc_cv_asm_global_directive with .globl.
6287 * configure: Regenerated.
6288 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6289 with .globl.
6290 * sysdeps/i386/configure: Regenerated.
6291 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6292 with .globl.
6293 * sysdeps/x86_64/configure: Regenerated.
6294 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6295 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6296 * elf/tst-unique2mod2.c: Likewise.
6297 * elf/tst-unique2mod1.c: Likewise.
6298 * elf/tst-unique1mod2.c: Likewise.
6299 * elf/tst-unique1mod1.c: Likewise.
6300 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6301 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6303 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6304 * sysdeps/mach/sysdep.h: Likewise.
6305 * sysdeps/i386/sysdep.h: Likewise.
6306 * sysdeps/i386/i386-mcount.S: Likewise.
6307 * sysdeps/x86_64/_mcount.S: Likewise.
6308 * sysdeps/x86_64/sysdep.h: Likewise.
6309 * sysdeps/sh/_mcount.S: Likewise.
6310 * sysdeps/sh/sysdep.h: Likewise.
6311 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6312 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6313 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6314 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6315 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6316 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6317 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6318 * locale/localeinfo.h: Likewise.
6319 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6320 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6321
63222012-07-09 Roland McGrath <roland@hack.frob.com>
6323
6324 [BZ #14336]
6325 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6326 system".
6327 * manual/message.texi (The Uniforum approach): Likewise.
6328 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6329 (glibc iconv Implementation): Likewise.
6330
63312012-07-09 Joseph Myers <joseph@codesourcery.com>
6332
6333 [BZ #14337]
6334 * math/s_clog.c (__clog): Avoid scaling a value down where that
6335 could result in underflow.
6336 * math/s_clog10.c (__clog10): Likewise.
6337 * math/s_clog10f.c (__clog10f): Likewise.
6338 * math/s_clog10l.c (__clog10l): Likewise.
6339 * math/s_clogf.c (__clogf): Likewise.
6340 * math/s_clogl.c (__clogl): Likewise.
6341 * math/libm-test.inc (clog_test): Add more tests.
6342 (clog10_test): Likewise.
6343 * sysdeps/i386/fpu/libm-test-ulps: Update.
6344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6345
63462012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6347
6348 [BZ #14283]
6349 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6350 by 7 not 8 to examine high bit of fractional part.
6351
6352 [BZ #14042]
6353 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6354 for call to __mcount_internal.
6355 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6356 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6357 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6358
63592012-07-06 Joseph Myers <joseph@codesourcery.com>
6360
6361 [BZ #14154]
6362 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6363 approximation for values within 0x1p-13f of an odd multiple of
6364 pi/4.
6365 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6366 exception. Add more tests.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368
6369 [BZ #6778]
6370 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6371 inputs and return -1 for them. Do not check for +Inf in case not
6372 reachable for +Inf.
6373 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6374 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6376 and return -1 for them. Do not check for +Inf in case not
6377 reachable for +Inf.
6378 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6379 define.
6380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6381 and return -1 for them. Do not check for +Inf in case not
6382 reachable for +Inf.
6383 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6384 spurious underflow.
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6387
63882012-07-06 Mike Frysinger <vapier@gentoo.org>
6389
6390 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6391
63922012-07-05 Joseph Myers <joseph@codesourcery.com>
6393
6394 [BZ #14157]
6395 [BZ #14331]
6396 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6397 could result in spurious underflow. Scale down values above
6398 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6399 * math/s_csqrtf.c (__csqrtf): Likewise.
6400 * math/s_csqrtl.c (__csqrtl): Likewise.
6401 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6402 spurious underflow.
6403 * sysdeps/i386/fpu/libm-test-ulps: Update.
6404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6405
64062012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6407
6408 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6409 xopen-msg.sed.
6410 * catgets/xopen-msg.awk: New file.
6411 * catgets/xopen-msg.sed: Removed.
6412
6413 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6414 po2text.sed.
6415 * intl/po2test.awk: New file.
6416 * intl/po2test.sed: Removed.
6417
64182012-07-04 Joseph Myers <joseph@codesourcery.com>
6419
6420 [BZ #14328]
6421 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6422 or multiply small sinh result by itself.
6423 * math/s_ctanf.c (__ctanf): Likewise.
6424 * math/s_ctanh.c (__ctanh): Likewise.
6425 * math/s_ctanhf.c (__ctanhf): Likewise.
6426 * math/s_ctanhl.c (__ctanhl): Likewise.
6427 * math/s_ctanl.c (__ctanl): Likewise.
6428 * math/libm-test.inc (ctan_test_tonearest): New function.
6429 (ctan_test_towardzero): Likewise.
6430 (ctan_test_downward): Likewise.
6431 (ctan_test_upward): Likewise.
6432 (ctanh_test_tonearest): Likewise.
6433 (ctanh_test_towardzero): Likewise.
6434 (ctanh_test_downward): Likewise.
6435 (ctanh_test_upward): Likewise.
6436 (main): Call these new functions.
6437 * sysdeps/i386/fpu/libm-test-ulps: Update.
6438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6439
64402012-07-03 Mike Frysinger <vapier@gentoo.org>
6441
6442 * .gitignore: Delete /ports entry.
6443
64442012-07-03 Andreas Jaeger <aj@suse.de>
6445
6446 * po/bg.po: Update from translation team.
6447 * po/cs.po: Likewise.
6448 * po/de.po: Likewise.
6449 * po/hr.po: Likewise.
6450 * po/nl.pl: Likewise.
6451 * po/pl.po: Likewise.
6452 * po/vi.po: Likewise.
6453
64542012-07-03 Joseph Myers <joseph@codesourcery.com>
6455
6456 * Makeconfig [!+link] (+link-before-libc): New variable.
6457 [!+link] (+link-after-libc): Likewise.
6458 [!+link] (+link-tests): Likewise.
6459 [!+link] (+link): Define in terms of $(+link-before-libc) and
6460 $(+link-after-libc).
6461 [!+link-static] (+link-static-before-libc): New variable.
6462 [!+link-static] (+link-static-after-libc): Likewise.
6463 [!+link-static] (+link-static-tests): Likewise.
6464 [!+link-static] (+link-static): Define in terms of
6465 $(+link-static-before-libc) and $(+link-static-after-libc).
6466 [build-shared] (link-libc-before-gnulib): New variable.
6467 [build-shared] (link-libc-tests): Likewise.
6468 [build-shared] (link-libc): Define in terms of
6469 $(link-libc-before-gnulib).
6470 [!build-shared] (link-libc-tests): New variable.
6471 (link-libc-static-tests): New variable.
6472 [!gnulib] (gnulib-arch): New variable.
6473 [!gnulib] (gnulib-tests): Likewise.
6474 [!gnulib] (static-gnulib-arch): Likewise.
6475 [!gnulib] (static-gnulib-tests): Likewise.
6476 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6477 Define with "=" instead of ":=".
6478 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6479 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6480 * Rules (binaries-all-notests): New variable.
6481 (binaries-all-tests): Likewise.
6482 (binaries-static-notests): Likewise.
6483 (binaries-static-tests): Likewise.
6484 (binaries-all): Define using $(binaries-all-notests) and
6485 $(binaries-all-tests).
6486 (binaries-static): Define using $(binaries-static-notests) and
6487 $(binaries-static-tests).
6488 (binaries-shared-tests): New variable.
6489 (binaries-shared-notests): Likewise.
6490 (binaries-shared): Remove variable.
6491 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6492 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6493 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6494 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6495 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6496 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6497 * elf/Makefile (sln-modules): New variable.
6498 (extra-objs): Add $(sln-modules:=.o).
6499 (ldconfig-modules): Add static-stubs.
6500 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6501 * elf/static-stubs.c: New file.
6502
6503 [BZ #14283]
6504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6505 by 7 not 8 to examine high bit of fractional part. Use volatile
6506 variables when splitting into final array of floats if
6507 __FLT_EVAL_METHOD__ != 0.
6508 * math/libm-test.inc (cos_test): Add another test.
6509 (sin_test): Likewise.
6510 * sysdeps/i386/fpu/libm-test-ulps: Update.
6511
6512 [BZ #14273]
6513 * math/libm-test.inc (cosh_test): Add more tests.
6514
6515 * version.h (RELEASE): Set to "development".
6516 (VERSION): Set to "2.16.90".
6517
65182012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6519
6520 * NEWS: Update copyright. Remove last-updated date.
6521 Mention math library bug fixes and timezone data changes.
6522 * README: Mention GNU/Hurd, x32, and HPPA support status.
6523
65242012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6525
6526 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6527
65282012-06-27 Andreas Jaeger <aj@suse.de>
6529
6530 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6531
65322012-06-25 Andreas Jaeger <aj@suse.de>
6533
6534 * sysdeps/s390/fpu/libm-test-ulps: Update.
6535
65362012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6537 Thomas Schwinge <thomas@codesourcery.com>
6538
6539 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6540 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6542 fanotify_mark.
6543
65442012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6545
6546 * sysdeps/mach/start.c: Remove file.
6547 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6548 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6549 * sysdeps/sh/init-first.c: Likewise.
6550
6551 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6552 registers for frame unwinding purposes, add CFI directives.
6553 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6554 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6555 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6556 Likewise.
6557
6558 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6559 __fortify_fail returning.
6560 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6561
6562 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6563 sysdeps/sh/____longjmp_chk.S.
6564 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6565 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6566 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6567 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6568
6569 * sysdeps/sh/abort-instr.h: New file.
6570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6571 process in case exit returns.
6572
6573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6574 initialize the GOT register before use.
6575
6576 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6577 calculation of ARGC > 4.
6578
6579 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6580 meaningful names to some local labels.
6581
65822012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6583 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6584
6585 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6586 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6587 (__arch_compare_and_exchange_val_16_acq): Likewise.
6588 (__arch_compare_and_exchange_val_32_acq): Likewise.
6589 (atomic_exchange_and_add): Fix gUSA sequence.
6590 (atomic_add): Likewise.
6591 (atomic_add_negative): Likewise.
6592 (atomic_add_zero): Likewise.
6593 (atomic_bit_test_set): Likewise.
6594
65952012-06-22 Andreas Schwab <schwab@redhat.com>
6596
6597 [BZ #13579]
6598 * include/link.h (struct link_map): Add l_free_initfini.
6599 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6600 l_initfini.
6601 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6602 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6603 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6604 set.
6605
66062012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6607
6608 * configure.in: Use AC_LANG_SOURCE.
6609 * configure: Regenerate.
6610
66112012-06-22 Roland McGrath <roland@hack.frob.com>
6612
6613 * configure.in (libc_cv_localstatedir): New substituted variable.
6614 * configure: Regenerated.
6615 * config.make.in (localstatedir): New variable, substituted from
6616 libc_cv_localstatedir.
6617 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6618 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6619 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6620 * sysdeps/gnu/configure: Regenerated.
6621
66222012-06-21 Jeff Law <law@redhat.com>
6623
6624 [BZ #14277]
6625 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6626 free. Simplify list management for _LIBC case.
6627
66282012-06-21 Joseph Myers <joseph@codesourcery.com>
6629
6630 [BZ #14273]
6631 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6632 Clear sign bit of 64-bit integer value before comparing against
6633 overflow value.
6634
6635 * sysdeps/mach/configure: Regenerated.
6636
66372012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6638
6639 [BZ #14278]
6640 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6641
66422012-06-21 Jeff Law <law@redhat.com>
6643
6644 [BZ #13882]
6645 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6646 uint16_t for elements in the "seen" array to avoid char overflows.
6647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6648 * elf/dl-open.c (dl_open_worker): Likewise.
6649
66502012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6651
6652 * scripts/list-sources.sh: Scan PORTS for translations.
6653 * po/libc.pot: Regenerated.
6654
66552012-06-21 Andreas Jaeger <aj@suse.de>
6656
6657 [BZ #12194]
6658 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6659 warning.
6660 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6661 * bits/byteswap-16.h (__bswap_16): Likewise.
6662 * bits/byteswap.h (__bswap_constant_16): Likewise.
6663
66642012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 [BZ #14117]
6667 * sysdeps/i386/fpu_control.h: Removed.
6668 * sysdeps/x86_64/fpu_control.h: Moved to ...
6669 * sysdeps/x86/fpu_control.h: Here.
6670
6671 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6672 (_FPU_SETCW): Likewise.
6673
66742012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6675
6676 [BZ #14117]
6677 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6678 * sysdeps/x86/fpu/bits/mathinline.h: This.
6679 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6680
6681 [BZ #14050]
6682 [BZ #14117]
6683 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6684 functions if __x86_64__ is defined.
6685
66862012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6687
6688 * string/endian.h: Add !__ASSEMBLER__ condition for including
6689 conversion interfaces.
6690
66912012-06-15 Joseph Myers <joseph@codesourcery.com>
6692
6693 [BZ #14241]
6694 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6695 of ABS(x) in calculating zero to negative powers other than odd
6696 integers.
6697 * math/libm-test.inc (pow_test): Add more tests.
6698
66992012-06-15 Andreas Jaeger <aj@suse.de>
6700
6701 * manual/contrib.texi (Contributors): Update entry of Liubov
6702 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6703 Machado Filho.
6704
67052012-06-15 Cyril Hrubis <metan@ucw.cz>
6706
6707 * string/string.h: Add __wur to GNU version of strerror_r.
6708
67092012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6710
6711 [BZ #14229]
6712 * string/Makefile (tests): Add tst-strtok_r.
6713 * string/tst-strtok_r.c: New file.
6714 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6715 RAX_LP/RDX_LP on SAVE_PTR.
6716
67172012-06-14 Roland McGrath <roland@hack.frob.com>
6718
6719 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6720
67212012-06-14 Joseph Myers <joseph@codesourcery.com>
6722
6723 * libm_test.inc (csqrt_test): Allow more spurious underflow
6724 exceptions.
6725 (j0_test): Likewise.
6726 (j1_test): Likewise.
6727 (y0_test): Likewise.
6728 (y1_test): Likewise.
6729
67302012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6731
6732 * po/Makefile (libc.pot): Use UTF-8 charset.
6733
67342012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6735
6736 [BZ #14210]
6737 Suppress sign-conversion warning from FD_SET.
6738 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6739 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6740 not unsigned long int.
6741 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6742
67432012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 [BZ #14050]
6746 [BZ #14117]
6747 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6748 __extern_always_inline instead of __extern_inline.
6749 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6750 (__signbit): Likewise.
6751 (__signbitl): Support C++ namespace.
6752 (lrintf): New inline function.
6753 (lrint): Likewise.
6754 (llrintf): Likewise.
6755 (llrint): Likewise.
6756 (fmaxf): Likewise.
6757 (fmax): Likewise.
6758 (fminf): Likewise.
6759 (fmin): Likewise.
6760 (rint): Likewise.
6761 (rintf): Likewise.
6762 (ceil): Likewise.
6763 (ceilf): Likewise.
6764 (floor): Likewise.
6765 (floorf): Likewise.
6766 (nearbyint): Likewise.
6767 (nearbyintf): Likewise.
6768
67692012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6770
6771 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6772 non-default versions.
6773
67742012-06-11 Roland McGrath <roland@hack.frob.com>
6775
6776 [BZ #14218]
6777 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6778
67792012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6780
6781 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6782 (FE_UPWARD, FE_DOWNWARD): Don't define.
6783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6784 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6785
6786 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6787 reading it.
6788 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6789 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6790
67912012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6792
6793 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6795 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6796 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6797
67982012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6799
6800 [BZ #14117]
6801 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6802 * sysdeps/i386/fpu/Implies: New file.
6803 * sysdeps/x86_64/fpu/Implies: Likewise.
6804 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6805 * sysdeps/x86/fpu/bits/fenv.h: This.
6806
6807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6808 __SSE_MATH__.
6809
68102012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6811
6812 [BZ #14134]
6813 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6814 character 0xffff that matches the last element of the
6815 conversion table.
6816
68172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6818
6819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6820 fmodl commit.
6821
68222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823
6824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6825 values higher than 25.6283.
6826
68272012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6828
6829 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6830 subnormal exponent extraction and add some __builtin_expect.
6831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6832 Fix for subnormal mantissa calculation.
6833
68342012-06-04 Mike Frysinger <vapier@gentoo.org>
6835
6836 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6837 cpu2 is -1 and errno is not ENOSYS.
6838
68392012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6840
6841 [BZ #14117]
6842 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6843 * sysdeps/x86/bits/string.h: This.
6844 * sysdeps/x86_64/bits/string.h: Removed.
6845
6846 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6847 if not compiling for x86-64, but compiling for >= i486.
6848
6849 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6850 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6851
6852 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6853 New macro from Linux kernel 3.4.0.
6854 (FP_XSTATE_MAGIC2): Likewise.
6855 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6856 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6857 (struct _fpx_sw_bytes): New struct.
6858 (struct _xsave_hdr): Likewise.
6859 (struct _ymmh_state): Likewise.
6860 (struct _xstate): Likewise.
6861
6862 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6863 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6864 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6865 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6866 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6867 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6868
6869 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6871 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6872 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6873 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6874 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6875
68762012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6877
6878 [BZ #13743]
6879 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6880 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6881 (sysdep_headers): Include sys/platform/ppc.h.
6882 * sysdeps/powerpc/test-gettimebase.c: Test for
6883 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6884 * manual/Makefile (appendices): Include platform.texi.
6885 * manual/contrib.texi (Contributors): Update @node pointers.
6886 * manual/maint.texi (Maintenance): Likewise.
6887 (Platform): New node.
6888 * manual/platform.texi: New file. Document the new features.
6889
68902012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6891 Jakub Jelinek <jakub@redhat.com>
6892
6893 [BZ #14188]
6894 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6895 where __builtin_expect is unavailable.
6896
68972012-06-03 David S. Miller <davem@davemloft.net>
6898
6899 * stdlib/longlong.h: Updated from GCC.
6900
69012012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6902
6903 [BZ #14042]
6904 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6905 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6906 __mcount_internal.
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6908 (GLIBC_2.16): Likewise.
6909
69102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6911
6912 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6913
69142012-06-01 Joseph Myers <joseph@codesourcery.com>
6915
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6917 (default-abi): New variable.
6918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6919 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6920 variable.
6921 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6922 Likewise.
6923 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6924 Likewise.
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6926 Likewise.
6927
6928 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6929 definition. Document in comment.
6930
69312012-06-01 David S. Miller <davem@davemloft.net>
6932
6933 * stdlib/longlong.h: Updated from GCC.
6934
69352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 [BZ #14117]
6938 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6939 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6940 sys/debugreg.h sys/io.h here.
6941 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6942 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6943 sys/io.h.
6944 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6945 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6946 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6947 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6948 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6949 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6950
6951 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6952 Define only if __x86_64__ is defined.
6953
69542012-06-01 Joseph Myers <joseph@codesourcery.com>
6955
6956 [BZ #14048]
6957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6958 Use int64_t for variable i.
6959 * math/libm-test.inc (fmod_test): Add more tests.
6960
6961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6962 z computation is not scheduled after fetestexcept.
6963 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6964 Use math_force_eval instead of asm to ensure calculation scheduled
6965 before exception test.
6966 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6967 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6968
69692012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6970
6971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6972 computation is not scheduled after fetestexcept.
6973
69742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6975
6976 [BZ #14117]
6977 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6979
69802012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6981
6982 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6983 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6984
69852012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6986
6987 [BZ #14117]
6988 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6989 <bits/wordsize.h>.
6990 (__WCHAR_MIN): Support __WORDSIZE == 64.
6991 (__WCHAR_MAX): Likewise.
6992
6993 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6994 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6995
6996 [BZ #14183]
6997 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6998 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6999
7000 [BZ #14117]
7001 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7003
7004 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7005 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7006
7007 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7008 Defined to 1 if __x86_64__ isn't defined.
7009 (_STAT_VER_LINUX_OLD): New.
7010 (st_atime): Remove duplicate.
7011 (st_mtime): Likewise.
7012 (st_ctime): Likewise.
7013
70142012-05-31 David S. Miller <davem@davemloft.net>
7015
7016 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7017 entries.
7018
70192012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7020
7021 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7022 gen-libm-test.pl.
7023
7024 [BZ #14132]
7025 * elf/dl-reloc.c: Include <_itoa.h>.
7026 (_dl_reloc_bad_type): Remove use of INTUSE.
7027 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7028 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7029 * stdio-common/psiginfo.c (psiginfo): Likewise.
7030 * stdio-common/psignal.c (psignal): Likewise.
7031 * string/strsignal.c (strsignal): Likewise.
7032 * include/signal.h (_sys_siglist): Declare hidden proto.
7033 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7034 INTVARDEF with libc_hidden_data_def.
7035 * stdio-common/itoa-udigits.c: Likewise.
7036 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7037 (_itoa_lower_digits_internal): Remove declaration.
7038 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7039 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7040 (_sys_sigabbrev_internal): Remove aliases.
7041 (_sys_siglist): Define hidden alias.
7042
70432012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7044
7045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7046 bits/sysctl.h.
7047
70482012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 [BZ #14117]
7051 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7052 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7053
7054 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7055 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7056 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7057 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7058 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7059 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7060
7061 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7063 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7064
7065 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7066 with __addr.
7067 (insw): Likewise.
7068 (insl): Likewise.
7069 (outsb): Likewise.
7070 (outsw): Likewise.
7071 (outsl): Likewise.
7072
7073 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7075 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7076
7077 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7078 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7079 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7080 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7081 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7082 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7083
7084 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7085 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7086
7087 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7088 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7089
7090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7092 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7093
7094 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7095 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7096 to ...
7097 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7098
7099 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7100 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7101 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7102
7103 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7104 for x86-64.
7105 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7106
71072012-05-31 Joseph Myers <joseph@codesourcery.com>
7108
7109 * math/math.h (M_El): Use two more decimal places.
7110 (M_LOG2El): Likewise.
7111 (M_LOG10El): Likewise.
7112 (M_LN2l): Likewise.
7113 (M_LN10l): Likewise.
7114 (M_PIl): Likewise.
7115 (M_PI_2l): Likewise.
7116 (M_PI_4l): Likewise.
7117 (M_1_PIl): Likewise.
7118 (M_2_PIl): Likewise.
7119 (M_2_SQRTPIl): Likewise.
7120 (M_SQRT2l): Likewise.
7121 (M_SQRT1_2l): Likewise.
7122
71232012-05-31 David S. Miller <davem@davemloft.net>
7124
7125 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7126 values between float registers.
7127 * sysdeps/sparc/sparc64/memset.S: Likewise.
7128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7129
71302012-05-31 Mike Frysinger <vapier@gentoo.org>
7131
7132 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7133 -D_FORTIFY_SOURCE=1.
7134 (CPPFLAGS-tst-longjmp_chk.c): Define.
7135 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7136 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7137 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7138 CFLAGS-tst-wchar-h.c.
7139
71402012-05-31 Marek Polacek <polacek@redhat.com>
7141
7142 [BZ #14132]
7143 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7144 __endmntent_internal): Remove declaration.
7145 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7146 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7147 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7148
71492012-05-30 David S. Miller <davem@davemloft.net>
7150
7151 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7152 (___Q_simulate_exceptions): Use real FP ops rather than writing
7153 into the %fsr.
7154 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7155 Likewise.
7156
71572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7158
7159 [BZ #14117]
7160 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7161 * sysdeps/x86/bits/xtitypes.h: This.
7162
7163 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7164 * sysdeps/x86/bits/wordsize.h: This.
7165
7166 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7167 * sysdeps/x86/bits/huge_vall.h: This.
7168
7169 * sysdeps/i386/bits/select.h: Removed.
7170 * sysdeps/x86_64/bits/select.h: Renamed to ...
7171 * sysdeps/x86/bits/select.h: This.
7172
7173 * sysdeps/i386/bits/setjmp.h: Removed.
7174 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7175 * sysdeps/x86/bits/setjmp.h: This.
7176
7177 * sysdeps/i386/bits/mathdef.h: Removed.
7178 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7179 * sysdeps/x86/bits/mathdef.h: This.
7180
71812012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7182
7183 [BZ #14132]
7184 * include/sys/socket.h (__connect_internal)
7185 (__libc_sa_len_internal): Remove declaration.
7186 (__connect, __libc_sa_len): Declare hidden_proto.
7187 (SA_LEN): Remove use of INTUSE.
7188 * socket/connect.c: Add libc_hidden_def.
7189 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7190 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7191 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7192 alias.
7193 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7194 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7195 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7196 of adding _internal alias.
7197
71982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7199
7200 [BZ #14117]
7201 * sysdeps/i386/bits/link.h: Removed.
7202 * sysdeps/i386/bits/linkmap.h: Likewise.
7203 * sysdeps/x86_64/bits/link.h: Renamed to ...
7204 * sysdeps/x86/bits/link.h: This.
7205 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7206 * sysdeps/x86/bits/linkmap.h: This.
7207
7208 * sysdeps/i386/bits/endian.h: Removed.
7209 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7210 * sysdeps/x86/bits/endian.h: This.
7211
7212 * sysdeps/i386/bits/byteswap.h: Removed.
7213 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7214 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7215 * sysdeps/x86/bits/byteswap.h: This.
7216 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7217 * sysdeps/x86/bits/byteswap-16.h: This.
7218 * sysdeps/i386/Implies: Add x86.
7219 * sysdeps/x86_64/Implies: Likewise.
7220
72212012-05-30 David S. Miller <davem@davemloft.net>
7222
7223 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7224 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7225 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7226 (FP_TRAPPING_EXCEPTIONS): Define.
7227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7228 (FP_TRAPPING_EXCEPTIONS): Define.
7229 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7230 subnormals only when inexact has been signalled or underflow
7231 exceptions are enabled.
7232 (_FP_PACK_CANONICAL): Likewise.
7233
72342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7235
7236 [BZ #14183]
7237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7238 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7239
72402012-05-30 Richard Henderson <rth@twiddle.net>
7241
7242 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7243 with #ifndef NOT_IN_libc.
7244
7245 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7246 marked to avoid plt entry.
7247
72482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7249
7250 [BZ #14112]
7251 * Makeconfig (default-abi): New macro.
7252 (abi-includes): Likewise.
7253 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7254 $(abi-$(default-abi)-lib-soname) for soname if defined.
7255 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7256 abi-variants.
7257 * Makefile (installed-stubs): Likewise.
7258 * include/stubs-biarch.h: Removed.
7259 * scripts/lib-names.awk: Only handle one library at a time.
7260 * scripts/soversions.awk: Remove WORDSIZE support.
7261 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7262 entries.
7263 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7264 Removed.
7265 (syscall-list-default-condition): Likewise.
7266 (syscall-list-default-condition): Likewise.
7267 (syscall-list-includes): Likewise.
7268 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7269 syscall-list-* with abi-*. Handle undefined abi-variants.
7270 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7271 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7272 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7273 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7274 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7275 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7276 Removed.
7277 (syscall-list-32-options): Likewise.
7278 (syscall-list-32-condition): Likewise.
7279 (syscall-list-64-options): Likewise.
7280 (syscall-list-64-condition): Likewise.
7281 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7282 macro.
7283 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7284 Renamed to ...
7285 (abi-*): This.
7286 (abi-64-ld-soname): New macro.
7287 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7288 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7289 Renamed to ...
7290 (abi-*): This.
7291 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7292 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7293
72942012-05-30 Joseph Myers <joseph@codesourcery.com>
7295
7296 * sysdeps/unix/sysv/linux/kernel-features.h
7297 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7298 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7299 include <kernel-features.h>.
7300 [!__NR_ftruncate64]: Remove conditional code.
7301 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7302 [__NR_ftruncate64]: Make code unconditional.
7303 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7304 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7305 include <kernel-features.h>.
7306 [!__NR_ftruncate64]: Remove conditional code.
7307 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7308 [__NR_ftruncate64]: Make code unconditional.
7309 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7311 include <kernel-features.h>.
7312 [!__NR_ftruncate64]: Remove conditional code.
7313 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7314 [__NR_ftruncate64]: Make code unconditional.
7315 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7317 include <kernel-features.h>.
7318 [!__NR_ftruncate64]: Remove conditional code.
7319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7320 [__NR_ftruncate64]: Make code unconditional.
7321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7322
7323 * configure.in (libc_cv_fpie): Weaken to a compile test using
7324 LIBC_TRY_CC_OPTION.
7325 * configure: Regenerated.
7326
73272012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7328
7329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7333 Refreshed.
7334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7340 Refreshed.
7341
73422012-05-27 David S. Miller <davem@davemloft.net>
7343
7344 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7345 (___Q_zero): New.
7346 (__Q_simulate_exceptions): Return void. Change to simulate
7347 exceptions by writing into the %fsr.
7348 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7349 (__Qp_handle_exceptions): Likewise.
7350 (numbers): Delete.
7351 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7352 __Qp_handle_exceptions.
7353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7354 __Qp_handle_exceptions.
7355 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7356 as unused and give dummy FP_RND_NEAREST initializer.
7357 (FP_INHIBIT_RESULTS): Define.
7358 (___Q_simulate_exceptions): Update declaration.
7359 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7360 formatting.
7361 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7362 as unused and give dummy FP_RND_NEAREST initializer.
7363 (__Qp_handle_exceptions): Update declaration.
7364 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7365 formatting.
7366
73672012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7368
7369 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7370 the temporary FPU control word.
7371 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7372 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7374 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7375 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7376 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7377 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7379 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7380 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7381 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7382
73832012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7384
7385 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7386 fields.
7387
73882012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7389
7390 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7391 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7392 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7393 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7394 Likewise.
7395 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7396 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7397 Likewise.
7398
73992012-05-27 Ulrich Drepper <drepper@gmail.com>
7400
7401 * po/h.po: Update from translation team.
7402
74032012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7404
7405 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7406
7407 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7408 handling of denormals.
7409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7410 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7411 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7416 Likewise.
7417
74182012-05-26 Marek Polacek <polacek@redhat.com>
7419
7420 [BZ #14152]
7421 * math/libm-test.inc (fma_test): Don't always expect underflow
7422 exception.
7423
74242012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7425
7426 [BZ #12416]
7427 * elf/tst-execstack.c: Include stackinfo.h.
7428 (do_test): Adjust test case to ensure that pthread_getattr_np
7429 behaviour remains the same after marking stack executable.
7430
74312012-05-25 Joseph Myers <joseph@codesourcery.com>
7432
7433 * sysdeps/unix/sysv/linux/kernel-features.h
7434 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7435 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7436 kernel-features.h.
7437 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7438 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7439 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7440 kernel-features.h.
7441 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7442 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7443
74442012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7445
7446 * configure.in: Define the default includes to being none.
7447 * configure: Regenerated.
7448
74492012-05-25 Roland McGrath <roland@hack.frob.com>
7450
7451 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7452 * sysdeps/x86_64/setjmp.S: Likewise.
7453 * sysdeps/i386/bsd-setjmp.S: Likewise.
7454 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7455 * sysdeps/i386/setjmp.S: Likewise.
7456 * sysdeps/i386/__longjmp.S: Likewise.
7457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7458 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7459
7460 * include/stap-probe.h: New file.
7461 * configure.in: Handle --enable-systemtap.
7462 * configure: Regenerated.
7463 * config.h.in (USE_STAP_PROBE): New #undef.
7464 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7465 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7466 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7467
74682012-05-25 Joseph Myers <joseph@codesourcery.com>
7469
7470 [BZ #13717]
7471 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7472 to 2.4.0 where earlier.
7473 * sysdeps/unix/sysv/linux/configure: Regenerated.
7474 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7475 <kernel-features.h>.
7476 [__ASSUME_32BITUIDS]: Make code unconditional.
7477 [!__ASSUME_32BITUIDS]: Remove conditional code.
7478 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7479 <kernel-features.h>.
7480 [__ASSUME_32BITUIDS]: Make code unconditional.
7481 [!__ASSUME_32BITUIDS]: Remove conditional code.
7482 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7483 [__ASSUME_32BITUIDS]: Make code unconditional.
7484 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7485 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7486 <kernel-features.h>.
7487 [__ASSUME_32BITUIDS]: Make code unconditional.
7488 [!__ASSUME_32BITUIDS]: Remove conditional code.
7489 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7490 <kernel-features.h>.
7491 [__ASSUME_32BITUIDS]: Make code unconditional.
7492 [!__ASSUME_32BITUIDS]: Remove conditional code.
7493 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7494 <kernel-features.h>.
7495 [__ASSUME_32BITUIDS]: Make code unconditional.
7496 [!__ASSUME_32BITUIDS]: Remove conditional code.
7497 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7498 <kernel-features.h>.
7499 [__ASSUME_32BITUIDS]: Make code unconditional.
7500 [!__ASSUME_32BITUIDS]: Remove conditional code.
7501 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7502 <kernel-features.h>.
7503 [__ASSUME_32BITUIDS]: Make code unconditional.
7504 [!__ASSUME_32BITUIDS]: Remove conditional code.
7505 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7506 <kernel-features.h>.
7507 [__ASSUME_32BITUIDS]: Make code unconditional.
7508 [!__ASSUME_32BITUIDS]: Remove conditional code.
7509 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7510 <kernel-features.h>.
7511 [__ASSUME_32BITUIDS]: Make code unconditional.
7512 [!__ASSUME_32BITUIDS]: Remove conditional code.
7513 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7514 <kernel-features.h>.
7515 [__ASSUME_32BITUIDS]: Make code unconditional.
7516 [!__ASSUME_32BITUIDS]: Remove conditional code.
7517 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7518 <kernel-features.h>.
7519 [__ASSUME_32BITUIDS]: Make code unconditional.
7520 [!__ASSUME_32BITUIDS]: Remove conditional code.
7521 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7522 <kernel-features.h>.
7523 [__ASSUME_32BITUIDS]: Make code unconditional.
7524 [!__ASSUME_32BITUIDS]: Remove conditional code.
7525 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7526 <kernel-features.h>.
7527 [__NR_setresgid] (__setresgid): Do not declare.
7528 [__ASSUME_32BITUIDS]: Make code unconditional.
7529 [!__ASSUME_32BITUIDS]: Remove conditional code.
7530 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7531 <kernel-features.h>.
7532 [__NR_setresuid] (__setresuid): Do not declare.
7533 [__ASSUME_32BITUIDS]: Make code unconditional.
7534 [!__ASSUME_32BITUIDS]: Remove conditional code.
7535 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7536 <kernel-features.h>.
7537 [__ASSUME_32BITUIDS]: Make code unconditional.
7538 [!__ASSUME_32BITUIDS]: Remove conditional code.
7539 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7540 <kernel-features.h>.
7541 [__ASSUME_32BITUIDS]: Make code unconditional.
7542 [!__ASSUME_32BITUIDS]: Remove conditional code.
7543 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7544 <kernel-features.h>.
7545 [__ASSUME_32BITUIDS]: Make code unconditional.
7546 [!__ASSUME_32BITUIDS]: Remove conditional code.
7547 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7548 <kernel-features.h>.
7549 [__ASSUME_32BITUIDS]: Make code unconditional.
7550 [!__ASSUME_32BITUIDS]: Remove conditional code.
7551 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7552 <kernel-features.h>.
7553 [__ASSUME_32BITUIDS]: Make code unconditional.
7554 [!__ASSUME_32BITUIDS]: Remove conditional code.
7555 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7556 <kernel-features.h>.
7557 [__ASSUME_32BITUIDS]: Make code unconditional.
7558 [!__ASSUME_32BITUIDS]: Remove conditional code.
7559 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7560 <kernel-features.h>.
7561 [__ASSUME_32BITUIDS]: Make code unconditional.
7562 [!__ASSUME_32BITUIDS]: Remove conditional code.
7563 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7564 <kernel-features.h>.
7565 [__ASSUME_32BITUIDS]: Make code unconditional.
7566 [!__ASSUME_32BITUIDS]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7568 <kernel-features.h>.
7569 [__ASSUME_32BITUIDS]: Make code unconditional.
7570 [!__ASSUME_32BITUIDS]: Remove conditional code.
7571 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7572 <kernel-features.h>.
7573 [__ASSUME_32BITUIDS]: Make code unconditional.
7574 [!__ASSUME_32BITUIDS]: Remove conditional code.
7575 * sysdeps/unix/sysv/linux/kernel-features.h
7576 (__ASSUME_SETRESUID_SYSCALL): Remove.
7577 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7578 (__ASSUME_32BITUIDS): Likewise.
7579 (__ASSUME_LDT_WORKS): Likewise.
7580 (__ASSUME_O_DIRECTORY): Likewise.
7581 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7582 architecture but not kernel version.
7583 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7584 (__ASSUME_MMAP2_SYSCALL): Likewise.
7585 (__ASSUME_STAT64_SYSCALL): Likewise.
7586 (__ASSUME_IPC64): Likewise.
7587 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7588 <kernel-features.h>.
7589 [__ASSUME_32BITUIDS]: Make code unconditional.
7590 [!__ASSUME_32BITUIDS]: Remove conditional code.
7591 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7592 <kernel-features.h>.
7593 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7594 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7595 132096]: Remove conditional code.
7596 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7597 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7598 <kernel-features.h>.
7599 [__ASSUME_32BITUIDS]: Make code unconditional.
7600 [!__ASSUME_32BITUIDS]: Remove conditional code.
7601 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7602 <kernel-features.h>.
7603 [__ASSUME_32BITUIDS]: Make code unconditional.
7604 [!__ASSUME_32BITUIDS]: Remove conditional code.
7605 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7606 <kernel-features.h>.
7607 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7608 unconditional.
7609 (__setresgid): Do not declare.
7610 [__ASSUME_32BITUIDS]: Make code unconditional.
7611 [!__ASSUME_32BITUIDS]: Remove conditional code.
7612 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7613 <kernel-features.h>.
7614 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7615 unconditional.
7616 (__setresuid): Do not declare.
7617 [__ASSUME_32BITUIDS]: Make code unconditional.
7618 [!__ASSUME_32BITUIDS]: Remove conditional code.
7619 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7620 <kernel-features.h>.
7621 [__ASSUME_32BITUIDS]: Make code unconditional.
7622 [!__ASSUME_32BITUIDS]: Remove conditional code.
7623 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7624 <kernel-features.h>.
7625 [__ASSUME_32BITUIDS]: Make code unconditional.
7626 [!__ASSUME_32BITUIDS]: Remove conditional code.
7627
76282012-05-25 Richard Henderson <rth@twiddle.net>
7629
7630 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7631 dl_hwcap to ifunc resolver.
7632 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7633 elf_ifunc_invoke.
7634 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7635 dl_hwcap to ifunc resolver.
7636 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7637
76382012-05-24 Joseph Myers <joseph@codesourcery.com>
7639
7640 [BZ #14153]
7641 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7642 for |x| <= 2**-26, not 2**-57.
7643 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7644 exception.
7645
76462012-05-24 Jeff Law <law@redhat.com>
7647
7648 * stdio-common/Makefile (tests): Add bug25.
7649 * stdio-common/bug25.c: New test.
7650
76512012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7652
7653 [BZ #13576]
7654 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7655 multiple of MALLOC_ALIGNMENT in size.
7656 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7657
76582012-05-24 Joseph Myers <joseph@codesourcery.com>
7659
7660 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7661 Require >= 256.
7662 (FILENAME_MAX): Use macro-int-constant.
7663 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7664 (_IOFBF): Use macro-int-constant.
7665 (_IOLBF): Likewise.
7666 (_IONBF): Likewise.
7667 (SEEK_CUR): Likewise.
7668 (SEEK_END): Likewise.
7669 (SEEK_SET): Likewise.
7670 (TMP_MAX): Likewise.
7671 (EOF): Use macro-int-constant. Require < 0.
7672 (NULL): Use macro-constant. Require == 0.
7673 (stdin): Require type to be FILE *.
7674 (stdout): Likewise.
7675 (stderr): Likewise.
7676 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7677 macro-int-constant.
7678 (EXIT_SUCCESS): Likewise.
7679 (NULL): Use macro-constant. Require == 0.
7680 (RAND_MAX): Use macro-int-constant.
7681 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7682 [C99-based standards] (strtof): Require function.
7683 [C99-based standards] (strtold): Likewise.
7684 [C99-based standards] (strtoll): Likewise.
7685 [C99-based standards] (strtoull): Likewise.
7686 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7687 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7688 [ISO || ISO99 || ISO11] (math.h): Likewise.
7689 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7690 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7692
76932012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7694
7695 [BZ #14132]
7696 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7697 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7698 * intl/dgettext.c (DCGETTEXT): Likewise.
7699 * intl/gettext.c (DCGETTEXT): Likewise.
7700 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7701 * posix/regex_internal.h (gettext): Likewise.
7702 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7703 Remove declaration.
7704 * include/argz.h (__argz_count_internal)
7705 (__argz_stringify_internal): Remove declaration.
7706 (__argz_count, __argz_stringify): Declare hidden proto.
7707 * intl/dcgettext.c: Remove use of INTDEF.
7708 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7709 * string/argz-stringify.c: Likewise.
7710 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7711 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7712 Declare hidden proto.
7713 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7714 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7715 Declare hidden proto.
7716 * include/stdio.h (__asprintf_internal): Don't declare.
7717 (__asprintf): Don't define as macro. Declare hidden proto.
7718 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7719 (__fsetlocking): Declare hidden proto.
7720 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7721 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7722 hidden proto.
7723 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7724 (_IO_setlinebuf): Remove use of INTUSE.
7725 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7726 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7727 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7728 Remove declaration.
7729 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7730 (_IO_do_flush): Remove use of INTUSE.
7731 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7732 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7733 (_IO_adjust_column, _IO_least_wmarker)
7734 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7735 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7736 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7737 (_IO_default_doallocate, _IO_wdefault_doallocate)
7738 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7739 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7740 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7741 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7742 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7743 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7744 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7745 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7746 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7747 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7748 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7749 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7750 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7751 proto.
7752 (_IO_flush_all_internal, _IO_adjust_column_internal)
7753 (_IO_default_uflow_internal, _IO_default_finish_internal)
7754 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7755 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7756 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7757 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7758 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7759 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7760 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7761 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7762 (_IO_file_close_internal, _IO_file_close_it_internal)
7763 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7764 (_IO_file_init_internal, _IO_file_attach_internal)
7765 (_IO_file_fopen_internal, _IO_file_read_internal)
7766 (_IO_file_sync_internal, _IO_file_seek_internal)
7767 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7768 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7769 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7770 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7771 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7772 (_IO_list_all_internal, _IO_link_in_internal)
7773 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7774 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7775 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7776 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7777 (_IO_do_write_internal, _IO_padn_internal)
7778 (_IO_getline_info_internal, _IO_getline_internal)
7779 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7780 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7781 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7782 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7783 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7784 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7785 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7786 with libc_hidden_ver, remove use of INTUSE.
7787 * libio/genops.c: Likewise.
7788 * libio/freopen.c: Likewise.
7789 * libio/freopen64.c: Likewise.
7790 * libio/iofclose.c: Likewise.
7791 * libio/iofdopen.c: Likewise.
7792 * libio/iofflush.c: Likewise.
7793 * libio/iofflush_u.c: Likewise.
7794 * libio/iofgets.c: Likewise.
7795 * libio/iofgets_u.c: Likewise.
7796 * libio/iofopen.c: Likewise.
7797 * libio/iofopncook.c: Likewise.
7798 * libio/iofread.c: Likewise.
7799 * libio/iofread_u.c: Likewise.
7800 * libio/ioftell.c: Likewise.
7801 * libio/iofwrite.c: Likewise.
7802 * libio/iogetline.c: Likewise.
7803 * libio/iogets.c: Likewise.
7804 * libio/iogetwline.c: Likewise.
7805 * libio/iopadn.c: Likewise.
7806 * libio/iopopen.c: Likewise.
7807 * libio/ioseekoff.c: Likewise.
7808 * libio/ioseekpos.c: Likewise.
7809 * libio/iosetbuffer.c: Likewise.
7810 * libio/iosetvbuf.c: Likewise.
7811 * libio/ioungetc.c: Likewise.
7812 * libio/ioungetwc.c: Likewise.
7813 * libio/iovdprintf.c: Likewise.
7814 * libio/iovsprintf.c: Likewise.
7815 * libio/iovsscanf.c: Likewise.
7816 * libio/memstream.c: Likewise.
7817 * libio/obprintf.c: Likewise.
7818 * libio/oldfileops.c: Likewise.
7819 * libio/oldiofclose.c: Likewise.
7820 * libio/oldiofdopen.c: Likewise.
7821 * libio/oldiofopen.c: Likewise.
7822 * libio/oldiopopen.c: Likewise.
7823 * libio/oldstdfiles.c: Likewise.
7824 * libio/putc.c: Likewise.
7825 * libio/setbuf.c: Likewise.
7826 * libio/setlinebuf.c: Likewise.
7827 * libio/stdfiles.c: Likewise.
7828 * libio/strops.c: Likewise.
7829 * libio/vasprintf.c: Likewise.
7830 * libio/vscanf.c: Likewise.
7831 * libio/vsnprintf.c: Likewise.
7832 * libio/vswprintf.c: Likewise.
7833 * libio/wfiledoalloc.c: Likewise.
7834 * libio/wfileops.c: Likewise.
7835 * libio/wgenops.c: Likewise.
7836 * libio/wmemstream.c: Likewise.
7837 * libio/wstrops.c: Likewise.
7838 * libio/__fpurge.c: Likewise.
7839 * libio/__fsetlocking.c: Likewise.
7840 * assert/assert.c: Likewise.
7841 * debug/fgets_chk.c: Likewise.
7842 * debug/fgets_u_chk.c: Likewise.
7843 * debug/fread_chk.c: Likewise.
7844 * debug/fread_u_chk.c: Likewise.
7845 * debug/gets_chk.c: Likewise.
7846 * debug/obprintf_chk.c: Likewise.
7847 * debug/vasprintf_chk.c: Likewise.
7848 * debug/vdprintf_chk.c: Likewise.
7849 * debug/vsnprintf_chk.c: Likewise.
7850 * debug/vsprintf_chk.c: Likewise.
7851 * malloc/mtrace.c: Likewise.
7852 * misc/error.c: Likewise.
7853 * misc/syslog.c: Likewise.
7854 * stdio-common/asprintf.c: Likewise.
7855 * stdio-common/fxprintf.c: Likewise.
7856 * stdio-common/getw.c: Likewise.
7857 * stdio-common/isoc99_fscanf.c: Likewise.
7858 * stdio-common/isoc99_scanf.c: Likewise.
7859 * stdio-common/isoc99_vfscanf.c: Likewise.
7860 * stdio-common/isoc99_vscanf.c: Likewise.
7861 * stdio-common/isoc99_vsscanf.c: Likewise.
7862 * stdio-common/printf-prs.c: Likewise.
7863 * stdio-common/printf_fp.c: Likewise.
7864 * stdio-common/printf_fphex.c: Likewise.
7865 * stdio-common/printf_size.c: Likewise.
7866 * stdio-common/putw.c: Likewise.
7867 * stdio-common/scanf.c: Likewise.
7868 * stdio-common/sprintf.c: Likewise.
7869 * stdio-common/tmpfile.c: Likewise.
7870 * stdio-common/vfprintf.c: Likewise.
7871 * stdio-common/vfscanf.c: Likewise.
7872 * stdlib/strfmon_l.c: Likewise.
7873 * sunrpc/openchild.c: Likewise.
7874 * sunrpc/xdr_stdio.c: Likewise.
7875 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7876 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7877
78782012-05-24 Roland McGrath <roland@hack.frob.com>
7879
7880 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7881
7882 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7883 in the third column, to generate for the shared library an IFUNC
7884 that uses _dl_vdso_vsym.
7885 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7886 * Makeconfig (object-suffixes-noshared): New variable.
7887
7888 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7889 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7890 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7891 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7892
7893 [BZ #14132]
7894 * include/sys/time.h (__gettimeofday): Remove macro.
7895 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7896 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7897 Remove INTDEF.
7898 (__gettimeofday): Add libc_hidden_def.
7899 (gettimeofday): Add libc_hidden_weak.
7900 * sysdeps/mach/gettimeofday.c: Likewise.
7901 * sysdeps/posix/gettimeofday.c: Likewise.
7902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7903 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7905 (__gettimeofday_internal): Remove strong_alias.
7906 (__gettimeofday): Add libc_hidden_def.
7907 (gettimeofday): Add libc_hidden_weak.
7908 * sysdeps/unix/syscalls.list (gettimeofday):
7909 Remove __gettimeofday_internal alias.
7910
79112012-05-24 Daniel Jacobowitz <drow@false.org>
7912 H.J. Lu <hongjiu.lu@intel.com>
7913
7914 [BZ #12495]
7915 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7916 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7917 (largebin_index_32_big): New.
7918 (largebin_index): Use it for 16-byte alignment.
7919 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7920 correction with front_misalign.
7921
79222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7923
7924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7926 Likewise.
7927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7928 Likewise.
7929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7930 Likewise.
7931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7932 Likewise.
7933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7934 Likewise.
7935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7936 Likewise.
7937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7938 Likewise.
7939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7940 Likewise.
7941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7942 Likewise.
7943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7944 Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7946 Likewise.
7947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7948 Likewise.
7949
7950 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7951 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7952
79532012-05-24 Joseph Myers <joseph@codesourcery.com>
7954
7955 [BZ #10846]
7956 [BZ #14036]
7957 * math/libm-test.inc (exp_test): Add test from bug 14036.
7958 (pow_test): Add test from bug 10846.
7959
7960 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7961 and other flags.
7962 (special_function): Do not include flags in test name.
7963 (parse_args): Likewise.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7966 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7967 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7969
7970 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7971 exceptions.
7972 * math/libm-test.inc ("Philosophy"): Update comment about
7973 exception testing.
7974 (UNDERFLOW_EXCEPTION): New macro.
7975 (UNDERFLOW_EXCEPTION_OK): Likewise.
7976 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7977 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7978 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7979 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7980 (INVALID_EXCEPTION_OK): Update value.
7981 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7982 (OVERFLOW_EXCEPTION_OK): Likewise.
7983 (IGNORE_ZERO_INF_SIGN): Likewise.
7984 (test_exceptions): Handle underflow exceptions.
7985 (acos_test): Update for underflow exception expectations.
7986 (cexp_test): Likewise.
7987 (clog_test): Likewise.
7988 (clog10_test): Likewise.
7989 (csqrt_test): Likewise.
7990 (ctan_test): Likewise.
7991 (ctanh_test): Likewise.
7992 (exp_test): Likewise.
7993 (exp10_test): Likewise.
7994 (exp2_test): Likewise.
7995 (expm1_test): Likewise.
7996 (fma_test): Likewise.
7997 (j0_test): Likewise.
7998 (jn_test): Likewise.
7999 (nexttoward_test): Likewise.
8000 (pow_test): Likewise.
8001 (scalbn_test): Likewise.
8002 (scalbln_test): Likewise.
8003 (tan_test): Likewise.
8004 (y1_test): Likewise.
8005 * sysdeps/i386/fpu/libm-test-ulps: Update.
8006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8007
80082012-05-23 David S. Miller <davem@davemloft.net>
8009
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8011 (__libc_sigaction): Remove unused local variables.
8012
80132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8014
8015 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8016
80172012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8018
8019 mktime: avoid signed integer overflow
8020 * time/mktime.c (__mktime_internal): Do not mishandle the case
8021 where diff == INT_MIN.
8022
8023 mktime: simplify computation of average
8024 * time/mktime.c (ranged_convert): Use new time_t_avg function
8025 instead of rolling our own (probably-slower) code.
8026
8027 mktime: do not assume signed right shift propagates sign bit
8028 * time/mktime.c (isdst_differ): New static function.
8029 (__mktime_internal): No need to normalize tm_isdst now.
8030 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8031 tm_isdst values.
8032
8033 mktime: merge another wrapv change from gnulib
8034 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8035 from some compilers.
8036
8037 mktime: remove incorrect attempt at unusual arithmetics
8038 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8039 The code didn't really work on such machines anyway.
8040 (TYPE_MINIMUM): Assume two's complement.
8041 (twos_complement_arithmetic): Verify that long_int and time_t
8042 are two's complement (or unsigned, in the latter case).
8043
8044 mktime: check signed shifts on long_int and time_t, too
8045 * time/mktime.c (SHR): Check that shifts work as desired
8046 on the types long_int and time_t too, as SHR is used on
8047 such types.
8048
8049 mktime: do not assume 'long' is wide enough
8050 * time/mktime.c (verify): Move decl up.
8051 (long_int): New type.
8052 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8053 to remove assumption in the code that 'long' is wide enough to
8054 store year values. This assumption is not true on x32 and on
8055 some non-glibc platforms.
8056
8057 mktime: merge wrapv change from gnulib
8058 * time/mktime.c (WRAPV): New macro.
8059 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8060 (guess_time_tm, __mktime_internal): Do not assume that signed
8061 integer overflow wraps around; modern compilers generate code
8062 where this assumption is no longer valid.
8063
80642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8065
8066 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8067 Replace "jmp L(pseudo_end)" with "ret".
8068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8069 Likewise.
8070
80712012-05-23 Andreas Jaeger <aj@suse.de>
8072
8073 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8074 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8075
80762012-05-23 Andreas Jaeger <aj@suse.de>
8077 Maximilian Attems <max@stro.at>
8078
8079 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8080 New macros.
8081
80822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8085 code so that pseudo_end is just ret and the stack pointer is
8086 correct also for static library in error case.
8087
80882012-05-23 Joseph Myers <joseph@codesourcery.com>
8089
8090 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8091 move to syscalls.list.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8096
8097 * manual/install.texi (Running make install): Do not mention Linux
8098 kernel version for which pt_chown is not needed.
8099 (Linux): Do not mention problems with nscd with 2.0 kernels.
8100 * INSTALL: Regenerated.
8101
81022012-05-23 Andreas Jaeger <aj@suse.de>
8103
8104 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8105 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8106 macro.
8107 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8108 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8109 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8110 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8111 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8112 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8114 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8115 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8116 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8117 * sysdeps/unix/sysv/linux/bits/in.h
8118 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8119
81202012-05-22 Roland McGrath <roland@hack.frob.com>
8121
8122 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8123 (PREPARE_VERSION): Just use assert instead, it will be elided
8124 under [NDEBUG] anyway.
8125
81262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 * sysdeps/unix/sysv/linux/Makefile: Include
8129 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8130 (sysdep_routines): Remove sysctl.
8131 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8132 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8133 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8134 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8135 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8136
81372012-05-22 Andreas Jaeger <aj@suse.de>
8138
8139 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8140 that pseudo_end is just ret and the stack pointer is correct also
8141 for static library in error case.
8142
81432012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8144
8145 [BZ #14122]
8146 * nss/nsswitch.c (defconfig_entries): New variable.
8147 (__nss_database_lookup): Don't leak defconfig entries.
8148 (nss_parse_service_list): Don't leak on error paths.
8149 (free_database_entries): New function.
8150 (free_defconfig): New function.
8151 (free_mem): Move common code to free_database_entries.
8152
81532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8154
8155 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8156 Add arch_prctl.
8157 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8158
8159 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8160 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8162 New macro.
8163 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8164 (INTERNAL_SYSCALL_TYPES): Likewise.
8165 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8166 (LOAD_REGS_TYPES_[1-6]): Likewise.
8167 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8168 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8169
81702012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8171
8172 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8173 copysignl for GLIBC_2_0.
8174 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8175 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8176 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8177 logbl for GLIBC_2_0.
8178 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8179 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8180
81812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8182
8183 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8184 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8185
8186 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8187 Use "neg %eax".
8188
8189 * time/mktime.c: Update copyright years.
8190
81912012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8192
8193 mktime: merge comment-quoting-style change from gnulib
8194 * time/mktime.c: Quote 'like this' in comments.
8195 The GNU coding standards suggest that we no longer quote `like this',
8196 as "`" and "'" are typically rendered asymmetrically nowadays.
8197 The typical gnulib style is to quote 'like this' when quoting
8198 code, and "like this" when quoting English.
8199
8200 * time/mktime.c (compile-command): Add "-I.".
8201
8202 mktime: merge mktime-internal.h change from gnulib
8203 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8204
8205 mktime: merge time_r change from gnulib
8206 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8207
8208 mktime: merge DEBUG change from gnulib
8209 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8210 case system <time.h> has a #define.
8211
8212 mktime: merge <sys/types.h> change from gnulib
8213 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8214 since <time.t> is now guaranteed to define time_t.
8215
8216 mktime: merge HAVE_CONFIG_H change from gnulib
8217 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8218
82192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8220
8221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8222 Use "neg %eax".
8223
8224 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8225 __rlim_t cast.
8226 (struct rusage): Use anonymous union to pad each field to
8227 __syscall_slong_t.
8228
82292012-05-21 David S. Miller <davem@davemloft.net>
8230
8231 * Makefules (o-iterator): Remove .s cases.
8232 (compile-command.s): Delete.
8233 (COMPILE.s): Delete.
8234 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8235
82362012-05-21 Joseph Myers <joseph@codesourcery.com>
8237
8238 * configure.in (libc_cv_predef_stack_protector): Only consider
8239 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8240 * configure: Regenerated.
8241
82422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8243
8244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8245 New macro. Use R*LP on int and pointer.
8246 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8247 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8248 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8249 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8250
8251 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8252 [__WORDSIZE_TIME64_COMPAT32] instead of
8253 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8254 (struct utmp): Likewise.
8255 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8256 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8257 Renamed to ...
8258 (__WORDSIZE_TIME64_COMPAT32): This.
8259 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8260 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8261 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8262 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8263 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8264 (__WORDSIZE_TIME64_COMPAT32): New macro.
8265
82662012-05-21 Andreas Jaeger <aj@suse.de>
8267
8268 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8269 only if [SHARED]. Add prototype for __wcschr_ia32.
8270
82712012-05-21 Roland McGrath <roland@hack.frob.com>
8272
8273 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8274 of %rbp unmolested in the jmp_buf while mangling the low bits.
8275 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8276 unmolested high bits of %rbp while demangling the low bits.
8277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8278
82792012-05-21 Andreas Jaeger <aj@suse.de>
8280
8281 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8282 * sunrpc/svc_simple.c: Use it for registerrpc.
8283 * sunrpc/xcrypt.c: Use it for passwd2des.
8284
8285 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8286
82872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8288
8289 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8290 Don't define if [__SYSCALL_WORDSIZE != 32].
8291 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8292 New macro.
8293
82942012-05-21 Bruno Haible <bruno@clisp.org>
8295 Andreas Jaeger <aj@suse.de>
8296
8297 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8298 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8299 inptr and inend for must_buffer_ch.
8300 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8301 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8302 * stdio-common/Makefile (tests): Remove bug15.
8303 (bug15-ENV): Remove macro.
8304 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8305 anymore.
8306
83072012-05-19 Andreas Jaeger <aj@suse.de>
8308 Roland McGrath <roland@hack.frob.com>
8309
8310 * manual/contrib.texi: Completely rewritten. It contains now an
8311 alphabetical list of contributors and their contributions.
8312
83132012-05-21 Richard Henderson <rth@twiddle.net>
8314
8315 * misc/getauxval.c (__getauxval): Use unsigned long int.
8316 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8317 (getauxval): Use unsigned long int.
8318
83192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8320
8321 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8322
83232012-05-21 Roland McGrath <roland@hack.frob.com>
8324
8325 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8326 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8327 __alignof__ (long double).
8328
83292012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8330
8331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8332
83332012-05-20 Richard Henderson <rth@twiddle.net>
8334
8335 * misc/getauxval.c: New file.
8336 * misc/sys/auxv.h: New file.
8337 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8338 (routines): Add getauxval.
8339 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8340 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8341 * elf/dl-sysdep.c (_dl_auxv): Remove.
8342 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8343 * elf/dl-support.c (_dl_auxv): New variable.
8344 (_dl_aux_init): Initialize it.
8345 * manual/startup.texi (Auxiliary Vector): New node.
8346 * sysdeps/generic/bits/hwcap.h: New file.
8347 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8348 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8349 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8350 * sysdeps/sparc/sysdep.h: ... here. Include it.
8351 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8354 Update.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8358 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8363
83642012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8365
8366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8367
83682012-05-19 David S. Miller <davem@davemloft.net>
8369
8370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8371
83722012-05-19 Joseph Myers <joseph@codesourcery.com>
8373
8374 [BZ #14123]
8375 * math/s_ccosh.c: Include <float.h>
8376 (__ccosh): Avoid internal overflow calculating sinh and cosh
8377 values before multiplying by sin and cos values.
8378 * math/s_ccoshf.c: Likewise.
8379 * math/s_ccoshl.c: Likewise.
8380 * math/s_csin.c: Likewise.
8381 * math/s_csinf.c: Likewise.
8382 * math/s_csinl.c: Likewise.
8383 * math/s_csinh.c: Likewise.
8384 * math/s_csinhf.c: Likewise.
8385 * math/s_csinhl.c: Likewise.
8386 * math/libm-test.inc (ccos_test): Add more tests.
8387 (ccosh_test): Likewise.
8388 (csin_test): Likewise.
8389 (csinh_test): Likewise.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8392
83932012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8396 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8397
8398 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8399
84002012-05-19 Joseph Myers <joseph@codesourcery.com>
8401
8402 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8403 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8404 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8405 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8406 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8407 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8408 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8409 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8410 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8411 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8412 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8413 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8414 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8415 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8416 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8417 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8418 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8419 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8420 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8421 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8422 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8423 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8424 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8425 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8426 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8427 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8428 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8429 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8430 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8431 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8432 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8433
84342012-05-18 Andreas Jaeger <aj@suse.de>
8435
8436 * csu/.gitignore: Delete.
8437
84382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8439
8440 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8441 (timex): Use __syscall_slong_t.
8442
84432012-05-18 Andreas Jaeger <aj@suse.de>
8444 Carlos O'Donell <carlos_odonell@mentor.com>
8445
8446 * manual/install.texi (Configuring and compiling): Update
8447 description about files modified in the source directory.
8448 * INSTALL: Regenerated.
8449
84502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8451
8452 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8453 value. Use "or" to set return value to -1.
8454 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8455 negate return value.
8456
84572012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8458
8459 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8460 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8461 failure if the compiler has Graphite support disabled.
8462 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8463 Likewise.
8464 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8465 CFLAGS-memmove.c): Likewise.
8466 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8467 Likewise.
8468
84692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8470
8471 * sysdeps/x86_64/x32/_itoa.h: New file.
8472
8473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8474 getdents system call only if kernel and user dirents have the
8475 same d_ino and d_off.
8476
8477 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8478 LLONG_MAX != LONG_MAX.
8479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8480 (_fitoa_word): Likewise.
8481
8482 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8483 years.
8484 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8486 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8487
8488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8489 include <bits/wordsize.h>. Check __x86_64__ instead of
8490 __WORDSIZE.
8491 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8492 if __x86_64__ is defined. Use anonymous union on fpstate.
8493
8494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8495 anonymous union.
8496
84972012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8498
8499 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8500 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8501 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8502 Refer to _rtld_local_ro instead of _rtld_global_ro.
8503 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8504 Likewise.
8505 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8506 Likewise.
8507 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8508 Likewise.
8509 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8510 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8511 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8512
8513 * sysdeps/powerpc/powerpc32/dl-machine.c
8514 (__elf_machine_runtime_setup) [PROF]: Don't reference
8515 _dl_prof_resolve.
8516
85172012-05-18 Andreas Jaeger <aj@suse.de>
8518
8519 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8520 function only available for GCCs before 3.4 since GCC 3.4
8521 introduced a builtin.
8522 (lrint): Likewise.
8523 (llrintf): Likewise.
8524 (llrint): Likewise.
8525 (fmaxf): Likewise.
8526 (fmax): Likewise.
8527 (fminf): Likewise.
8528 (fmin): Likewise.
8529 (rint): Likewise.
8530 (rintf): Likewise.
8531 (nearbyint): Likewise.
8532 (nearbyintf): Likewise.
8533 (ceil): Likewise.
8534 (ceilf): Likewise.
8535 (floor): Likewise.
8536 (floorf): Likewise.
8537
85382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8541 on both fields and cast pointer to __syscall_ulong_t.
8542
8543 * bits/types.h (__fsword_t): New type.
8544 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8545 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8546 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8547 (__FSWORD_T_TYPE): Likewise.
8548 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8549 (__FSWORD_T_TYPE): Likewise.
8550 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8551 (__FSWORD_T_TYPE): Likewise.
8552 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8553 (__FSWORD_T_TYPE): Likewise.
8554 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8555 __SWORD_TYPE with __fsword_t.
8556 (statfs64): Likewise.
8557
85582012-05-17 David S. Miller <davem@davemloft.net>
8559
8560 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8561
85622012-05-17 Andreas Jaeger <aj@suse.de>
8563
8564 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8565 warning.
8566
85672012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8570
85712012-05-17 Andreas Jaeger <aj@suse.de>
8572
8573 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8574 when it is used.
8575
85762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8577
8578 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8579
85802012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8581
8582 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8583 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8584
85852012-05-17 Andreas Jaeger <aj@suse.de>
8586 Carlos O'Donell <carlos_odonell@mentor.com>
8587
8588 [BZ #14059]
8589 * sysdeps/x86_64/multiarch/init-arch.h
8590 (bit_YMM_Usable): Rename to...
8591 (bit_AVX_Usable): ... this.
8592 (bit_FMA4_Usable): New macro.
8593 (bit_XMM_state): New macro.
8594 (bit_YMM_state): New macro.
8595 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8596 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8597 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8598 (CPUID_OSXSAVE): New macro.
8599 (CPUID_AVX): New macro.
8600 (CPUID_FMA4): New macro.
8601 (index_YMM_Usable): Rename to...
8602 (index_AVX_Usable): ... this.
8603 (HAS_AVX): Use HAS_ARCH_FEATURE.
8604 (HAS_FMA4): Likewise.
8605 (HAS_YMM_USABLE): Remove.
8606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8607 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8608 are present.
8609 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8610 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8611 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8612 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8613 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8614
86152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8616
8617 * math/libm-test.c: Support platforms without multiple rounding modes.
8618 * math/bug-nextafter.c: Support platforms without FP exceptions.
8619 * math/bug-nexttoward.c: Likewise.
8620 * math/test-fenv.c: Likewise.
8621 * math/test-misc.c: Likewise.
8622 * stdlib/bug-getcontext.c: Likewise.
8623
86242012-05-17 Andreas Jaeger <aj@suse.de>
8625
8626 * manual/examples/search.c (critter_cmp): Change signature to
8627 avoid warnings.
8628 * manual/string.texi (Collation Functions): Likewise.
8629
86302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 * bits/types.h: Fold copyright years.
8633 * bits/typesizes.h: Likewise.
8634 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8636 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8638 * time/time.h: Likewise.
8639
86402012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8641
8642 [BZ #208]
8643 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8644 in instead of returning them. Return void.
8645 (__libc_mallinfo): Accumulate over all arenas.
8646 (__malloc_stats): Adjust for change in int_mallinfo interface.
8647
86482012-05-16 Roland McGrath <roland@hack.frob.com>
8649
8650 [BZ #10375]
8651 * configure.in (NM): Add AC_CHECK_TOOL for it.
8652 (libc_extra_cflags): New substituted variable.
8653 Check for -fstack-protector being used implicitly.
8654 * configure: Regenerated.
8655 * config.make.in (config-extra-cflags): New variable,
8656 gets @libc_extra_cflags@.
8657 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8658
8659 [BZ #10375]
8660 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8661 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8662 * configure: Regenerated.
8663 * config.make.in (CPPUNDEFS): New substituted variable.
8664 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8665 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8666 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8667
86682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8669
8670 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8671 (mq_attr): Use __syscall_slong_t.
8672
86732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8674
8675 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8676 Check __x86_64__ instead of __WORDSIZE.
8677 (_STAT_VER_LINUX): Likewise.
8678 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8679 __syscall_ulong_t and __syscall_slong_t.
8680 (stat64): Likewise.
8681
86822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8683
8684 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8685
86862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8687
8688 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8689
86902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8691
8692 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8693 __syscall_ulong_t.
8694
8695 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8696 include <bits/wordsize.h>. Check __x86_64__ instead of
8697 __WORDSIZE.
8698 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8699 defined.
8700 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8701
8702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8703 include <bits/wordsize.h>. Check __x86_64__ instead of
8704 __WORDSIZE.
8705 (user_regs_struct): Use "__extension__ unsigned long long"
8706 instead of "unsigned long" if __x86_64__ is defined.
8707 (user): Likewise. Pad after pointer field if __ILP32__ is
8708 defined.
8709
87102012-05-16 Joseph Myers <joseph@codesourcery.com>
8711
8712 * configure.in (makeinfo): Require version 4.5 or later. Allow
8713 versions 5 to 9.
8714 * configure: Regenerated.
8715 * manual/install.texi (texinfo): Increase version requirement to
8716 4.5 or later.
8717 * INSTALL: Regenerated.
8718
8719 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8720
87212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8724
8725 * sysdeps/x86_64/x32/ffs.c: New file.
8726
8727 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8728 __syscall_ulong_t.
8729 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8730 defined. Use __syscall_ulong_t.
8731 (shminfo): Use __syscall_ulong_t.
8732 (shm_info): Likewise.
8733
8734 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8735 __syscall_ulong_t.
8736
8737 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8738 <bits/wordsize.h>.
8739 (msgqnum_t): Use __syscall_ulong_t.
8740 (msglen_t): Likewise.
8741 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8742 __syscall_ulong_t.
8743
8744 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8745 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8746
8747 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8748
8749 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8750 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8751
8752 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8753 __syscall_slong_t.
8754
8755 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8756 include <bits/wordsize.h>. Check __x86_64__ instead of
8757 __WORDSIZE.
8758
8759 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8760 "unsigned long long int" if __x86_64__ is defined.
8761 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8762
8763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8765 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8766
8767 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8768 <stdint.h>.
8769 (GET_PC): Cast to uintptr_t first.
8770 (GET_FRAME): Likewise.
8771 (GET_STACK): Likewise.
8772
8773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8774 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8775 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8776 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8777 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8778 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8779 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8780 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8781 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8782 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8783 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8785 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8786 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8787 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8788 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8789 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8790 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8791 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8792 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8794 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8796 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8798 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8801 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8802
88032012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8804
8805 * Makerules (+depfiles): Also collect depfiles from .oS in
8806 $(extra-objs).
8807 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8808 .oS, $(libnldbl-routines)).
8809
8810 * Makerules (native-compile-mkdep-flags): Define.
8811 * sunrpc/Makefile (extra-objs): Add $(addprefix
8812 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8813 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8814 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8815 calling $(make-target-directory).
8816
88172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8818
8819 * bits/types.h (__snseconds_t): Removed.
8820 * time/time.h (struct timespec): Replace __snseconds_t with
8821 __syscall_slong_t.
8822 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8823 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8824 Likewise.
8825 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8826 (__SNSECONDS_T_TYPE): Likewise.
8827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8828 (__SNSECONDS_T_TYPE): Likewise.
8829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8830 (__SNSECONDS_T_TYPE): Likewise.
8831
88322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * sysdeps/mach/hurd/bits/typesizes.h
8835 (__SYSCALL_SLONG_TYPE): New macro.
8836 (__SYSCALL_ULONG_TYPE): Likewise.
8837
88382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8839
8840 * bits/types.h (__syscall_slong_t): New type.
8841 (__syscall_ulong_t): Likewise.
8842
8843 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8844 (__SYSCALL_ULONG_TYPE): Likewise.
8845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8846 (__SYSCALL_SLONG_TYPE): Likewise.
8847 (__SYSCALL_ULONG_TYPE): Likewise.
8848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8849 (__SYSCALL_SLONG_TYPE): Likewise.
8850 (__SYSCALL_ULONG_TYPE): Likewise.
8851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8852 (__SYSCALL_SLONG_TYPE): Likewise.
8853 (__SYSCALL_ULONG_TYPE): Likewise.
8854
88552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8856
8857 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8858 Add sigaltstack-offsets.sym.
8859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8860 <sigaltstack-offsets.h>.
8861 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8862 longjmp_msg pointer.
8863 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8864 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8865 signal stack.
8866 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8867
88682012-05-15 Joseph Myers <joseph@codesourcery.com>
8869
8870 * elf/stackguard-macros.h: Remove file.
8871 * sysdeps/generic/stackguard-macros.h: New file.
8872 * sysdeps/i386/stackguard-macros.h: Likewise.
8873 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8874 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8875 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8876 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8877 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8878 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8879 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8880 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8881 <elf/stackguard-macros.h>.
8882
8883 [BZ #14109]
8884 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8885 __aligned__ in attribute.
8886 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8887 (gregset_t): Likewise.
8888
88892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8892 * sysdeps/x86_64/64/Implies-after: Here. New file.
8893 * sysdeps/x86_64/x32/Implies-after: New file.
8894
88952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8898 and access return value for _dl_profile_fixup. Use R10_LP to
8899 load frame size.
8900
89012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8904
89052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8906
8907 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8908 * sysdeps/x86_64/x32/sysdep.h: New file.
8909
89102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8911
8912 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8913 * sysdeps/x86_64/setjmp.S: Likewise.
8914
89152012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8916
8917 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8919 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8921 remove unused global constant.
8922
89232012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8924
8925 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8926 include of <not-cancel.h>.
8927
89282012-05-15 Roland McGrath <roland@hack.frob.com>
8929
8930 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8931
89322012-05-15 Jeff Law <law@redhat.com>
8933 Andreas Jaeger <aj@suse.de>
8934
8935 [BZ #13594]
8936 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8937 out from...
8938 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8939 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8940 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8941 code changing __hst_map_handle.map.
8942
89432012-05-15 Roland McGrath <roland@hack.frob.com>
8944
8945 * configure.in (sysnames): Look for Implies-before and Implies-after
8946 files.
8947 * configure: Regenerated.
8948
89492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8950
8951 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8952 8-byte data alignment with LP_SIZE alignment.
8953
89542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8955
8956 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8957 into R10_LP.
8958
89592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8962
89632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8964
8965 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8966 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8967 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8968 Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8970
89712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8972
8973 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8974 (stackinfo_sub_sp): Likewise.
8975
89762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8977
8978 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8979 RAX_LP.
8980
89812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8982
8983 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8984 into R*_LP.
8985
89862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8987
8988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8989 sizes into R*_LP.
8990
89912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8992
8993 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8994
89952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8998 into R11_LP and load __x86_64_shared_cache_size_half into
8999 R8_LP.
9000
90012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9004 R8_LP.
9005
90062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9007
9008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9009 logb for POWER7.
9010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9011 logbf for POWER7.
9012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9013 logbl for POWER7.
9014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9015 powerpc32/power7/fpu/s_logb.c via #include.
9016 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9017 powerpc32/power7/fpu/s_logbf.c via #include.
9018 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9019 powerpc32/power7/fpu/s_logbl.c via #include.
9020
90212012-05-15 Joseph Myers <joseph@codesourcery.com>
9022
9023 * README.libm: Remove file.
9024
90252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9028 count for x32. Use R*_LP and omit operand-size suffix.
9029
90302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9033 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9034 * sysdeps/x86_64/x32/shlib-versions: New file.
9035
90362012-05-14 Roland McGrath <roland@hack.frob.com>
9037
9038 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9039 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9040 Use _dl_fatal_printf instead.
9041
90422012-05-14 Joseph Myers <joseph@codesourcery.com>
9043
9044 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9045 set if not set by the user. Do not allow for being unset.
9046 * sysdeps/unix/sysv/linux/configure: Regenerated.
9047
90482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9049
9050 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9051 the `q' suffix from lea and replace .quad with ASM_ADDR.
9052
90532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9056 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9057 instead of $17.
9058 (PTR_DEMANGLE): Likewise.
9059
90602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9061
9062 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9063 (LP_OP): Likewise.
9064 (ASM_ADDR): Likewise.
9065 (RAX_LP): Likewise.
9066 (RBP_LP): Likewise.
9067 (RBX_LP): Likewise.
9068 (RCX_LP): Likewise.
9069 (RDI_LP): Likewise.
9070 (RSI_LP): Likewise.
9071 (RSP_LP): Likewise.
9072 (R8_LP): Likewise.
9073 (R9_LP): Likewise.
9074 (R10_LP): Likewise.
9075 (R10_LP): Likewise.
9076 (R11_LP): Likewise.
9077 (R12_LP): Likewise.
9078 (R13_LP): Likewise.
9079 (R14_LP): Likewise.
9080 (R15_LP): Likewise.
9081
90822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9083
9084 * sysdeps/x86_64/x32/dl-machine.h: New file.
9085
90862012-05-14 Andreas Jaeger <aj@suse.de>
9087
9088 * manual/Makefile (subdir): Remove export of subdir.
9089 (all): Remove target.
9090 (.PHONY): Remove all from list.
9091 (mkinstalldirs): Remove.
9092 (.PHONY): Remove installdirs from list.
9093 ($(inst_infodir)/libc.info): Use make-target-directory.
9094 (installdirs): Remove.
9095 (subdir_%): Remove.
9096 (glibc-targets): Remove.
9097 (lib): Remove.
9098 (stubs): Remove.
9099 ($(objpfx)stubs ../po/manual.pot): Remove.
9100 ($(objpfx)stamp%): Remove.
9101 (make-target-directory): Remove.
9102 (subdir_install): Remove.
9103 (routines): Remove.
9104 (aux): Remove.
9105 (sources): Remove.
9106 (objects): Remove.
9107 (headers): Remove.
9108
9109 [BZ #13750]
9110 * manual/.gitignore: Remove, it's not needed anymore.
9111 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9112 all files in it.
9113 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9114 directory.
9115 (texis): Renamed to $(objpfx)texis.
9116 (texis-path): New, contains path to generated files.
9117 (chapters.%): Use texis-path for complete path, add extra argument
9118 libc-texinfo.sh.
9119 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9120 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9121 (summary,texi, stamp-summary): Use complete path of
9122 files. Generate files in build dir.
9123 (dir-add.texi): Build in build dir.
9124 (libm-err.texi,stamp-libm-err): Likewise.
9125 (version.texi, stamp-version): Likewise.
9126 (.%c.texi): Likewise.
9127 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9128 (mostlyclean): Remove target.
9129 (realclean): Remove target.
9130 (generated): Add new variable with contents from mostlyclean and
9131 realclean, remove entries duplicated in common-mostlyclean, add
9132 stamp-libm-err and stamp-version.
9133 (generated-dirs): Add libc directory.
9134 ($(inst_infodir)/libc.info): Install files from build dir.
9135
9136 * manual/install.texi (Configuring and compiling): Adjust since
9137 the info files are not part of the tar ball anymore.
9138
91392012-05-14 Andreas Jaeger <aj@suse.de>
9140
9141 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9142 variable.
9143
91442012-05-14 Joseph Myers <joseph@codesourcery.com>
9145
9146 [BZ #13717]
9147 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9148 to 2.2.0 where earlier.
9149 * sysdeps/unix/sysv/linux/configure: Regenerated.
9150 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9151 Remove conditional code.
9152 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9153 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9154 Remove conditional code.
9155 [!__NR_lchown]: Likewise.
9156 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9157 [__NR_lchown]: Likewise.
9158 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9159 comment referencing __ASSUME_LCHOWN_SYSCALL.
9160 * sysdeps/unix/sysv/linux/i386/sigaction.c
9161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9163 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9164 Remove conditional code.
9165 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9166 (__protocol_available): Remove #if 0 code.
9167 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9168 conditional code.
9169 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9170 * sysdeps/unix/sysv/linux/kernel-features.h
9171 (__ASSUME_GETCWD_SYSCALL): Don't define.
9172 (__ASSUME_REALTIME_SIGNALS): Likewise.
9173 (__ASSUME_PREAD_SYSCALL): Likewise.
9174 (__ASSUME_PWRITE_SYSCALL): Likewise.
9175 (__ASSUME_POLL_SYSCALL): Likewise.
9176 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9177 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9178 non-SPARC.
9179 (__ASSUME_SIOCGIFNAME): Don't define.
9180 (__ASSUME_MSG_NOSIGNAL): Likewise.
9181 (__ASSUME_SENDFILE): Define unconditionally.
9182 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9183 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9184 conditional code.
9185 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9186 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9187 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9188 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9189 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9190 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9191 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9193 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9196 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9202 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9205 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9216 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9217 Remove conditional code.
9218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9219 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9220 Remove conditional code.
9221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9222 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9223 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9224 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9225 Remove conditional code.
9226 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9227 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9228 Remove conditional code.
9229 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9230 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9231 Remove conditional code.
9232 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9233 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9234 Remove conditional code.
9235 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9236 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9237 Remove conditional code.
9238 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9239 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9240 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9242 * sysdeps/unix/sysv/linux/sigaction.c
9243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9245 * sysdeps/unix/sysv/linux/sigpending.c
9246 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9247 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9248 * sysdeps/unix/sysv/linux/sigprocmask.c
9249 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9250 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9251 * sysdeps/unix/sysv/linux/sigsuspend.c
9252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9254 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9255 (__libc_missing_rt_sigs): Remove.
9256 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9257 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9258 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9259 Remove conditional code.
9260 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9261 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9262 return 1.
9263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9264 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9266 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9267
92682012-05-14 Andreas Jaeger <aj@suse.de>
9269
9270 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9271 it's not used in glibc.
9272 (__coshm1): Likewise.
9273 (__acosh1p): Likewise.
9274 (__sgn): Likewise.
9275
9276 * manual/string.texi (Copying and Concatenation): Add missing
9277 variable in concat example.
9278 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9279
92802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9281
9282 [BZ #14103]
9283 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9284 __builtin_clzl with __builtin_clzll.
9285
92862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9287
9288 [BZ #14104]
9289 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9290 libc_freeres_ptr.
9291
92922012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9293
9294 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9295 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9296 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9297 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9298
92992012-05-14 Mike Frysinger <vapier@gentoo.org>
9300
9301 * NEWS: Update ia64 info.
9302
93032012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9304
9305 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9306 used as bcopy.
9307
93082012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9309
9310 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9311 * sysdeps/unix/syscalls.list (dup3): Likewise.
9312 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9313 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9314
93152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9316
9317 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9318 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9319
93202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9321
9322 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9323 thread pointer.
9324 (TLS_IE): Use mov/add instead of movq/addq to load thread
9325 pointer.
9326 (TLS_GD_PREFIX): New.
9327 (TLS_GD): Use it.
9328
93292012-05-11 David S. Miller <davem@davemloft.net>
9330
9331 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9332 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9333 (_FPU_SETCW): Likewise.
9334
93352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9338 is 32-byte aligned.
9339
93402012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9341
9342 [BZ #11837]
9343 * iconvdata/gb18030.c: Update tables.
9344 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9345 characters specially.
9346 (BODY for TO_LOOP): Add encoding of missing ranges.
9347
93482012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9349
9350 [BZ #13673]
9351 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9352 * sysdeps/mach/hurd/dup3.c: Likewise.
9353 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9354 * sysdeps/powerpc/memmove.c:: Likewise.
9355
93562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9359 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9360
93612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9362
9363 * elf/elf.h (R_X86_64_RELATIVE64): New.
9364 (R_X86_64_NUM): Updated.
9365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9366 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9367 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9368 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9369 tst-quad1pie tst-quad2pie
9370 (modules-names): Add tst-quadmod1 tst-quadmod2.
9371 ($(objpfx)tst-quad1): New dependency.
9372 ($(objpfx)tst-quad2): Likewise.
9373 ($(objpfx)tst-quad1pie): Likewise.
9374 ($(objpfx)tst-quad2pie): Likewise.
9375 * sysdeps/x86_64/tst-quad1.c: New file.
9376 * sysdeps/x86_64/tst-quad1pie.c: New file.
9377 * sysdeps/x86_64/tst-quad2.c: Likewise.
9378 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9379 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9380 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9381 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9382 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9383
93842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9385
9386 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9387 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9388 * streams/stropts.h (t_scalar_t): Define type.
9389
9390 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9391 (_PATH_PRESERVE): Set to "/var/lib".
9392 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9393
9394 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9395 instead of int.
9396
9397 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9398 if __dir_mkfile succeeded.
9399
9400 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9401 checking for _hurd_dtablesize. Unlock it right after having
9402 finished _hurd_dtable allocation.
9403
94042012-05-10 Thomas Schwinge <thomas@schwinge.name>
9405
9406 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9407 * sysdeps/mach/hurd/configure: Regenerated.
9408 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9409 special-casing to...
9410 * sysdeps/gnu/configure.in: ... this new file.
9411 * sysdeps/unix/sysv/linux/configure: Regenerated.
9412 * sysdeps/gnu/configure: New generated file.
9413
9414 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9415 for Linux: use nsec instead of usec, as well as:
9416 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9417 members of type struct timespec.
9418 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9419 New macros.
9420 (struct stat64): Likewise.
9421 (_STATBUF_ST_NSEC): New macro.
9422 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9423
9424 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9425 __strtoul_internal rather than strtoul.
9426
94272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9428
9429 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9430 and reject them.
9431
94322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9433
9434 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9435 which preserves existing values.
9436 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9437
94382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9439
9440 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9441 TIMEOUT values. Return EINVAL for NFDS values either negative or
9442 greater than FD_SETSIZE.
9443
94442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9445
9446 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9447 allocated, call __vm_protect to finish enabling the existing space, and
9448 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9449 allocate the remainder.
9450
94512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9452
9453 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9454 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9455
94562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9457
9458 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9459 sysdeps/mach/hurd/readlink.c.
9460
9461 * posix/tst-sysconf.c (posix_options): Only use
9462 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9463 _POSIX_SYNCHRONIZED_IO when they are defined
9464 * sysdeps/mach/hurd/bits/posix_opt.h:
9465 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9466 (_XOPEN_REALTIME): Undefine macro.
9467 (_XOPEN_REALTIME_THREADS): Undefine macro.
9468 (_XOPEN_SHM): Undefine macro.
9469 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9470 macro to -1.
9471 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9472 macro to -1.
9473 (_POSIX_ASYNC_IO): Undefine macro.
9474 (_POSIX_PRIORITIZED_IO): Undefine macro.
9475 (_POSIX_SPIN_LOCKS): Define macro to -1.
9476
9477 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9478 SA_NODEFER, SA_RESETHAND.
9479 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9480 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9481 F_DUPFD_CLOEXEC.
9482
94832012-05-10 Thomas Schwinge <thomas@schwinge.name>
9484
9485 * elf/Makefile (pldd-modules): Define unconditionally.
9486
94872012-05-10 Thomas Schwinge <thomas@schwinge.name>
9488
9489 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9490
94912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9492
9493 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9494 Return ENOENT when name is empty.
9495 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9496
94972012-05-10 Thomas Schwinge <thomas@schwinge.name>
9498
9499 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9500
9501 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9502
95032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9504
9505 Fix mlock in all cases except non-readable pages.
9506 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9507 instead of VM_PROT_ALL as parameter to __vm_wire function.
9508
9509 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9510 (__mkdir): When path is `/', just fail with EEXIST.
9511 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9512
95132012-05-10 Thomas Schwinge <thomas@schwinge.name>
9514
9515 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9516 <sys/uio.h> (for writev).
9517 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9518 and <sys/param.h> (for MIN).
9519
95202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9521
9522 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9523 REQUESTED_TIME. Properly set the remaining time and return EINTR
9524 if interrupted.
9525
95262012-05-10 Thomas Schwinge <thomas@schwinge.name>
9527
9528 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9529 Depend on against $(link-rpcuserlibs).
9530
95312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9532
9533 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9534 (__libc_stack_end): Do not use attribute_relro.
9535 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9536 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9537 to libthread-provided value.
9538 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9539 attribute_relro.
9540
95412012-05-10 Thomas Schwinge <thomas@schwinge.name>
9542
9543 [BZ #3748]
9544 * bits/libc-lock.h (__libc_once_get): New macro.
9545 * sysdeps/mach/bits/libc-lock.h: Likewise.
9546 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9547 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9548 instead of using implementation details.
9549
9550 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9551 * libio/freopen.c: Likewise.
9552 * libio/freopen64.c: Likewise.
9553 * misc/syslog.c: Likewise.
9554 * nscd/connections.c: Likewise.
9555 * nscd/netgroupcache.c: Likewise.
9556 * sysdeps/posix/getcwd.c: Likewise.
9557
95582012-05-10 Roland McGrath <roland@hack.frob.com>
9559
9560 * math/w_ilogbf.c: Add #include <limits.h>.
9561
95622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9563
9564 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9565 path instead of returning without unlocking.
9566
9567 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9568 immediate-write ioctls.
9569 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9570
95712012-05-10 Thomas Schwinge <thomas@schwinge.name>
9572
9573 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9574 __builtin_frame_address instead of making assumptions about the
9575 location of the return address relative to DATA. Force early load of
9576 the return address.
9577 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9578 __builtin_frame_address.
9579
9580 dup3 for GNU Hurd.
9581 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9582 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9583 implement dup3 and do some further code clean-ups.
9584 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9585 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9586
95872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9588
9589 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9590
9591 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9592 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9593 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9594 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9595 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9596 d->port.lock.
9597
9598 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9599 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9600 when handler == SIG_ERR, not when handler != SIG_ERR.
9601
96022012-05-10 Thomas Schwinge <thomas@schwinge.name>
9603
9604 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9605 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9606 definitions.
9607
9608 accept4 for GNU Hurd.
9609 * include/sys/socket.h (__libc_accept4): New prototype.
9610 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9611 to implement __libc_accept4.
9612 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9613 __libc_accept4.
9614 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9615
9616 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9617 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9618 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9619 signal-defines.sym.
9620
96212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9622
9623 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9624
96252012-05-10 Thomas Schwinge <thomas@schwinge.name>
9626
9627 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9628 assertion on O_CLOEXEC flag.
9629 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9630 * hurd/intern-fd.c: Likewise.
9631 * hurd/port2fd.c: Likewise.
9632
96332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9634
9635 [BZ #3906]
9636 * bits/in.h (IPV6_PKTINFO): Define new macro.
9637 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9638
96392012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9640
9641 [BZ #13954]
9642 [BZ #13955]
9643 [BZ #13956]
9644 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9646 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9647 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9649 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9650 * math/libm-test.inc (logb_test) : Additional logb tests.
9651
96522012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9653 Andreas Jaeger <aj@suse.de>
9654
9655 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9656 * configure: Regenerated.
9657 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9658 * config.make.in (link-obsolete-rpc): New substituted variable.
9659 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9660 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9661 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9662 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9663 so that libc.a contains the symbols.
9664 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9665 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9666 * sunrpc/auth_none.c: Likewise.
9667 * sunrpc/auth_unix.c: Likewise.
9668 * sunrpc/authdes_prot.c: Likewise.
9669 * sunrpc/authuxprot.c: Likewise.
9670 * sunrpc/clnt_gen.c: Likewise.
9671 * sunrpc/clnt_perr.c: Likewise.
9672 * sunrpc/clnt_raw.c: Likewise.
9673 * sunrpc/clnt_simp.c: Likewise.
9674 * sunrpc/clnt_tcp.c: Likewise.
9675 * sunrpc/clnt_udp.c: Likewise.
9676 * sunrpc/clnt_unix.c: Likewise.
9677 * sunrpc/des_crypt.c: Likewise.
9678 * sunrpc/des_soft.c: Likewise.
9679 * sunrpc/get_myaddr.c: Likewise.
9680 * sunrpc/key_call.c: Likewise.
9681 * sunrpc/key_prot.c: Likewise.
9682 * sunrpc/netname.c: Likewise.
9683 * sunrpc/pm_getmaps.c: Likewise.
9684 * sunrpc/pm_getport.c: Likewise.
9685 * sunrpc/pmap_clnt.c: Likewise.
9686 * sunrpc/pmap_prot.c: Likewise.
9687 * sunrpc/pmap_prot2.c: Likewise.
9688 * sunrpc/pmap_rmt.c: Likewise.
9689 * sunrpc/publickey.c: Likewise.
9690 * sunrpc/rpc_cmsg.c: Likewise.
9691 * sunrpc/rpc_common.c: Likewise.
9692 * sunrpc/rpc_dtable.c: Likewise.
9693 * sunrpc/rpc_prot.c: Likewise.
9694 * sunrpc/rpc_thread.c: Likewise.
9695 * sunrpc/rtime.c: Likewise.
9696 * sunrpc/svc.c: Likewise.
9697 * sunrpc/svc_auth.c: Likewise.
9698 * sunrpc/svc_raw.c: Likewise.
9699 * sunrpc/svc_run.c: Likewise.
9700 * sunrpc/svc_tcp.c: Likewise.
9701 * sunrpc/svc_udp.c: Likewise.
9702 * sunrpc/svc_unix.c: Likewise.
9703 * sunrpc/svcauth_des.c: Likewise.
9704 * sunrpc/xcrypt.c: Likewise.
9705 * sunrpc/xdr.c: Likewise.
9706 * sunrpc/xdr_array.c: Likewise.
9707 * sunrpc/xdr_float.c: Likewise.
9708 * sunrpc/xdr_intXX_t.c: Likewise.
9709 * sunrpc/xdr_mem.c: Likewise.
9710 * sunrpc/xdr_rec.c: Likewise.
9711 * sunrpc/xdr_ref.c: Likewise.
9712 * sunrpc/xdr_sizeof.c: Likewise.
9713 * sunrpc/xdr_stdio.c: Likewise.
9714
97152012-05-10 Roland McGrath <roland@hack.frob.com>
9716
9717 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9718 change. Update copyright years.
9719
97202012-05-10 Joseph Myers <joseph@codesourcery.com>
9721
9722 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9723
97242012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9725 Joseph Myers <joseph@codesourcery.com>
9726 Paul Pluzhnikov <ppluzhnikov@google.com>
9727
9728 [BZ #14012]
9729 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9730 requiring rpcgen.
9731 [cross-compiling] (extra-libs): Likewise.
9732 [cross-compiling] (extra-libs-others): Likewise.
9733 [cross-compiling] (librpcsvc-routines): Likewise.
9734 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9735 [cross-compiling] (omit-deps): Likewise.
9736 (sunrpc-CPPFLAGS): New variable.
9737 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9738 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9739 (cross-rpcgen-objs): New variable.
9740 (extra-objs): Append $(cross-rpcgen-objs).
9741 ($(cross-rpcgen-objs)): New rule.
9742 ($(objpfx)cross-rpcgen): Likewise.
9743 (rpcgen-cmd): Define to use $(built-program-file). Expand
9744 comment.
9745 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9746 ($(objpfx)x%.stmp): Likewise.
9747 * sunrpc/proto.h [IS_IN_build] (_): Define.
9748 [IS_IN_build] (_libc_intl_domainname): Likewise.
9749
97502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9751
9752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9753 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9754 and R_X86_64_TPOFF64.
9755
97562012-05-10 Joseph Myers <joseph@codesourcery.com>
9757
9758 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9759 sysdeps/unix/sysv/syscalls.list.
9760 (stime): Likewise.
9761 (utime): Likewise.
9762 * sysdeps/unix/sysv/syscalls.list: Remove file.
9763
97642012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9765
9766 [BZ #3440]
9767 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9768 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9769 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9770 (__LC_IDENTIFICATION): Make these macros useful in #if
9771 expressions, as required by C99.
9772
97732012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9774
9775 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9776 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9777 after this.
9778
97792012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9780
9781 * stdlib/longlong.h: Updated from GCC.
9782
97832012-05-09 Andreas Jaeger <aj@suse.de>
9784
9785 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9786 default is first entry.
9787 (run_mode): Set type.
9788 (main): Remove informal message about syslog.
9789 (options): Fix typo.
9790
9791 [BZ #14053]
9792 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9793 to asm.
9794 (lrint): Likewise.
9795 (llrintf): Likewise.
9796 (llrint): Likewise.
9797 (rint): Likewise.
9798 (rintf): Likewise.
9799 (nearbyint): Likewise.
9800 (nearbyintf): Likewise.
9801
98022012-05-09 Andreas Jaeger <aj@suse.de>
9803 Pedro Alves <palves@redhat.com>
9804
9805 * nscd/nscd.c (run_mode): Use enum.
9806 (main): Cleanup coding style issue.
9807
98082012-05-09 Alexandre Oliva <aoliva@redhat.com>
9809 Andreas Jaeger <aj@suse.de>
9810
9811 * nscd/nscd.c (go_background): Replaced with...
9812 (run_mode): ... this.
9813 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
9814 (options): Add -F --foreground.
9815 (main): Implement it.
9816 (parse_opt): Parse it.
9817
98182012-05-09 Andreas Jaeger <aj@suse.de>
9819
9820 [BZ #14083]
9821 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9822 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9823 -Wconversion warning.
9824 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9825 Likewise.
9826
98272012-05-09 Joseph Myers <joseph@codesourcery.com>
9828
9829 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9830 == 0.
9831 (LC_ALL): Use macro-int-constant.
9832 (LC_COLLATE): Likewise.
9833 (LC_CTYPE): Likewise.
9834 (LC_MESSAGES): Likewise.
9835 (LC_MONETARY): Likewise.
9836 (LC_NUMERIC): Likewise.
9837 (LC_TIME): Likewise.
9838 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9839 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9840 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9841 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9842 Specify type.
9843 [C99-based standards] (float_t): Expect type.
9844 [C99-based standards] (double_t): Expect type.
9845 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9846 type.
9847 [C99-based standards] (HUGE_VALL): Likewise.
9848 [C99-based standards] (INFINITY): Likewise.
9849 [C99-based standards] (NAN): Likewise.
9850 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9851 [C99-based standards] (FP_NAN): Likewise.
9852 [C99-based standards] (FP_NORMAL): Likewise.
9853 [C99-based standards] (FP_SUBNORMAL): Likewise.
9854 [C99-based standards] (FP_ZERO): Likewise.
9855 [C99-based standards] (FP_FAST_FMA): Use
9856 optional-macro-int-constant. Specify type. Require == 1.
9857 [C99-based standards] (FP_FAST_FMAF): Likewise.
9858 [C99-based standards] (FP_FAST_FMAL): Likewise.
9859 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9860 [C99-based standards] (FP_ILOGBNAN): Likewise.
9861 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9862 Specify type.
9863 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9864 [C99-based standards] (math_errhandling): Specify type.
9865 [ISO99 || ISO11] (signgam): Do not allow.
9866 [non-C99-based standards] (copysignf): Do not allow.
9867 [non-C99-based standards] (exp2f): Likewise.
9868 [non-C99-based standards] (log2f): Likewise.
9869 [non-C99-based standards] (modff): Allow.
9870 [non-C99-based standards] (erff): Do not allow.
9871 [non-C99-based standards] (erfcf): Likewise.
9872 [non-C99-based standards] (gammaf): Likewise.
9873 [non-C99-based standards] (hypotf): Likewise.
9874 [non-C99-based standards] (j0f): Likewise.
9875 [non-C99-based standards] (j1f): Likewise.
9876 [non-C99-based standards] (jnf): Likewise.
9877 [non-C99-based standards] (lgammaf): Likewise.
9878 [non-C99-based standards] (tgammaf): Likewise.
9879 [non-C99-based standards] (y0f): Likewise.
9880 [non-C99-based standards] (y1f): Likewise.
9881 [non-C99-based standards] (ynf): Likewise.
9882 [non-C99-based standards] (isnanf): Likewise.
9883 [non-C99-based standards] (acoshf): Likewise.
9884 [non-C99-based standards] (asinhf): Likewise.
9885 [non-C99-based standards] (atanhf): Likewise.
9886 [non-C99-based standards] (cbrtf): Likewise.
9887 [non-C99-based standards] (expm1f): Likewise.
9888 [non-C99-based standards] (ilogbf): Likewise.
9889 [non-C99-based standards] (log1pf): Likewise.
9890 [non-C99-based standards] (logbf): Likewise.
9891 [non-C99-based standards] (nextafterf): Likewise.
9892 [non-C99-based standards] (remainderf): Likewise.
9893 [non-C99-based standards] (rintf): Likewise.
9894 [non-C99-based standards] (scalbf): Likewise.
9895 [non-C99-based standards] (copysignl): Likewise.
9896 [non-C99-based standards] (exp2l): Likewise.
9897 [non-C99-based standards] (log2l): Likewise.
9898 [non-C99-based standards] (modfl): Allow.
9899 [non-C99-based standards] (erfl): Do not allow.
9900 [non-C99-based standards] (erfcl): Likewise.
9901 [non-C99-based standards] (gammal): Likewise.
9902 [non-C99-based standards] (hypotl): Likewise.
9903 [non-C99-based standards] (j0l): Likewise.
9904 [non-C99-based standards] (j1l): Likewise.
9905 [non-C99-based standards] (jnl): Likewise.
9906 [non-C99-based standards] (lgammal): Likewise.
9907 [non-C99-based standards] (tgammal): Likewise.
9908 [non-C99-based standards] (y0l): Likewise.
9909 [non-C99-based standards] (y1l): Likewise.
9910 [non-C99-based standards] (ynl): Likewise.
9911 [non-C99-based standards] (isnanl): Likewise.
9912 [non-C99-based standards] (acoshl): Likewise.
9913 [non-C99-based standards] (asinhl): Likewise.
9914 [non-C99-based standards] (atanhl): Likewise.
9915 [non-C99-based standards] (cbrtl): Likewise.
9916 [non-C99-based standards] (expm1l): Likewise.
9917 [non-C99-based standards] (ilogbl): Likewise.
9918 [non-C99-based standards] (log1pl): Likewise.
9919 [non-C99-based standards] (logbl): Likewise.
9920 [non-C99-based standards] (nextafterl): Likewise.
9921 [non-C99-based standards] (remainderl): Likewise.
9922 [non-C99-based standards] (rintl): Likewise.
9923 [non-C99-based standards] (scalbl): Likewise.
9924 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9925 [non-C99-based standards] (FP_*): Do not allow.
9926 [C99-based standards] (FP_*): Change to
9927 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9928 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9929 allow.
9930 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9931 (SIG_ERR): Likewise.
9932 [X/Open-based standards] (SIG_HOLD): Likewise.
9933 (SIG_IGN): Likewise.
9934 (SIGABRT): Use macro-int-constant. Specify type. Require
9935 positive value.
9936 (SIGFPE): Likewise.
9937 (SIGILL): Likewise.
9938 (SIGINT): Likewise.
9939 (SIGSEGV): Likewise.
9940 (SIGTER): Likewise.
9941 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9942 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9943 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9944 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9945 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9946 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9947 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9948 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9949 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9950 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9951 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9952 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9953 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9954 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9955 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9956 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9957 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9958 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9959 [X/Open-based standards] (SIGTRAP): Likewise.
9960 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9961 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9962 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9963 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9964 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9965 allow.
9966
99672012-05-08 Ian Wienand <ianw@vmware.com>
9968
9969 [BZ #14080]
9970 * time/tzset.c (__tzset_parse_tz): Update default rules for
9971 daylight time changes in the Energy Policy Act of 2005.
9972
99732012-05-09 Andreas Jaeger <aj@suse.de>
9974
9975 [BZ #13983]
9976 * elf/ldconfig.c (parse_conf): Change string to make clear that
9977 ldconfig only issued a warning if ld.so.conf does not exist.
9978
99792012-05-08 David S. Miller <davem@davemloft.net>
9980
9981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9982 movxtod instead of popping the value on the stack.
9983
9984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9985
99862012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9987
9988 * config.h.in: Add HAVE_ARM_PCS_VFP.
9989
99902012-05-08 Roland Mc Grath <roland@hack.frob.com>
9991
9992 [BZ #13979]
9993 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9994 checking but the checks are disabled for any reason.
9995
99962012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9997
9998 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9999 and ELF64_R_TYPE with ELFW(R_TYPE).
10000
100012012-05-08 Joseph Myers <joseph@codesourcery.com>
10002
10003 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10004 (ulimit): Likewise.
10005
10006 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10007 (settimeofday): Likewise.
10008
100092012-05-08 Mike Frysinger <vapier@gentoo.org>
10010
10011 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10012 a struct th_u2 inside the union, and move tu_block/tu_code into
10013 a new th_u3 union of tu_block/tu_code inside of that. Move
10014 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10015 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10016 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10017 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10018 (th_stuff): Change to th_u1.tu_stuff.
10019 (th_data): Define.
10020 (th_msg): Change to th_u1.th_u2.tu_data.
10021
100222012-05-07 David S. Miller <davem@davemloft.net>
10023
10024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10025
10026 [BZ #14074]
10027 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10028 (SETUP_PIC_REG): Use it.
10029 (SETUP_PIC_REG_LEAF): Use it.
10030
100312012-05-07 Joseph Myers <joseph@codesourcery.com>
10032
10033 [BZ #13885]
10034 [BZ #13923]
10035 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10036 USE_AS_EXPM1L.
10037 (EXPL_FINITE): Likewise.
10038 (FLDLOG): Likewise.
10039 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10040 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10041 e_expl.S.
10042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10043 USE_AS_EXPM1L.
10044 (EXPL_FINITE): Likewise.
10045 (FLDLOG): Likewise.
10046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10047 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10048 e_expl.S.
10049 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10050 test of -max_value argument for long double.
10051 * sysdeps/i386/fpu/libm-test-ulps: Update.
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10053
100542012-05-06 David S. Miller <davem@davemloft.net>
10055
10056 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10057 quad soft-float symbols whose references which are compiler
10058 generated.
10059 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10060
100612012-05-06 Joseph Myers <joseph@codesourcery.com>
10062
10063 [BZ #13884]
10064 [BZ #13914]
10065 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10066 USE_AS_EXP10L.
10067 (EXPL_FINITE): Likewise.
10068 (FLDLOG): Likewise.
10069 (c0): Likewise.
10070 (c1): Likewise.
10071 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10072 Adjust comments for base varying.
10073 (__expl_finite): Change alias to EXPL_FINITE.
10074 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10075 e_expl.S.
10076 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10077 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10078 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10079 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10080 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10081 USE_AS_EXP10L.
10082 (EXPL_FINITE): Likewise.
10083 (FLDLOG): Likewise.
10084 (c0): Likewise.
10085 (c1): Likewise.
10086 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10087 Adjust comments for base varying.
10088 (__expl_finite): Change alias to EXPL_FINITE.
10089 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10090 tests for bugs.
10091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10092
10093 [BZ #14064]
10094 * math/libm-test.inc (check_float_internal): Correct ulp
10095 calculation for subnormal expected results.
10096
100972012-05-06 Andreas Jaeger <aj@suse.de>
10098
10099 * Makeconfig (+math-flags): New, set to -frounding-math.
10100 (+cflags): Add +math-flags so that all of glibc gets compiled with
10101 it.
10102
10103 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10104
101052012-05-05 Joseph Myers <joseph@codesourcery.com>
10106
10107 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10108 Disable one test.
10109
10110 [BZ #13787]
10111 [BZ #13922]
10112 [BZ #14036]
10113 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10114 (__ieee754_expl): Allow for and saturate large arguments.
10115 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10116 (u_threshold): Likewise.
10117 (__exp): Call __ieee754_exp before checking for overflow and
10118 underflow.
10119 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10120 (u_threshold): Likewise.
10121 (__expf): Call __ieee754_expf before checking for overflow and
10122 underflow.
10123 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10124 (u_threshold): Likewise.
10125 (__expl): Call __ieee754_expl before checking for overflow and
10126 underflow.
10127 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10128 (__ieee754_expl): Allow for and saturate large arguments.
10129 * math/libm-test.inc (exp_test): Add another test. Do not allow
10130 missing overflow exception on overflow.
10131 (expm1_test): Do not allow missing overflow exception on overflow.
10132
10133 * sysdeps/i386/fpu/e_expl.c: Move to ...
10134 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10135 rather than using inline asm.
10136 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10137 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10138 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10139
10140 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10141 (nice): Likewise.
10142 (poll): Likewise.
10143 (signal): Likewise.
10144 (time): Likewise.
10145 (times): Likewise.
10146
101472012-05-04 Joseph Myers <joseph@codesourcery.com>
10148
10149 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10150 sysdeps/unix/common/syscalls.list.
10151 (fchmod): Likewise.
10152 (fchown): Likewise.
10153 (ftruncate): Likewise.
10154 (getrusage): Likewise.
10155 (gettimeofday): Likewise.
10156 (setpgid): Likewise.
10157 (setregid): Likewise.
10158 (setreuid): Likewise.
10159 (sigaction): Likewise.
10160 (truncate): Likewise.
10161 (vhangup): Likewise.
10162 * sysdeps/unix/common/syscalls.list: Remove file.
10163 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10164 * sysdeps/unix/sysv/linux/Implies: Likewise.
10165
101662012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10167
10168 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10170 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10171 Moved to ...
10172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10173 Here.
10174 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10175 to ...
10176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10177 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10178 to ...
10179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10180 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10181 to ...
10182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10183 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10184 to ...
10185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10187 to ...
10188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10189 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10190 to ...
10191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10192 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10193 to ...
10194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10195 Here.
10196 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10197 to ...
10198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10199 Here.
10200 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10201 to ...
10202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10203 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10204 Moved to ...
10205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10206 Here.
10207 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10208 to ...
10209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10210
102112012-05-04 Joseph Myers <joseph@codesourcery.com>
10212
10213 * sysdeps/unix/common/bits/dirent.h: Remove file.
10214 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10215
10216 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10217 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10218 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10219 * sysdeps/unix/bsd/isatty.c: Likewise.
10220 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10221 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10222 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10223
102242012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10225
10226 [BZ #13563]
10227 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10228 long double comparison inaccuracies.
10229 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10231
102322012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10233
10234 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10236
102372012-05-04 Joseph Myers <joseph@codesourcery.com>
10238
10239 [BZ #14049]
10240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10241 nonzero digits before rounding a hex value.
10242 * stdlib/tst-strtod.c (tests): Add another test.
10243
102442012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10245
10246 * sysdeps/s390/fpu/libm-test-ulps: Update.
10247
102482012-05-03 Andreas Jaeger <aj@suse.de>
10249
10250 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10251 does not get optimized out.
10252 (malloc_opt_barrier): New.
10253
102542012-05-03 Andreas Jaeger <aj@suse.de>
10255 Roland McGrath <roland@hack.frob.com>
10256
10257 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10258 intermediate file deletion.
10259 (generated): Add .symlist files.
10260
102612012-05-03 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #13775]
10264 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10265 Redirect under this condition.
10266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10267 [__USE_GNU] (__dprintf_chk): Not under this condition.
10268 [__USE_GNU] (__vdprintf_chk): Likewise.
10269 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10270 under this condition.
10271 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10272 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10273 [__USE_XOPEN2K8] (vdprintf): Likewise.
10274 [__USE_GNU] (__dprintf_chk): Not under this condition.
10275 [__USE_GNU] (__vdprintf_chk): Likewise.
10276 [__USE_GNU] (dprintf): Likewise.
10277 [__USE_GNU] (vdprintf): Likewise.
10278
102792012-05-03 Roland McGrath <roland@hack.frob.com>
10280
10281 * elf/Makefile (common-generated): Set this instead of generated for
10282 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10283 $(all-built-dso)-derived lists.
10284
102852012-05-03 Andreas Jaeger <aj@suse.de>
10286
10287 * sysdeps/i386/fpu/libm-test-ulps: Update.
10288
10289 * FAQ: Removed.
10290 * FAQ.in: Likewise.
10291 * scripts/gen-FAQ.pl: Likewise.
10292 * manual/install.texi (Installation): Point to online location of
10293 FAQ.
10294 * Makefile (files-for-dist): Remove FAQ.
10295 (FAQ): Remove.
10296
102972012-05-02 Allan McRae <allan@archlinux.org>
10298
10299 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10300 (LDFLAGS-reldepmod5.so): Likewise.
10301 (LDFLAGS-reldep6mod1.so): Likewise.
10302 (LDFLAGS-reldep6mod4.so): Likewise.
10303 (LDFLAGS-reldep8mod3.so): Likewise.
10304 (LDFLAGS-unload4mod1.so): Likewise.
10305 (LDFLAGS-unload4mod2.so): Likewise.
10306 (LDFLAGS-tst-initorder): Likewise.
10307 (LDFLAGS-tst-initordera2.so): Likewise.
10308 (LDFLAGS-tst-initordera3.so): Likewise.
10309 (LDFLAGS-tst-initordera4.so): Likewise.
10310 (LDFLAGS-tst-initorderb2.so): Likewise.
10311 (LDFLAGS-noload): Likewise.
10312 (LDFLAGS-next): Likewise.
10313 (LDFLAGS-order2mod1.so): Likewise.
10314 (LDFLAGS-order2mod2.so): Likewise.
10315 (LDFLAGS-tst-initorder2): Likewise.
10316 (LDFLAGS-tst-initorder2a.so): Likewise.
10317 (LDFLAGS-tst-initorder2b.so): Likewise.
10318 (LDFLAGS-tst-initorder2c.so): Likewise.
10319 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10320
103212012-05-02 David S. Miller <davem@davemloft.net>
10322
10323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10324
103252012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10326
10327 [BZ #14055]
10328 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10329
103302012-05-02 Andreas Jaeger <aj@suse.de>
10331
10332 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10333 since we manipulate rounding mode.
10334 (CPPFLAGS-test-idouble.c): Likewise.
10335 (CPPFLAGS-test-ifloat.c): Likewise.
10336 (CFLAGS-test-ldouble.c): Likewise.
10337 (CFLAGS-test-double.c): Likewise.
10338 (CFLAGS-test-float.c): Likewise.
10339 (CFLAGS-test-misc.c): Likewise.
10340 (CFLAGS-test-test-fenv.c): Likewise.
10341
103422012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10343
10344 [BZ #2550]
10345 [BZ #2570]
10346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10347 comparisons to determine direction to adjust input.
10348
103492012-05-01 Roland McGrath <roland@hack.frob.com>
10350
10351 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10352 output to the target.
10353
10354 * scripts/localplt.awk: New file.
10355 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10356 (check-localplt-CFLAGS): Variable removed.
10357 ($(all-built-dso:=.jmprel)): New static pattern rule.
10358 (generated): Add those targets.
10359 (localplt-built-dso): New variable.
10360 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10361
10362 * elf/check-localplt.c: File removed.
10363
10364 * scripts/check-execstack.awk: New file.
10365 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10366 (check-execstack-CFLAGS): Variable removed.
10367 ($(objpfx)check-execstack.h): Target removed.
10368 ($(objpfx)execstack-default): New target.
10369 (generated): Add that instead of check-execstack.h.
10370 ($(all-built-dso:=.phdr)): New static pattern rule.
10371 (generated): Add those targets.
10372 * elf/check-execstack.c: File removed.
10373
10374 * scripts/check-textrel.awk: New file.
10375 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10376 (check-textrel-CFLAGS): Variable removed.
10377 (all-built-dso): Use := to define.o
10378 ($(all-built-dso:=.dyn)): New static pattern rule.
10379 (generated): Add those targets.
10380 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10381 * config.make.in (READELF): New substituted variable.
10382 * elf/check-textrel.c: File removed.
10383
103842012-05-01 Joseph Myers <joseph@codesourcery.com>
10385
10386 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10387 allow.
10388 * conform/data/ctype.h-data [C99-based standards] (isblank):
10389 Expect function.
10390 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10391 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10393 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10394 Specify type. Require positive value.
10395 (EILSEQ): Likewise.
10396 (ERANGE): Likewise.
10397 [ISO || POSIX] (EILSEQ): Do not expect.
10398 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10399 Specify type. Require positive value.
10400 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10411 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10412 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10413 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10443 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10444 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10445 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10446 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10447 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10448 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10449 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10450 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10451 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10452 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10453 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10454 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10455 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10456 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10457 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10458 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10459 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10460 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10461 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10462 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10463 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10464 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10465 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10466 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10467 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10468 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10469 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10470 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10471 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10472 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10473 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10474 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10475 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10476 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10477 Require >= 2.
10478 (FLT_ROUNDS): Expect as macro, not constant.
10479 (FLT_MANT_DIG): Use macro-int-constant.
10480 (DBL_MANT_DIG): Likewise.
10481 (LDBL_MANT_DIG): Likewise.
10482 (FLT_DIG): Likewise.
10483 (DBL_DIG): Likewise.
10484 (LDBL_DIG): Likewise.
10485 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10486 (DBL_MIN_EXP): Likewise.
10487 (LDBL_MIN_EXP): Likewise.
10488 (FLT_MAX_EXP): Use macro-int-constant.
10489 (DBL_MAX_EXP): Likewise.
10490 (LDBL_MAX_EXP): Likewise.
10491 (FLT_MAX_10_EXP): Likewise.
10492 (DBL_MAX_10_EXP): Likewise.
10493 (LDBL_MAX_10_EXP): Likewise.
10494 (FLT_MAX): Use macro-constant.
10495 (DBL_MAX): Likewise.
10496 (LDBL_MAX): Likewise.
10497 (FLT_EPSILON): Use macro-constant. Give upper bound.
10498 (DBL_EPSILON): Likewise.
10499 (LDBL_EPSILON): Likewise.
10500 (FLT_MIN): Likewise.
10501 (DBL_MIN): Likewise.
10502 (LDBL_MIN): Likewise.
10503 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10504 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10505 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10506 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10507 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10508 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10509 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10510 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10511 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10512 [ISO11] (FLT_TRUE_MIN): Likewise.
10513 [ISO11] (LDBL_TRUE_MIN): Likewise.
10514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10515 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10516 (SCHAR_MIN): Use macro-int-constant. Specify type.
10517 (SCHAR_MAX): Likewise.
10518 (UCHAR_MAX): Likewise.
10519 (CHAR_MIN): Likewise.
10520 (CHAR_MAX): Likewise.
10521 (MB_LEN_MAX): Use macro-int-constant.
10522 (SHRT_MIN): Use macro-int-constant. Specify type.
10523 (SHRT_MAX): Likewise.
10524 (USHRT_MAX): Likewise.
10525 (INT_MAX): Likewise.
10526 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10527 bound negative.
10528 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10529 bound with "U".
10530 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10531 bound with "L".
10532 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10533 bound negative. Suffix upper bound with "L".
10534 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10535 bound with "UL".
10536 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10537 Specify type.
10538 [C99-based standards] (LLONG_MAX): Likewise.
10539 [C99-based standards] (ULLONG_MAX): Likewise.
10540 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10541 == 0.
10542 [ISO11] (max_align_t): Require type.
10543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10544
10545 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10546 from $CFLAGS, without defining away __attribute__ calls.
10547 (checknamespace): Use $CFLAGS_namespace.
10548
10549 * conform/conformtest.pl (@keywords): Only include C99 keywords
10550 for standards based on C99 or C11.
10551
10552 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10553 Disable tests.
10554 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10555 UNIX98]: Likewise.
10556
10557 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10558 usability of symbols in #if.
10559
10560 * conform/conformtest.pl: If macro or constant types start
10561 "promoted:", expect the symbol to be of the following type
10562 promoted by the integer promotions.
10563
10564 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10565 in one place. Also handle "macro-constant".
10566
10567 * conform/conformtest.pl: Only accept expected macro values with
10568 "==". Parse all "macro" lines in one place.
10569 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10570
10571 * conform/conformtest.pl: Handle braced types on "constant" lines
10572 instead of handling "typed-constant".
10573 * conform/data/signal.h-data: Use "constant" instead of
10574 "typed-constant".
10575
10576 * conform/conformtest.pl: Handle "optional-" at start of lines in
10577 one place rather than duplicating several cases. Handle each
10578 format of "macro" line with initial "optional-".
10579
10580 * conform/conformtest.pl: Only accept expected constant or
10581 optional-constant values with "==". Parse all "constant" lines in
10582 one place. Parse all "optional-constant" lines in one place.
10583 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10584 * conform/data/fmtmsg.h-data: Likewise.
10585 * conform/data/netinet/in.h-data: Likewise.
10586 * conform/data/tar.h-data: Likewise.
10587 * conform/data/limits.h-data: Use "==" form on "constant" and
10588 "optional-constant" lines.
10589
10590 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10591 Use -std=c99 for XOPEN2K.
10592 (@knownproblems): Remove.
10593 (newtoken): Don't check %isknown.
10594
10595 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10596 Do not expect macro.
10597 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10598 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10599 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10600 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10601 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10602 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10603 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10604 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10605 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10606 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10607 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10608 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10609 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10610 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10611 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10612 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10616 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10625 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10626 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10627 [XPG3] (acosh): Likewise.
10628 [XPG3] (asinh): Likewise.
10629 [XPG3] (atanh): Likewise.
10630 [XPG3] (cbrt): Likewise.
10631 [XPG3] (expm1): Likewise.
10632 [XPG3] (ilogb): Likewise.
10633 [XPG3] (log1p): Likewise.
10634 [XPG3] (logb): Likewise.
10635 [XPG3] (nextafter): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10638 [XPG3] (remainder): Likewise.
10639 [XPG3] (rint): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10643 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10647 [UNIX98 || XOPEN2K] (scalb): Expect.
10648 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10649 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10654 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10655 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10754 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10755 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10756 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10757 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10758 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10759 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10760 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10761 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10762 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10763 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10764 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10765 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10766 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10767 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10768 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10769 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10770 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10771 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10772 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10773 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10774 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10775 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10776 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10777 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10778 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10779 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10780 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10781 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10782 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10783 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10784 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10785
10786 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10787 _XOPEN_SOURCE_EXTENDED for XPG4.
10788
10789 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10790
10791 * Makeconfig (localtime): Remove variable.
10792 (inst_localtime-file): Likewise.
10793
107942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10795
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10797 Update.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10799 Update.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10801 Update.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10803 Update.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10805 Update.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10807 Update.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10809 Update.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10811 Update.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10813 Update.
10814
108152012-05-01 Joseph Myers <joseph@codesourcery.com>
10816
10817 [BZ #2550]
10818 [BZ #2570]
10819 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10820 comparisons to determine direction to adjust input.
10821 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10822 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10824 Likewise.
10825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10826 Likewise.
10827 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10828 Likewise.
10829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10831 Likewise.
10832 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10833 Likewise.
10834 * math/libm-test.inc (nexttoward_test): Add more tests.
10835
108362012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10837
10838 [BZ #14040]
10839 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10840 in version GLIBC_2.1, not GLIBC_2.0.
10841 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10842 Likewise.
10843
108442012-04-30 Joseph Myers <joseph@codesourcery.com>
10845
10846 [BZ #13942]
10847 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10848 (1 - x) * (1 + x).
10849 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10850 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10851 * math/libm-test.inc (acos_test): Add more tests.
10852 (asin_test): Likewise.
10853 * sysdeps/i386/fpu/libm-test-ulps: Update.
10854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10855
10856 [BZ #14034]
10857 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10858 of square root.
10859 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10860 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10861 * math/libm-test.inc (acos_test_tonearest): New function.
10862 (acos_test_towardzero): Likewise.
10863 (acos_test_downward): Likewise.
10864 (acos_test_upward): Likewise.
10865 (asin_test_tonearest): Likewise.
10866 (asin_test_towardzero): Likewise.
10867 (asin_test_downward): Likewise.
10868 (asin_test_upward): Likewise.
10869 (main): Call the new functions.
10870 * sysdeps/i386/fpu/libm-test-ulps: Update.
10871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10872
10873 [BZ #13884]
10874 [BZ #13924]
10875 * math/e_exp10.c: Include <float.h>.
10876 (__ieee754_exp10): Handle underflow here rather than multiplying
10877 large negative argument by M_LN10.
10878 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10879 of __ieee754_expf.
10880 * math/e_exp10l.c: Include <float.h>.
10881 (__ieee754_exp10l): Handle underflow here rather than multiplying
10882 large negative argument by M_LN10l.
10883 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10884 spurious overflow exception on underflow.
10885
108862012-04-29 Marek Polacek <polacek@redhat.com>
10887
10888 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10889 (__fortify_function): New macro.
10890 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10891 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10892 __extern_always_inline.
10893 * libio/bits/stdio2.h: Likewise.
10894 * libio/bits/stdio.h: Likewise.
10895 * string/string.h: Likewise.
10896 * string/bits/string3.h: Likewise.
10897 * include/stdio.h: Likewise.
10898 * stdlib/bits/stdlib.h: Likewise.
10899 * stdlib/stdlib.h: Likewise.
10900 * rt/bits/mqueue2.h: Likewise.
10901 * rt/mqueue.h: Likewise.
10902 * posix/bits/unistd.h: Likewise.
10903 * posix/unistd.h: Likewise.
10904 * io/bits/poll2.h: Likewise.
10905 * io/bits/fcntl2.h: Likewise.
10906 * io/fcntl.h: Likewise.
10907 * io/sys/poll.h: Likewise.
10908 * misc/bits/syslog.h: Likewise.
10909 * misc/bits/syslog-ldbl.h: Likewise.
10910 * misc/sys/syslog.h: Likewise.
10911 * socket/bits/socket2.h: Likewise.
10912 * socket/sys/socket.h: Likewise.
10913 * debug/tst-chk1.c: Likewise.
10914 * wcsmbs/bits/wchar2.h: Likewise.
10915 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10916 * wcsmbs/wchar.h: Likewise.
10917
109182012-04-29 Andreas Jaeger <aj@suse.de>
10919
10920 * Makerules (tests): Remove enable-check-abi protection.
10921 (check-abi-warn): Remove.
10922 (check-abi-%): Remove check-abi-warn usage.
10923
10924 * configure.in: Remove check-abi configure option.
10925 * configure: Regenerated.
10926 * config.make.in (enable-check-abi): Remove.
10927
109282012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10929
10930 [BZ #14033]
10931 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10932 double functions to double *_finite functions.
10933
10934 [BZ #13941]
10935 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10936 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10937 LDBL_MIN_EXP.
10938 * stdio-common/Makefile (tests): Add tst-sprintf3.
10939 * stdio-common/tst-sprintf3.c: New file.
10940
10941 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10942 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10943
109442012-04-28 Joseph Myers <joseph@codesourcery.com>
10945
10946 * conform/conformtest.pl: Remove duplicate typed-constant
10947 handling.
10948
109492012-04-28 David S. Miller <davem@davemloft.net>
10950
10951 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10952 (check-abi-%): Remove AWK script prerequisite and explicit
10953 abilist directory.
10954 (check-abi): Rewrite to just diff the symlist with the abilist.
10955 (config-tls, config-abi-config): Delete, no longer used.
10956 (update-abi-%): Remove AWK script and explicit abilist directory.
10957 (update-abi): Rewrite to simply compare and conditionally copy the
10958 symlist and the sysdep abilist file. Remove update-abi-config
10959 checks.
10960 * abilist/ld.abilist: Remove.
10961 * abilist/libBrokenLocale.abilist: Remove.
10962 * abilist/libanl.abilist: Remove.
10963 * abilist/libcrypt.abilist: Remove.
10964 * abilist/libdl.abilist: Remove.
10965 * abilist/librt.abilist: Remove.
10966 * abilist/libthread_db.abilist: Remove.
10967 * abilist/libutil.abilist: Remove.
10968 * scripts/extract-abilist.awk: Remove.
10969 * scripts/merge-abilist.awk: Remove.
10970 * sysdeps/generic/libcidn.abilist: New file.
10971 * sysdeps/generic/libnss_compat.abilist: New file.
10972 * sysdeps/generic/libnss_db.abilist: New file.
10973 * sysdeps/generic/libnss_dns.abilist: New file.
10974 * sysdeps/generic/libnss_files.abilist: New file.
10975 * sysdeps/generic/libnss_hesiod.abilist: New file.
10976 * sysdeps/generic/libnss_nis.abilist: New file.
10977 * sysdeps/generic/libnss_nisplus.abilist: New file.
10978 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10979 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10980 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10981 file.
10982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10983 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10984 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10985 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10986 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10987 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10988 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10989 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10990 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10991 file.
10992 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10993 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10994 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10995 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10996 file.
10997 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10998 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10999 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11001 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11002 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11003 file.
11004 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11005 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11006 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11007 file.
11008 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11010 New file.
11011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11012 New file.
11013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11014 New file.
11015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11016 New file.
11017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11018 New file.
11019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11020 New file.
11021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11022 New file.
11023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11024 New file.
11025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11026 New file.
11027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11028 New file.
11029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11030 New file.
11031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11032 New file.
11033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11034 New file.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11036 file.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11038 New file.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11040 New file.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11042 file.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11044 New file.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11046 New file.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11048 file.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11050 New file.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11052 New file.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11054 New file.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11056 New file.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11058 New file.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11060 New file.
11061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11063 file.
11064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11065 New file.
11066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11067 file.
11068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11069 file.
11070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11071 file.
11072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11073 file.
11074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11075 file.
11076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11077 New file.
11078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11079 file.
11080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11081 file.
11082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11083 New file.
11084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11085 file.
11086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11088 file.
11089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11090 New file.
11091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11092 file.
11093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11094 file.
11095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11096 file.
11097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11098 file.
11099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11100 file.
11101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11104 file.
11105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11106 file.
11107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11108 New file.
11109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11110 file.
11111 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11112 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11113 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11114 file.
11115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11116 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11117 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11118 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11119 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11120 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11121 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11122 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11123 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11124 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11127 file.
11128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11129 New file.
11130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11131 file.
11132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11133 file.
11134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11135 file.
11136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11137 file.
11138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11139 file.
11140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11141 New file.
11142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11143 New file.
11144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11145 file.
11146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11147 New file.
11148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11149 file.
11150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11152 file.
11153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11154 New file.
11155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11156 file.
11157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11158 file.
11159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11160 file.
11161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11162 file.
11163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11164 file.
11165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11166 New file.
11167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11168 New file.
11169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11170 file.
11171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11172 New file.
11173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11174 file.
11175
111762012-04-28 Joseph Myers <joseph@codesourcery.com>
11177
11178 * conform/conformtest.pl: Fix typo in handling typed-constant from
11179 allow-header.
11180
111812012-04-27 Joseph Myers <joseph@codesourcery.com>
11182
11183 * README: Cut down references to pre-2.6 Linux kernels and
11184 Linuxthreads. Update lists of configurations in libc and ports
11185 and sort alphabetically. Say "or newer" with Linux kernel version
11186 requirements.
11187
11188 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11189
111902012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11191
11192 [BZ #887]
11193 * math/libm-test.inc (logb_test_downward): New test to expose
11194 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11195 rounding mode.
11196
111972012-04-27 Joseph Myers <joseph@codesourcery.com>
11198
11199 [BZ #14027]
11200 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11201 to be done.
11202 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11203 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11204
112052012-04-26 Joseph Myers <joseph@codesourcery.com>
11206
11207 * sysdeps/unix/i386/brk.S: Remove file.
11208 * sysdeps/unix/i386/dl-brk.S: Likewise.
11209 * sysdeps/unix/i386/pipe.S: Likewise.
11210 * sysdeps/unix/i386/sigreturn.S: Likewise.
11211 * sysdeps/unix/i386/syscall.S: Likewise.
11212 * sysdeps/unix/i386/vfork.S: Likewise.
11213 * sysdeps/unix/i386/wait.S: Likewise.
11214
11215 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11216 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11217
11218 * configure.in (arm*-none*): Do not allow without
11219 --enable-hacker-mode.
11220 (netbsd*): Remove case setting base_os.
11221 (386bsd*): Likewise.
11222 (freebsd*): Likewise.
11223 (bsdi*): Likewise.
11224 (osf*): Likewise.
11225 (sunos*): Likewise.
11226 (ultrix*): Likewise.
11227 (newsos*): Likewise.
11228 (dynix*): Likewise.
11229 (*bsd*): Likewise.
11230 (sysv*): Likewise.
11231 (isc*): Likewise.
11232 (esix*): Likewise.
11233 (sco*): Likewise.
11234 (minix*): Likewise.
11235 (irix4*): Likewise.
11236 (irix6*): Likewise.
11237 (solaris[2-9]*): Likewise.
11238 (none): Likewise.
11239 * configure: Regenerated.
11240
112412012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11242
11243 [BZ #11521]
11244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11245 overflow or cancellation in calculating denominator.
11246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11248 down expression to avoid unexpected rounding in newer GCCs.
11249 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11250
112512012-04-26 David S. Miller <davem@davemloft.net>
11252
11253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11254 long-double compat symbols.
11255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11268
112692012-04-25 David S. Miller <davem@davemloft.net>
11270
11271 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11272 HWCAP_* values only after the memory barriers have been defined.
11273 (atomic_full_barrier): Define.
11274 (atomic_read_barrier): Define.
11275 (atomic_write_barrier): Define.
11276
112772012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11278
11279 * shlib-versions: Add libgcc_s version information.
11280 * sysdeps/generic/libgcc_s.h: Remove.
11281 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11282 libgcc_s.h.
11283 * sysdeps/gnu/unwind-resume.c: Likewise.
11284 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11285
112862012-04-25 David S. Miller <davem@davemloft.net>
11287
11288 * sysdeps/unix/sparc/brk.S: Delete.
11289 * sysdeps/unix/sparc/dl-brk.S: Delete.
11290 * sysdeps/unix/sparc/pipe.S: Delete.
11291 * sysdeps/unix/sparc/sysdep.S: Delete.
11292 * sysdeps/unix/sparc/sysdep.h: Delete.
11293 * sysdeps/unix/sparc/vfork.S: Delete.
11294 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11295 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11297 ret_ERRVAL, r0, r1, MOVE): Define.
11298 (JUMPTARGET): Remove.
11299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11300 sysdeps/unix/sparc/sysdep.h
11301 (ENTRY, END): Remove.
11302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11303
113042012-04-25 Joseph Myers <joseph@codesourcery.com>
11305
11306 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11307 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11308 -DIS_IN_build.
11309
11310 * timezone/README: Update upstream location and email address for
11311 tzcode and tzdata.
11312 * timezone/zdump.c: Update from tzcode 2012b.
11313 * timezone/zic.c: Likewise.
11314
11315 * configure.in (libc_cv_as_needed): Remove test.
11316 * configure: Regenerated.
11317 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11318 conditional definition.
11319 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11320 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11321 * config.make.in (have-as-needed): Remove variable.
11322
113232012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11324 Paul Pluzhnikov <ppluzhnikov@google.com>
11325
11326 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11327 strings correctly.
11328
113292012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11330
11331 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11332 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11333 * sysdeps/sh/strlen.S: Likewise.
11334
113352012-04-24 Joseph Myers <joseph@codesourcery.com>
11336
11337 * sysdeps/unix/fork.S: Remove file.
11338 * sysdeps/unix/i386/fork.S: Likewise.
11339 * sysdeps/unix/sparc/fork.S: Likewise.
11340
11341 * sysdeps/unix/system.c: Remove file.
11342 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11343
11344 * sysdeps/unix/getegid.S: Remove file.
11345 * sysdeps/unix/geteuid.S: Likewise.
11346
113472012-04-24 Roland McGrath <roland@hack.frob.com>
11348
11349 * scripts/check-localplt.awk: New file.
11350 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11351 of diff.
11352 * scripts/data/localplt-generic.data: Add a comment.
11353
11354 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11355 NODE when __dir_mkfile failed.
11356 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11357 Reported by Ludovic Courtès <ludo@gnu.org>.
11358
113592012-04-24 Andreas Jaeger <aj@suse.de>
11360
11361 * Makerules (common-clean): Also remove gen-as-const-headers
11362 files.
11363
113642012-04-24 Joseph Myers <joseph@codesourcery.com>
11365
11366 * Makerules (native-compile): Do not change working directory for
11367 build. Use $(OUTPUT_OPTION) in command.
11368 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11369
113702012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11371
11372 [BZ #13886]
11373 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11374 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11375 * math/libm-test.inc (floor_test): Add more tests.
11376 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11377
113782012-04-24 Joseph Myers <joseph@codesourcery.com>
11379
11380 * sysdeps/unix/getdents.c: Remove file.
11381 * sysdeps/unix/sysv/getdents.c: Likewise.
11382 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11383
11384 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11385 sysdeps/unix/mman/syscalls.list.
11386 (mmap): Likewise.
11387 (mprotect): Likewise.
11388 (msync): Likewise.
11389 (munmap): Likewise.
11390 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11391 * sysdeps/unix/mman/syscalls.list: Remove.
11392 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11393
11394 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11395 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11396 * configure: Regenerated.
11397 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11398 $(libgcc_s_suffix).
11399 * config.make.in (libgcc_s_suffix): Remove variable.
11400
114012012-04-23 Joseph Myers <joseph@codesourcery.com>
11402
11403 * sysdeps/unix/sysv/gethostname.c: Move to ...
11404 * sysdeps/posix/gethostname.c: ... here.
11405
11406 * sysdeps/unix/execve.S: Remove file.
11407
11408 * sysdeps/unix/_exit.S: Remove file.
11409
114102012-04-23 Andreas Jaeger <aj@suse.de>
11411
11412 [BZ #13739]
11413 * manual/Makefile: Remove make dist support, there's no
11414 need for a stand-alone documentation tar ball.
11415 (TEXI2DVI): Define always, it's not in Makeconfig.
11416 (dist): Removed.
11417 (tar-it): Removed.
11418 (edition): Removed.
11419 (glibc-doc-$(edition).tar): Removed
11420 (%.Z): Removed.
11421 (%.gz): Removed.
11422 (%.uu): Removed.
11423 (ETAGS): Remove, it's in Makeconfig.
11424 (move-if-change): Remove, it's in Makeconfig.
11425
114262013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11427
11428 [BZ #13970]
11429 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11430 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11431 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11432 (strtod_l, strtof_l, strtold_l): Remove __wur.
11433 It is not necessarily an error to ignore strtol's return value.
11434 One can reliably look at the stored endptr to decide whether
11435 the number had valid syntax.
11436
114372012-04-21 Andreas Jaeger <aj@suse.de>
11438
11439 [BZ #13739]
11440 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11441
114422012-04-21 Joseph Myers <joseph@codesourcery.com>
11443
11444 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11445 * sysdeps/unix/sysv/Versions: Remove file.
11446
114472012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11448
11449 [BZ #13927]
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11451
114522012-04-21 Nick Alcock <nick.alcock@oracle.com>
11453
11454 [BZ #7064]
11455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11456 version from __vm86.
11457
114582012-04-20 Joseph Myers <joseph@codesourcery.com>
11459
11460 * sysdeps/unix/common/lxstat.c: Remove file.
11461 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11462
11463 * sysdeps/unix/sysv/Makefile: Remove file.
11464
11465 * sysdeps/unix/sysv/direct.h: Remove file.
11466
11467 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11468 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11469 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11470 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11471 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11472 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11473 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11474
11475 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11476
11477 * sysdeps/unix/xmknod.c: Remove file.
11478 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11479
11480 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11481
11482 * sysdeps/unix/sysv/i386/time.S: Remove file.
11483
11484 * sysdeps/unix/fxstat.c: Remove file.
11485 * sysdeps/unix/xstat.c: Likewise.
11486 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11487
11488 * sysdeps/unix/sysv/sigaction.c: Remove file.
11489
11490 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11491 (sysdep_headers): Remove variable.
11492 [termio.h not in sysdep_headers] (generated): Likewise.
11493 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11494 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11495 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11496 * sysdeps/unix/sysv/tcflow.c: Likewise.
11497 * sysdeps/unix/sysv/tcflush.c: Likewise.
11498 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11499 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11500 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11501 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11502 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11503
11504 * sysdeps/unix/siglist.c: Remove file.
11505
11506 * sysdeps/unix/getppid.S: Remove file.
11507
11508 * sysdeps/unix/mkdir.c: Remove file.
11509 * sysdeps/unix/rmdir.c: Likewise.
11510
115112012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11512
11513 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11514 ERR_MAX value.
11515 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11516 errlist-compat value.
11517
115182012-04-18 David S. Miller <davem@davemloft.net>
11519
11520 * sysdeps/generic/memcopy.h (reg_char): Delete.
11521 * debug/strcat_chk.c: Use char, not reg_char.
11522 * debug/strcpy_chk.c: Likewise.
11523 * debug/strncat_chk.c: Likewise.
11524 * debug/strncpy_chk.c: Likewise.
11525 * string/memchr.c: Likewise.
11526 * string/memrchr.c: Likewise.
11527 * string/rawmemchr.c: Likewise.
11528 * string/strcat.c: Likewise.
11529 * string/strchr.c: Likewise.
11530 * string/strchrnul.c: Likewise.
11531 * string/strcmp.c: Likewise.
11532 * string/strcpy.c: Likewise.
11533 * string/strncat.c: Likewise.
11534 * string/strncmp.c: Likewise.
11535 * string/strncpy.c: Likewise.
11536
115372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11538
11539 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11540 __builtin_memcopy is called when src and dest ranges are known to not
11541 overlap.
11542
115432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11544
11545 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11546 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11547 fwd_align_merge macro call.
11548 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11549 bwd_align_merge macro call.
11550 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11551
115522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11553
11554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11555 bwd_align_merge macros.
11556 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11557 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11558 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11559
115602012-04-18 David S. Miller <davem@davemloft.net>
11561
11562 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11563
115642012-04-18 Andreas Jaeger <aj@suse.de>
11565
11566 [BZ# 6794]
11567 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11568 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11569 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11570
11571 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11572 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11573 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11574
11575 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11576 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11577 Adjust for changed ldbl-128 files.
11578
11579 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11580 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11581 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11582
115832012-04-17 David S. Miller <davem@davemloft.net>
11584
11585 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11586
115872012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11588
11589 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11590 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11591 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11592 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11594 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11595
115962012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597
11598 [BZ #6794]
11599 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11600 * math/libm-test.inc: Add ilogb errno and exception tests.
11601 * math/w_ilogb.c: New file: ilogb wrapper.
11602 * math/w_ilogbf.c: New file: ilogbf wrapper.
11603 * math/w_ilogbl.c: New file: ilogbl wrapper.
11604 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11605 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11606 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11607 exception being thrown with 0.0 as argument.
11608 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11609 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11610 exception being thrown with 0.0 as argument.
11611 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11612 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11613 exception being thrown with 0.0 as argument.
11614 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11615 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11616 exception being thrown with 0.0 as argument.
11617 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11618 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11620 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11621 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11622 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11623 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11624 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11625 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11626
116272012-04-17 Petr Baudis <pasky@ucw.cz>
11628
11629 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11630 with altivec.
11631
116322012-04-16 Marek Polacek <polacek@redhat.com>
11633
11634 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11635
116362012-04-16 Marek Polacek <polacek@redhat.com>
11637
11638 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11639 operands of fdivp instruction.
11640
116412012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11642
11643 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11644 * elf/tst-auditmod3b.c: Likewise.
11645 * elf/tst-auditmod4b.c: Likewise.
11646 * elf/tst-auditmod5b.c: Likewise.
11647 * elf/tst-auditmod6b.c: Likewise.
11648 * elf/tst-auditmod6c.c: Likewise.
11649 * elf/tst-auditmod7b.c: Likewise.
11650 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11651 * sysdeps/x86_64/preconfigure.in: Likewise.
11652 * sysdeps/x86_64/preconfigure: Regenerated.
11653
116542012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11655
11656 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11657 __ILP32__.
11658
116592012-04-13 Antoine Balestrat <merkil33@gmail.com>
11660
11661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11662 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11663
116642012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11665
11666 [BZ #13973]
11667 * locale/iso-639.def: Fix gl language name. Spotted by
11668 Yaron Shahrabani.
11669
116702012-04-12 Roland McGrath <roland@hack.frob.com>
11671
11672 [BZ #2074]
11673 * libio/libio.h (__io_write_fn): Update comment.
11674
116752012-04-12 Petr Baudis <pasky@ucw.cz>
11676
11677 [BZ #2074]
11678 * stdio.texi (Hook Functions): The user provided writer function
11679 is not allowed to return -1.
11680
116812012-04-11 David S. Miller <davem@davemloft.net>
11682
11683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11684
116852012-04-11 Mike Frysinger <vapier@gentoo.org>
11686
11687 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11688 Add a leading slash to rtkaio.
11689
116902012-04-11 Jim Meyering <meyering@redhat.com>
11691
11692 [BZ #11959]
11693 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11694 It is not necessarily an error to ignore fwrite's return
11695 value. One can reliably use ferror to test for errors after
11696 the fact.
11697
116982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 * bits/types.h (__snseconds_t): New type.
11701 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11702
11703 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11704 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11705 (__SNSECONDS_T_TYPE): Likewise.
11706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11707 (__SNSECONDS_T_TYPE): Likewise.
11708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11709 (__SNSECONDS_T_TYPE): Likewise.
11710
117112012-04-10 Andreas Jaeger <aj@suse.de>
11712
11713 [BZ #2636]
11714 * manual/time.texi (Processor Time): Return type of times is
11715 elapsed real time since an arbitrary point in the past.
11716 (CPU Time): Move CLK_TCK from here...
11717 (Processor Time): ...to here. Correct description.
11718 * manual/conf.texi (Constants for Sysconf): Correct description of
11719 _SC_CLK_TCK.
11720
117212012-04-10 David S. Miller <davem@davemloft.net>
11722
11723 [BZ #13967]
11724 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11725 where the is a gap between DT_REL(A) and DT_JMPREL.
11726
117272012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11728
11729 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11730 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11731 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11732
117332012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11734
11735 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11736 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11737 (dl_main): Handle --inhibit-cache.
11738 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11739 _dl_inhibit_cache.
11740 * elf/dl-load.c (_dl_map_object): Use it.
11741 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11742
117432012-04-09 Joseph Myers <joseph@codesourcery.com>
11744
11745 [BZ #13872]
11746 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11747 (__ieee754_powl): Saturate large exponents rather than testing for
11748 overflow of y*log2(x).
11749 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11750 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11751 exceptions.
11752
11753 [BZ #11521]
11754 * math/s_ctan.c: Include <float.h>.
11755 (__ctan): Avoid internal overflow or cancellation in calculating
11756 denominator.
11757 * math/s_ctanf.c: Likewise.
11758 * math/s_ctanl.c: Likewise.
11759 * math/s_ctanh.c: Likewise.
11760 * math/s_ctanhf.c: Likewise.
11761 * math/s_ctanhl.c: Likewise.
11762 * math/libm-test.inc (ctan_test): Add more tests.
11763 (ctanh_test): Likewise.
11764 * sysdeps/i386/fpu/libm-test-ulps: Update.
11765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11766
117672012-04-09 Andreas Jaeger <aj@suse.de>
11768
11769 [BZ #6894]
11770 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11771 is an optional BSD extension.
11772
11773 [BZ #10254]
11774 * manual/stdio.texi (Opening Streams): Document additional fopen
11775 parameters.
11776
117772012-04-09 Roland McGrath <roland@hack.frob.com>
11778
11779 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11780 %eax without telling the compiler.
11781
117822012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11783
11784 [BZ # 13963]
11785 * manual/install.texi: Use sourceware.org.
11786
117872012-04-09 Joseph Myers <joseph@codesourcery.com>
11788
11789 [BZ #13873]
11790 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11791 (__ieee754_pow): Generate overflow and underflow using huge*huge
11792 and tiny*tiny rather than just returning constant infinity or zero
11793 for large exponents.
11794 * math/libm-test.inc (pow_test): Require overflow exceptions for
11795 applicable cases of large exponents.
11796
11797 [BZ #706]
11798 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11799 (__ieee754_pow): Use iterative multiplication algorithm only for
11800 integer exponents with absolute value below 1024. Check for odd
11801 integer exponents when using algorithm for real exponents.
11802 * math/libm-test.inc (pow_test): Add more tests.
11803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11804
118052012-04-08 Joseph Myers <joseph@codesourcery.com>
11806
11807 [BZ #13705]
11808 * math/libm-test.inc (exp_test): Do not allow overflow exception
11809 on underflow test.
11810
118112012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11812
11813 [BZ #13705]
11814 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11815 instead of __kernel_standard_f.
11816
118172012-04-08 Mike Frysinger <vapier@gentoo.org>
11818
11819 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11820 * sysdeps/x86_64/memset_chk.S: Likewise.
11821
118222012-04-08 Andreas Jaeger <aj@suse.de>
11823
11824 [BZ #10153]
11825 * manual/startup.texi (Environment Access): Describe return value
11826 for putenv and setenv.
11827
11828 [BZ #6895]
11829 * manual/filesys.texi (Directory Entries): Add description for
11830 DT_LNK.
11831
11832 [BZ #6890]
11833 * manual/filesys.texi (Directory Entries): Clarify that it's file
11834 system not operating system in the description of DT_UNKNOWN.
11835
11836 [BZ #6578]
11837 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11838
118392012-04-08 Stephen Compall <s11@member.fsf.org>
11840
11841 [BZ #6649]
11842 * manual/llio.texi (Opening and Closing Files): Add cross
11843 reference to explain mode argument.
11844
118452012-04-07 Mike Frysinger <vapier@gentoo.org>
11846
11847 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11848 * sysdeps/x86_64/memset_chk.S: Likewise.
11849
118502012-04-07 David S. Miller <davem@davemloft.net>
11851
11852 * elf/elf.h (R_SPARC_WDISP10): Define.
11853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11854 R_SPARC_SIZE32.
11855 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11856 R_SPARC_SIZE64 and R_SPARC_H34.
11857
118582012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11859
11860 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11861 conditions and remove no longer applicable assertion.
11862
118632012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 * bits/byteswap.h: Include <features.h>.
11866 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11867 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11868
118692012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11870
11871 * bits/byteswap.h (__bswap_16): Removed.
11872 Include <bits/byteswap-16.h> to get __bswap_16.
11873 * sysdeps/i386/bits/byteswap.h: Likewise.
11874 * sysdeps/s390/bits/byteswap.h: Likewise.
11875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11876 * bits/byteswap-16.h: New file.
11877 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11878 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11879 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11880 * string/Makefile (headers): Add bits/byteswap-16.h.
11881
118822012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11883
11884 [BZ #13895]
11885 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11886 extra indirection.
11887 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11888 * nss/tst-nss-static.c: New.
11889
118902012-04-06 Robert Millan <rmh@gnu.org>
11891
11892 [BZ #6486]
11893 * manual/llio.texi (File Position Primitive): lseek
11894 refers to WHENCE when it really means OFFSET.
11895
118962012-04-06 Andreas Jaeger <aj@suse.de>
11897
11898 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11899 strncmp declarations.
11900
11901 * abilist/libc.abilist: Add __poll and __ppoll.
11902
119032012-04-05 David S. Miller <davem@davemloft.net>
11904
11905 * scripts/check-local-headers.sh: Accept a host triplet in the
11906 path matched by the exclude regexp.
11907
11908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11909 definition.
11910 * sysdeps/powerpc/powerpc32/dl-machine.h
11911 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11912 * sysdeps/s390/s390-32/dl-machine.h
11913 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11914 * sysdeps/sparc/sparc32/dl-machine.h
11915 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11916 * sysdeps/sparc/sparc64/dl-machine.h
11917 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11918
11919 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11920 lazy binding.
11921 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
11922 undefined symbol errors.
11923
11924 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
11925 DT_NEEDED entries.
11926
119272012-04-05 Michael Matz <matz@suse.de>
11928
11929 [BZ #13592]
11930 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11931
119322012-04-05 Andreas Jaeger <aj@suse.de>
11933
11934 [BZ #13908]
11935 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11936 comment.
11937
119382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11939
11940 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11941 which ROUND is no valid rounding mode.
11942
119432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11944
11945 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11946 read again.
11947 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11948
119492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11950
11951 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11952 an exception using FPU order intentionally.
11953
119542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11955
11956 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11957 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11958 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11959 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11960
119612012-04-05 Simon Josefsson <simon@josefsson.org>
11962
11963 [BZ #12340]
11964 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11965 EINVAL when BUFLEN is too smal.
11966
119672012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11968
11969 [BZ #13553]
11970 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11971 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11972
119732012-04-03 Andreas Jaeger <aj@suse.de>
11974
11975 [BZ #13938]
11976 * manual/setjmp.texi (System V contexts): Fix sentence.
11977
11978 [BZ #13926]
11979 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11980 New macro for this case.
11981 [!__GNUC__] (__bswap_64): New inline function for this case.
11982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11983 * bits/byteswap.h: Likewise.
11984 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11985 ull, guard with __GLIBC_HAVE_LONG_LONG.
11986
11987 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11988 __GLIBC_HAVE_LONG_LONG.
11989
11990 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11991 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11992
119932012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11994
11995 [BZ #13691]
11996 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11997 inptr and inend, rather than using last_ch.
11998
119992012-04-02 David S. Miller <davem@davemloft.net>
12000
12001 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12002 * stdio-common/printf-parse.h (read_int): Change return type to
12003 'int', return -1 on INT_MAX overflow.
12004 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12005 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12006 overflows INT_MAX. Check for overflow of in-format-string precision
12007 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12008 SIZE_MAX not INT_MAX for integer overflow test.
12009 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12010 skip the construct in the format string but do not record anything.
12011 * stdio-common/bug22.c: Adjust to test both width/prevision
12012 INT_MAX overflow as well as total length INT_MAX overflow. Check
12013 explicitly for proper errno values.
12014
120152012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12016
12017 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12018 CHAR_MAX.
12019 * string/test-strcmp.c [! WIDE]: Likewise.
12020 * time/tst-mktime2.c: Likewise for INT_MAX.
12021 * string/test-string.h: #include <sys/param.h> for MIN.
12022
12023 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12024 * sysdeps/i386/init-first.c (init): Likewise.
12025 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12026 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12027 * sysdeps/sh/init-first.c (init): Likewise.
12028
120292012-04-01 Ulrich Drepper <drepper@gmail.com>
12030
12031 * po/ru.po: Update from translation team.
12032 * po/vi.po: Likewise.
12033
120342012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12035
12036 * resolv/nss_dns/dns-host.c: Merge copyright years.
12037
120382012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12039
12040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12041 Optimize memcpy with prefetch if
12042 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12043 src, dst pointers have unequal 16 byte alignments.
12044
120452012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12046
12047 [BZ #13928]
12048 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12049 from a CNAME entry and return the minimum ttl for the query.
12050 (gaih_getanswer_slice): Likewise.
12051
120522012-03-30 Jeff Law <law@redhat.com>
12053
12054 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12055 due to long keys.
12056 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12057 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12058
12059 * resolv/nss_dns/dns-host.c: Update copyright year.
12060
120612012-03-30 Ulrich Drepper <drepper@gmail.com>
12062
12063 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12064 requests to save a system call. Fix check that all bytes are sent.
12065
12066 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12067 comments for sendmmsg.
12068
120692012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12070
12071 [BZ #13691]
12072 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12073 with only 1 character between 0x0041 and 0x01b0.
12074 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12075 * wcsmbs/tst-mbsnrtowcs.c: New file.
12076
120772012-03-29 David S. Miller <davem@davemloft.net>
12078
12079 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12080 small copies by hand.
12081
120822012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12083
12084 [BZ #13761]
12085 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12086 _nss_compat_initgroups_dyn): Fall back to malloc/free
12087 for large group memberships.
12088
120892012-03-28 David S. Miller <davem@davemloft.net>
12090
12091 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12092 that branches into memcpy.
12093 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12096 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12098 bits.
12099 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12100 implementation too.
12101 * sysdeps/sparc/mempcpy.S: New file.
12102
12103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12104 the IFUNC routine in the libc case.
12105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12106
12107 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12108 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12109 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12110 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12111 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12112 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12113 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12114 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12115
12116 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12117 loop to 256 bytes instead of 64 bytes and fix test signedness.
12118
12119 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12120 * sysdeps/sparc/sparc32/Makefile: rather than here...
12121 * sysdeps/sparc/sparc64/Makefile: and here.
12122
121232012-03-28 Ulrich Drepper <drepper@gmail.com>
12124
12125 * malloc/mallocbug.c: Avoid warnings about unused variables.
12126
121272012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12128
12129 [BZ #13760]
12130 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12131 in the right place. Discard and retry query if response is
12132 larger than input buffer size.
12133
121342012-03-28 Joseph Myers <joseph@codesourcery.com>
12135
12136 [BZ #369]
12137 [BZ #2678]
12138 [BZ #3866]
12139 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12140 x for large integer exponent.
12141 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12142 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12143 sign of result as needed afterwards.
12144 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12145 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12146 result for underflowing pow the same as for overflow.
12147 (__kernel_standard_l): Handle powl overflow and underflow here
12148 rather than calling __kernel_standard.
12149 * math/libm-test.inc (pow_test): Add more tests.
12150
12151 [BZ #3868]
12152 [BZ #13879]
12153 [BZ #13910]
12154 [BZ #13911]
12155 [BZ #13912]
12156 [BZ #13913]
12157 [BZ #13915]
12158 [BZ #13916]
12159 [BZ #13917]
12160 [BZ #13918]
12161 [BZ #13919]
12162 [BZ #13920]
12163 [BZ #13921]
12164 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12165 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12166 (__kernel_standard_l): New function.
12167 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12168 __kernel_standard.
12169 * math/w_acosl.c (__acosl): Likewise.
12170 * math/w_asinl.c (__asinl): Likewise.
12171 * math/w_atan2l.c (__atan2l): Likewise.
12172 * math/w_atanhl.c (__atanhl): Likewise.
12173 * math/w_coshl.c (__coshl): Likewise.
12174 * math/w_exp10l.c (__exp10l): Likewise.
12175 * math/w_exp2l.c (__exp2l): Likewise.
12176 * math/w_fmodl.c (__fmodl): Likewise.
12177 * math/w_hypotl.c (__hypotl): Likewise.
12178 * math/w_j0l.c (__j0l, __y0l): Likewise.
12179 * math/w_j1l.c (__j1l, __y1l): Likewise.
12180 * math/w_jnl.c (__jnl, __ynl): Likewise.
12181 * math/w_lgammal.c (__lgammal): Likewise.
12182 * math/w_log10l.c (__log10l): Likewise.
12183 * math/w_log2l.c (__log2l): Likewise.
12184 * math/w_logl.c (__logl): Likewise.
12185 * math/w_powl.c (__powl): Likewise.
12186 * math/w_remainderl.c (__remainderl): Likewise.
12187 * math/w_scalbl.c (sysv_scalbl): Likewise.
12188 * math/w_sinhl.c (__sinhl): Likewise.
12189 * math/w_sqrtl.c (__sqrtl): Likewise.
12190 * math/w_tgammal.c (__tgammal): Likewise.
12191 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12192 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12193 * math/libm-test.inc (acos_test): Add more tests.
12194 (acosh_test): Likewise.
12195 (asin_test): Likewise.
12196 (atanh_test): Likewise.
12197 (exp_test): Likewise.
12198 (exp10_test): Likewise.
12199 (exp2_test): Likewise.
12200 (expm1_test): Likewise.
12201 (lgamma_test): Likewise.
12202 (log_test): Likewise.
12203 (log10_test): Likewise.
12204 (log1p_test): Likewise.
12205 (log2_test): Likewise.
12206 (pow_test): Do not allow some spurious overflow exceptions.
12207 (sqrt_test): Add more tests.
12208 (tgamma_test): Likewise.
12209 (y0_test): Likewise.
12210 (y1_test): Likewise.
12211 (yn_test): Likewise.
12212
122132012-03-27 Anton Blanchard <anton@samba.org>
12214
12215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12216 MAP_HUGETLB.
12217 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12218 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12219 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12220
122212012-03-27 David S. Miller <davem@davemloft.net>
12222
12223 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12224
12225 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12226 have-as-vis3 check.
12227
122282012-03-27 Andreas Jaeger <aj@suse.de>
12229
12230 * sysdeps/x86_64/elf/configure.in: Moved to ...
12231 * sysdeps/x86_64/configure.in: ... here.
12232 * sysdeps/x86_64/elf/start.S: Moved to ...
12233 * sysdeps/x86_64/start.S: ... here.
12234 * sysdeps/x86_64/elf/configure: Delete.
12235
12236 * sysdeps/x86_64/configure.in: Merge contents from
12237 sysdeps/i386/configure.in (without i686 check).
12238
12239 * sysdeps/i386/elf/Versions: Merge into ...
12240 * sysdeps/i386/Versions: ... this.
12241 * sysdeps/i386/elf/Versions: Delete file.
12242 * sysdeps/i386/elf/start.S: Moved to ...
12243 * sysdeps/i386/start.S: ...here.
12244 * sysdeps/i386/elf/configure.in: Merge into...
12245 * sysdeps/i386/configure.in: ...here.
12246 * sysdeps/i386/elf/configure.in: Delete file.
12247 * sysdeps/i386/elf/configure: Delete file.
12248
12249 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12250 * debug/backtracesyms.c: ... here.
12251 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12252 * debug/backtracesymsfd.c: ... here.
12253 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12254 * sysdeps/generic/ifunc-sel.h: ... here.
12255
12256 * sysdeps/unix/i386/start.c: Delete file.
12257 * sysdeps/unix/sparc/start.c: Delete file.
12258 * sysdeps/unix/start.c: Delete file.
12259
12260 * sysdeps/sh/elf/configure.in: Moved to ...
12261 * sysdeps/sh/configure.in: ... here.
12262 * sysdeps/sh/elf/start.S: Moved to ...
12263 * sysdeps/sh/start.S: ... here.
12264 * sysdeps/sh/elf/configure: Delete file.
12265
12266 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12267 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12268 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12269 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12270 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12271 * sysdeps/powerpc/powerpc64/start.S: here.
12272 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12273 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12274 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12275 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12276 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12277
12278 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12279 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12280 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12281 * sysdeps/powerpc/powerpc32/start.S: ... here.
12282 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12283 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12284 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12285
12286 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12287 * sysdeps/powerpc/ifunc-sel.h: ... here.
12288 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12289 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12290
12291 * sysdeps/sparc/elf/configure.in: Moved to ...
12292 * sysdeps/sparc/configure.in: ... here.
12293 * sysdeps/sparc/elf/configure: Delete file.
12294 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12295 * sysdeps/sparc/sparc32/start.S: ... here.
12296 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12297 * sysdeps/sparc/sparc64/start.S: ... here.
12298 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12299 * sysdeps/sparc/sparc32/Makefile: ... this.
12300 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12301 * sysdeps/sparc/sparc64/Makefile: ... this.
12302
12303 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12304 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12305 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12306 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12307 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12308 * sysdeps/s390/s390-32/setjmp.S: ... here.
12309 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12310 * sysdeps/s390/s390-32/configure.in: ... here.
12311 * sysdeps/s390/s390-32/elf/configure: Delete file.
12312 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12313 * sysdeps/s390/s390-32/start.S: ... here.
12314
12315 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12316 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12317 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12318 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12319 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12320 * sysdeps/s390/s390-64/setjmp.S: ... here.
12321 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12322 * sysdeps/s390/s390-64/configure.in: ... here
12323 * sysdeps/s390/s390-64/elf/configure: Delete file.
12324 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12325 * sysdeps/s390/s390-64/start.S: ... here.
12326 * sysdeps/s390/s390-64/elf/configure: Delete.
12327
12328 * configure.in: Remove support for elf directories in sysdeps.
12329
12330 * configure: Regenerated.
12331 * sysdeps/i386/configure: Regenerated.
12332 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12333 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12334 * sysdeps/s390/s390-32/configure: Regenerated.
12335 * sysdeps/s390/s390-64/configure: Regenerated.
12336 * sysdeps/sh/configure: Regenerated.
12337 * sysdeps/sparc/configure: Regenerated.
12338 * sysdeps/x86_64/configure: Regenerated.
12339
123402012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12341
12342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12343
12344 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12345 denormal result into account.
12346
123472012-03-25 Roland McGrath <roland@hack.frob.com>
12348
12349 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12350 Reported by Allan McRae <allan@archlinux.org>.
12351
123522012-03-23 Jeff Law <law@redhat.com>
12353
12354 * nss/getnssent.c (__nss_getent): Fix typo.
12355
123562012-03-23 David S. Miller <davem@davemloft.net>
12357
12358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12359
123602012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12361
12362 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12363 to pad to uint64_t for each field.
12364 (dl_tls_index): Replace unsigned long with uint64_t.
12365
123662012-03-23 Daniel Jacobowitz <dmj@google.com>
12367 Paul Pluzhnikov <ppluzhnikov@google.com>
12368
12369 [BZ #6528]
12370 * grp/Makefile (otherlibs): Don't set it.
12371 * inet/Makefile (otherlibs): Likewise.
12372 * login/Makefile (otherlibs): Likewise.
12373 * nscd/Makefile (otherlibs): Likewise.
12374 * posix/Makefile (otherlibs): Likewise.
12375 * pwd/Makefile (otherlibs): Likewise.
12376 * rt/Makefile (otherlibs): Likewise.
12377 * sunrpc/Makefile (otherlibs): Likewise.
12378 * nss/Makefile (otherlibs): Likewise.
12379 Add libnss_files to routines and static-only-routines.
12380 ($(objpfx)getent): Remove rule.
12381 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12382 static-only-routines.
12383
123842012-03-22 Joseph Myers <joseph@codesourcery.com>
12385
12386 [BZ #13892]
12387 * math/s_cexp.c: Include <float.h>.
12388 (__cexp): Handle exp result overflowing not necessarily
12389 overflowing both real and imaginary parts of result.
12390 * math/s_cexpf.c: Likewise.
12391 * math/s_cexpl.c: Likewise.
12392 * math/libm-test.inc (cexp_test): Add more tests.
12393 * sysdeps/i386/fpu/libm-test-ulps: Update.
12394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395
123962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 * include/link.h (ELFW): New macro.
12399 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12400 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12401
124022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12403
12404 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12405 with uint64_t.
12406
124072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12410 declaration.
12411 (struct La_x32_retval): Likewise.
12412
124132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12414
12415 * sysdeps/x86_64/preconfigure.in: New file.
12416 * sysdeps/x86_64/preconfigure: New generated file.
12417
124182012-03-22 Joseph Myers <joseph@codesourcery.com>
12419
12420 [BZ #13824]
12421 * math/e_exp2l.c: Include <float.h>.
12422 (__ieee754_exp2l): Handle overflow and underflow cases
12423 separately. Only pass fractional part of argument to
12424 __ieee754_expl.
12425 * math/libm-test.inc (exp2_test): Add more tests.
12426
12427 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12428 negating x to take absolute value.
12429 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12430 Likewise.
12431 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12432 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12433 Likewise.
12434 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12435 computing low part if x was negated.
12436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12437
124382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12439
12440 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12441 la_x32_gnu_pltexit.
12442 (pltexit): Cast int_retval to ptrdiff_t.
12443 * elf/tst-auditmod3b.c: Likewise.
12444 * elf/tst-auditmod4b.c: Likewise.
12445 * elf/tst-auditmod5b.c: Likewise.
12446 * elf/tst-auditmod6b.c: Likewise.
12447 * elf/tst-auditmod6c.c: Likewise.
12448 * elf/tst-auditmod7b.c: Likewise.
12449
12450 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12451 and x32_gnu_pltexit.
12452
12453 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12454 __ELF_NATIVE_CLASS.
12455 (La_x32_regs): New macro.
12456 (La_x32_retval): Likewise.
12457 (la_x32_gnu_pltenter): New function prototype.
12458 (la_x32_gnu_pltexit): Likewise.
12459
124602012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12461
12462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12463 exponent.
12464
12465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12466
12467 * configure.in (libc_cv_cc_nofma): Check for option to disable
12468 generation of FMA instructions.
12469 * configure: Regenerate.
12470 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12471 * sysdeps/ieee754/dbl-64/Makefile: New file.
12472 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12473 Remove brandred-fma4.
12474 (CFLAGS-brandred-fma4.c): Remove.
12475 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12476 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12477 define.
12478 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12479 define.
12480
124812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12484 LLONG_MAX != LONG_MAX.
12485 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12486 (_fitoa_word): Likewise.
12487 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12488 LLONG_MAX != LONG_MAX.
12489 * stdio-common/_itowa.h: Include <_itoa.h>.
12490 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12491 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12492 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12493 only if not defined.
12494 (_ITOA_WORD_TYPE): Likewise.
12495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12496 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12497
124982012-03-21 David S. Miller <davem@davemloft.net>
12499
12500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12501
125022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12503
12504 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12505 of x86_64 when setting libc_cv_slibdir, libdir and
12506 libc_cv_localedir.
12507 * sysdeps/unix/sysv/linux/configure: Regenerated.
12508
125092012-03-21 Joseph Myers <joseph@codesourcery.com>
12510
12511 * manual/lang.texi (Old Varargs): Remove section.
12512 (How Variadic): Update menu.
12513 (va_start): Do not mention varargs.h.
12514
125152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12516 Joseph Myers <joseph@codesourcery.com>
12517
12518 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12519 link test.
12520 * configure: Regenerated.
12521
125222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12523
12524 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12525 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12526 conformtest.pl
12527
125282012-03-21 Joseph Myers <joseph@codesourcery.com>
12529
12530 * NOTES: Remove.
12531 * Makefile (files-for-dist): Remove NOTES.
12532 (NOTES): Remove rule.
12533 * README: Don't refer to NOTES.
12534 * manual/creature.texi: Don't include macros.texi.
12535 * manual/intro.texi (creature.texi): Remove comment referring to
12536 NOTES.
12537
12538 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12539 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12540 * configure: Regenerated.
12541 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12542 LIBC_TRY_CC_OPTION.
12543 (libc_cv_as_i686): Likewise.
12544 (libc_cv_cc_avx): Likewise.
12545 (libc_cv_cc_sse2avx): Likewise.
12546 (libc_cv_cc_fma4): Likewise.
12547 (libc_cv_cc_novzeroupper): Likewise.
12548 * sysdeps/i386/configure: Regenerated.
12549
12550 [BZ #13883]
12551 * sysdeps/i386/fpu/s_cexp.S: Remove.
12552 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12553 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12554 * math/libm-test.inc (cexp_test): Add more tests.
12555 * sysdeps/i386/fpu/libm-test-ulps: Update.
12556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12557
125582012-03-21 Allan McRae <allan@archlinux.org>
12559
12560 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12561
125622012-03-21 Joseph Myers <joseph@codesourcery.com>
12563
12564 [BZ #13871]
12565 * math/w_exp2.c: Do not include <float.h>.
12566 (o_threshold, u_threshold): Remove.
12567 (__exp2): Calculate result before checking finiteness and calling
12568 __kernel_standard.
12569 * math/w_exp2f.c: Likewise.
12570 * math/w_exp2l.c: Likewise.
12571 * math/libm-test.inc (exp2_test): Require overflow exception for
12572 1e6 input.
12573
12574 [BZ #3866]
12575 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12576 range of signed 64-bit integers before using fistpll. Remove
12577 checks for whether integers fit in mantissa bits.
12578 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12579 the range of signed 32-bit integers before using fistpl. Remove
12580 checks for whether integers fit in mantissa bits.
12581 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12582 (__ieee754_powl): Test for y outside the range of signed 64-bit
12583 integers before using fistpll. Reduce 64-bit values to 63-bit
12584 ones as needed.
12585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12586 divide-by-zero is raised for zero to large negative powers.
12587 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12588 (__ieee754_powl): Test for y outside the range of signed 64-bit
12589 integers before using fistpll. Reduce 64-bit values to 63-bit
12590 ones as needed.
12591 * math/libm-test.inc (pow_test): Add more tests.
12592
125932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12594
12595 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12596 <stdio-common/_itoa.h>.
12597 * debug/segfault.c: Likewise.
12598 * elf/dl-cache.c: Likewise.
12599 * elf/dl-minimal.c: Likewise.
12600 * elf/dl-misc.c: Likewise.
12601 * elf/dl-sysdep.c: Likewise.
12602 * elf/dl-version.c: Likewise.
12603 * elf/rtld.c: Likewise.
12604 * hurd/hurdsock.c: Likewise.
12605 * hurd/lookup-retry.c: Likewise.
12606 * malloc/malloc.c: Likewise.
12607 * malloc/mtrace.c: Likewise.
12608 * nscd/nscd_getgr_r.c: Likewise.
12609 * nscd/nscd_getpw_r.c: Likewise.
12610 * nscd/nscd_getserv_r.c: Likewise.
12611 * posix/getopt_init.c: Likewise.
12612 * posix/wordexp.c: Likewise.
12613 * stdio-common/_itoa.c: Likewise.
12614 * stdio-common/printf_fphex.c: Likewise.
12615 * stdio-common/vfprintf.c: Likewise.
12616 * string/_strerror.c: Likewise.
12617 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12618 * sysdeps/i386/i686/hp-timing.h: Likewise.
12619 * sysdeps/mach/_strerror.c: Likewise.
12620 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12621 * sysdeps/mach/hurd/sethostid.c: Likewise.
12622 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12623 * sysdeps/mach/xpg-strerror.c: Likewise.
12624 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12625 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12626 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12627 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12628 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12629 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12630 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12631 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12632 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12633 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12634 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12635 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12636 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12638 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12641 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12642 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12643 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12644 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12645
12646 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12647
12648 * stdio-common/_itoa.h: Moved to ...
12649 * sysdeps/generic/_itoa.h: Here.
12650
12651 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12652
12653 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12654 instead of "_itoa.h" and "_itowa.h".
12655 * stdio-common/vfprintf.: Likewise.
12656
126572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12660 <bits/wordsize.h>.
12661 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12662 (__signbit): Likwise.
12663 (llrintf): Likwise.
12664 (llrint): Likwise.
12665
126662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12669 __WORDSIZE != 64.
12670
126712012-03-20 Joseph Myers <joseph@codesourcery.com>
12672
12673 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12674 OVERFLOW_EXCEPTION_OK.
12675 * math/libm-test.inc ("Philosophy"): Update comment about
12676 exception testing.
12677 (OVERFLOW_EXCEPTION): Define.
12678 (OVERFLOW_EXCEPTION_OK): Likewise.
12679 (INVALID_EXCEPTION_OK): Renumber.
12680 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12681 (IGNORE_ZERO_INF_SIGN): Likewise.
12682 (test_exceptions): Handle FE_OVERFLOW.
12683 (exp10_test): Expect overflow exceptions.
12684 (exp2_test): Likewise.
12685 (expm1_test): Likewise.
12686 (nextafter_test): Likewise.
12687 (pow_test): Likewise.
12688 (scalbn_test): Likewise.
12689 (scalbln_test): Likewise.
12690
126912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 * sysdeps/x86_64/bits/atomic.h
12694 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12695 64bit integer.
12696 (atomic_exchange_acq): Likewise.
12697 (__arch_exchange_and_add_body): Likewise.
12698 (__arch_add_body): Likewise.
12699 (atomic_add_negative): Likewise.
12700 (atomic_add_zero): Likewise.
12701
127022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12703
12704 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12705 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12706
127072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12708
12709 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12710 Check __x86_64__ instead of __WORDSIZE.
12711
127122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12713
12714 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12715
127162012-03-19 David S. Miller <davem@davemloft.net>
12717
12718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12719
12720 * sysdeps/sparc/fpu/fenv_private.h: New file.
12721 * sysdeps/sparc/fpu/math_private.h: Use it.
12722 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12723 Remove.
12724 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12725 (libc_feholdexcept_setroundl): Remove.
12726 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12727 Remove.
12728 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12729 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12730
127312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12732
12733 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12734 int64_t instead of long int.
12735 (INSERT_WORDS64): Likwise.
12736
127372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12738
12739 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12740 _Unwind_GetCFA return to _Unwind_Ptr first.
12741
127422012-03-19 Joseph Myers <joseph@codesourcery.com>
12743
12744 [BZ #13629]
12745 * math/s_clog.c: Include <float.h>.
12746 (__clog): Scale large or subnormal inputs.
12747 * math/s_clogf.c: Likewise.
12748 * math/s_clogl.c: Likewise.
12749 * math/s_clog10.c: Include <float.h>.
12750 (M_LOG10_2): Define.
12751 (__clog10): Scale large or subnormal inputs.
12752 * math/s_clog10f.c: Likewise.
12753 * math/s_clog10l.c: Likewise.
12754 * math/libm-test.inc (clog_test): Add more tests.
12755 (clog10_test): Likewise.
12756 * sysdeps/i386/fpu/libm-test-ulps: Update.
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12758
12759 [BZ #11451]
12760 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12761 x and y.
12762 * math/libm-test.inc (atan2_test): Add another test.
12763
12764 * Makerules (common-objdir-compile): Remove.
12765 * sysdeps/unix/Makefile (config-generated): Do not add
12766 $(unix-generated) to variable.
12767 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12768 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12769 Remove rule.
12770 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12771 Likewise.
12772 [generic bits/local_lim.h] (before-compile): Do not append to
12773 variable.
12774 [generic bits/local_lim.h] (common-generated): Likewise.
12775 [generic sys/param.h] (before-compile): Do not append to variable.
12776 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12777 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12778 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12779 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12780 include.
12781 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12782 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12783 [generic sys/param.h] ($(addprefix
12784 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12785 [generic sys/param.h] (common-generated): Do not append to
12786 variable.
12787 [generic sys/param.h] (sysdep_headers): Likewise.
12788 [generic bits/errno.h] (before-compile): Do not append to
12789 variable.
12790 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12791 rule.
12792 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12793 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12794 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12795 [generic bits/errno.h] (common-generated): Do not append to
12796 variable.
12797 [generic bits/ioctls.h] (before-compile): Do not append to
12798 variable.
12799 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12800 rule.
12801 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12802 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12803 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12804 rule.
12805 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12806 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12807 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12808 [generic bits/ioctls.h] (common-generated): Do not append to
12809 variable.
12810 [generic sys/syscall.h] (syscall.h): Remove variable.
12811 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12812 rule.
12813 [generic sys/syscall.h] (before-compile): Do not append to
12814 variable.
12815 [generic sys/syscall.h] (common-generated): Likewise.
12816 * sysdeps/unix/errnos-tmpl.c: Remove file.
12817 * sysdeps/unix/errnos.awk: Likewise.
12818 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12819 * sysdeps/unix/ioctls.awk: Likewise.
12820 * sysdeps/unix/mk-local_lim.c: Likewise.
12821 * sysdeps/unix/snarf-ioctls: Likewise.
12822
128232012-03-19 Richard Henderson <rth@twiddle.net>
12824
12825 * sysdeps/i386/fpu/fenv_private.h: New file.
12826 * sysdeps/i386/fpu/math_private.h: Use it.
12827 (math_opt_barrier, math_force_eval): Remove.
12828 (libc_feholdexcept_setround_53bit): Remove.
12829 (libc_feupdateenv_53bit): Remove.
12830 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12831 (math_opt_barrier, math_force_eval): Remove.
12832 (libc_feholdexcept): Remove.
12833 (libc_feholdexcept_setround): Remove.
12834 (libc_fetestexcept, libc_fesetenv): Remove.
12835 (libc_feupdateenv_test): Remove.
12836 (libc_feupdateenv, libc_feholdsetround): Remove.
12837 (libc_feresetround): Remove.
12838
12839 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12840 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12841
12842 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12843 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12844 (libc_feupdateenv_testl): New.
12845 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12846 (libc_feupdateenv_testf): New.
12847 (libc_feupdateenv): Use libc_feupdateenv_test.
12848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12849 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12850
12851 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12852 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12853 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12854 (libc_feresetround_noex): New.
12855 (libc_feresetround_noexf): New.
12856 (libc_feresetround_noexl): New.
12857 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12858 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12859 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12860 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12861 SET_RESTORE_ROUND.
12862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12863 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12864 (__cos): Likewise.
12865 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12866 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12867 SET_RESTORE_ROUND_NOEX.
12868 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12869 SET_RESTORE_ROUND_NOEXF.
12870 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12871 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12872 (libc_feholdsetroundf): New.
12873 (libc_feresetround, libc_feresetroundf): New.
12874
12875 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12876 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12877 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12878
12879 * sysdeps/generic/math_private.h: Include <fenv.h>.
12880 (default_libc_feholdexcept): New.
12881 (default_libc_feholdexcept_setround): New.
12882 (default_libc_fesetenv, default_libc_feupdateenv): New.
12883 (libc_feholdexcept): Only define if undefined.
12884 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12885 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12886 (libc_feholdexcept_setroundl): Likewise.
12887 (libc_feholdexcept_setround_53bit): Likewise.
12888 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12889 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12890 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12891 (libc_feupdateenv_53bit): Likewise.
12892 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12893 (libc_feholdexcept): Convert from macro to inline function.
12894 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12895 (libc_fesetenv, libc_feupdateenv): Likewise.
12896
12897 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12898 not previously defined.
12899 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12900 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12901 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12902 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12903 * sysdeps/ieee754/flt-32/math_private.h: New file.
12904 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12905 math_private.h below SET_FLOAT_WORD.
12906 (__isnan, __isinf_ns, __finite): Remove.
12907 (__isnanf, __isinf_nsf, __finitef): Remove.
12908
129092012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12910
12911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12912
129132012-03-17 David S. Miller <davem@davemloft.net>
12914
12915 [BZ #6471]
12916 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12917 for 2.16.
12918
129192012-03-16 David S. Miller <davem@davemloft.net>
12920
12921 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12922 warnings.
12923
12924 [BZ #6471]
12925 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12926 properly.
12927 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12928 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12929 sysdep_routines when subdir is sysvipc.
12930 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12931 __getshmlba helper.
12932
12933 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12934
129352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12936
12937 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12938 [__LP64__].
12939
129402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12941
12942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12943 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12944 (__lround): Renamed to ...
12945 (__llround): This. Replace long int with long long int.
12946 Define lround functions as aliases of llround functions.
12947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12948
129492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12950
12951 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12952 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12953 adresses to uintptr_t. Replace "long int" and "unsigned long
12954 int" with "greg_t" on va_arg.
12955
129562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12959 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12960
12961 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12962 Move e_machine check before EI_CLASS check. Handle x32
12963 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12964 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12965 SKIP_EM_IA_64 and include
12966 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12967
12968 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12969 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12970 (add_system_dir): New macro.
12971
12972 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12973 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12974
129752012-03-16 Joseph Myers <joseph@codesourcery.com>
12976
12977 [BZ #2551]
12978 [BZ #2552]
12979 [BZ #2553]
12980 [BZ #2554]
12981 [BZ #2562]
12982 [BZ #2563]
12983 [BZ #2565]
12984 [BZ #2566]
12985 [BZ #2576]
12986 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12987 (y0): Likewise.
12988 * math/w_j0f.c (j0f): Likewise.
12989 (y0f): Likewise.
12990 * math/w_j0l.c (__j0l): Likewise.
12991 (__y0l): Likewise.
12992 * math/w_j1.c (j1): Likewise.
12993 (y1): Likewise.
12994 * math/w_j1f.c (j1f): Likewise.
12995 (y1f): Likewise.
12996 * math/w_j1l.c (__j1l): Likewise.
12997 (__y1l): Likewise.
12998 * math/w_jn.c (jn): Likewise.
12999 (yn): Likewise.
13000 * math/w_jnf.c (jnf): Likewise.
13001 (ynf): Likewise.
13002 * math/w_jnl.c (__jnl): Likewise.
13003 (__ynl): Likewise.
13004 * math/libm-test.inc (j0_test): Add more tests.
13005 (j1_test): Likewise.
13006 (jn_test): Likewise. Add trailing semicolon to existing test.
13007 (y0_test): Likewise.
13008 (y1_test): Likewise.
13009 * sysdeps/i386/fpu/libm-test-ulps: Update.
13010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13011
13012 [BZ #13851]
13013 [BZ #13854]
13014 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13015 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13016 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13017 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13018 (__tanl): Set errno for infinite argument.
13019 * sysdeps/i386/fpu/mptan.c: Remove.
13020 * sysdeps/i386/fpu/s_tan.S: Likewise.
13021 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13022 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13023 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13024 * math/libm-test.inc (tan_test): Add more tests and enable more
13025 tests for double and long double.
13026 * sysdeps/i386/fpu/libm-test-ulps: Update.
13027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13028
130292012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13030
13031 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13032 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13033
130342012-03-16 Roland McGrath <roland@hack.frob.com>
13035
13036 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13037 * configure.in: Use it for both main tree and add-ons.
13038 * configure: Regenerated.
13039
130402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13041
13042 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13043
130442012-03-16 Joseph Myers <joseph@codesourcery.com>
13045
13046 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13047 in comment.
13048
13049 [BZ #13851]
13050 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13051 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13052 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13053 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13054 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13055 infinite argument.
13056 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13057 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13058 != 0 for prec == 2.
13059 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13060 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13061 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13062 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13063 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13064 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13065 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13066 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13067 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13068 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13069 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13070 * math/libm-test.inc (cos_test): Add more tests and enable more
13071 tests for long double.
13072 (sin_test): Likewise.
13073 (sincos_test): Likewise.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
130772012-03-16 David S. Miller <davem@davemloft.net>
13078
13079 * sysdeps/sparc/fpu/math_private.h: New file.
13080
130812012-03-15 David S. Miller <davem@davemloft.net>
13082
13083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13084 file.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13087 file.
13088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13093 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13094 sysdep routines.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13096
13097 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13098 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13099
13100 * sysdeps/sparc/sparc-ifunc.h: New file.
13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13102 sparc-ifunc.h
13103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13105 Likewise.
13106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13107 Likewise.
13108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13112 Likewise.
13113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13118 Likewise.
13119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13120 Likewise.
13121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13125 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13126 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13127 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13128 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13129 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13130 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13135 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13136 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13139 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13140 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13141 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13142 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13143 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13145
131462012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13147
13148 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13149 scaling.
13150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13151
131522012-03-15 Andreas Jaeger <aj@suse.de>
13153
13154 [BZ #13852]
13155 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13156 ieee754/flt-32 implementation for sin, cos and sincos.
13157 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13158 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13159 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13160 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13161 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13162 ieee754/flt-32 implementation for tan.
13163
13164 * math/libm-test.inc (cos_test): Enable some large input tests for
13165 float as well
13166 (sin_test): Likewise.
13167 (sincos_test): Likewise.
13168 (tan_test): Add tests for large input.
13169
13170 * sysdeps/i386/fpu/libm-test-ulps: Update.
13171
131722012-03-15 Andreas Jaeger <aj@suse.de>
13173
13174 [BZ #13658]
13175 * math/libm-test.inc (cos_test): Add more test cases.
13176 (sin_test): Likewise.
13177 (sincos_test): Likewise.
13178
131792012-03-15 Andreas Jaeger <aj@suse.de>
13180
13181 [BZ #13837]
13182 * math/libm-test.inc (cos_test): Add a test case for large input
13183 value.
13184 (sin_test): Likewise.
13185 (sincos_test): Likewise.
13186
131872012-03-15 Andreas Jaeger <aj@suse.de>,
13188 Joseph Myers <joseph@codesourcery.com>
13189
13190 [BZ #13658]
13191 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13192 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13193 * sysdeps/i386/fpu/branred.c: Likewise.
13194 * sysdeps/i386/fpu/dosincos.c: Likewise.
13195 * sysdeps/i386/fpu/mpa.c: Likewise.
13196 * sysdeps/i386/fpu/s_cos.S: Likewise.
13197 * sysdeps/i386/fpu/s_sin.S: Likewise.
13198 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13199 * sysdeps/i386/fpu/sincos32.c: Likewise.
13200
13201 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13202 Define.
13203 (libc_feupdateenv_53bit): Define.
13204 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13205 Define.
13206 (libc_feupdateenv_53bit): Define.
13207
13208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13209 53 bit (without extend i386 double precision).
13210
13211 * math/libm-test.inc (sincos_test): Add tests for large input.
13212 (sin): Likewise.
13213 (cos): Likewise.
13214
13215 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13216
132172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13218
13219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13220
132212012-03-15 David S. Miller <davem@davemloft.net>
13222
13223 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13224 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13225 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13226 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13239 file.
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13242 file.
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13245 file.
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13248 file.
13249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13251 fmin/fmax sysdep routines.
13252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13253
132542012-03-14 David S. Miller <davem@davemloft.net>
13255
13256 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13260 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13261 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13280 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13281 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13285 routines.
13286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13287 file.
13288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13290 file.
13291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13293 file.
13294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13296 file.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13299 file.
13300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13302 file.
13303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13304 file.
13305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13306 file.
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13308 file.
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13310 New file.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13312 file.
13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13314 file.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13317 file.
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13320 file.
13321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13323 file.
13324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13326 VIS3 routines.
13327
13328 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13329 New file.
13330
13331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13332
13333 * sysdeps/sparc/configure.in: New file.
13334 * sysdeps/sparc/configure: Generate.
13335 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13336 * configure: Regenerate.
13337 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13338 * config.make.in (have-as-vis3): New.
13339 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13340 available use -Av9d instead of -Av9a.
13341 * sysdeps/sparc/sparc64/Makefile: Likewise.
13342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13344 New file.
13345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13346 file.
13347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13348 New file.
13349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13350 file.
13351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13352 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13353 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13356
13357 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13358 fzeros/fnegs to load 0x80000000 into a float register instead of
13359 using the stack.
13360 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13361
133622012-03-14 Joseph Myers <joseph@codesourcery.com>
13363
13364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13365 bits/syscall.h.
13366 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13367 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13368 ($(inst_includedir)/bits/syscall.h): Remove rule.
13369 ($(objpfx)bits/syscall.d): Include instead of
13370 $(objpfx)syscall-list.d.
13371 (generated): Change syscall-list.h and syscall-list.d to
13372 bits/syscall.h and bits/syscall.d.
13373
133742012-03-14 Roland McGrath <roland@hack.frob.com>
13375
13376 [BZ #13846]
13377 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13378
133792012-03-14 Joseph Myers <joseph@codesourcery.com>
13380
13381 [BZ #13841]
13382 * math/s_csqrt.c: Include <float.h>.
13383 (__csqrt): Scale large or subnormal inputs.
13384 * math/s_csqrtf.c: Likewise.
13385 * math/s_csqrtl.c: Likewise.
13386 * math/libm-test.inc (csqrt_test): Add more tests.
13387 * sysdeps/i386/fpu/libm-test-ulps: Update.
13388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13389
13390 [BZ #13840]
13391 * math/libm-test.inc (hypot_test): Add more tests.
13392
133932012-03-13 David S. Miller <davem@davemloft.net>
13394
13395 [BZ #13840]
13396 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13397 double-precision for the calculation instead of scaling.
13398
133992012-03-13 Joseph Myers <joseph@codesourcery.com>
13400
13401 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13402 manipulate bits before adding and subtracting TWO52[sx].
13403 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13404 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13405 Likewise.
13406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13407
134082012-03-13 David S. Miller <davem@davemloft.net>
13409
13410 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13411 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13413 rtld-global-offsets.h
13414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13415
13416 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13417 large parameters.
13418
13419 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13420
13421 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13422 'err' in the ifdef scope in which it is actually used.
13423
13424 * nss/nss_db/db-init.c: Include string.h
13425
134262012-03-12 David S. Miller <davem@davemloft.net>
13427
13428 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13429 masking out of the most significant byte of random value used.
13430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13431 Fix coding style in previous change.
13432
13433 * sysdeps/unix/sysv/linux/kernel-features.h
13434 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13435 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13436 expression.
13437 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13438 later.
13439
134402012-03-11 David S. Miller <davem@davemloft.net>
13441
13442 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13443 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13445 for 'resultvar' otherwise things get truncated on 64-bit.
13446
13447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13448 Fix masking out of the most significant byte of random value used.
13449
13450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13451
134522012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13453
13454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13455
134562012-03-09 David S. Miller <davem@davemloft.net>
13457
13458 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13459 variables with appropriate CPP guards.
13460 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13461 frame pointer, not the stack pointer. Correct layout comments. Fix test
13462 on resulting framesize and the management of the outregs buffer for pltexit.
13463 Preserve floating point return values across _dl_call_pltexit call.
13464 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13465 framesize and the management of the outregs buffer for pltexit.
13466 Preserve floating point return values across _dl_call_pltexit
13467 call.
13468 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13469 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13470 (print_exit): Fix format string for return register value.
13471
134722012-03-10 Joseph Myers <joseph@codesourcery.com>
13473
13474 * sunrpc/Makefile (others): Add rpcgen.
13475 ($(objpfx)rpcgen): Remove special build rule and dependency on
13476 libc.
13477 * sunrpc/rpcgen.c: New file.
13478
134792012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13480
13481 [BZ #13673]
13482 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13483 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13484 * sysdeps/i386/crti.S: Likewise.
13485 * sysdeps/i386/crtn.S: Likewise.
13486 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13487 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13488 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13489 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13490 * sysdeps/sh/crti.S: Likewise.
13491 * sysdeps/sh/crtn.S: Likewise.
13492 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13493
13494 [BZ #13673]
13495 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13496 with URL.
13497 * locale/programs/locfile-kw.gperf: Likewise.
13498 * locale/programs/charmap-kw.h: Regenerated.
13499 * locale/programs/locfile-kw.h: Likewise.
13500
13501 [BZ #13673]
13502 * intl/plural.y: Replace FSF snail mail address with URL.
13503 * intl/plural.c: Regenerated.
13504
135052012-03-09 Richard Henderson <rth@twiddle.net>
13506
13507 * include/math_private.h: Remove file.
13508 * math/math_private.h: Move file ...
13509 * sysdeps/generic/math_private.h: ... here.
13510
13511 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13512 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13513 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13514
13515 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13516 and <math_private.h>.
13517 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13518 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13519 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13520 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13521 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13577 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13578 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13580 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13581 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13582 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13583 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13584 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13585 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13586 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13587 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13588 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13589 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13590 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13591 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13592 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13595 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13596 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13597 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13598 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13599 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13600 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13601 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13604 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13605 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13606 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13608 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13611 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13613 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13614 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13615 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13617 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13618 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13619 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13620 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13621 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13622 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13624 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13625 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13626 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13627 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13630 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13631 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13633 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13634 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13635 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13637 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13638 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13639 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13640 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13641 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13642 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13643 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13644 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13645 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13646 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13647 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13648 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13649 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13650 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13651 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13652 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13653 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13654 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13655 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13656 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13657 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13658 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13659 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13660 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13661 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13662 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13663 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13664 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13665 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13666 * sysdeps/ieee754/k_standard.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13798 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13799 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13800 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13801 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13802 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13803 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13804 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13805 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13806 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13807 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13810 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13811 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13815 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13816 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13817 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13818 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13827 * sysdeps/ieee754/s_lib_version.c: Likewise.
13828 * sysdeps/ieee754/s_matherr.c: Likewise.
13829 * sysdeps/ieee754/s_signgam.c: Likewise.
13830 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13832 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13833 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13834 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13835 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13836 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13837 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13838 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13839 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13840 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13841 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13842 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13843 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13844 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13845 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13846 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13847 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13848 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13851
138522012-03-09 Joseph Myers <joseph@codesourcery.com>
13853
13854 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13855 * sunrpc/rpc_main.c: Likewise.
13856 * sunrpc/rpc_svcout.c: Likewise.
13857
138582012-03-09 David S. Miller <davem@davemloft.net>
13859
13860 * include/math_private.h: New file.
13861
138622012-03-09 Joseph Myers <joseph@codesourcery.com>
13863
13864 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13865 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13866 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13867 from <bits/socket_type.h>.
13868 (enum __socket_type): Don't define here.
13869 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13871 bits/socket_type.h.
13872
13873 [BZ #13566]
13874 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13875 checking __USE_GNU.
13876
13877 * Makerules ($(inst_includedir)/%.h): New rule.
13878 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13879 (install-others): Remove variable setting.
13880 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13881
138822012-03-08 Richard Henderson <rth@twiddle.net>
13883
13884 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13885 from macro to inline function; merge with the
13886 !__LIBC_INTERNAL_MATH_INLINES version.
13887 (__ieee754_sqrtf): Likewise.
13888
13889 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13890 to inline function.
13891 (__rintf, __floor, __floorf): Likewise.
13892
13893 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13894 macro to inline function.
13895 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13896
13897 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13898 not <math/math_private.h>.
13899
139002012-03-08 David S. Miller <davem@davemloft.net>
13901
13902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13903 copyright year.
13904 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13905
139062012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13907
13908 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13909 normalization.
13910 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13911 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13912
139132012-03-08 Ulrich Drepper <drepper@gmail.com>
13914
13915 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13916 be defined individually, they must be defined as a block. Define
13917 S for printing a string instead of hidint the different by using a
13918 macro for adding the 'l'.
13919 * stdio-common/tst-fphex-wide.c: Adjust.
13920
139212012-03-07 Marek Polacek <polacek@redhat.com>
13922
13923 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13924
139252012-03-08 Marek Polacek <polacek@redhat.com>
13926
13927 [BZ #13806]
13928 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13929 * stdio-common/tst-fphex.c: Define a few macros to make the
13930 test reusable. Use them.
13931 * stdio-common/tst-fphex-wide.c: New file.
13932
139332012-03-08 Joseph Myers <joseph@codesourcery.com>
13934
13935 [BZ #6911]
13936 * manual/macros.texi (gnusystems): New macro.
13937 (nongnusystems): Likewise.
13938 (gnulinuxhurdsystems): Likewise.
13939 (gnuhurdsystems): Likewise..
13940 (gnulinuxsystems): Likewise.
13941 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13942 variants of the GNU system, not "GNU system".
13943 * manual/conf.texi: Likewise.
13944 * manual/errno.texi: Likewise. Update example of errno macro
13945 expansion.
13946 * manual/filesys.texi: Likewise.
13947 (getumask): Document as specific to GNU/Hurd.
13948 * manual/install.texi: Likewise. Reword some references to
13949 GNU/Linux.
13950 * manual/intro.texi: Likewise.
13951 * manual/io.texi: Likewise.
13952 (File Name Portability): Detail which constraints are inapplicable
13953 to all GNU systems and which are only inapplicable to GNU/Hurd.
13954 * manual/job.texi: Likewise.
13955 * manual/llio.texi: Likewise.
13956 (O_NOCTTY): Document as present on GNU/Linux.
13957 * manual/maint.texi: Likewise.
13958 * manual/memory.texi: Likewise.
13959 * manual/pattern.texi: Likewise.
13960 * manual/pipe.texi: Likewise.
13961 * manual/process.texi: Likewise.
13962 * manual/resource.texi: Likewise.
13963 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13964 child on GNU/Hurd.
13965 * manual/setjmp.texi: Likewise.
13966 * manual/signal.texi: Likewise.
13967 * manual/startup.texi: Likewise.
13968 * manual/stdio.texi: Likewise.
13969 * manual/terminal.texi: Likewise.
13970 (ONLCR): Document as POSIX.
13971 (OXTABS): Document availability on GNU/Linux as XTABS.
13972 (ONOEOT): Document availability separately from other bits.
13973 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13974 * manual/time.texi: Likewise.
13975 * manual/users.texi: Likewise.
13976 * INSTALL: Regenerated.
13977 * sysdeps/gnu/errlist.c: Regenerated.
13978
13979 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13980 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13981 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13982 puts.
13983 * configure: Regenerated.
13984
139852012-03-07 Joseph Myers <joseph@codesourcery.com>
13986
13987 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13988 default includes instead of AC_HEADER_CHECK.
13989 * sysdeps/i386/configure: Regenerated.
13990
13991 [BZ #10716]
13992 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13993 * math/s_cacoshf.c (__cacoshf): Likewise.
13994 * math/s_cacoshl.c (__cacoshl): Likewise.
13995 * math/s_casinh.c (__casinh): Set signs of result from argument.
13996 * math/s_casinhf.c (__casinhf): Likewise.
13997 * math/s_casinhl.c (__casinhl): Likewise.
13998 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13999 (casinh_test): Add more tests.
14000 * sysdeps/i386/fpu/libm-test-ulps: Update.
14001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002
140032012-03-07 Ulrich Drepper <drepper@gmail.com>
14004
14005 * po/zh_TW.po: Update from translation team.
14006
14007 * login/Makefile (distribute): Remove variable.
14008 * catgets/Makefile: Likewise.
14009 * mach/Makefile: Likewise.
14010 * malloc/Makefile: Likewise.
14011 * misc/Makefile: Likewise.
14012 * iconv/Makefile: Likewise.
14013 * nscd/Makefile: Likewise.
14014 * hurd/Makefile: Likewise.
14015 * manual/Makefile: Likewise.
14016 * locale/Makefile: Likewise.
14017 * intl/Makefile: Likewise.
14018 * conform/Makefile: Likewise.
14019 * nss/Makefile: Likewise.
14020 * time/Makefile: Likewise.
14021 * soft-fp/Makefile: Likewise.
14022 * dirent/Makefile: Likewise.
14023 * gmon/Makefile: Likewise.
14024 * po/Makefile: Likewise.
14025 * rt/Makefile: Likewise.
14026 * socket/Makefile: Likewise.
14027 * math/Makefile: Likewise.
14028 * signal/Makefile: Likewise.
14029 * debug/Makefile: Likewise.
14030 * elf/Makefile: Likewise.
14031 * timezone/Makefile: Likewise.
14032 * stdlib/Makefile: Likewise.
14033 * iconvdata/Makefile: Likewise.
14034 * sunrpc/Makefile: Likewise.
14035 * io/Makefile: Likewise.
14036 * argp/Makefile: Likewise.
14037 * inet/Makefile: Likewise.
14038 * hesiod/Makefile: Likewise.
14039 * grp/Makefile: Likewise.
14040 * csu/Makefile: Likewise.
14041 * wctype/Makefile: Likewise.
14042 * crypt/Makefile: Likewise.
14043 * libio/Makefile: Likewise.
14044 * string/Makefile: Likewise.
14045 * nis/Makefile: Likewise.
14046 * resolv/Makefile: Likewise.
14047 * stdio-common/Makefile: Likewise.
14048 * wcsmbs/Makefile: Likewise.
14049 * dlfcn/Makefile: Likewise.
14050 * posix/Makefile: Likewise.
14051
14052 [BZ #6959]
14053 * timezone/Makefile: Don't install timezone files, just the programs
14054 and scripts.
14055
140562012-03-06 Ulrich Drepper <drepper@gmail.com>
14057
14058 * nss/databases.def: Add missing gshadow entry.
14059
14060 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14061
140622012-03-06 Marek Polacek <polacek@redhat.com>
14063
14064 [BZ #13726]
14065 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14066 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14067 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14068 * stdio-common/tst-long-dbl-fphex.c: New file.
14069
140702012-03-06 David S. Miller <davem@davemloft.net>
14071
14072 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14073 (set_obp_int): New function.
14074 (get_obp_int): New function.
14075 (__get_clockfreq_via_dev_openprom): Likewise.
14076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14077 Avoid unused variable warnings on 'val' and use builtin_expect.
14078 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14079 __builtin_expect.
14080 (INLINE_CLONE_SYSCALL): Likewise.
14081
140822012-03-05 David S. Miller <davem@davemloft.net>
14083
14084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14085
140862012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14087
14088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14089
14090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14091 only for |x| >= 40.
14092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14093
140942012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14095
14096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14097 Replace gettimeofday with __vdso_gettimeofday.
14098
14099 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14100 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14101 __vdso_clock_gettime and __vdso_getcpu.
14102
14103 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14104 time with __vdso_time.
14105
141062012-03-05 Joseph Myers <joseph@codesourcery.com>
14107
14108 * manual/lang.texi (size_t): Note types to which size_t may be
14109 equivalent with the GNU C Library, but do not describe when
14110 differences between them are significant.
14111
141122012-03-05 Andreas Jaeger <aj@suse.de>
14113
14114 * sysdeps/i386/fpu/libm-test-ulps: Update.
14115
141162012-03-05 Joseph Myers <joseph@codesourcery.com>
14117
14118 [BZ #3976]
14119 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14120 (__ieee754_pow): Save and restore rounding mode and use
14121 round-to-nearest for main computations.
14122 * math/libm-test.inc (pow_test_tonearest): New function.
14123 (pow_test_towardzero): Likewise.
14124 (pow_test_downward): Likewise.
14125 (pow_test_upward): Likewise.
14126 (main): Call the new functions.
14127 * sysdeps/i386/fpu/libm-test-ulps: Update.
14128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14129
14130 [BZ #3976]
14131 * math/libm-test.inc (cosh_test_tonearest): New function.
14132 (cosh_test_towardzero): Likewise.
14133 (cosh_test_downward): Likewise.
14134 (cosh_test_upward): Likewise.
14135 (sinh_test_tonearest): Likewise.
14136 (sinh_test_towardzero): Likewise.
14137 (sinh_test_downward): Likewise.
14138 (sinh_test_upward): Likewise.
14139 (main): Call the new functions.
14140 * sysdeps/i386/fpu/libm-test-ulps: Update.
14141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14142
141432012-03-05 Tom de Vries <tom@codesourcery.com>
14144
14145 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14146 default stack guard is set in last bytes.
14147 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14148
141492012-03-05 Kees Cook <keescook@chromium.org>
14150
14151 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14152
14153 [BZ #13656]
14154 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14155 possibly allocate from heap instead of stack.
14156 * stdio-common/bug-vfprintf-nargs.c: New file.
14157 * stdio-common/Makefile (tests): Add nargs overflow test.
14158
141592012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14160
14161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14162
141632012-03-03 Marek Polacek <polacek@redhat.com>
14164
14165 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14166 * math/math_private.h: Likewise.
14167 * stdlib/tst-strtod.c: Likewise.
14168 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14169 * sysdeps/x86_64/bits/atomic.h: Likewise.
14170
141712012-03-02 David S. Miller <davem@davemloft.net>
14172
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14177 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14178 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14179 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14180 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14181
141822012-03-02 Roland McGrath <roland@hack.frob.com>
14183
14184 [BZ #13792]
14185 * manual/examples/README: New file, says the example source files
14186 can be used under GPL>=2.
14187 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14188 line containing just "*/".
14189 * manual/examples/add.c: Add copyright header (GPL>=2).
14190 * manual/examples/argp-ex1.c: Likewise.
14191 * manual/examples/argp-ex2.c: Likewise.
14192 * manual/examples/argp-ex3.c: Likewise.
14193 * manual/examples/argp-ex4.c: Likewise.
14194 * manual/examples/atexit.c: Likewise.
14195 * manual/examples/db.c: Likewise.
14196 * manual/examples/dir.c: Likewise.
14197 * manual/examples/dir2.c: Likewise.
14198 * manual/examples/execinfo.c: Likewise.
14199 * manual/examples/filecli.c: Likewise.
14200 * manual/examples/filesrv.c: Likewise.
14201 * manual/examples/fmtmsgexpl.c: Likewise.
14202 * manual/examples/genpass.c: Likewise.
14203 * manual/examples/inetcli.c: Likewise.
14204 * manual/examples/inetsrv.c: Likewise.
14205 * manual/examples/isockad.c: Likewise.
14206 * manual/examples/longopt.c: Likewise.
14207 * manual/examples/memopen.c: Likewise.
14208 * manual/examples/memstrm.c: Likewise.
14209 * manual/examples/mkfsock.c: Likewise.
14210 * manual/examples/mkisock.c: Likewise.
14211 * manual/examples/mygetpass.c: Likewise.
14212 * manual/examples/pipe.c: Likewise.
14213 * manual/examples/popen.c: Likewise.
14214 * manual/examples/rprintf.c: Likewise.
14215 * manual/examples/search.c: Likewise.
14216 * manual/examples/select.c: Likewise.
14217 * manual/examples/setjmp.c: Likewise.
14218 * manual/examples/sigh1.c: Likewise.
14219 * manual/examples/sigusr.c: Likewise.
14220 * manual/examples/stpcpy.c: Likewise.
14221 * manual/examples/strdupa.c: Likewise.
14222 * manual/examples/strftim.c: Likewise.
14223 * manual/examples/strncat.c: Likewise.
14224 * manual/examples/subopt.c: Likewise.
14225 * manual/examples/swapcontext.c: Likewise.
14226 * manual/examples/termios.c: Likewise.
14227 * manual/examples/testopt.c: Likewise.
14228 * manual/examples/testpass.c: Likewise.
14229 * manual/examples/timeval_subtract.c: Likewise.
14230
14231 [BZ #13792]
14232 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14233 function to ...
14234 * manual/timeval_subtract.c.texi: ... here, new file.
14235
142362012-03-02 David S. Miller <davem@davemloft.net>
14237
14238 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14239
142402012-03-02 Joseph Myers <joseph@codesourcery.com>
14241
14242 [BZ #3976]
14243 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14244 (__sin): Save and restore rounding mode and use round-to-nearest
14245 for all computations.
14246 (__cos): Save and restore rounding mode and use round-to-nearest
14247 for all computations.
14248 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14249 <fenv.h>.
14250 (tan): Save and restore rounding mode and use round-to-nearest for
14251 all computations.
14252 * math/libm-test.inc (cos_test_tonearest): New function.
14253 (cos_test_towardzero): Likewise.
14254 (cos_test_downward): Likewise.
14255 (cos_test_upward): Likewise.
14256 (sin_test_tonearest): Likewise.
14257 (sin_test_towardzero): Likewise.
14258 (sin_test_downward): Likewise.
14259 (sin_test_upward): Likewise.
14260 (tan_test_tonearest): Likewise.
14261 (tan_test_towardzero): Likewise.
14262 (tan_test_downward): Likewise.
14263 (tan_test_upward): Likewise.
14264 (main): Call the new functions.
14265 * sysdeps/i386/fpu/libm-test-ulps: Update.
14266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14267
14268 [BZ #10135]
14269 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14270 small n, then large n, before computing and testing k+n.
14271 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14273 Likewise.
14274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14275 Likewise.
14276 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14277 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14278 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14279 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14280 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14281 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14283 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14284 * math/libm-test.inc (scalbn_test): Add more tests.
14285 (scalbln_test): Likewise.
14286
14287 * manual/filesys.texi (mode_t): Describe constraints on size and
14288 signedness, not exact equivalence to a particular type.
14289 (ino_t): Likewise.
14290 (ino64_t): Likewise.
14291 (dev_t): Likewise.
14292 (nlink_t): Likewise.
14293 (blkcnt_t): Likewise.
14294 (blkcnt64_t): Likewise.
14295 * manual/llio.texi (off_t): Likewise.
14296
14297 [BZ #3976]
14298 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14299 (__ieee754_exp): Save and restore rounding mode and use
14300 round-to-nearest for all computations.
14301 * math/libm-test.inc (exp_test_tonearest): New function.
14302 (exp_test_towardzero): Likewise.
14303 (exp_test_downward): Likewise.
14304 (exp_test_upward): Likewise.
14305 (main): Call the new functions.
14306 * sysdeps/i386/fpu/libm-test-ulps: Update.
14307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14308
143092012-03-01 Chris Demetriou <cgd@google.com>
14310
14311 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14312 have predictable order.
14313
143142012-03-01 David S. Miller <davem@davemloft.net>
14315
14316 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14317
14318 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14319 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14320 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14321 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14322
14323 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14324 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14325 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14327 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14328 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14329 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14330 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14331 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14332
14333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14334
14335 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14336 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14337 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14338
14339 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14340 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14341 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14342 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14343 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14344 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14346 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14347 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14348 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14349 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14352 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14353 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14355 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14356 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14357 * sysdeps/sparc/elf/configure: Regenerated.
14358
143592012-03-01 Joseph Myers <joseph@codesourcery.com>
14360
14361 * configure.in (AS, LD): Require binutils 2.20 or later.
14362 * configure: Regenerated.
14363 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14364 as required minimum version.
14365 * INSTALL: Regenerated.
14366
14367 [BZ #2541]
14368 [BZ #4108]
14369 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14370 before squaring exponent.
14371 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14372 bottom long double and 27 bits of top long double before squaring
14373 exponent.
14374 * math/libm-test.inc (erfc_test): Add more tests.
14375 * sysdeps/i386/fpu/libm-test-ulps: Update.
14376 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14378
143792012-03-01 Kai Tietz <ktietz@redhat.com>
14380
14381 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14382 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14383 containing bit-fields.
14384 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14385 * soft-fp/single.h (_FP_UNION_S): Likewise.
14386 * soft-fp/double.h (_FP_UNION_D): Likewise.
14387
143882012-02-29 Joseph Myers <joseph@codesourcery.com>
14389
14390 [BZ #13786]
14391 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14392 not include ../strcmp.S.
14393 [USE_AS_STRNCASECMP_L]: Likewise.
14394 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14395 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14396 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14397 (__strncasecmp_l_ia32): Define as alias to
14398 __strncasecmp_l_nonascii.
14399
14400 [BZ #5794]
14401 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14402 * sysdeps/i386/fpu/libm-test-ulps: Update.
14403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14404
14405 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14407
144082012-02-29 Jeff Law <law@redhat.com>
14409
14410 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14411 out of bounds read.
14412
144132012-02-29 Marek Polacek <polacek@redhat.com>
14414
14415 [BZ #13706]
14416 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14417 * elf/Makefile: Add rules to run tst-unused-dep.out.
14418
144192012-02-28 David S. Miller <davem@davemloft.net>
14420
14421 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14422 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14423 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14425 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14426 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14427
144282012-02-29 Joseph Myers <joseph@codesourcery.com>
14429
14430 * math/libm-test.inc (llround_test): Move one test from
14431 lround_test. Use TEST_f_L in moved test.
14432 (lround_test): Move misplaced test to llround_test. Add testcase
14433 from bug 2561.
14434
144352012-02-28 Ulrich Drepper <drepper@gmail.com>
14436
14437 * sysdeps/x86_64/fpu/e_expf.S: New file.
14438 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14439
144402012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14441
14442 [BZ #13637]
14443 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14444 of remain_len that may cause incomplete multi-byte character and
14445 false match.
14446 * posix/bug-regex33.c: New file.
14447 * posix/Makefile (tests): Add bug-regex33.
14448
144492012-02-28 Joseph Myers <joseph@codesourcery.com>
14450
14451 * manual/macros.texi: New file.
14452 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14453 * manual/libc.texinfo: Include macros.texi.
14454 * manual/creatute.texi: Likewise.
14455 * manual/install.texi: Likewise.
14456 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14457 @glibcadj{} in references to the GNU C Library.
14458 * manual/charset.texi: Likewise.
14459 * manual/conf.texi: Likewise.
14460 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14461 when not using those macros.
14462 * manual/creature.texi: Likewise.
14463 * manual/crypt.texi: Likewise.
14464 * manual/errno.texi: Likewise.
14465 * manual/filesys.texi: Likewise.
14466 * manual/header.texi: Likewise.
14467 * manual/install.texi: Likewise.
14468 * manual/intro.texi: Likewise.
14469 * manual/io.texi: Likewise.
14470 * manual/job.texi: Likewise.
14471 * manual/lang.texi: Likewise.
14472 * manual/libc.texiinfo: Likewise.
14473 * manual/llio.texi: Likewise.
14474 * manual/locale.texi: Likewise.
14475 * manual/maint.texi: Likewise.
14476 * manual/math.texi: Likewise.
14477 * manual/memory.texi: Likewise.
14478 * manual/message.texi: Likewise.
14479 * manual/nss.texi: Likewise.
14480 * manual/pattern.texi: Likewise.
14481 * manual/process.texi: Likewise.
14482 * manual/resource.texi: Likewise.
14483 * manual/search.texi: Likewise.
14484 * manual/setjmp.texi: Likewise.
14485 * manual/signal.texi: Likewise.
14486 * manual/socket.texi: Likewise.
14487 * manual/startup.texi: Likewise.
14488 * manual/stdio.texi: Likewise.
14489 * manual/string.texi: Likewise.
14490 * manual/sysinfo.texi: Likewise.
14491 * manual/syslog.texi: Likewise.
14492 * manual/terminal.texi: Likewise.
14493 * manual/time.texi: Likewise.
14494 * manual/users.texi: Likewise.
14495 * INSTALL: Regenerated.
14496 * NOTES: Regenerated.
14497 * sysdeps/gnu/errlist.c: Regenerated.
14498
144992012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14500
14501 * include/dirent.h: Include <dirstream.h> before
14502 <dirent/dirent.h>.
14503
145042012-02-28 David S. Miller <davem@davemloft.net>
14505
14506 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14507 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14508 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14509 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14510
145112012-02-27 David S. Miller <davem@davemloft.net>
14512
14513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14515 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14516 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14517
14518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14519 frame pointer instead of stack pointer relative arg slot.
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14521 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14522 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14523
145242012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14525
14526 [BZ #3992]
14527 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14528
145292012-02-27 David S. Miller <davem@davemloft.net>
14530
14531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14535 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14536 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14537 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14538 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14539
145402012-02-27 Joseph Myers <joseph@codesourcery.com>
14541
14542 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14543 later. Allow versions 5-9.
14544 * configure: Regenerated.
14545 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14546 required minimum version and 4.6 as recommended version. Do not
14547 mention bugs in GCC 2.7 and 2.8.
14548 * INSTALL: Regenerated.
14549
145502012-02-27 David S. Miller <davem@davemloft.net>
14551
14552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14560
14561 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14562 manipulate bits before adding and subtracting TWO112[sx].
14563 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14564
145652012-02-27 Roland McGrath <roland@hack.frob.com>
14566
14567 [BZ #13775]
14568 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14569 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14570 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14571 being in POSIX, because they are in 1003.1-2008.
14572
14573 * rt/tst-aio.c: Include <fcntl.h>.
14574 * rt/tst-aio7.c: Likewise.
14575 * rt/tst-aio64.c: Likewise.
14576
14577 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14578
145792012-02-27 Joseph Myers <joseph@codesourcery.com>
14580
14581 * manual/install.texi (--with-headers): Describe headers as
14582 interface headers, not private headers.
14583 (Specific advice for GNU/Linux systems): Describe use of headers
14584 from "make headers_install", not private headers from older
14585 kernels.
14586 * INSTALL: Regenerated.
14587 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14588 Change to 2.6.19.
14589 * sysdeps/unix/sysv/linux/configure: Regenerated.
14590
14591 * manual/llio.texi (fclean): Remove documentation.
14592
14593 * manual/Makefile (libc-texi-generated): New variable. Include
14594 version.texi.
14595 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14596 $(libc-texi-generated), not duplicated list of files.
14597 (version.texi, stamp-version): New rules.
14598 (realclean): Remove $(libc-texi-generated), not individual files
14599 from that list. Do not remove dir-add.texinfo.
14600 * manual/libc.texinfo: Comment out uses of edition numbers and
14601 references to printed manual. Remove last-updated dates.
14602 (EDITION): Comment out.
14603 (ISBN): Likewise.
14604 (VERSION, UPDATED): Remove.
14605 (version.texi): Include.
14606
146072012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14608
14609 * sysdeps/posix/spawni.c: Include <signal.h>.
14610 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14611 * sysdeps/pthread/aio_fsync.c: Likewise.
14612
146132012-02-26 Ulrich Drepper <drepper@gmail.com>
14614
14615 * conform/Makefile (tests): Run only when not cross-compiling and
14616 when fast-check is not defined.
14617
14618 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14619 * conform/data/limits.h-data: Fixes for POSIX2008.
14620 * conform/run-conformtest.sh: Run all tests.
14621 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14622 headers.
14623 * include/bits/dlfcn.h: Likewise.
14624 * include/langinfo.h: Likewise.
14625 * include/monetary.h: Likewise.
14626 * include/sys/poll.h: Likewise.
14627
14628 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14629 for __USE_GNU.
14630 * posix/spawn.h: Define __need_sigset_t.
14631 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14632 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14633 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14634 to get sigevent_t only.
14635 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14636 only for __USE_GNU.
14637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14638 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14639 process_vm_writev only for __USE_GNU.
14640 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14641
14642 * conform/Makefile: For now ignore errors from run-conformtest.
14643 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14644 POSIX to avoid namespace pollution. Don't prepend headers.
14645 * conform/data/aio.h-data: Fixes for POSIX testing.
14646 * conform/data/fcntl.h-data: Likewise.
14647 * conform/data/glob.h-data: Likewise.
14648 * conform/data/grp.h-data: Likewise.
14649 * conform/data/pthread.h-data: Likewise.
14650 * conform/data/pwd.h-data: Likewise.
14651 * conform/data/signal.h-data: Likewise.
14652 * conform/data/spawn.h-data: Likewise.
14653 * conform/data/stdio.h-data: Likewise.
14654 * conform/data/stdlib.h-data: Likewise.
14655 * conform/data/stropts.h-data: Likewise.
14656 * conform/data/sys/mman.h-data: Likewise.
14657 * conform/data/sys/stat.h-data: Likewise.
14658 * conform/data/sys/types.h-data: Likewise.
14659 * conform/data/sys/wait.h-data: Likewise.
14660 * conform/data/time.h-data: Likewise.
14661 * conform/data/unistd.h-data: Likewise.
14662 * conform/data/utime.h-data: Likewise.
14663
14664 * io/sys/stat.h: fchmod was always in POSIX.
14665 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14666 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14667 * rt/aio.h: Define __need_timespec before including <time.h>.
14668 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14669 struct. Add forward declaration of pthread_attr_t and use it in
14670 sigevent.
14671 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14672 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14673 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14674 always remove CLK_TCK definition.
14675
146762012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14677
14678 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14679
146802012-02-25 Ulrich Drepper <drepper@gmail.com>
14681
14682 * conform/run-conformtest.sh: New file.
14683 * conform/Makefile: Run run-conformtest for tests.
14684 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14685 support.
14686
14687 * conform/data/uchar.h-data: New file.
14688 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14689 * conform/data/arpa/inet.h-data: Likewise.
14690 * conform/data/assert.h-data: Likewise.
14691 * conform/data/complex.h-data: Likewise.
14692 * conform/data/cpio.h-data: Likewise.
14693 * conform/data/ctype.h-data: Likewise.
14694 * conform/data/dirent.h-data: Likewise.
14695 * conform/data/dlfcn.h-data: Likewise.
14696 * conform/data/errno.h-data: Likewise.
14697 * conform/data/fcntl.h-data: Likewise.
14698 * conform/data/float.h-data: Likewise.
14699 * conform/data/fmtmsg.h-data: Likewise.
14700 * conform/data/fnmatch.h-data: Likewise.
14701 * conform/data/ftw.h-data: Likewise.
14702 * conform/data/glob.h-data: Likewise.
14703 * conform/data/grp.h-data: Likewise.
14704 * conform/data/iconv.h-data: Likewise.
14705 * conform/data/inttypes.h-data: Likewise.
14706 * conform/data/langinfo.h-data: Likewise.
14707 * conform/data/libgen.h-data: Likewise.
14708 * conform/data/limits.h-data: Likewise.
14709 * conform/data/locale.h-data: Likewise.
14710 * conform/data/math.h-data: Likewise.
14711 * conform/data/monetary.h-data: Likewise.
14712 * conform/data/mqueue.h-data: Likewise.
14713 * conform/data/ndbm.h-data: Likewise.
14714 * conform/data/net/if.h-data: Likewise.
14715 * conform/data/netdb.h-data: Likewise.
14716 * conform/data/netinet/in.h-data: Likewise.
14717 * conform/data/nl_types.h-data: Likewise.
14718 * conform/data/poll.h-data: Likewise.
14719 * conform/data/pthread.h-data: Likewise.
14720 * conform/data/pwd.h-data: Likewise.
14721 * conform/data/regex.h-data: Likewise.
14722 * conform/data/sched.h-data: Likewise.
14723 * conform/data/search.h-data: Likewise.
14724 * conform/data/semaphore.h-data: Likewise.
14725 * conform/data/setjmp.h-data: Likewise.
14726 * conform/data/signal.h-data: Likewise.
14727 * conform/data/spawn.h-data: Likewise.
14728 * conform/data/stdarg.h-data: Likewise.
14729 * conform/data/stdio.h-data: Likewise.
14730 * conform/data/stdlib.h-data: Likewise.
14731 * conform/data/string.h-data: Likewise.
14732 * conform/data/strings.h-data: Likewise.
14733 * conform/data/stropts.h-data: Likewise.
14734 * conform/data/sys/ipc.h-data: Likewise.
14735 * conform/data/sys/mman.h-data: Likewise.
14736 * conform/data/sys/msg.h-data: Likewise.
14737 * conform/data/sys/resource.h-data: Likewise.
14738 * conform/data/sys/select.h-data: Likewise.
14739 * conform/data/sys/sem.h-data: Likewise.
14740 * conform/data/sys/shm.h-data: Likewise.
14741 * conform/data/sys/socket.h-data: Likewise.
14742 * conform/data/sys/stat.h-data: Likewise.
14743 * conform/data/sys/statvfs.h-data: Likewise.
14744 * conform/data/sys/time.h-data: Likewise.
14745 * conform/data/sys/timeb.h-data: Likewise.
14746 * conform/data/sys/times.h-data: Likewise.
14747 * conform/data/sys/types.h-data: Likewise.
14748 * conform/data/sys/uio.h-data: Likewise.
14749 * conform/data/sys/un.h-data: Likewise.
14750 * conform/data/sys/utsname.h-data: Likewise.
14751 * conform/data/sys/wait.h-data: Likewise.
14752 * conform/data/syslog.h-data: Likewise.
14753 * conform/data/tar.h-data: Likewise.
14754 * conform/data/termios.h-data: Likewise.
14755 * conform/data/utime.h-data: Likewise.
14756 * conform/data/utmpx.h-data: Likewise.
14757 * conform/data/varargs.h-data: Likewise.
14758 * conform/data/wchar.h-data: Likewise.
14759 * conform/data/wctype.h-data: Likewise.
14760 * conform/data/wordexp.h-data: Likewise.
14761
14762 * include/stropts.h: New file.
14763 * include/uchar.h: New file.
14764 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14765 * include/assert.h: Likewise.
14766 * include/ctype.h: Likewise.
14767 * include/dirent.h: Likewise.
14768 * include/dlfcn.h: Likewise.
14769 * include/fcntl.h: Likewise.
14770 * include/fnmatch.h: Likewise.
14771 * include/glob.h: Likewise.
14772 * include/grp.h: Likewise.
14773 * include/libio.h: Likewise.
14774 * include/locale.h: Likewise.
14775 * include/math.h: Likewise.
14776 * include/net/if.h: Likewise.
14777 * include/netdb.h: Likewise.
14778 * include/netinet/in.h: Likewise.
14779 * include/pthread.h: Likewise.
14780 * include/pwd.h: Likewise.
14781 * include/regex.h: Likewise.
14782 * include/sched.h: Likewise.
14783 * include/search.h: Likewise.
14784 * include/setjmp.h: Likewise.
14785 * include/signal.h: Likewise.
14786 * include/stdio.h: Likewise.
14787 * include/stdlib.h: Likewise.
14788 * include/string.h: Likewise.
14789 * include/sys/cdefs.h: Likewise.
14790 * include/sys/mman.h: Likewise.
14791 * include/sys/msg.h: Likewise.
14792 * include/sys/resource.h: Likewise.
14793 * include/sys/select.h: Likewise.
14794 * include/sys/socket.h: Likewise.
14795 * include/sys/stat.h: Likewise.
14796 * include/sys/statvfs.h: Likewise.
14797 * include/sys/time.h: Likewise.
14798 * include/sys/times.h: Likewise.
14799 * include/sys/uio.h: Likewise.
14800 * include/sys/utsname.h: Likewise.
14801 * include/sys/wait.h: Likewise.
14802 * include/termios.h: Likewise.
14803 * include/time.h: Likewise.
14804 * include/ulimit.h: Likewise.
14805 * include/unistd.h: Likewise.
14806 * include/utime.h: Likewise.
14807 * include/wchar.h: Likewise.
14808 * include/wctype.h: Likewise.
14809 * include/wordexp.h: Likewise.
14810
14811 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14812
14813 * time/time.h: TIME_UTC must be a macro.
14814 Make timespec_get available for ISO C11 only as well.
14815
148162012-02-24 Ulrich Drepper <drepper@gmail.com>
14817
14818 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14819 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14820
148212012-02-24 Joseph Myers <joseph@codesourcery.com>
14822
14823 * configure.in: Use -o not -a in test for unsupported multi-arch.
14824
148252012-02-24 Joseph Myers <joseph@codesourcery.com>
14826
14827 * manual/texinfo.tex: Update to version 2012-01-19.16.
14828
148292012-02-24 Joseph Myers <joseph@codesourcery.com>
14830
14831 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14832
148332012-02-24 Roland McGrath <roland@hack.frob.com>
14834
14835 [BZ #13738]
14836 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14837 * manual/fdl-1.3.texi: New file.
14838 * manual/fdl-1.1.texi: File removed.
14839
14840 [BZ #13738]
14841 * manual/libc.texinfo (FDL_VERSION): New @set.
14842 Use it for mention of FDL in cover text.
14843 (Documentation License): Use it in @include file name.
14844
148452012-02-22 Joseph Myers <joseph@codesourcery.com>
14846 Roland McGrath <roland@hack.frob.com>
14847
14848 [BZ #5461]
14849 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14850 not LONG_LONG_MAX and LONG_LONG_MIN.
14851 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14852 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14853 name.
14854 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14855
148562012-02-22 Joseph Myers <joseph@codesourcery.com>
14857
14858 [BZ #2547]
14859 [BZ #11365]
14860 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14861 manipulate bits before adding and subtracting TWO23[sx].
14862 * math/libm-test.inc (nearbyint_test): Add more tests.
14863
148642012-02-22 Joseph Myers <joseph@codesourcery.com>
14865
14866 [BZ #2548]
14867 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14868 bits before adding and subtracting TWO23[sx].
14869 * math/libm-test.inc (rint_test): Add more tests.
14870 (rint_test_tonearest): Likewise.
14871 (rint_test_towardzero): Likewise.
14872 (rint_test_downward): Likewise.
14873 (rint_test_upward: Likewise.
14874
148752012-02-22 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #10110]
14878 * include/stdc-predef.h: New file. Extracted from features.h.
14879 * include/features.h: Include stdc-predef.h.
14880 * Makefile (headers): Add stdc-predef.h.
14881 * CONFORMANCE (Compiler limitations): Update.
14882
148832012-02-22 Joseph Myers <joseph@codesourcery.com>
14884
14885 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14886
148872012-02-21 David S. Miller <davem@davemloft.net>
14888
14889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14891
148922012-02-20 David S. Miller <davem@davemloft.net>
14893
14894 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14895 using a normal save/restore sequence, rather than allocating a
14896 dummy stack frame just to store a frame pointer and restore.
14897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14898
148992012-02-21 Joseph Myers <joseph@codesourcery.com>
14900
14901 * manual/install.texi: Fix stray word in line-wrapped comment.
14902
149032012-02-20 David S. Miller <davem@davemloft.net>
14904
14905 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14906 both binutils and gcc support GOTDATA.
14907
14908 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14909 "rd %pc" in the PIC register setup sequences.
14910
14911 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14912 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14913 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14914 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14915 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14920 (SYSCALL_ERROR_HANDLER): Likewise.
14921 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14922 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14923 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14924 (SYSCALL_ERROR_HANDLER): Likewise.
14925
14926 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14927 (HAVE_GCC_GOTDATA): New.
14928 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14929 relocation support in both binutils and gcc.
14930 * sysdeps/sparc/elf/configure: Regenerate.
14931
14932 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14933 * sysdeps/sparc/sparc32/elf/configure: Delete.
14934 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14935 * sysdeps/sparc/sparc64/elf/configure: Delete.
14936 * sysdeps/sparc/elf/configure.in: New file.
14937 * sysdeps/sparc/elf/configure: Generate.
14938
14939 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14940 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14941 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14942 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14943 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14944
149452012-02-21 Joseph Myers <joseph@codesourcery.com>
14946
14947 * manual/install.texi: Do not mention specific glibc version
14948 numbers.
14949 * manual/libc.texinfo (VERSION, UPDATED): Update.
14950 (@copying): Use @copyright{} and range of years.
14951
149522012-02-21 Joseph Myers <joseph@codesourcery.com>
14953
14954 [BZ #13695]
14955 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14956 [crti.S not in sysdirs] (generated): Do not append.
14957 [crti.S not in sysdirs] (omit-deps): Likewise.
14958 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14959 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14960 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14961 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14962 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14963 Likewise.
14964 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14965 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14966 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14967 * csu/defs.awk: Remove file.
14968 * sysdeps/generic/initfini.c: Likewise.
14969 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14970 variable.
14971 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14972 Likewise.
14973
149742012-02-20 Joseph Myers <joseph@codesourcery.com>
14975
14976 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14977 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14978 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14979 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14981 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14982 <bits/epoll.h>.
14983 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14984 (__EPOLL_PACKED): Define to empty if not defined by
14985 <bits/epoll.h>.
14986 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14988 bits/epoll.h.
14989
149902012-02-20 Joseph Myers <joseph@codesourcery.com>
14991
14992 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14993 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14994 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14995 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14996 <bits/timerfd.h>.
14997 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14999 bits/timerfd.h.
15000
150012012-02-20 Joseph Myers <joseph@codesourcery.com>
15002
15003 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15004 in C locale.
15005 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15006 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15009
150102012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15011
15012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15013 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15014
150152012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15016
15017 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15018 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15019 defined.
15020 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15021 Likewise.
15022 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15023 entry for 2.16.
15024
150252012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15026
15027 * math/w_acos.c: Use non-signaling floating-point comparisons.
15028 * math/w_acosf.c: Likewise.
15029 * math/w_acosh.c: Likewise.
15030 * math/w_acoshf.c: Likewise.
15031 * math/w_acoshl.c: Likewise.
15032 * math/w_acosl.c: Likewise.
15033 * math/w_asin.c: Likewise.
15034 * math/w_asinf.c: Likewise.
15035 * math/w_asinl.c: Likewise.
15036 * math/w_atanh.c: Likewise.
15037 * math/w_atanhf.c: Likewise.
15038 * math/w_atanhl.c: Likewise.
15039 * math/w_exp2.c: Likewise.
15040 * math/w_exp2f.c: Likewise.
15041 * math/w_exp2l.c: Likewise.
15042 * math/w_j0.c: Likewise.
15043 * math/w_j0f.c: Likewise.
15044 * math/w_j0l.c: Likewise.
15045 * math/w_j1.c: Likewise.
15046 * math/w_j1f.c: Likewise.
15047 * math/w_j1l.c: Likewise.
15048 * math/w_jn.c: Likewise.
15049 * math/w_jnf.c: Likewise.
15050 * math/w_log.c: Likewise.
15051 * math/w_log10.c: Likewise.
15052 * math/w_log10f.c: Likewise.
15053 * math/w_log10l.c: Likewise.
15054 * math/w_log2.c: Likewise.
15055 * math/w_log2f.c: Likewise.
15056 * math/w_log2l.c: Likewise.
15057 * math/w_logf.c: Likewise.
15058 * math/w_logl.c: Likewise.
15059 * math/w_sqrt.c: Likewise.
15060 * math/w_sqrtf.c: Likewise.
15061 * math/w_sqrtl.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15064 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15065 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15066 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15067
150682012-02-19 Joseph Myers <joseph@codesourcery.com>
15069
15070 [BZ #9739]
15071 * manual/string.texi (strnlen): Use correct parameter name in
15072 equivalent expression.
15073
150742012-02-19 Joseph Myers <joseph@codesourcery.com>
15075
15076 [BZ #11174]
15077 * manual/users.texi (seteuid): Consistently use neweuid for
15078 argument name.
15079
150802012-02-19 Joseph Myers <joseph@codesourcery.com>
15081
15082 [BZ #13704]
15083 * manual/nss.texi (Services in the NSS configuration): Correct
15084 list of services in example configuration file.
15085
150862012-02-19 Nick Bowler <nbowler@draconx.ca>
15087
15088 [BZ #11322]
15089 * manual/arith.texi: Remove statements about negative zero
15090 behaving identically to zero.
15091
150922012-02-18 Joseph Myers <joseph@codesourcery.com>
15093
15094 [BZ #5993]
15095 * manual/install.texi: Do not document upgrading from libc5.
15096
150972012-02-18 Joseph Myers <joseph@codesourcery.com>
15098
15099 [BZ #4596]
15100 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15101
151022012-02-18 David S. Miller <davem@davemloft.net>
15103
15104 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15105 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15106 %o7 across the call.
15107 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15108 instead.
15109 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15110 SETUP_PIC_REG_LEAF.
15111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15112 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15113 * sysdeps/sparc/crtn.S: Likewise.
15114
151152012-02-17 Ulrich Drepper <drepper@gmail.com>
15116
15117 * aout/Makefile: Remove.
15118
151192012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15120
15121 [BZ #13058]
15122 * manual/examples/argp-ex1.c (main): Format definition in GNU
15123 style.
15124 * manual/examples/argp-ex2.c (main): Likewise.
15125 * manual/examples/argp-ex3.c (main): Likewise.
15126 * manual/examples/argp-ex4.c (main): Likewise.
15127 * manual/examples/longopt.c (main): Use new-style prototype
15128 definition.
15129 * manual/examples/strncat.c (main): Specify return type and use
15130 (void) for arguments.
15131 * manual/examples/subopt.c (main): Use char **argv argument.
15132
151332012-02-17 Joseph Myers <joseph@codesourcery.com>
15134
15135 [BZ #5077]
15136 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15137 rounding modes.
15138
151392012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15140
15141 [BZ #6907]
15142 * manual/string.texi (strchr): Change when strchrnul is
15143 recommended.
15144
151452012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15146
15147 [BZ #174]
15148 * manual/locale.texi (setlocale): Document LOCPATH.
15149
151502012-02-17 Joseph Myers <joseph@codesourcery.com>
15151
15152 [BZ #10210]
15153 * manual/process.texi (execle): Move @dots{} before last argument.
15154
151552012-02-17 Paul Bolle <pebolle@tiscali.nl>
15156
15157 [BZ #12047]
15158 * manual/charset.texi (Generic Charset Conversion): Fix typo
15159 (LC_TYPE -> LC_CTYPE).
15160
151612012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15162
15163 [BZ #5805]
15164 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15165 (scalbnf): Likewise.
15166 (scalbnl): Likewise.
15167 (scalbln): Likewise.
15168 (scalblnf): Likewise.
15169 (scalblnl): Likewise.
15170 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15171 (vwarnx): Likewise.
15172 (verr): Likewise.
15173 (verrx): Likewise.
15174 * manual/filesys.texi (telldir): Use braces around return type.
15175 * manual/llio.texi (mmap): Add space after comma.
15176 (mmap64): Likewise.
15177 * manual/math.texi (jn): Use @var{} on parameter names.
15178 (jnf): Likewise.
15179 (jnl): Likewise.
15180 (yn): Likewise.
15181 (ynf): Likewise.
15182 (ynl): Likewise.
15183 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15184 line.
15185 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15186 "...".
15187 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15188 (sched_get_priority_max): Likewise.
15189 * manual/signal.texi (sigvec): Add space after comma.
15190 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15191 names.
15192 (if_indextoname): Likewise.
15193 (if_freenameindex): Likewise.
15194 (sendto): Use ',' instead of '.' in prototype.
15195 * manual/startup.texi (syscall): Use @dots{} instead of literal
15196 "...".
15197 * manual/stdio.texi (__fpending): Separate initial words of
15198 paragraph from @deftypefun line.
15199 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15200 "...".
15201 (vsyslog): Use @var{} on parameter names.
15202 * manual/terminal.texi (stty): Use @var{} on parameter names.
15203 * manual/users.texi (getutmp): Use @var{} on parameter names.
15204 (getutmpx): Likewise.
15205
152062012-02-17 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #6884]
15209 * manual/stdio.texi (fopen): Fix typos in description of
15210 ",ccs=STRING".
15211
152122012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15213
15214 [BZ #4026]
15215 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15216 get clock_id definition.
15217
152182012-02-17 Thomas Schwinge <thomas@schwinge.name>
15219
15220 [BZ #4822]
15221 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15222 (madvise): Cast every argument to void on its own.
15223
152242012-02-17 Joseph Myers <joseph@codesourcery.com>
15225
15226 [BZ #9902]
15227 * manual/startup.texi (Exit Status): Fix typo.
15228
152292012-02-17 Joseph Myers <joseph@codesourcery.com>
15230
15231 [BZ #10140]
15232 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15233 * manual/examples/argp-ex2.c: Likewise.
15234 * manual/examples/argp-ex3.c: Likewise.
15235
152362012-02-16 Richard Henderson <rth@redhat.com>
15237
15238 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15239 * sysdeps/s390/s390-32/initfini.c: Remove.
15240 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15241 * sysdeps/s390/s390-64/initfini.c: Remove.
15242
152432012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15244
15245 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15246 compiler output for sysdeps/generic/initfini.c.
15247 * sysdeps/sh/elf/initfini.c: Remove file.
15248
152492012-02-16 David S. Miller <davem@davemloft.net>
15250
15251 [BZ #11494]
15252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15253
15254 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15255 * sysdeps/sparc/crti.S: New file.
15256 * sysdeps/sparc/crtn.S: New file.
15257 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15258 * sysdeps/sparc/sparc64/Makefile: Likewise.
15259
152602012-02-15 Mike Frysinger <vapier@gentoo.org>
15261
15262 [BZ #3335]
15263 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15264
152652012-02-15 Roland McGrath <roland@hack.frob.com>
15266
15267 [BZ #4822]
15268 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15269
15270 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15271 (write, read, close): Likewise.
15272 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15273
152742012-02-15 Joseph Myers <joseph@codesourcery.com>
15275
15276 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15277 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15278 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15279 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15280 <bits/signalfd.h>.
15281 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15283 bits/signalfd.h.
15284
152852012-02-14 Marek Polacek <polacek@redhat.com>
15286
15287 * sysdeps/x86_64/crti.S: New file.
15288 * sysdeps/x86_64/crtn.S: New file.
15289 * sysdeps/x86_64/elf/initfini.c: Remove file.
15290
152912012-02-13 Joseph Myers <joseph@codesourcery.com>
15292
15293 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15294 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15295 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15296 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15297 <bits/inotify.h>.
15298 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15300 bits/inotify.h.
15301
153022012-02-13 Joseph Myers <joseph@codesourcery.com>
15303
15304 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15305 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15306 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15307 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15308 <bits/eventfd.h>.
15309 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15311 bits/eventfd.h.
15312
153132012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15314
15315 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15316 __feraiseexcept instead of feraiseexcept.
15317
15318 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15319 nanosleep invocations.
15320 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15321 strings, and add error checking for a nanosleep invocations.
15322
153232012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15324
15325 Replace FSF snail mail address with URLs, as per GNU coding standards.
15326 Most of the snail mail addresses were wrong anyway, and omitting
15327 them makes the source code easier to maintain. Almost all of the
15328 changes are to license notices and to locale LC_IDENTIFICATION
15329 addresses, except for this one:
15330 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15331 not its snail mail address.
15332
153332012-02-09 Richard Henderson <rth@twiddle.net>
15334
15335 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15336 of kernel-features.h.
15337
15338 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15339
153402012-02-08 Marek Polacek <polacek@redhat.com>
15341
15342 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15343 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15344 * sysdeps/gnu/_G_config.h: Likewise.
15345 * sysdeps/generic/_G_config.h: Likewise.
15346
153472012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15348
15349 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15350 tests.
15351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15352
15353 * sysdeps/powerpc/powerpc32/crti.S: New file.
15354 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15355 * sysdeps/powerpc/powerpc64/crti.S: New file.
15356 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15357
15358 * Makeconfig (have-initfini): Don't set.
15359 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15360 * configure.in (nopic_initfini): Don't substitute.
15361 * config.h.in (HAVE_INITFINI): Don't #undef.
15362 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15363 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15364
153652012-02-08 Joseph Myers <joseph@codesourcery.com>
15366
15367 Support crti.S and crtn.S provided directly by architectures.
15368 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15369 [crti.S in sysdirs] (omit-deps): Likewise.
15370 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15371 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15372 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15373 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15374 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15375 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15376 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15377 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15378 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15379 compiler output for sysdeps/generic/initfini.c.
15380 * sysdeps/i386/elf/Makefile: Remove file.
15381 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15382
153832012-02-07 Marek Polacek <polacek@redhat.com>
15384
15385 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15386 * sysdeps/gnu/_G_config.h: Likewise.
15387 * sysdeps/mach/hurd/_G_config.h: Likewise.
15388
153892012-02-07 Marek Polacek <polacek@redhat.com>
15390
15391 * math/Makefile (tests): Add tst-CMPLX2.
15392 * math/tst-CMPLX2.c: New file.
15393
153942012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15395
15396 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15397
15398 * math/libm-test.inc (jn_test): Add missing L suffix.
15399
154002012-02-06 Marek Polacek <polacek@redhat.com>
15401
15402 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15403 * sysdeps/i386/fpu/e_powf.S: Likewise.
15404 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15405 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15407 * sysdeps/i386/fpu/e_pow.S: Likewise.
15408 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15410 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15411 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15412 * sysdeps/i386/fpu/e_log2.S: Likewise.
15413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15415 * sysdeps/i386/fpu/e_powl.S: Likewise.
15416 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15417 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15418 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15419 * sysdeps/i386/fpu/e_logl.S: Likewise.
15420 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15421 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15422 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15423 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15424 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15426 * sysdeps/i386/fpu/e_log.S: Likewise.
15427 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15428 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15429 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15430 * sysdeps/i386/fpu/e_logf.S: Likewise.
15431 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15432 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15433 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15434 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15435 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15436 * sysdeps/i386/fpu/e_log10.S: Likewise.
15437 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15438 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15439 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15440 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15441 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15442 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15443 * sysdeps/i386/asm-syntax.h: Likewise.
15444 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15445 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15446 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15447 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15448 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15449 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15450 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15451 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15452 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15453 * sysdeps/powerpc/sysdep.h: Likewise.
15454 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15455 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15456
154572012-02-06 Joseph Myers <joseph@codesourcery.com>
15458
15459 [BZ #411]
15460 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15461
154622012-02-06 Joseph Myers <joseph@codesourcery.com>
15463
15464 * sysdeps/i386/sysdep.h: Include <features.h>.
15465 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15466 version.
15467
154682012-02-05 Joseph Myers <joseph@codesourcery.com>
15469
15470 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15471 Define.
15472 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15473 LOAD_PIC_REG_STR.
15474
154752012-02-03 Joseph Myers <joseph@codesourcery.com>
15476
15477 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15478 (SETUP_PIC_REG): Use GET_PC_THUNK.
15479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15480 macro.
15481
154822012-02-03 Joseph Myers <joseph@codesourcery.com>
15483
15484 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15485 for non-PIC compilation.
15486 (SETUP_PIC_REG): Add .p2align directive.
15487 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15488 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15491 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15492 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15493 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15495 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15496 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15497 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15498 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15499 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15500 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15501 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15502 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15503 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15504 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15505 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15506 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15509 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15510 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15511 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15513 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15514 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15515 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15516 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15517 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15518 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15519 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15522 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15523 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15524 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15525 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15526 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15527 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15528
155292012-02-03 Joseph Myers <joseph@codesourcery.com>
15530
15531 * math/tst-CMPLX.c: Include <stdio.h>.
15532
155332012-01-31 Joseph Myers <joseph@codesourcery.com>
15534
15535 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15536 float.
15537 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15538 * sysdeps/sparc/bits/mathdef.h: Likewise.
15539
155402012-01-31 Marek Polacek <polacek@redhat.com>
15541
15542 * libio/libio.h: Don't define _PARAMS.
15543 * locale/programs/config.h: Don't define PARAMS.
15544 * stdlib/strtol_l.c: Likewise.
15545 (__strtol_l): Remove PARAMS from the prototype.
15546
155472012-01-31 Ulrich Drepper <drepper@gmail.com>
15548
15549 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15550 names. Just use the correct names. Remove unnecessary wrapper
15551 functions.
15552 * malloc/arena.c: Likewise.
15553 * malloc/hooks.c: Likewise.
15554
15555 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15556 ARENA_TEST says not to. Simplify test for creation of a new arena.
15557 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15558
155592012-01-30 Ulrich Drepper <drepper@gmail.com>
15560
15561 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15562 into tail calls.
15563 (update_get_addr): New function.
15564 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15565 GET_ADDR_MODULE parameter.
15566
155672012-01-30 Joseph Myers <joseph@codesourcery.com>
15568
15569 * crypt/cert.c: Remove __STDC__ conditionals.
15570 * crypt/crypt-entry.c: Likewise.
15571 * crypt/crypt_util.c: Likewise.
15572 * libio/filedoalloc.c: Likewise.
15573 * libio/fileops.c: Likewise.
15574 * libio/genops.c: Likewise.
15575 * libio/iofclose.c: Likewise.
15576 * libio/iofdopen.c: Likewise.
15577 * libio/iofopen.c: Likewise.
15578 * libio/iofopen64.c: Likewise.
15579 * libio/iogetdelim.c: Likewise.
15580 * libio/iopopen.c: Likewise.
15581 * libio/obprintf.c: Likewise.
15582 * libio/oldfileops.c: Likewise.
15583 * libio/oldiofclose.c: Likewise.
15584 * libio/oldiofdopen.c: Likewise.
15585 * libio/oldiofopen.c: Likewise.
15586 * libio/oldiopopen.c: Likewise.
15587 * libio/wfiledoalloc.c: Likewise.
15588 * libio/wgenops.c: Likewise.
15589 * locale/programs/xmalloc.c: Likewise.
15590 * misc/syslog.c: Likewise.
15591 * stdio-common/xbug.c: Likewise.
15592 * string/memchr.c: Likewise.
15593 * string/memcmp.c: Likewise.
15594 * string/memrchr.c: Likewise.
15595 * string/rawmemchr.c: Likewise.
15596 * sysdeps/posix/getcwd.c: Likewise.
15597 * time/strftime_l.c: Likewise.
15598
155992012-01-30 Joseph Myers <joseph@codesourcery.com>
15600
15601 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15602 * config.make.in (config-cflags-sse2avx): Define.
15603 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15604 Fix typo.
15605
156062012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15607
15608 * scripts/config.guess: Update from upstream config git repository.
15609 * scripts/config.sub: Likewise.
15610
156112012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15612
15613 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15614 (EM_NUM): Update.
15615 (R_TILEPRO_*, R_TILEGX_*): New macros.
15616
15617 * scripts/firstversions.awk: Fix bug in version range handling.
15618
15619 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15620
15621 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15622
15623 * include/sys/epoll.h: New file.
15624 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15625 libc_hidden_def.
15626
156272012-01-28 Ulrich Drepper <drepper@gmail.com>
15628
15629 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15630 Avoid unnecessary __WORDSIZE == 64 test.
15631 (fmaxf): Use VEX format if possible.
15632 (fmax): Likewise.
15633 (fminf): Likewise.
15634 (fmin): Likewise.
15635
15636 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15637 * math/math_private.h: Remove libc_fegetround* and
15638 libc_fesetround*.
15639 * sysdeps/i386/configure.in: Check for -msse2avx.
15640 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15641 also if SSE2AVX is defined.
15642 Remove libc_fegetround* and libc_fesetround*.
15643 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15644 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15645 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15646 of HAS_YMM_USABLE.
15647 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15648 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15649 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15650 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15651 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15652
15653 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15654
156552012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15656
15657 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15658 size is not set.
15659 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15660
156612012-01-27 Ulrich Drepper <drepper@gmail.com>
15662
15663 [BZ #13618]
15664 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15665 relocation.
15666 * Makeconfig (libm): Define.
15667 * elf/Makefile: Add rules to build and run tst-relsort1.
15668 * elf/tst-relsort1.c: New file.
15669 * elf/tst-relsort1mod1.c: New file.
15670 * elf/tst-relsort1mod2.c: New file.
15671
156722012-01-27 Joseph Myers <joseph@codesourcery.com>
15673
15674 * math/s_ldexp.c: Remove __STDC__ conditionals.
15675 * math/s_ldexpf.c: Likewise.
15676 * math/s_ldexpl.c: Likewise.
15677 * math/s_nextafter.c: Likewise.
15678 * math/s_nexttowardf.c: Likewise.
15679 * math/s_significand.c: Likewise.
15680 * math/s_significandf.c: Likewise.
15681 * math/s_significandl.c: Likewise.
15682 * math/w_jnl.c: Likewise.
15683 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15684 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15685 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15686 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15687 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15689 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15690 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15692 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15693 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15694 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15695 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15696 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15698 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15699 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15700 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15701 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15702 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15703 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15704 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15705 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15707 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15708 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15711 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15712 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15713 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15714 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15715 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15716 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15717 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15718 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15719 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15720 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15721 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15722 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15723 * sysdeps/ieee754/k_standard.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15767 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15768 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15773 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15774 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15777 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15778 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15779 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15780 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15782 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15783 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15784 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15785 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15786 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15787 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15788 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15789 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15790 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15791 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15792 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15793 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15794 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15796 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15797 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15798 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15799 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15803 * sysdeps/ieee754/s_matherr.c: Likewise.
15804 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15805 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15808
158092012-01-26 Joseph Myers <joseph@codesourcery.com>
15810
15811 * crypt/md5.h: Remove __STDC__ conditionals.
15812 * libio/libioP.h: Likewise.
15813 * locale/programs/config.h: Likewise.
15814 * sysdeps/generic/sysdep.h: Likewise.
15815 * sysdeps/i386/asm-syntax.h: Likewise.
15816 * sysdeps/s390/asm-syntax.h: Likewise.
15817 * sysdeps/unix/sysdep.h: Likewise.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15820
158212012-01-26 Joseph Myers <joseph@codesourcery.com>
15822
15823 * libio/libio.h: Remove __STDC__ conditionals.
15824 * malloc/obstack.h: Likewise.
15825 * math/complex.h: Likewise.
15826 * math/math.h: Likewise.
15827 * sysdeps/generic/_G_config.h: Likewise.
15828 * sysdeps/gnu/_G_config.h: Likewise.
15829 * sysdeps/mach/hurd/_G_config.h: Likewise.
15830 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15831 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15832 * sysdeps/sparc/bits/mathdef.h: Likewise.
15833
158342012-01-26 Ulrich Drepper <drepper@gmail.com>
15835
15836 [BZ #13583]
15837 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
15838 Clean up HAS_* macros.
15839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
15840 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15841 possible.
15842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15843 HAS_AVX.
15844 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15845 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15846 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15847 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15848 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15849
158502012-01-25 Joseph Myers <joseph@codesourcery.com>
15851
15852 * elf/tst-unique3.cc (gets): Remove declaration.
15853 * elf/tst-unique3lib.cc (gets): Likewise.
15854 * elf/tst-unique3lib2.cc (gets): Likewise.
15855 * elf/tst-unique4.cc (gets): Likewise.
15856
158572012-01-24 Ulrich Drepper <drepper@gmail.com>
15858
15859 * include/stdio.h: Add C++ protection. Add gets declarations and
15860 definitions.
15861 * debug/tst-chk1.c: Don't declare gets here.
15862 * stdio-common/tst-gets.c: Likewise.
15863
158642012-01-24 Joseph Myers <joseph@codesourcery.com>
15865
15866 * posix/glob: Remove directory.
15867
158682012-01-24 Joseph Myers <joseph@codesourcery.com>
15869
15870 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15871
158722012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15873
15874 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15875 of the non-standard EPFNOSUPPORT.
15876
158772011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15878
15879 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15880 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15881 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15882
158832012-01-21 Ulrich Drepper <drepper@gmail.com>
15884
15885 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15886
158872012-01-20 Ulrich Drepper <drepper@gmail.com>
15888
15889 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15890 transient errors.
15891 * nscd/grpcache.c (cache_addgr): Likewise.
15892 * nscd/hstcache.c (cache_addhst): Likewise.
15893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15894 * nscd/pwdcache.c (cache_addpw): Likewise.
15895 * nscd/servicescache.c (cache_addserv): Likewise.
15896
158972012-01-16 Ulrich Drepper <drepper@gmail.com>
15898
15899 * malloc/malloc.c: Various cleanups.
15900 * malloc/hooks.c: Likewise.
15901
15902 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15903 * stdlib/bug-fmtmsg1.c: New file.
15904
15905 * stdlib/fmtmsg.c (init): Add missing unlock.
15906 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15907
159082012-01-12 Marek Polacek <polacek@redhat.com>
15909
15910 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15911 and _GNU_SOURCE.
15912
159132012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15914
15915 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15916 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15917 macro to ensure uniqueness of label name.
15918 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15919 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15920
159212012-01-11 Ulrich Drepper <drepper@gmail.com>
15922
15923 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15924
15925 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15926 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15929
159302012-01-10 Ulrich Drepper <drepper@gmail.com>
15931
15932 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15933
15934 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15935 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15936 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15937
15938 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15939
15940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
15941 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15942 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
15944
15945 * math/bits/math-finite.h: Add ldexp support.
15946
159472012-01-10 Marek Polacek <polacek@redhat.com>
15948
15949 * locale/programs/localedef.h (show_archive_content): Add noreturn
15950 attribute.
15951
159522012-01-09 Ulrich Drepper <drepper@gmail.com>
15953
15954 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15955
159562012-01-08 Ulrich Drepper <drepper@gmail.com>
15957
15958 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15959
15960 * io/Makefile (headers): Add bits/poll2.h.
15961
159622011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15963
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15965 typo #include statement.
15966
159672012-01-08 Ulrich Drepper <drepper@gmail.com>
15968
15969 * include/sys/cdefs.h: Define __attribute_alloc_size.
15970 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15971 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15972 * elf/pldd.c: Likewise.
15973 * iconv/iconv_charmap.c: Likewise.
15974 * iconv/iconvconfig.c: Likewise.
15975 * iconv/strtab.c: Likewise.
15976 * locale/programs/locale.c: Likewise.
15977 * locale/programs/localedef.h: Likewise.
15978 * locale/programs/simple-hash.c: Likewise.
15979 * nscd/nscd.h: Likewise.
15980 * nss/makedb.c: Likewise.
15981 * sysdeps/generic/ldconfig.h: Likewise.
15982 * locale/programs/localedef.c: Remove xmalloc prototype.
15983 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15984
159852012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15986
15987 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15988 appropriate.
15989
159902012-01-08 Ulrich Drepper <drepper@gmail.com>
15991
15992 * math/Makefile (tests): Add tst-CMPLX.
15993 * math/tst-CMPLX.c: New file.
15994
15995 * math/complex.h (CMPLXL): Fix typo.
15996
15997 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15998 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15999 GLIBC_2.16.
16000 * debug/tst-chk1.c: Add poll and ppoll tests.
16001 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16002 * include/sys/poll.h: Add hidden proto for ppoll.
16003 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16004 * sysdeps/mach/hurd/ppoll.c: Likewise.
16005 * io/ppoll.c: Likewise.
16006 * debug/poll_chk.c: New file.
16007 * debug/ppoll_chk.c: New file.
16008 * include/bits/poll2.h: New file.
16009 * io/bits/poll2.h: New file.
16010
16011 [BZ #1350]
16012 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16013
16014 * configure.in: static is always set to yes. Remove.
16015 * config.make.in: Don't set build-static.
16016 * Makeconfig: Remove use of build-static.
16017 * dlfcn/Makefile: Likewise.
16018 * elf/Makefile: Likewise.
16019 * math/Makefile: Likewise.
16020 * misc/Makefile: Likewise.
16021 * nptl/Makefile: Likewise.
16022 * sysdeps/mach/hurd/Makefile: Likewise.
16023
16024 * configure.in: PWD_P is not used anymore.
16025 * config.make.in: Remove PWD_P entry.
16026
16027 * configure.in: Remove last remnants of RANLIB.
16028 No need to check for signed size_t anymore.
16029 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16030 and IA-64.
16031 Remove __builtin_expect test because we require at least gcc 3.4.
16032 * aclocal.m4: Likewise.
16033
16034 * wcsmbs/mbrtoc16.c: Implement using towc function.
16035 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16036 * wcsmbs/wcsmbsload.c: Likewise.
16037 * iconv/gconv_simple.c: Likewise.
16038 * iconv/gconv_int.h: Likewise.
16039 * iconv/gconv_builtin.h: Likewise.
16040 * iconv/iconv_prog.c: Remove CHAR16 handling.
16041
16042 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16043
16044 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16045
16046 * configure.in: Remove --with-elf and --enable-bounded options.
16047 Dont set base_machine for ia64. More non-ELF conditions removed.
16048 Remove testing and setting of leading underscore information.
16049 * config.make.in (build-bounded): Set to no.
16050 * config.h.in: Remove NO_UNDERSCORES entry.
16051 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16052 them.
16053 * csu/start.c: Remove !NO_UNDERSCORE code.
16054 * locale/localeinfo.h: Likewise.
16055 * sysdeps/generic/machine-gmon.h: Likewise.
16056 * sysdeps/generic/sysdep.h: Likewise.
16057 * sysdeps/i386/sysdep.h: Likewise.
16058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16059 * sysdeps/mach/sysdep.h: Likewise.
16060 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16062 * sysdeps/sh/sysdep.h: Likewise.
16063 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16064 * sysdeps/unix/i386/sysdep.S: Likewise.
16065 * sysdeps/unix/sparc/start.c: Likewise.
16066 * sysdeps/unix/sparc/sysdep.S: Likewise.
16067 * sysdeps/unix/sparc/sysdep.h: Likewise.
16068 * sysdeps/unix/start.c: Likewise.
16069 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16070 * sysdeps/x86_64/sysdep.h: Likewise.
16071
160722012-01-07 Ulrich Drepper <drepper@gmail.com>
16073
16074 [BZ #13553]
16075 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16076 for non-gcc.
16077 * argp/argp-fmtstream.h: Use const instead __const.
16078 * argp/argp.h: Likewise.
16079 * assert/assert.h: Likewise.
16080 * bits/fenv.h: Likewise.
16081 * bits/sched.h: Likewise.
16082 * bits/sigset.h: Likewise.
16083 * bits/sigthread.h: Likewise.
16084 * catgets/nl_types.h: Likewise.
16085 * conform/data/pthread.h-data: Likewise.
16086 * crypt/crypt-private.h: Likewise.
16087 * crypt/crypt.h: Likewise.
16088 * crypt/crypt_util.c: Likewise.
16089 * ctype/ctype.h: Likewise.
16090 * debug/execinfo.h: Likewise.
16091 * debug/mbsnrtowcs_chk.c: Likewise.
16092 * debug/mbsrtowcs_chk.c: Likewise.
16093 * debug/wcsnrtombs_chk.c: Likewise.
16094 * debug/wcsrtombs_chk.c: Likewise.
16095 * debug/wcstombs_chk.c: Likewise.
16096 * dirent/dirent.h: Likewise.
16097 * dlfcn/dlfcn.h: Likewise.
16098 * elf/neededtest4.c: Likewise.
16099 * grp/grp.h: Likewise.
16100 * gshadow/gshadow.h: Likewise.
16101 * iconv/gconv.h: Likewise.
16102 * iconv/gconv_int.h: Likewise.
16103 * iconv/gconv_simple.c: Likewise.
16104 * iconv/iconv.h: Likewise.
16105 * iconv/loop.c: Likewise.
16106 * iconv/skeleton.c: Likewise.
16107 * include/aio.h: Likewise.
16108 * include/aliases.h: Likewise.
16109 * include/argz.h: Likewise.
16110 * include/arpa/inet.h: Likewise.
16111 * include/assert.h: Likewise.
16112 * include/dirent.h: Likewise.
16113 * include/dlfcn.h: Likewise.
16114 * include/execinfo.h: Likewise.
16115 * include/fcntl.h: Likewise.
16116 * include/fenv.h: Likewise.
16117 * include/glob.h: Likewise.
16118 * include/grp.h: Likewise.
16119 * include/libintl.h: Likewise.
16120 * include/mntent.h: Likewise.
16121 * include/netdb.h: Likewise.
16122 * include/pwd.h: Likewise.
16123 * include/rpc/netdb.h: Likewise.
16124 * include/sched.h: Likewise.
16125 * include/search.h: Likewise.
16126 * include/shadow.h: Likewise.
16127 * include/signal.h: Likewise.
16128 * include/stdio.h: Likewise.
16129 * include/stdlib.h: Likewise.
16130 * include/string.h: Likewise.
16131 * include/sys/socket.h: Likewise.
16132 * include/sys/stat.h: Likewise.
16133 * include/sys/statfs.h: Likewise.
16134 * include/sys/statvfs.h: Likewise.
16135 * include/sys/syslog.h: Likewise.
16136 * include/sys/time.h: Likewise.
16137 * include/sys/uio.h: Likewise.
16138 * include/time.h: Likewise.
16139 * include/unistd.h: Likewise.
16140 * include/utmp.h: Likewise.
16141 * include/wchar.h: Likewise.
16142 * include/wctype.h: Likewise.
16143 * inet/aliases.h: Likewise.
16144 * inet/arpa/inet.h: Likewise.
16145 * inet/netinet/ether.h: Likewise.
16146 * inet/netinet/in.h: Likewise.
16147 * intl/libintl.h: Likewise.
16148 * io/bits/fcntl2.h: Likewise.
16149 * io/fcntl.h: Likewise.
16150 * io/ftw.h: Likewise.
16151 * io/sys/poll.h: Likewise.
16152 * io/sys/stat.h: Likewise.
16153 * io/sys/statfs.h: Likewise.
16154 * io/sys/statvfs.h: Likewise.
16155 * io/utime.h: Likewise.
16156 * libio/bits/stdio.h: Likewise.
16157 * libio/bits/stdio2.h: Likewise.
16158 * libio/libio.h: Likewise.
16159 * libio/libioP.h: Likewise.
16160 * libio/stdio.h: Likewise.
16161 * locale/lc-ctype.c: Likewise.
16162 * locale/locale.h: Likewise.
16163 * login/utmp.h: Likewise.
16164 * malloc/arena.c: Likewise.
16165 * malloc/malloc.c: Likewise.
16166 * malloc/malloc.h: Likewise.
16167 * malloc/mcheck.c: Likewise.
16168 * malloc/mtrace.c: Likewise.
16169 * math/bits/mathcalls.h: Likewise.
16170 * math/fenv.h: Likewise.
16171 * math/math_private.h: Likewise.
16172 * misc/bits/error.h: Likewise.
16173 * misc/bits/syslog.h: Likewise.
16174 * misc/err.h: Likewise.
16175 * misc/error.h: Likewise.
16176 * misc/fstab.h: Likewise.
16177 * misc/mntent.h: Likewise.
16178 * misc/regexp.h: Likewise.
16179 * misc/search.h: Likewise.
16180 * misc/sgtty.h: Likewise.
16181 * misc/sys/mman.h: Likewise.
16182 * misc/sys/syslog.h: Likewise.
16183 * misc/sys/uio.h: Likewise.
16184 * misc/sys/xattr.h: Likewise.
16185 * misc/ttyent.h: Likewise.
16186 * nis/rpcsvc/ypclnt.h: Likewise.
16187 * nss/nss.h: Likewise.
16188 * posix/bits/unistd.h: Likewise.
16189 * posix/fnmatch.h: Likewise.
16190 * posix/glob.h: Likewise.
16191 * posix/sched.h: Likewise.
16192 * posix/spawn.h: Likewise.
16193 * posix/sys/wait.h: Likewise.
16194 * posix/unistd.h: Likewise.
16195 * posix/wordexp.h: Likewise.
16196 * pwd/pwd.h: Likewise.
16197 * resolv/netdb.h: Likewise.
16198 * resource/sys/resource.h: Likewise.
16199 * rt/aio.h: Likewise.
16200 * rt/bits/mqueue2.h: Likewise.
16201 * rt/mqueue.h: Likewise.
16202 * shadow/shadow.h: Likewise.
16203 * signal/signal.h: Likewise.
16204 * socket/send.c: Likewise.
16205 * socket/sendto.c: Likewise.
16206 * socket/sys/socket.h: Likewise.
16207 * stdio-common/printf.h: Likewise.
16208 * stdlib/bits/stdlib.h: Likewise.
16209 * stdlib/fmtmsg.h: Likewise.
16210 * stdlib/monetary.h: Likewise.
16211 * stdlib/stdlib.h: Likewise.
16212 * stdlib/ucontext.h: Likewise.
16213 * streams/stropts.h: Likewise.
16214 * string/argz.h: Likewise.
16215 * string/bits/string2.h: Likewise.
16216 * string/string.h: Likewise.
16217 * string/strings.h: Likewise.
16218 * sunrpc/rpc/auth.h: Likewise.
16219 * sunrpc/rpc/auth_des.h: Likewise.
16220 * sunrpc/rpc/clnt.h: Likewise.
16221 * sunrpc/rpc/netdb.h: Likewise.
16222 * sunrpc/rpc/pmap_clnt.h: Likewise.
16223 * sunrpc/rpc/xdr.h: Likewise.
16224 * sysdeps/generic/inttypes.h: Likewise.
16225 * sysdeps/generic/net/if.h: Likewise.
16226 * sysdeps/generic/sys/swap.h: Likewise.
16227 * sysdeps/gnu/net/if.h: Likewise.
16228 * sysdeps/gnu/utmpx.h: Likewise.
16229 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16230 * sysdeps/i386/i486/bits/string.h: Likewise.
16231 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16232 * sysdeps/s390/bits/string.h: Likewise.
16233 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16234 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16235 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16236 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16237 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16238 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16239 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16240 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16241 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16242 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16243 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16244 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16245 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16246 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16247 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16248 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16249 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16250 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16251 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16252 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16253 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16254 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16255 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16256 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16257 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16258 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16259 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16261 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16262 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16263 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16264 * sysvipc/sys/ipc.h: Likewise.
16265 * sysvipc/sys/msg.h: Likewise.
16266 * sysvipc/sys/sem.h: Likewise.
16267 * sysvipc/sys/shm.h: Likewise.
16268 * termios/termios.h: Likewise.
16269 * time/sys/time.h: Likewise.
16270 * time/time.h: Likewise.
16271 * wcsmbs/bits/wchar2.h: Likewise.
16272 * wcsmbs/uchar.h: Likewise.
16273 * wcsmbs/wchar.h: Likewise.
16274 * wctype/wctype.h: Likewise.
16275
16276 [BZ #13551]
16277 * Makeconfig: Remove all but ELF support including AIX support.
16278 * Makerules: Likewise.
16279 * config.h.in: Likewise.
16280 * config.make.in: Likewise.
16281 * configure: Likewise.
16282 * configure.in: Likewise.
16283 * csu/Makefile: Likewise.
16284 * csu/version.c: Likewise.
16285 * debug/Makefile: Likewise.
16286 * dlfcn/Makefile: Likewise.
16287 * elf/Makefile: Likewise.
16288 * extra-lib.mk: Likewise.
16289 * iconv/Makefile: Likewise.
16290 * include/libc-symbols.h: Likewise.
16291 * include/shlib-compat.h: Likewise.
16292 * resolv/Makefile: Likewise.
16293 * resolv/res_libc.c: Likewise.
16294 * rt/Makefile: Likewise.
16295 * sysdeps/i386/asm-syntax.h: Likewise.
16296 * sysdeps/i386/sysdep.h: Likewise.
16297 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16298 * sysdeps/mach/sysdep.h: Likewise.
16299 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16300 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16301 * sysdeps/s390/asm-syntax.h: Likewise.
16302 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16303 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16304 * sysdeps/sh/sysdep.h: Likewise.
16305 * sysdeps/unix/sparc/sysdep.h: Likewise.
16306 * sysdeps/wordsize-32/divdi3.c: Likewise.
16307 * sysdeps/x86_64/sysdep.h: Likewise.
16308
16309 * argp/Versions: Remove _argp_unlock_xxx.
16310
16311 [BZ #13559]
16312 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16313 * abilist/libBrokenLocale.abilist: Likewise.
16314 * abilist/libanl.abilist: Likewise.
16315 * abilist/libc.abilist: Likewise.
16316 * abilist/libcrypt.abilist: Likewise.
16317 * abilist/libdl.abilist: Likewise.
16318 * abilist/libm.abilist: Likewise.
16319 * abilist/libnsl.abilist: Likewise.
16320 * abilist/libpthread.abilist: Likewise.
16321 * abilist/libresolv.abilist: Likewise.
16322 * abilist/librt.abilist: Likewise.
16323 * abilist/libthread_db.abilist: Likewise.
16324 * abilist/libutil.abilist: Likewise.
16325 * abilist/libnss_db.abilist: New file.
16326
16327 * scripts/abilist.awk: Add support for indirect functions.
16328
16329 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16330
16331 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16332
16333 * shlib-versions: Remove entries for ports architectures.
16334
16335 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16336 files in ports.
16337 * elf/stackguard-macros.h: Remove support for IA-64.
16338 * elf/tst-auditmod1.c: Likewise.
16339 * sysdeps/generic/ldsodefs.h: Likewise.
16340
16341 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16342 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16343 configure files.
16344
16345 [BZ #13552]
16346 * configure.in: Remove --enable-omitfp support.
16347 * FAQ.in: Adjust.
16348 * config.make.in: Likewise.
16349 * Makeconfig: Likewise.
16350 * manual/install.texi: Likewise.
16351
16352 In case anyone cares, the IA-64 architecture could move to ports.
16353 * sysdeps/ia64/*: Removed.
16354 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16355 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16356
16357 [BZ #13555]
16358 * configure.in: Remove entries for unsupported architectures.
16359
16360 [BZ #13533]
16361 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16362 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16363 routines.
16364 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16365 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16366 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16367 fall back to using wcrtomb.
16368 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16369 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16370 renaming.
16371 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16372 * wcsmbs/tst-c16c32-1.c: New file.
16373
16374 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16375 local variable.
16376
16377 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16378
16379 * elf/tst-unique3.cc: Add explicit declaration of gets.
16380 * elf/tst-unique3lib.cc: Likewise.
16381 * elf/tst-unique3lib2.cc: Likewise.
16382 * elf/tst-unique4.cc: Likewise.
16383
16384 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16385
163862012-01-06 Joseph Myers <joseph@codesourcery.com>
16387
16388 [BZ #13566]
16389 * assert/assert.h (static_assert): Don't define for C++.
16390 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16391 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16392
163932012-01-03 Ulrich Drepper <drepper@gmail.com>
16394
16395 * iconv/loop.c (single loop): Fix assertion in storing of
16396 remaining bytes.
16397
16398 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16399
164002012-01-01 Ulrich Drepper <drepper@gmail.com>
16401
16402 * posix/getconf.c: Update copyright year.
16403 * nss/getent.c: Likewise.
16404 * nss/makedb.c: Likewise.
16405 * iconv/iconvconfig.c: Likewise.
16406 * iconv/iconv_prog.c: Likewise.
16407 * elf/ldconfig.c: Likewise.
16408 * elf/pldd.c: Likewise.
16409 * elf/sotruss.ksh: Likewise.
16410 * catgets/gencat.c: Likewise.
16411 * csu/version.c: Likewise.
16412 * elf/ldd.bash.in: Likewise.
16413 * elf/sprof.c (print_version): Likewise.
16414 * locale/programs/locale.c: Likewise.
16415 * locale/programs/localedef.c: Likewise.
16416 * login/programs/pt_chown.c: Likewise.
16417 * nscd/nscd.c (print_version): Likewise.
16418 * debug/xtrace.sh: Likewise.
16419 * malloc/memusage.sh: Likewise.
16420 * malloc/mtrace.pl: Likewise.
16421 * debug/catchsegv.sh: Likewise.
16422
164232011-12-30 Jakub Jelinek <jakub@redhat.com>
16424
16425 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16426 pure attribute.
16427
164282011-12-24 Ulrich Drepper <drepper@gmail.com>
16429
16430 [BZ #13533]
16431 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16432 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16433 transformations.
16434 * iconv/gconv_int.h: Likewise.
16435 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16436 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16437 from libc for GLIBC_2.16.
16438 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16439 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16440 * wcsmbs/uchar.h: Really define mbstate_t.
16441 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16442 * wcsmbs/c16rtomb.c: New file.
16443 * wcsmbs/mbrtoc16.c: New file.
16444 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16445 for C/POSIX locale.
16446 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16447 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16448
16449 * wcsmbs/wchar.h: Add missing __restrict.
16450
164512011-12-23 Ulrich Drepper <drepper@gmail.com>
16452
16453 [BZ #13532]
16454 * time/Makefile (routines): Add timespec_get.
16455 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16456 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16457 timespec for ISO C11.
16458 * time/timespec_get.c: New file.
16459 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16460 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16461
16462 [BZ #13531]
16463 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16464 * stdlib/stdlib.h: Declare aligned_alloc.
16465 * Versions.def: Add GLIBC_2.16 for libc.
16466 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16467
16468 [BZ 13527]
16469 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16470 ISO C11.
16471
16472 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16473 code.
16474
16475 [BZ #13528]
16476 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16477
16478 [BZ #13529]
16479 * assert/assert.h (static_assert): Define.
16480
16481 * version.h: Update for 2.16 development version.
16482
16483 [BZ #13526]
16484 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16485 _ISOC11_SOURCE.
16486
16487 * version.h (RELEASE): Bump for 2.15 release.
16488 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16489
16490 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16491 Patch by Marek Polacek <mpolacek@redhat.com>.
16492
16493 * bits/byteswap.h: Protect long long constants with __extension__.
16494 * sysdeps/i386/bits/byteswap.h: Likewise.
16495 * sysdeps/ia64/bits/byteswap.h: Likewise.
16496 * sysdeps/s390/bits/byteswap.h: Likewise.
16497 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16498
164992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16500
16501 [BZ #13540]
16502 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16503 destination buffer.
16504 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16505
165062011-12-23 Marek Polacek <polacek@redhat.com>
16507
16508 * elf/dl-addr.c (determine_info): Add inline keyword.
16509 * elf/tst-auditmod4b.c (check_avx): Likewise.
16510 * elf/tst-auditmod6b.c (check_avx): Likewise.
16511 * elf/tst-auditmod6c.c (check_avx): Likewise.
16512 * elf/tst-auditmod7b.c (check_avx): Likewise.
16513
165142011-12-23 Ulrich Drepper <drepper@gmail.com>
16515
16516 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16517 !__SSE_MATH__.
16518
165192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16520
16521 [BZ #13540]
16522 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16523 processing for last bytes.
16524
165252011-08-06 Bruno Haible <bruno@clisp.org>
16526
16527 [BZ #13061]
16528 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16529 U+0385, not to U+1FEE.
16530
16531 [BZ #13062]
16532 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16533 entry for U+00A5 U+0301.
16534
165352011-12-22 Ulrich Drepper <drepper@gmail.com>
16536
16537 [BZ #13166]
16538 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16539 buffer for the output is too small.
16540
16541 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16542 optimization.
16543
16544 [BZ #13185]
16545 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16546 SSE flags if possible.
16547
165482011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16549
16550 [BZ #13540]
16551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16552 processing for last bytes.
16553
165542011-12-22 Joseph Myers <joseph@codesourcery.com>
16555
16556 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16557 (syscall-list-default-options, syscall-list-default-condition)
16558 (syscall-list-includes): Define.
16559 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16560 list of ABIs and options and #if conditions for each ABI. Do not
16561 handle common syscalls between ABIs specially.
16562 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16563 Remove.
16564 (syscall-list-variants, syscall-list-32bit-options)
16565 (syscall-list-32bit-condition, syscall-list-64bit-options)
16566 (syscall-list-64bit-condition): Define.
16567 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16568 (syscall-list-variants, syscall-list-32bit-options)
16569 (syscall-list-32bit-condition, syscall-list-64bit-options)
16570 (syscall-list-64bit-condition): Define.
16571 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16572 Remove.
16573 (syscall-list-variants, syscall-list-32bit-options)
16574 (syscall-list-32bit-condition, syscall-list-64bit-options)
16575 (syscall-list-64bit-condition): Define.
16576 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16577 Remove.
16578 (syscall-list-variants, syscall-list-32bit-options)
16579 (syscall-list-32bit-condition, syscall-list-64bit-options)
16580 (syscall-list-64bit-condition): Define.
16581
165822011-12-22 Ulrich Drepper <drepper@gmail.com>
16583
16584 * locale/iso-639.def: Add brx entry.
16585
16586 [BZ #13328]
16587 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16588 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16589
16590 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16591 __feraiseexcept_renamed.
16592
165932011-12-21 Ulrich Drepper <drepper@gmail.com>
16594
16595 [BZ #13538]
16596 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16597 EPOLLET with unsigned values.
16598 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16599 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16600
16601 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16602 to large cancellation.
16603 * math/s_cacoshf.c: Likewise.
16604 * math/s_cacoshl.c: Likewise.
16605
166062011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16607
16608 [BZ #13305]
16609 [BZ #12786]
16610 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16611 * math/s_cacoshf.c: Likewise.
16612 * math/s_cacoshl.c: Likewise.
16613
166142011-12-21 Ulrich Drepper <drepper@gmail.com>
16615
16616 [BZ #13439]
16617 * iconv/gconv.h: Define __GCONV_SWAP.
16618 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16619 * iconvdata/utf-16.c: Likewise.
16620 * iconvdata/utf-32.c: Likewise.
16621
166222011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16623
16624 [BZ #13524]
16625 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16626 numerator after shifting it by one limb.
16627
166282011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16629
16630 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16631 under [__USE_EXTERN_INLINES].
16632
166332011-12-17 Ulrich Drepper <drepper@gmail.com>
16634
16635 [BZ #13446]
16636 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16637
166382011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16639
16640 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16641 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16642 optimized code.
16643 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16644 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16645 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16646 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16647 for strncasecmp/strncasecmp_l compilation.
16648 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16649 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16650
166512011-12-08 Marek Polacek <mpolacek@redhat.com>
16652
16653 [BZ #13484]
16654 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16655 of __asm__.
16656
166572011-12-17 Ulrich Drepper <drepper@gmail.com>
16658
16659 [BZ #13506]
16660 * time/tzfile.c (__tzfile_read): Check values from file header.
16661
166622011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16663
16664 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16665 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16666 * powerpc/powerpc32/dl-start.S: Likewise.
16667 * powerpc/powerpc32/elf/start.S: Likewise.
16668 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16669 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16670 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16671 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16672 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16673 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16674 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16675 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16676 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16677 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16678 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16679 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16680 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16681 * powerpc/powerpc32/memset.S: Likewise.
16682 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16683 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16684 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16685 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16686 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16687 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16688 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16689 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16690 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16691 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16692 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16693 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16694 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16695
166962011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16697
16698 * math/libm-test.inc: Added more nearbyint tests.
16699 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16700 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16701 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16702 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16703
167042011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16705
16706 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16707 FD_CLOEXEC.
16708
167092011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16710
16711 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16712 Add wcscpy-ssse3 wcscpy-c.
16713 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16714 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16715 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16716 * sysdeps/x86_64/wcschr.S: New file.
16717 * sysdeps/x86_64/wcsrchr.S: New file.
16718 * string/test-strcmp.c: Remove checking of wcscmp function for
16719 wrong alignments.
16720 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16721 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16722 wcsrchr-sse2 wcsrchr-c.
16723 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16724 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16725 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16726 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16727 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16728 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16729 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16730 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16731 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16732 * wcsmbc/wcschr.c (WCSCHR): New macro.
16733
167342011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16735
16736 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16737 * wcsmbs/test-wcsrchr.c: New file.
16738 * string/test-strrchr.c: Add wcsrchr support.
16739 (WIDE): New macro.
16740 * wcsmbs/test-wcscpy.c: New file.
16741 * string/test-strcpy.c: Add wcscpy support.
16742 (WIDE): New macro.
16743
167442011-12-10 Ulrich Drepper <drepper@gmail.com>
16745
16746 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16747 the inner loop.
16748
167492011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16750
16751 [BZ #13472]
16752 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16753
167542011-12-04 Ulrich Drepper <drepper@gmail.com>
16755
16756 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16757 Minor optimizations.
16758
16759 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16760 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16761 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16762
167632011-12-03 Ulrich Drepper <drepper@gmail.com>
16764
16765 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16766 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16767 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16768 for gcc to avoid warnings.
16769 * inet/Makefile (tests): Add tst-checks.
16770 * inet/tst-checks.c: New file.
16771
16772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16773 warning.
16774
16775 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16776 __wmemcmp_sse2.
16777
16778 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16779 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16780
16781 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16782
167832011-12-02 Ulrich Drepper <drepper@gmail.com>
16784
16785 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16786 problem.
16787
16788 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16789
167902011-11-29 Joseph Myers <joseph@codesourcery.com>
16791
16792 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16793 conditional on GCC version.
16794 (__arch_compare_and_exchange_val_8_acq)
16795 (__arch_compare_and_exchange_val_16_acq)
16796 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16797 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16798 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16799
168002011-12-02 Joseph Myers <joseph@codesourcery.com>
16801
16802 * sysdeps/sh/backtrace.c: New file.
16803
168042011-12-02 Andreas Schwab <schwab@redhat.com>
16805
16806 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16807 parenthesis.
16808
168092011-12-01 Andreas Schwab <schwab@redhat.com>
16810
16811 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16812 falling back to utime.
16813
168142011-11-30 Andreas Schwab <schwab@redhat.com>
16815
16816 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16817 expectations for float.
16818
168192011-11-29 Andreas Schwab <schwab@redhat.com>
16820
16821 * locale/weight.h (findidx): Add parameter len.
16822 * locale/weightwc.h (findidx): Likewise.
16823 * posix/fnmatch_loop.c (FCT): Adjust caller.
16824 * posix/regcomp.c (build_equiv_class): Likewise.
16825 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16826 * posix/regexec.c (check_node_accept_bytes): Likewise.
16827 * string/strcoll_l.c (STRCOLL): Likewise.
16828 * string/strxfrm_l.c (STRXFRM): Likewise.
16829
168302011-11-17 Ulrich Drepper <drepper@gmail.com>
16831
16832 * Makefile.in: Remove CVSOPT handling.
16833 * configure.in: Remove use of AC_REVISION.
16834 * iconvdata/Makefile (distribute): No need to filter out CVS.
16835 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16836 handling.
16837
168382011-11-16 Andreas Schwab <schwab@redhat.com>
16839
16840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16841 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16842 [USE_AS_STRNCASECMP_L]: Likewise.
16843 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16844 NO_TLS_DIRECT_SEG_REFS.
16845 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16846 Fix argument offsets for non-PIC.
16847 [USE_AS_STRNCASECMP_L]: Likewise.
16848 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16849 NO_TLS_DIRECT_SEG_REFS.
16850
168512011-11-15 Ulrich Drepper <drepper@gmail.com>
16852
16853 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
16854 O_CLOEXEC.
16855 * locale/loadlocale.c (_nl_load_locale): Likewise.
16856
168572011-11-15 Andreas Schwab <schwab@redhat.com>
16858
16859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16860 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16861 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16862 (SYSCALL_GETTIME): Set errno on error.
16863
16864 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16865 count references to noai6ai_cached.
16866
168672011-11-15 Ulrich Drepper <drepper@gmail.com>
16868
16869 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16870
16871 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16872 FD_CLOEXEC for /proc/self/maps.
16873
16874 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16875 FD_CLOEXEC for /proc/meminfo.
16876
16877 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16878 gai.conf.
16879
16880 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16881 FD_CLOEXEC for given file.
16882
16883 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16884
16885 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16886 FD_CLOEXEC for /etc/hosts.
16887 (_gethtent): Likewise.
16888
16889 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16890
16891 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16892 cancellation and set FD_CLOEXEC for /etc/netgroup.
16893
16894 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16895 reading /etc/publickey.
16896
16897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16898 allow cancellation when reading /etc/group.
16899
16900 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16901 cancellation.
16902 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16903
16904 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16905 when using data file.
16906
16907 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16908
16909 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16910 (write_nis_obj): Use "c" and "e" in fopen.
16911
16912 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16913
16914 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16915
16916 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16917
16918 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16919
16920 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16921 locale.alias.
16922
16923 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16924
16925 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16926
16927 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16928
16929 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16930 file parsing and set FD_CLOEXEC.
16931
169322011-11-14 Ulrich Drepper <drepper@gmail.com>
16933
16934 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16935
169362011-11-14 Andreas Schwab <schwab@redhat.com>
16937
16938 * malloc/arena.c (arena_get2): Don't call reused_arena when
16939 _int_new_arena failed.
16940
169412011-11-14 Ulrich Drepper <drepper@gmail.com>
16942
16943 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16944 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16945 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16947 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16948 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16949 to compile strcasecmp and strncasecmp.
16950 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16951 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16952
16953 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16954
169552011-11-13 Ulrich Drepper <drepper@gmail.com>
16956
16957 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16958 locale-defines.sym to gen-as-const-headers.
16959 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16960 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16961 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16962 to compile strcasecmp and strncasecmp.
16963 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16964 strcasecmp_l and strncasecmp_l.
16965 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16966 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16967 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16968 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16969 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16970 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16971 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16972 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16973 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16974 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16975 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16976
169772011-11-12 Ulrich Drepper <drepper@gmail.com>
16978
16979 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16980 result of SYSDEP_GETTIME_CPU to retval.
16981 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16982 parameter list to macro. Remove trailing semicolon. Adjust users.
16983
16984 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16985 variable.
16986
16987 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16988 mantissa words.
16989 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16990
16991 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16992 from unused variable.
16993
16994 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16995 DWARF definitions.
16996 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16997 for assembling.
16998
16999 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17000 over namespaces.
17001
17002 * sunrpc/rpc_prot.c (rejected): Fix case value.
17003
17004 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17005 unsigned long long int to avoid warnings in shift.
17006
17007 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17008 of use of trans.
17009 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17010 variable tmp.
17011
17012 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17013 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17014 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17015
17016 * nis/nis_table.c (nis_list): Use variable of correct type for
17017 result of __follow_path call.
17018
170192011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17020
17021 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17022 of math functions ceil, trunc, floor, round, and sqrt, when
17023 avaliable on the platform.
17024 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17025 name clash.
17026 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17027 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17028 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17029
170302011-10-30 Marek Polacek <mpolacek@redhat.com>
17031
17032 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17033 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17034
170352011-11-11 Roland McGrath <roland@hack.frob.com>
17036
17037 * include/unistd.h: Fix __readlink return type.
17038 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17039
170402011-11-11 Ulrich Drepper <drepper@gmail.com>
17041
17042 * stdlib/ucontext.h: Undo last change for makecontext.
17043
170442011-11-11 Andreas Schwab <schwab@redhat.com>
17045
17046 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17047
17048 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17049 * setjmp/setjmp.h: Mark functions as non-leaf.
17050 * setjmp/bits/setjmp2.h: Likewise.
17051 * stdlib/ucontext.h: Likewise.
17052
170532011-11-10 Andreas Schwab <schwab@redhat.com>
17054
17055 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17056 (reused_arena): Don't check arena limit.
17057 (arena_get2): Atomically check arena limit.
17058
170592011-11-08 Ulrich Drepper <drepper@gmail.com>
17060
17061 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17062 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17063
17064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17065 instructions.
17066
170672011-11-07 Andreas Schwab <schwab@redhat.com>
17068
17069 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17070 handler when locking.
17071
17072 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17073 Fix size of allocated buffer.
17074
170752011-11-04 Andreas Schwab <schwab@redhat.com>
17076
17077 [BZ #10103]
17078 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17079 declarations for long double functions.
17080 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17081
17082 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17083
170842011-11-03 Andreas Schwab <schwab@redhat.com>
17085
17086 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17087 installed.
17088
17089 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17090 is disabled.
17091
170922011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17093
17094 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17095
170962011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17097
17098 * include/alloca.h (stackinfo_alloca_round): Define.
17099 (extend_alloca): Use it.
17100 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17101 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17102 here.
17103
17104 * scripts/check-local-headers.sh: Ignore libaudit.h.
17105
17106 * nscd/Makefile (extra-objs): Make recursively expanded.
17107
171082011-11-01 Ulrich Drepper <drepper@gmail.com>
17109
17110 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17111 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17112
17113 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17114 * posix/tst-rfc3484-2.c: Likewise.
17115 * posix/tst-rfc3484-3.c: Likewise.
17116
17117 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17118 process_vm_writev.
17119 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17120 process_vm_writev.
17121 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17122 process_vm_writev from libc using GLIBC_2.15 version.
17123
17124 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17125
171262011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17127
17128 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17129 stack usage.
17130
171312011-10-31 Ulrich Drepper <drepper@gmail.com>
17132
17133 [BZ #13367]
17134 * nss/getent.c (initgroups_keys): Show error message in case no group
17135 names are given.
17136
17137 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17138 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17139 __bump_nl_timestamp.
17140 * nscd/connections (nscd_init): When host database is served open
17141 netlink socket and request notification about configuration changes.
17142 (main_loop_poll): Track netlink file descriptor and bump timestamp
17143 in case data becomes available.
17144 (main_loop_epoll): Likewise.
17145 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17146 (database_pers_head): Add extra_data fileds.
17147 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17148 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17149 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17150 Adjust caller.
17151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17152 in6ai data, call __free_in6ai.
17153 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17154 Add -DHAVE_NETLINK.
17155 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17156 interface information. Reuse previous data if netlink timestamp
17157 is not changed.
17158 (__bump_nl_timestamp): New function.
17159 (__free_in6ai): New function.
17160
171612011-10-30 Ulrich Drepper <drepper@gmail.com>
17162
17163 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17164 close_not_cancel_no_status here.
17165 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17166
171672011-10-29 Ulrich Drepper <drepper@gmail.com>
17168
17169 [BZ #13276]
17170 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17171 return value.
17172
17173 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17174 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17175 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17176
171772011-07-03 Andreas Jaeger <aj@suse.de>
17178
17179 [BZ #10709]
17180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17181 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17182 * math/libm-test.inc (sin_test): Add test case.
17183
171842011-10-29 Ulrich Drepper <drepper@gmail.com>
17185
17186 [BZ #13337]
17187 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17188 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17189
17190 * elf/chroot_canon.c (chroot_canon): Cleanups.
17191
17192 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17193
17194 [BZ #13335]
17195 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17196 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17197
17198 * string/test-strchr.c: Make usable for strchrnul testing.
17199 * string/test-strchrnul.c: New file.
17200 * string/Makefile (strop-tests): Add strchrnul.
17201
17202 * po/it.po: Update from translation team.
17203 * po/es.po: Likewise.
17204
172052011-10-28 Ulrich Drepper <drepper@gmail.com>
17206
17207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17208 the three constants needed as parameters. Drop the others.
17209 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17210 __m128i_strloadu_tolower.
17211 Create and initialize variable zero and use it in all the places
17212 where _mm_setzero_si128 was used.
17213
17214 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17215 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17216 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17217 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17218 anymore.
17219 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17220 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17221 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17222 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17223 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17224 __mpranred, __mptan.
17225 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17226 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17227 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17228 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17229 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17230 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17231 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17232 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17233 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17234
172352011-10-28 Andreas Schwab <schwab@redhat.com>
17236
17237 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17238 redefine if SHARED.
17239 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17240
17241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17242 wide char related routines to wcsmbs subdir.
17243
172442011-10-27 Andreas Schwab <schwab@redhat.com>
17245
17246 [BZ #13344]
17247 * misc/sys/cdefs.h (__THROWNL): Define.
17248 * posix/unistd.h: Use __THREADNL instead of __THREAD
17249 for memory synchronization functions.
17250
172512011-10-26 Roland McGrath <roland@hack.frob.com>
17252
17253 [BZ #13349]
17254 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17255 doesn't exist.
17256 * manual/stdio.texi (Obstack Streams): Node removed.
17257
172582011-10-26 Andreas Schwab <schwab@redhat.com>
17259
17260 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17261 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17262 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17263
17264 * math/math_private.h (math_force_eval): Allow non-addressable
17265 arguments.
17266 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17267
172682011-10-25 Ulrich Drepper <drepper@gmail.com>
17269
17270 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17271 file is not needed.
17272
17273 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17274 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17275 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17276 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17277 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17278 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17279 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17280 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17281 Add AVX variants.
17282 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17283 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17284 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17285 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17286 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17287 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17288 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17289 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17290 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17291 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17292 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17293 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17295 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17296 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17297 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17298 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17299 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17300 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17301
17302 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17303 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17304
17305 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17306 place. Use VEX encoding when compiling for AVX.
17307
173082011-10-25 Andreas Schwab <schwab@redhat.com>
17309
17310 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17311 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17312
17313 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17314
173152011-10-25 Ulrich Drepper <drepper@gmail.com>
17316
17317 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17318 useless if() expression.
17319 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17329 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17331 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17332 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17333 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17334 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17335 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17337 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17338
17339 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17340
173412011-10-25 Andreas Schwab <schwab@redhat.com>
17342
17343 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17344 condition.
17345 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17346
173472011-10-25 Ulrich Drepper <drepper@gmail.com>
17348
17349 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17350 .text section. Avoid duplicate constants.
17351 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17361 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17363 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17366 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17368 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17373 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17374 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17375 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17376 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17377 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17378 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17379 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17380 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17381 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17382 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17383 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17384 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17385 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17386 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17387 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17388 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17389 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17390 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17391 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17393 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17394 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17395 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17396
173972011-10-24 Ulrich Drepper <drepper@gmail.com>
17398
17399 * sysdeps/x86_64/dla.h: Move to ...
17400 * sysdeps/x86_64/fpu/dla.h: ...here.
17401 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17402 situations. Use __builtin_fma only for gcc 4.6 and up.
17403
17404 * config.make.in: Add have-mfma4 entry.
17405 * configure.in: Substitute libc_cv_cc_fma4.
17406 * math/Makefile (dbl-only-routines): Add sincostab.
17407 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17408 Use __sincostab not sincos.
17409 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17410 name is a macro.
17411 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17415 using __copysign.
17416 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17417 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17418 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17419 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17420 and __inv.
17421 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17422 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17423 __copysign.
17424 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17425 define aliases when function name is a macro.
17426 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17427 sysdeps/ieee754/dbl-64/sincos.tbl.
17428 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17429 fma4-enabled routines.
17430 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17431 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17432 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17433 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17435 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17437 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17439 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17440 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17441 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17442 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17443 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17444 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17445 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17446 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17447 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17448 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17450 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17451 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17452 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17454 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17457 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17458 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17459 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17460
17461 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17462 rename.
17463 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17468 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17469 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17471
174722011-10-24 Andreas Schwab <schwab@redhat.com>
17473
17474 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17475
174762011-10-23 Ulrich Drepper <drepper@gmail.com>
17477
17478 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17479
17480 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17481 prediction.
17482 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17483
17484 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17485 Remove unused variable magic_bits.
17486 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17487
17488 * string/strnlen.c: Define and use STRNLEN macro.
17489 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17490 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17491 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17492 * wcsmbs/wcslen.c: Define and use WCSLEN.
17493 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17494 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17495 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17496 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17497 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17498 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17499 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17500
175012011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17502
17503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17504 strnlen-sse2-no-bsf.
17505 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17507 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17508 Add strnlen support.
17509 (USE_AS_STRNLEN): New macro.
17510 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17511 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17512 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17513 * sysdeps/x86_64/wcslen.S: New file.
17514
175152011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17516
17517 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17518 XMM-moves are used for copying on small sizes.
17519
175202011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17521
17522 * wcsmbs/Makefile (strop-tests): Add wcschr.
17523 * wcsmbs/test-wcschr.c: New file.
17524 * string/test-strchr.c: Update.
17525 Add wcschr support.
17526 (WIDE): New macro.
17527
175282011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17529
17530 * wcsmbs/Makefile (strop-tests): Add wcslen.
17531 * wcsmbs/test-wcslen.c: New file.
17532 * string/test-strlen.c: Update.
17533 Add wcslen support.
17534 (WIDE): New macro.
17535
175362011-10-23 Ulrich Drepper <drepper@gmail.com>
17537
17538 * po/it.po: Update from translation team.
17539
175402011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17541
17542 * sysdeps/x86_64/wcscmp.S: Update.
17543 Fix wrong comparison semantics.
17544 wcscmp shall use signed comparison not unsigned.
17545 Don't use substraction to avoid overflow bug.
17546 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17547 * wcsmbc/wcscmp.c: Likewise.
17548 * string/test-strcmp.c: Likewise.
17549 Add new tests to check cases with negative values.
17550
175512011-10-23 Ulrich Drepper <drepper@gmail.com>
17552
17553 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17554 * sysdeps/x86_64/dla.h: ...here. New file.
17555 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17559 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17564
175652011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17566
17567 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17568 __ynl_finite aliases.
17569
175702011-10-22 Ulrich Drepper <drepper@gmail.com>
17571
17572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17573
17574 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17575 define DLA_FMA.
17576 [DLA_FMA] (EMULV): Use DLA_FMA.
17577 [DLA_FMA] (MUL12): Use EMULV.
17578 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17579 that are not needed.
17580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17586 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17587
175882011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17589
17590 * math/s_nan.c: Undef __nan.
17591 * math/s_nanf.c: Undef __nanf.
17592 * math/s_nanl.c: Undef __nanl.
17593 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17594 "math_private.h".
17595
175962011-10-22 Ulrich Drepper <drepper@gmail.com>
17597
17598 * math/s_catan.c: Add branch predictions.
17599 * math/s_catanf.c: Likewise.
17600 * math/s_catanh.c: Likewise.
17601 * math/s_catanhf.c: Likewise.
17602 * math/s_catanhl.c: Likewise.
17603 * math/s_catanl.c: Likewise.
17604 * math/s_cexp.c: Likewise.
17605 * math/s_cexpf.c: Likewise.
17606 * math/s_cexpl.c: Likewise.
17607 * math/s_clog.c: Likewise.
17608 * math/s_clog10.c: Likewise.
17609 * math/s_clog10f.c: Likewise.
17610 * math/s_clog10l.c: Likewise.
17611 * math/s_clogf.c: Likewise.
17612 * math/s_clogl.c: Likewise.
17613 * math/s_csqrt.c: Likewise.
17614 * math/s_csqrtf.c: Likewise.
17615 * math/s_csqrtl.c: Likewise.
17616 * math/s_ctanf.c: Likewise.
17617 * math/s_ctanh.c: Likewise.
17618 * math/s_ctanhf.c: Likewise.
17619 * math/s_ctanhl.c: Likewise.
17620 * math/s_ctanl.c: Likewise.
17621
17622 * math/math_private.h: Define __nan, __nanf, __nanl.
17623 * math/s_cacosh.c: Include <math_private.h>.
17624 * math/s_cacoshl.c: Likewise.
17625 * math/s_casinh.c: Likewise.
17626 * math/s_casinhf.c: Likewise.
17627 * math/s_casinhl.c: Likewise.
17628 * math/s_ccos.c: Rely entire on ccosh.
17629 * math/s_ccosf.c: Rely entire on ccoshf.
17630 * math/s_ccosl.c: Rely entirely on ccoshl.
17631 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17632 Remove tests for FE_INVALID.
17633 * math/s_ccoshf.c: Likewise.
17634 * math/s_ccoshl.c: Likewise.
17635 * math/s_csin.c: Likewise.
17636 * math/s_csinf.c: Likewise.
17637 * math/s_csinh.c Likewise.
17638 * math/s_csinhf.c: Likewise.
17639 * math/s_csinhl.c: Likewise.
17640 * math/s_csinl.c: Likewise.
17641 * math/s_ctan.c: Likewise.
17642 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17643 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17644 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17645
176462011-10-21 Ulrich Drepper <drepper@gmail.com>
17647
17648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17649 compilation problems.
17650
17651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17652 __builtin_expect.
17653
176542011-10-20 Ulrich Drepper <drepper@gmail.com>
17655
17656 * sysdeps/i386/configure.in: Test for -mfma4 option.
17657 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17658 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17659 COMMON_CPUID_INDEX_80000001.
17660 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17661 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17662 use it if FMA3 is not supported.
17663 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17664
17665 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17666 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17667
176682011-10-20 Andreas Schwab <schwab@redhat.com>
17669
17670 [BZ #12892]
17671 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17672 it would create a cycle with a link time dependency.
17673
176742011-10-19 Ulrich Drepper <drepper@gmail.com>
17675
17676 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17677 instruction.
17678 * string/Makefile (strop-tests): Add rawmemchr.
17679 * string/test-rawmemchr.c: New file.
17680
17681 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17682 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17683 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17684 when compiling str{,n}casecmp and when AVX is available. Hook up
17685 new optimized code in initializers.
17686
176872011-10-19 Andreas Schwab <schwab@redhat.com>
17688
17689 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17690 __feraiseexcept instead of feraiseexcept.
17691
176922011-10-18 Ulrich Drepper <drepper@gmail.com>
17693
17694 * math/math_private.h: Define defaults for libc_fetestexcept and
17695 libc_feupdateenv.
17696 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17697 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17698 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17699 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17701 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17702 libc_fetestexcept and libc_feupdateenv.
17703
17704 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17705 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17706 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17707 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17708 libc_feholdexcept_setround.
17709
17710 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17711 Add s_nearbyint-c and s_nearbyintf-c.
17712 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17713 nearbyintf inlines.
17714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17715 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17716 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17717 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17718
17719 * math/math_private.h: Define defaults for libc_fegetround,
17720 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17721 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17722 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17724 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17725 standard functions.
17726 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17727 Remove comments and hacks for old compiler versions.
17728 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17729 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17730 libc_feholdexceptl.
17731
177322011-10-18 Andreas Schwab <schwab@redhat.com>
17733
17734 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17735 (__feraiseexcept_renamed): Add __NTH.
17736 (feraiseexcept): Add __NTH. Rename local variables to fix
17737 namespace violations.
17738
177392011-10-17 Ulrich Drepper <drepper@gmail.com>
17740
17741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17742
17743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17744
17745 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17746 recently added interfaces.
17747 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17748
17749 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17750 about macro parameter expansion.
17751
17752 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17753 __NO_MATH_INLINES is defined. Cleanups.
17754
17755 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17756 and __floorf is target has SSE4.1.
17757 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17758 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17759 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17760 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17761
17762 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17763 name.
17764 (floorf): Likewise.
17765
17766 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17767
177682011-10-17 Andreas Schwab <schwab@redhat.com>
17769
17770 * misc/sys/cdefs.h: Fix last change.
17771
17772 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17773 database lookup.
17774
177752011-10-16 Ulrich Drepper <drepper@gmail.com>
17776
17777 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17778
17779 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17780 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17785 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17786 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17787 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17788 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17789 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17790 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17791 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17792 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17793 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17794 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17795 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17796 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17797 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17798 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17799 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17800 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17801
17802 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17803 ceil, ceilf, floor, floorf.
17804
17805 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17806 Perform IRELATIVE relocations last.
17807
17808 * elf/do-rel.h: Add another parameter nrelative, replacing the
17809 local variable with the same name. Change name of the function
17810 to end in Rel or Rela (uppercase).
17811 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17812 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17813 elf_dynamic_do_##reloc function.
17814
178152011-10-15 Ulrich Drepper <drepper@gmail.com>
17816
17817 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17818 is sufficient, at least on modern CPUs.
17819
17820 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17821
17822 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17823 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17824
17825 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17826 __expl_finite.
17827 * math/bits/math-finite.h: Add entries for exp.
17828 * math/e_expl.c: Add __*_finite alias.
17829 * sysdeps/i386/fpu/e_exp.S: Likewise.
17830 * sysdeps/i386/fpu/e_expf.S: Likewise.
17831 * sysdeps/i386/fpu/e_expl.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17833 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17837 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17838 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17839
17840 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17841 is sufficient, at least on modern CPUs.
17842
17843 * ctype/ctype-info.c (__ctype_init): Define.
17844 * include/ctype.h (__ctype_init): Declare.
17845 (__ctype_b_loc): The variable is always initialized.
17846 (__ctype_toupper_loc): Likewise.
17847 (__ctype_tolower_loc): Likewise.
17848 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17849 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17850
178512011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17852
17853 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17854
17855 * configure.in: Also look in $cxxmachine/include for C++ system
17856 headers.
17857
178582011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17859
17860 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17861 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17862 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17863 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17864 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17865 (USE_AS_WMEMCMP): New macro.
17866 Fixing indents.
17867 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17868 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17869 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17870 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17872 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17873 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17874 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17875 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17876 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17877 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17878 (USE_AS_WMEMCMP): New macro.
17879 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17880 * sysdeps/string/test-memcmp.c: Update.
17881 Fix simple_wmemcmp.
17882 Add new tests.
17883 * wcsmbs/wmemcmp.c: Update.
17884 (WMEMCMP): New macro.
17885 Fix overflow bug.
17886
178872011-10-12 Andreas Jaeger <aj@suse.de>
17888
17889 [BZ #13268]
17890 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17891
178922011-10-15 Ulrich Drepper <drepper@gmail.com>
17893
17894 * libio/iofwide.c (do_length): Avoid warning.
17895
17896 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17897
178982011-10-14 Ulrich Drepper <drepper@gmail.com>
17899
17900 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17901
17902 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17903 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17904 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17905 * sysdeps/i386/i686/fpu/e_log.S: New file.
17906 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17907 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17908
17909 * ctype/ctype.h: Add support for inlined isXXX functions when
17910 compiling C++ code.
17911
179122011-10-14 Andreas Schwab <schwab@redhat.com>
17913
17914 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17915
17916 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17917
179182011-10-13 Roland McGrath <roland@hack.frob.com>
17919
17920 [BZ #13291]
17921 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17922
179232011-10-13 Andreas Schwab <schwab@redhat.com>
17924
17925 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17926 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17927 feraiseexcept.
17928
17929 * sysdeps/x86_64/memrchr.S: Check for zero size.
17930
17931 * string/stratcliff.c: Add memrchr tests.
17932
179332011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17934
17935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17936 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17937 rawmemchr-sse2 rawmemchr-sse2-bsf.
17938 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17939 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17940 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17941 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17942 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17943 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17944 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17945 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17946 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17947 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17948 * string/memrchr.c (MEMRCHR): New macro.
17949
179502011-10-12 Ulrich Drepper <drepper@gmail.com>
17951
17952 Add integration with gcc's -ffinite-math-only and optimize wrapper
17953 functions in libm.
17954 * Versions.def: Define GLIBC_2.15 version for libm.
17955 * math/Makefile (headers): Add bits/math-finite.h.
17956 * math/bits/math-finite.h: New file.
17957 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17958 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17959 * math/e_acoshl.c: Add __*_finite alias.
17960 * math/e_acosl.c: Likewise.
17961 * math/e_asinl.c: Likewise.
17962 * math/e_atan2l.c: Likewise.
17963 * math/e_atanhl.c: Likewise.
17964 * math/e_coshl.c: Likewise.
17965 * math/e_exp10.c: Likewise.
17966 * math/e_exp10f.c: Likewise.
17967 * math/e_exp10l.c: Likewise.
17968 * math/e_exp2l.c: Likewise.
17969 * math/e_fmodl.c: Likewise.
17970 * math/e_gammal_r.c: Likewise.
17971 * math/e_hypotl.c: Likewise.
17972 * math/e_j0l.c: Likewise.
17973 * math/e_j1l.c: Likewise.
17974 * math/e_jnl.c: Likewise.
17975 * math/e_lgammal_r.c: Likewise.
17976 * math/e_log10l.c: Likewise.
17977 * math/e_log2l.c: Likewise.
17978 * math/e_logl.c: Likewise.
17979 * math/e_powl.c: Likewise.
17980 * math/e_sinhl.c: Likewise.
17981 * math/e_sqrtl.c: Likewise.
17982 * math/e_scalb.c: Completely rewritten and optimized.
17983 * math/e_scalbf.c: Likewise.
17984 * math/e_scalbl.c: Likewise.
17985 * math/w_acos.c: Likewise.
17986 * math/w_acosf.c: Likewise.
17987 * math/w_acosl.c: Likewise.
17988 * math/w_acosh.c: Likewise.
17989 * math/w_acoshf.c: Likewise.
17990 * math/w_acoshl.c: Likewise.
17991 * math/w_asin.c: Likewise.
17992 * math/w_asinf.c: Likewise.
17993 * math/w_asinl.c: Likewise.
17994 * math/w_atan2.c: Likewise.
17995 * math/w_atan2f.c: Likewise.
17996 * math/w_atan2l.c: Likewise.
17997 * math/w_atanh.c: Likewise.
17998 * math/w_atanhf.c: Likewise.
17999 * math/w_atanhl.c: Likewise.
18000 * math/w_exp10.c: Likewise.
18001 * math/w_exp10f.c: Likewise.
18002 * math/w_exp10l.c: Likewise.
18003 * math/w_fmod.c: Likewise.
18004 * math/w_fmodf.c: Likewise.
18005 * math/w_fmodl.c: Likewise.
18006 * math/w_j0.c: Likewise.
18007 * math/w_j0f.c: Likewise.
18008 * math/w_j0l.c: Likewise.
18009 * math/w_j1.c: Likewise.
18010 * math/w_j1f.c: Likewise.
18011 * math/w_j1l.c: Likewise.
18012 * math/w_jn.c: Likewise.
18013 * math/w_jnf.c: Likewise.
18014 * math/w_log.c: Likewise.
18015 * math/w_logf.c: Likewise.
18016 * math/w_logl.c: Likewise.
18017 * math/w_log10.c: Likewise.
18018 * math/w_log10f.c: Likewise.
18019 * math/w_log10l.c: Likewise.
18020 * math/w_log2.c: Likewise.
18021 * math/w_log2f.c: Likewise.
18022 * math/w_log2l.c: Likewise.
18023 * math/w_pow.c: Likewise.
18024 * math/w_powf.c: Likewise.
18025 * math/w_powl.c: Likewise.
18026 * math/w_remainder.c: Likewise.
18027 * math/w_remainderf.c: Likewise.
18028 * math/w_remainderl.c: Likewise.
18029 * math/w_scalb.c: Likewise.
18030 * math/w_scalbf.c: Likewise.
18031 * math/w_scalbl.c: Likewise.
18032 * math/w_sqrt.c: Likewise.
18033 * math/w_sqrtf.c: Likewise.
18034 * math/w_sqrtl.c: Likewise.
18035 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18036 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18037 used.
18038 * math/math_private.h: Declare __kernel_standard_f.
18039 * math/w_cosh.c: Remove cruft and optimize a bit.
18040 * math/w_coshf.c: Likewise.
18041 * math/w_coshl.c: Likewise.
18042 * math/w_exp2.c: Likewise.
18043 * math/w_exp2f.c: Likewise.
18044 * math/w_exp2l.c: Likewise.
18045 * math/w_hypot.c: Likewise.
18046 * math/w_hypotf.c: Likewise.
18047 * math/w_hypotl.c: Likewise.
18048 * math/w_lgamma.c: Likewise.
18049 * math/w_lgamma_r.c: Likewise.
18050 * math/w_lgammaf.c: Likewise.
18051 * math/w_lgammaf_r.c: Likewise.
18052 * math/w_lgammal.c: Likewise.
18053 * math/w_lgammal_r.c: Likewise.
18054 * math/w_sinh.c: Likewise.
18055 * math/w_sinhf.c: Likewise.
18056 * math/w_sinhl.c: Likewise.
18057 * math/w_tgamma.c: Likewise.
18058 * math/w_tgammaf.c: Likewise.
18059 * math/w_tgammal.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18061 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18062 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18063 Minor optimizations. Pretty printing. Remove cruft.
18064 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18065 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18066 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18067 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18068 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18069 * sysdeps/i386/fpu/e_asin.S: Likewise.
18070 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18071 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18072 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18073 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18074 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18075 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18076 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18077 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18078 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18079 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18080 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18081 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18082 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18083 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18084 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18085 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18086 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18087 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18088 * sysdeps/i386/fpu/e_log.S: Likewise.
18089 * sysdeps/i386/fpu/e_log10.S: Likewise.
18090 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18091 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18092 * sysdeps/i386/fpu/e_log2.S: Likewise.
18093 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18095 * sysdeps/i386/fpu/e_logf.S: Likewise.
18096 * sysdeps/i386/fpu/e_logl.S: Likewise.
18097 * sysdeps/i386/fpu/e_pow.S: Likewise.
18098 * sysdeps/i386/fpu/e_powf.S: Likewise.
18099 * sysdeps/i386/fpu/e_powl.S: Likewise.
18100 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18101 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18102 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18103 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18104 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18105 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18106 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18107 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18108 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18130 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18131 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18134 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18135 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18136 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18137 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18138 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18140 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18141 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18143 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18144 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18145 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18146 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18147 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18150 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18189 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18192 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18194 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18195 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18197 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18200 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18201 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18202 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18203 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18204 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18205 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18206 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18207 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18208 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18209 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18210 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18211 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18212 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18213 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18214 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18215 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18216 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18217 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18218 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18219 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18220 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18221 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18222 (__isnanf): Likewise.
18223 (__isinf_ns): Likewise.
18224 (__isinf_nsf): Likewise.
18225 (__finite): Likewise.
18226 (__finitef): Likewise.
18227 (__ieee754_sqrt): Define as macro.
18228 (__ieee754_sqrtf): Define as macro.
18229 (__ieee754_sqrtl): Define as macro.
18230 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18231 inlined copy.
18232 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18233 __FINITE_MATH_ONLY__ consistent.
18234 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18235
182362011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18237
18238 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18239 of rawmemchr.
18240
18241 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18242
182432011-10-09 Ulrich Drepper <drepper@gmail.com>
18244
18245 * po/ja.po: Update from translation team.
18246
182472011-10-08 Roland McGrath <roland@hack.frob.com>
18248
18249 * locale/programs/locarchive.c (prepare_address_space): New function.
18250 (create_archive, enlarge_archive, open_archive): Use it.
18251
18252 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18253 inside [SHARED], where it is used.
18254
18255 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18256
18257 * nss/getent.c (netgroup_keys): Remove unused variable.
18258 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18259
182602011-10-08 Ulrich Drepper <drepper@gmail.com>
18261
18262 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18263 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18265 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18266 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18267 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18268 * math/Makefile (libm-calls): Add s_isinf_ns.
18269 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18270 * math/multc3.c: Likewise.
18271 * math/s_casin.c: Likewise.
18272 * math/s_casinf.c: Likewise.
18273 * math/s_casinl.c: Likewise.
18274 * math/s_ccos.c: Likewise.
18275 * math/s_ccosf.c: Likewise.
18276 * math/s_ccosl.c: Likewise.
18277 * math/s_ctan.c: Likewise.
18278 * math/s_ctanf.c: Likewise.
18279 * math/s_ctanh.c: Likewise.
18280 * math/s_ctanhf.c: Likewise.
18281 * math/s_ctanhl.c: Likewise.
18282 * math/s_ctanl.c: Likewise.
18283 * math/w_fmod.c: Likewise.
18284 * math/w_fmodf.c: Likewise.
18285 * math/w_fmodl.c: Likewise.
18286 * math/w_remainder.c: Likewise.
18287 * math/w_remainderf.c: Likewise.
18288 * math/w_remainderl.c: Likewise.
18289 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18290 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18293 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18294 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18295 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18296 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18297
18298 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18299 of the number.
18300 * stdio-common/printf_fphex.c: Likewise.
18301 * stdio-common/printf_size.c: Likewise.
18302
18303 * math/e_exp10.c: Include math_private.h using <...> not "...".
18304 * math/e_exp10f.c: Likewise.
18305 * math/e_exp10l.c: Likewise.
18306 * math/e_exp2l.c: Likewise.
18307 * math/e_j0l.c: Likewise.
18308 * math/e_j1l.c: Likewise.
18309 * math/e_jnl.c: Likewise.
18310 * math/e_lgammal_r.c: Likewise.
18311 * math/e_rem_pio2l.c: Likewise.
18312 * math/e_scalb.c: Likewise.
18313 * math/e_scalbf.c: Likewise.
18314 * math/e_scalbl.c: Likewise.
18315 * math/k_cosl.c: Likewise.
18316 * math/k_sinl.c: Likewise.
18317 * math/k_tanl.c: Likewise.
18318 * math/s_cacoshf.c: Likewise.
18319 * math/s_catan.c: Likewise.
18320 * math/s_catanf.c: Likewise.
18321 * math/s_catanh.c: Likewise.
18322 * math/s_catanhf.c: Likewise.
18323 * math/s_catanhl.c: Likewise.
18324 * math/s_catanl.c: Likewise.
18325 * math/s_ccosh.c: Likewise.
18326 * math/s_ccoshf.c: Likewise.
18327 * math/s_ccoshl.c: Likewise.
18328 * math/s_cexp.c: Likewise.
18329 * math/s_cexpf.c: Likewise.
18330 * math/s_cexpl.c: Likewise.
18331 * math/s_clog.c: Likewise.
18332 * math/s_clog10.c: Likewise.
18333 * math/s_clog10f.c: Likewise.
18334 * math/s_clog10l.c: Likewise.
18335 * math/s_clogf.c: Likewise.
18336 * math/s_clogl.c: Likewise.
18337 * math/s_csin.c: Likewise.
18338 * math/s_csinf.c: Likewise.
18339 * math/s_csinh.c: Likewise.
18340 * math/s_csinhf.c: Likewise.
18341 * math/s_csinhl.c: Likewise.
18342 * math/s_csinl.c: Likewise.
18343 * math/s_csqrt.c: Likewise.
18344 * math/s_csqrtf.c: Likewise.
18345 * math/s_csqrtl.c: Likewise.
18346 * math/s_ctan.c: Likewise.
18347 * math/s_ctanf.c: Likewise.
18348 * math/s_ctanh.c: Likewise.
18349 * math/s_ctanhf.c: Likewise.
18350 * math/s_ctanhl.c: Likewise.
18351 * math/s_ctanl.c: Likewise.
18352 * math/s_ldexp.c: Likewise.
18353 * math/s_ldexpf.c: Likewise.
18354 * math/s_ldexpl.c: Likewise.
18355 * math/s_significand.c: Likewise.
18356 * math/s_significandf.c: Likewise.
18357 * math/s_significandl.c: Likewise.
18358 * math/w_acos.c: Likewise.
18359 * math/w_acosf.c: Likewise.
18360 * math/w_acosh.c: Likewise.
18361 * math/w_acoshf.c: Likewise.
18362 * math/w_acoshl.c: Likewise.
18363 * math/w_acosl.c: Likewise.
18364 * math/w_asin.c: Likewise.
18365 * math/w_asinf.c: Likewise.
18366 * math/w_asinl.c: Likewise.
18367 * math/w_atan2.c: Likewise.
18368 * math/w_atan2f.c: Likewise.
18369 * math/w_atan2l.c: Likewise.
18370 * math/w_atanh.c: Likewise.
18371 * math/w_atanhf.c: Likewise.
18372 * math/w_atanhl.c: Likewise.
18373 * math/w_cosh.c: Likewise.
18374 * math/w_coshf.c: Likewise.
18375 * math/w_coshl.c: Likewise.
18376 * math/w_dremf.c: Likewise.
18377 * math/w_exp10.c: Likewise.
18378 * math/w_exp10f.c: Likewise.
18379 * math/w_exp10l.c: Likewise.
18380 * math/w_exp2.c: Likewise.
18381 * math/w_exp2f.c: Likewise.
18382 * math/w_fmod.c: Likewise.
18383 * math/w_fmodf.c: Likewise.
18384 * math/w_fmodl.c: Likewise.
18385 * math/w_hypot.c: Likewise.
18386 * math/w_hypotf.c: Likewise.
18387 * math/w_hypotl.c: Likewise.
18388 * math/w_j0.c: Likewise.
18389 * math/w_j0f.c: Likewise.
18390 * math/w_j0l.c: Likewise.
18391 * math/w_j1.c: Likewise.
18392 * math/w_j1f.c: Likewise.
18393 * math/w_j1l.c: Likewise.
18394 * math/w_jn.c: Likewise.
18395 * math/w_jnf.c: Likewise.
18396 * math/w_jnl.c: Likewise.
18397 * math/w_lgamma.c: Likewise.
18398 * math/w_lgamma_r.c: Likewise.
18399 * math/w_lgammaf.c: Likewise.
18400 * math/w_lgammaf_r.c: Likewise.
18401 * math/w_lgammal.c: Likewise.
18402 * math/w_lgammal_r.c: Likewise.
18403 * math/w_log.c: Likewise.
18404 * math/w_log10.c: Likewise.
18405 * math/w_log10f.c: Likewise.
18406 * math/w_log10l.c: Likewise.
18407 * math/w_log2.c: Likewise.
18408 * math/w_log2f.c: Likewise.
18409 * math/w_log2l.c: Likewise.
18410 * math/w_logf.c: Likewise.
18411 * math/w_logl.c: Likewise.
18412 * math/w_pow.c: Likewise.
18413 * math/w_powf.c: Likewise.
18414 * math/w_powl.c: Likewise.
18415 * math/w_remainder.c: Likewise.
18416 * math/w_remainderf.c: Likewise.
18417 * math/w_remainderl.c: Likewise.
18418 * math/w_scalb.c: Likewise.
18419 * math/w_scalbf.c: Likewise.
18420 * math/w_scalbl.c: Likewise.
18421 * math/w_sinh.c: Likewise.
18422 * math/w_sinhf.c: Likewise.
18423 * math/w_sinhl.c: Likewise.
18424 * math/w_sqrt.c: Likewise.
18425 * math/w_sqrtf.c: Likewise.
18426 * math/w_sqrtl.c: Likewise.
18427 * math/w_tgamma.c: Likewise.
18428 * math/w_tgammaf.c: Likewise.
18429 * math/w_tgammal.c: Likewise.
18430
18431 * po/ja.po: Update from translation team.
18432
184332011-09-29 Andreas Jaeger <aj@suse.de>
18434
18435 [BZ #13179]
18436 * sunrpc/netname.c (netname2host): Fix logic.
18437
18438 [BZ #6779]
18439 [BZ #6783]
18440 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18441 correctly.
18442 * math/w_remainder.c (__remainder): Likewise.
18443 * math/w_remainderf.c (__remainderf): Likewise.
18444 * math/libm-test.inc (remainder_test): Add test cases.
18445
184462011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18447
18448 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18449 sdiv_qrnnd.
18450
184512011-10-07 Ulrich Drepper <drepper@gmail.com>
18452
18453 * string/test-memcmp.c: Avoid unncessary #defines.
18454 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18455
184562011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18457
18458 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18459 Use new sse2 version for core i3 - i7 as it's faster
18460 than sse42 version.
18461 (bit_Prefer_PMINUB_for_stringop): New.
18462 * sysdeps/x86_64/rawmemchr.S: Update.
18463 Replace with faster SSE2 version.
18464 * sysdeps/x86_64/memrchr.S: New file.
18465 * sysdeps/x86_64/memchr.S: Update.
18466 Replace with faster SSE2 version.
18467
184682011-09-12 Marek Polacek <mpolacek@redhat.com>
18469
18470 * elf/dl-load.c (lose): Add cast to avoid warning.
18471
184722011-10-07 Ulrich Drepper <drepper@gmail.com>
18473
18474 * po/ca.po: Update from translation team.
18475
18476 * inet/getnetgrent_r.c: Hook up nscd.
18477 * nscd/Makefile (routines): Add nscd_netgroup.
18478 (nscd-modules): Add netgroupcache.
18479 (CFLAGS-netgroupcache.c): Define.
18480 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18481 (cache_search): Add const to second parameter.
18482 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18483 INNETGR.
18484 (dbs): Add netgrdb entry.
18485 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18486 (verify_persistent_db): Handle netgrdb.
18487 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18488 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18489 GETFDNETGR.
18490 (netgroup_response_header): Define.
18491 (innetgroup_response_header): Define.
18492 (datahead): Add netgroup_response_header and innetgroup_response_header
18493 elements.
18494 * nscd/nscd.conf: Add entries for netgroup cache.
18495 * nscd/nscd.h (dbtype): Add netgrdb.
18496 (_PATH_NSCD_NETGROUP_DB): Define.
18497 (netgroup_iov_disabled): Declare.
18498 (xmalloc, xcalloc, xrealloc): Move declarations here.
18499 (cache_search): Adjust prototype.
18500 Add netgroup-related prototypes.
18501 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18502 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18503 (__nscd_innetgr): Declare.
18504 * nscd/selinux.c (perms): Use access_vector_t as element type and
18505 add netgroup-related initializers.
18506 * nscd/netgroupcache.c: New file.
18507 * nscd/nscd_netgroup.c: New file.
18508 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18509 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18510 For four parameters use innetgr.
18511 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18512 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18513 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18514 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18515
18516 * nscd/connections.c (register_traced_file): Don't register file
18517 for disabled databases.
18518
185192011-10-06 Ulrich Drepper <drepper@gmail.com>
18520
18521 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18522
18523 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18524 from tree and freeing node.
18525
185262011-09-25 Jiri Olsa <jolsa@redhat.com>
18527
18528 * nss/nsswitch.c (__nss_database_lookup): Handle
18529 nss_parse_service_list out of memory case.
18530
185312011-09-15 Jiri Olsa <jolsa@redhat.com>
18532
18533 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18534 out of memory case.
18535
185362011-10-04 Andreas Schwab <schwab@redhat.com>
18537
18538 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18539 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18540 pass it down.
18541 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18542 elf_machine_rela, elf_machine_lazy_rel.
18543 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18544 (ELF_DYNAMIC_DO_REL): Likewise.
18545 (ELF_DYNAMIC_DO_RELA): Likewise.
18546 (ELF_DYNAMIC_RELOCATE): Likewise.
18547 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18548 to ELF_DYNAMIC_DO_REL.
18549 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18550 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18551 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18552 elf_machine_rela.
18553 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18554 skip_ifunc, don't call ifunc function if non-zero.
18555 (elf_machine_rela): Likewise.
18556 (elf_machine_lazy_rel): Likewise.
18557 (elf_machine_lazy_rela): Likewise.
18558 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18559 (elf_machine_lazy_rel): Likewise.
18560 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18561 Likewise.
18562 (elf_machine_lazy_rel): Likewise.
18563 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18564 Likewise.
18565 (elf_machine_lazy_rel): Likewise.
18566 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18567 (elf_machine_lazy_rel): Likewise.
18568 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18569 (elf_machine_lazy_rel): Likewise.
18570 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18571 (elf_machine_lazy_rel): Likewise.
18572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18573 (elf_machine_lazy_rel): Likewise.
18574 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18575 (elf_machine_lazy_rel): Likewise.
18576 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18577 (elf_machine_lazy_rel): Likewise.
18578
185792011-09-28 Ulrich Drepper <drepper@gmail.com>
18580
18581 * nss/nss_files/files-init.c (_nss_files_init): Use static
18582 initialization for all the *_traced_file variables.
18583
185842011-09-28 Andreas Schwab <schwab@redhat.com>
18585
18586 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18587
185882011-09-27 Roland McGrath <roland@hack.frob.com>
18589
18590 [BZ #13226]
18591 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18592
185932011-09-27 Andreas Schwab <schwab@redhat.com>
18594
18595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18596 Reread the line before reparsing it.
18597
185982011-09-26 Andreas Schwab <schwab@redhat.com>
18599
18600 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18601
186022011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18603 Maxim Kuvyrkov <maxim@codesourcery.com>
18604 Joseph Myers <joseph@codesourcery.com>
18605
18606 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18607 if needed for __stack_chk_guard.
18608
186092011-09-19 Roland McGrath <roland@hack.frob.com>
18610
18611 * sysdeps/posix/spawni.c (script_execute): Always define it.
18612 It will be optimized away if unused.
18613 (maybe_script_execute): New function.
18614 (__spawni): Call it.
18615
18616 * Makerules: Don't include tls.make.
18617 (config-tls): Always set to thread.
18618 * tls.make.c: File removed.
18619
186202011-09-19 Mike Frysinger <vapier@gentoo.org>
18621
18622 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18623 * config.make.in (CPPFLAGS-config): New substituted variable.
18624
186252011-09-15 Ulrich Drepper <drepper@gmail.com>
18626
18627 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18628
18629 [BZ #13192]
18630 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18631 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18632
186332011-09-15 Roland McGrath <roland@hack.frob.com>
18634
18635 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18636 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18638 (CALL_FAIL): Likewise.
18639 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18640 (CALL_FAIL): Macro removed.
18641 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18642
186432011-09-15 Ulrich Drepper <drepper@gmail.com>
18644
18645 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18646 for __FINITE_MATH_ONLY__ == 1.
18647
186482011-09-15 Andreas Schwab <schwab@redhat.com>
18649
18650 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18651 __ieee754_sqrt instead of sqrt.
18652 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18653 __ieee754_sqrtf instead of sqrtf.
18654 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18655 __floorf instead of floorf.
18656 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18657 __floorf, __truncf instead of floorf, truncf.
18658
186592011-09-14 Ulrich Drepper <drepper@gmail.com>
18660
18661 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18662
18663 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18664 __extern_always_inline.
18665 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18666 32-bit.
18667
186682011-09-14 Andreas Schwab <schwab@redhat.com>
18669
18670 * elf/rtld.c (dl_main): Also relocate in dependency order when
18671 doing symbol dependency testing.
18672
186732011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18674
18675 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18676 Always define `refsym'.
18677
186782011-09-13 Andreas Schwab <schwab@redhat.com>
18679
18680 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18681 (__FD_ELT): Renamed from __FDELT.
18682 * misc/bits/select2.h (__FD_ELT): Likewise.
18683 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18684 __FD_MASK instead of __FDELT, __FDMASK.
18685 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18686 Likewise.
18687 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18688 Likewise.
18689
18690 * elf/Makefile (gen-ldd): Fix pattern.
18691
18692 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18693 (init_tls): Likewise.
18694
186952011-09-12 Ulrich Drepper <drepper@gmail.com>
18696
18697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18698
186992011-09-12 Andreas Schwab <schwab@redhat.com>
18700
18701 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18702 `struct cmsghdr *' instead of `void *'.
18703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18704 Likewise.
18705
187062011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18707
18708 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18709 if non-absolute.
18710 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18711 ldd_rewrite_script.
18712
187132011-09-11 Ulrich Drepper <drepper@gmail.com>
18714
18715 * configure.in: Remove --with-tls option.
18716 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18717 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18718 out in case it is missing.
18719 * sysdeps/ia64/elf/configure.in: Likewise.
18720 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18721 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18722 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18723 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18724 * sysdeps/sh/elf/configure.in: Likewise.
18725 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18726 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18727 * sysdeps/x86_64/elf/configure.in: Likewise.
18728 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18729 * sysdeps/mach/hurd/tls.h: Likewise.
18730
18731 [BZ #13067]
18732 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18733
18734 [BZ #13090]
18735 * configure.in: Fix use of AC_INIT.
18736
18737 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18738
187392011-09-10 Ulrich Drepper <drepper@gmail.com>
18740
18741 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18742 __set_errno.
18743 * malloc/hooks.c: Likewise.
18744
18745 [BZ #11929]
18746 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18747 variables statically.
18748 (narenas): Initialize.
18749 (list_lock): Initialize.
18750 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18751 initializtion of main_arena and list_lock. Small cleanups.
18752 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18753 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18754 Add initializers to main_arena and mp_.
18755 (malloc_state): Remove pagesize member. Change all users to use
18756 GLRO(dl_pagesize).
18757
18758 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18759 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18760 is always initialized.
18761
18762 * malloc/malloc.c: Removed unused configurations and dead code.
18763 * malloc/arena.c: Likewise.
18764 * malloc/hooks.c: Likewise.
18765 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18766
18767 * include/tls.h: Removed. USE___THREAD must always be defined.
18768 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18769 * elf/dl-libc.c: Likewise.
18770 * elf/dl-tsd.c: Likewise.
18771 * include/errno.h: Likewise.
18772 * include/netdb.h: Likewise.
18773 * include/resolv.h: Likewise.
18774 * inet/herrno-loc.c: Likewise.
18775 * inet/herrno.c: Likewise.
18776 * malloc/arena.c: Likewise.
18777 * malloc/hooks.c: Likewise.
18778 * malloc/malloc.c: Likewise.
18779 * resolv/res-state.c: Likewise.
18780 * resolv/res_libc.c: Likewise.
18781 * sysdeps/i386/dl-machine.h: Likewise.
18782 * sysdeps/ia64/dl-machine.h: Likewise.
18783 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18784 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18785 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18786 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18787 * sysdeps/sh/dl-machine.h: Likewise.
18788 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18789 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18790 * sysdeps/unix/i386/sysdep.S: Likewise.
18791 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18792 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18795 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18797 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18798 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18801 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18802 * sysdeps/x86_64/dl-machine.h: Likewise.
18803 * tls.make.c: Likewise.
18804
18805 * configure.in: Remove --with-__thread option. Make tests for
18806 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18807 tls_model attribute fail if no support is available. Remove
18808 USE_IN_LIBIO.
18809 * Makeconfig: Adjust for dropped configure option. All features are
18810 now mandatory.
18811 * Makerules: Likewise.
18812 * Versions.def: Likewise.
18813 * argp/argp-fmtstream.c: Likewise.
18814 * argp/argp-fmtstream.h: Likewise.
18815 * argp/argp-help.c: Likewise.
18816 * assert/assert.c: Likewise.
18817 * config.h.in: Likewise.
18818 * config.make.in: Likewise.
18819 * configure: Likewise.
18820 * configure.in: Likewise.
18821 * csu/Versions: Likewise.
18822 * csu/init.c: Likewise.
18823 * elf/tst-audit2.c: Likewise.
18824 * elf/tst-tls10.c: Likewise.
18825 * elf/tst-tls10.h: Likewise.
18826 * elf/tst-tls11.c: Likewise.
18827 * elf/tst-tls12.c: Likewise.
18828 * elf/tst-tls14.c: Likewise.
18829 * elf/tst-tlsmod11.c: Likewise.
18830 * elf/tst-tlsmod12.c: Likewise.
18831 * elf/tst-tlsmod13.c: Likewise.
18832 * elf/tst-tlsmod13a.c: Likewise.
18833 * elf/tst-tlsmod14a.c: Likewise.
18834 * elf/tst-tlsmod15b.c: Likewise.
18835 * elf/tst-tlsmod16a.c: Likewise.
18836 * elf/tst-tlsmod16b.c: Likewise.
18837 * elf/tst-tlsmod7.c: Likewise.
18838 * elf/tst-tlsmod8.c: Likewise.
18839 * elf/tst-tlsmod9.c: Likewise.
18840 * gmon/gmon.c: Likewise.
18841 * grp/fgetgrent_r.c: Likewise.
18842 * grp/putgrent.c: Likewise.
18843 * hurd/fopenport.c: Likewise.
18844 * include/libc-symbols.h: Likewise.
18845 * include/tls.h: Likewise.
18846 * intl/gettextP.h: Likewise.
18847 * intl/loadinfo.h: Likewise.
18848 * locale/global-locale.c: Likewise.
18849 * locale/localeinfo.h: Likewise.
18850 * mach/devstream.c: Likewise.
18851 * malloc/arena.c: Likewise.
18852 * malloc/set-freeres.c: Likewise.
18853 * misc/err.c: Likewise.
18854 * misc/getttyent.c: Likewise.
18855 * misc/mntent_r.c: Likewise.
18856 * posix/getopt.c: Likewise.
18857 * posix/wordexp.c: Likewise.
18858 * pwd/fgetpwent_r.c: Likewise.
18859 * resolv/Versions: Likewise.
18860 * resolv/res_hconf.c: Likewise.
18861 * shadow/fgetspent_r.c: Likewise.
18862 * shadow/putspent.c: Likewise.
18863 * stdio-common/printf_fphex.c: Likewise.
18864 * stdio-common/tmpfile.c: Likewise.
18865 * stdlib/abort.c: Likewise.
18866 * stdlib/fmtmsg.c: Likewise.
18867 * sunrpc/auth_unix.c: Likewise.
18868 * sunrpc/clnt_perr.c: Likewise.
18869 * sunrpc/clnt_tcp.c: Likewise.
18870 * sunrpc/clnt_udp.c: Likewise.
18871 * sunrpc/clnt_unix.c: Likewise.
18872 * sunrpc/openchild.c: Likewise.
18873 * sunrpc/svc_simple.c: Likewise.
18874 * sunrpc/svc_tcp.c: Likewise.
18875 * sunrpc/svc_udp.c: Likewise.
18876 * sunrpc/svc_unix.c: Likewise.
18877 * sunrpc/xdr.c: Likewise.
18878 * sunrpc/xdr_array.c: Likewise.
18879 * sunrpc/xdr_rec.c: Likewise.
18880 * sunrpc/xdr_ref.c: Likewise.
18881 * sunrpc/xdr_stdio.c: Likewise.
18882
188832011-09-09 Ulrich Drepper <drepper@gmail.com>
18884
18885 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18886
188872011-07-03 Andreas Jaeger <aj@suse.de>
18888
18889 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18890 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18891 regenerate with gen-libm-tests.pl.
18892
188932010-05-12 Petr Baudis <pasky@suse.cz>
18894
18895 [BZ #11589]
18896 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18897 around j0() zero points by switching to j1().
18898 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18899 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18902
189032011-09-09 Ulrich Drepper <drepper@gmail.com>
18904
18905 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18906 instead of 0.
18907 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18908 instead of 0. .
18909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18910 Patch in part by Pavel Roskin <proski@gnu.org>.
18911
18912 [BZ #13138]
18913 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18914 realloc.
18915 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18916 Free memory block if necessary.
18917
18918 [BZ #12847]
18919 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18920 be NULL. Don't lock in this case.
18921
189222011-09-09 Roland McGrath <roland@hack.frob.com>
18923
18924 * elf/elf.h (ELFOSABI_GNU): New macro.
18925 (ELFOSABI_LINUX): Define to that.
18926
189272011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18928
18929 * string/strncat.c (strncat): Undef the symbol in case it has been
18930 defined in bits/string.h.
18931
189322011-09-09 Ulrich Drepper <drepper@gmail.com>
18933
18934 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18935
18936 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
18937 link map.
18938
189392011-08-17 Andreas Jaeger <aj@suse.de>
18940
18941 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18942
189432011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18944 Ian Lance Taylor <iant@google.com>
18945
18946 * math/libm-test.inc (lround_test): New testcase.
18947 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18948
189492011-09-08 Ulrich Drepper <drepper@gmail.com>
18950
18951 * Makefile: Remove support for automatic cvs check-ins.
18952 * Makerules: Likewise.
18953 * config.make.in: Likewise.
18954 * configure.in: Likewise.
18955 * intl/Makefile: Likewise.
18956 * locale/Makefile: Likewise.
18957 * po/Makefile: Likewise.
18958 * posix/Makefile: Likewise.
18959 * sysdeps/gnu/Makefile: Likewise.
18960 * sysdeps/mach/hurd/Makefile: Likewise.
18961 * sysdeps/sparc/sparc32/Makefile: Likewise.
18962
18963 [BZ #13118]
18964 * posix/Makefile (bug-regex32-ENV): Define.
18965 Patch by John Stanley <jpsinthemix@verizon.net>.
18966
18967 * misc/Makefile (headers): Add bits/select2.h.
18968 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18969 * misc/bits/select2.h: New file.
18970 * include/bits/select2.h: New file.
18971 * debug/Makefile (routines): Add fdelt_chk.
18972 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18973 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18974 FD_ISSET.
18975 * debug/fdelt_chk.c: New file.
18976
18977 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18978 * wcsmbs/test-wmemcmp.c: Likewise.
18979 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
18980 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
18981
189822011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18983
18984 * string/Makefile (strop-tests): Add memcmp.
18985 * string/test-wmemcmp.c: New file.
18986 * string/test-memcmp.c: Add wmemcmp support.
18987
189882011-09-08 Roland McGrath <roland@hack.frob.com>
18989
18990 [BZ #13153]
18991 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18992 2011-07-19 change.
18993
18994 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18995 garbage value in a __mach_port_mod_refs call in the cases of the
18996 task-self and thread-self ports.
18997
189982011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18999
19000 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19001
190022011-09-08 Andreas Schwab <schwab@redhat.com>
19003
19004 * elf/dl-load.c (lose): Check for non-null L.
19005
190062011-09-07 Ulrich Drepper <drepper@gmail.com>
19007
19008 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19009
19010 * elf/dl-libc.c (dlerror_run): Pass back error code from
19011 dl_catch_error.
19012
19013 [BZ #13123]
19014 * elf/dl-load.c (lose): Free l_origin if it is valid.
19015
19016 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19017 names.
19018 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19021 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19022 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19023 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19024
190252011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19026
19027 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19028 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19029 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19030 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19031 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19032 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19033 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19034 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19035 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19036 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19037
190382011-08-15 Alan Modra <amodra@gmail.com>
19039
19040 [BZ #13092]
19041 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19042 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19043 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19044 ppc_mcount to static-only-routines.
19045 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19046 __mcount_internal.
19047 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19048 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19049
190502011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19051
19052 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19053 for finite and infinity parameters.
19054
190552011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19056
19057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19058 and add nop instructions for throughput optimization.
19059 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19060
190612011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19062
19063 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19064 aligned copy for power7 with vector-scalar instructions.
19065 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19066
190672011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19068
19069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19070 AVX check.
19071
190722011-09-07 Andreas Schwab <schwab@redhat.com>
19073
19074 [BZ #13144]
19075 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19076 last change.
19077
190782011-09-07 Ulrich Drepper <drepper@gmail.com>
19079
19080 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19081 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19082 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19083 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19084 clock_gettime.
19085
190862011-09-06 Ulrich Drepper <drepper@gmail.com>
19087
19088 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19089 Forgot to demangle the pointer.
19090
19091 * sysdeps/i386/sysdep.h: Define atom_text_section.
19092 * sysdeps/x86_64/sysdep.h: Likewise.
19093 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19094 section with atom_text_section.
19095 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19097 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19099 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19100
19101 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19102 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19103 already be defined. Change to take two parameters and don't assign
19104 result to variable. Adjust all users.
19105 Define INTERNAL_GETTIME if not already defined.
19106 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19107 call.
19108 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19109 HAVE_CLOCK_GETTIME_VSYSCALL.
19110 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19111
19112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19113 gettimeofday vsyscall, just use time.
19114
191152011-09-06 Andreas Schwab <schwab@redhat.com>
19116
19117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19118 <errno.h>.
19119
191202011-09-06 Ulrich Drepper <drepper@gmail.com>
19121
19122 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19123 syscall on x86-64.
19124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19125 syscall.
19126 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19127 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19128 syscall if possible.
19129
191302011-09-05 Ulrich Drepper <drepper@gmail.com>
19131
19132 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19133 e_ident. Don't pass to find_mapsXX.
19134 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19135
191362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19137
19138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19139 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19140 * sysdeps/x86_64/multiarch/strchr.S: Update.
19141 Check bit_slow_BSF bit.
19142 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19143 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19144 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19145
191462011-09-05 Ulrich Drepper <drepper@gmail.com>
19147
19148 [BZ #13134]
19149 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19150 before glibc 2.15.
19151 (tryshell): Define.
19152 (__spawni): Change last parameter to be flag. Test
19153 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19154 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19155 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19156 * posix/spawni.c: Likewise.
19157 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19158 * posix/spawnp.c: Likewise. Change normal version to use
19159 SPAWN_XFLAGS_USE_PATH.
19160 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19161 SPAWN_XFLAGS_TRY_SHELL.
19162
19163 [BZ #13150]
19164 * posix/glob.h: Remove gcc 1.x support.
19165
19166 [BZ #13068]
19167 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19168
191692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19170
19171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19172 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19173 strrchr-sse2-bsf
19174 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19175 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19176 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19178 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19179 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19180
191812011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19182
19183 * sysdeps/x86_64/wcscmp.S: New file.
19184
19185 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19186 wcscmp-c wcscmp-sse2
19187 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19188 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19189 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19190 * wcsmbs/wcscmp.c: Allow renaming.
19191
191922011-09-05 David S. Miller <davem@davemloft.net>
19193
19194 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19195 stack slot, rather than the struct return pointer slot.
19196 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19197 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19199 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19200
192012011-09-05 Ulrich Drepper <drepper@gmail.com>
19202
19203 * po/ja.po: Update from translation team.
19204
19205 [BZ #13144]
19206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19207 kernel in 64-bit binaries.
19208
192092011-09-01 David S. Miller <davem@davemloft.net>
19210
19211 * elf/elf.h (HWCAP_SPARC_*): Move to..
19212 * sysdeps/sparc/sysdep.h: this new file and add new values.
19213 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19214 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19215 _DL_HWCAP_COUNT to 24.
19216 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19217 entries.
19218 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19219 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19220 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19222 instead of magic constants.
19223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19224
192252011-08-31 David S. Miller <davem@davemloft.net>
19226
19227 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19229 Reimplement to do errno handling inline.
19230 (SYSCALL_ERROR_HANDLER): New macro.
19231 (__SYSCALL_STRING): Do not do errno handling in asm.
19232 (__CLONE_SYSCALL_STRING): Delete.
19233 (__INTERNAL_SYSCALL_STRING): Delete.
19234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19235 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19236 (PSEUDO): Reimplement to do errno handling inline.
19237 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19238 (SYSCALL_ERROR_HANDLER): New macro.
19239 (__SYSCALL_STRING): Do not do errno handling in asm.
19240 (__CLONE_SYSCALL_STRING): Delete.
19241 (__INTERNAL_SYSCALL_STRING): Delete.
19242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19243 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19244 i386.
19245 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19246 (inline_syscall*): Add 'err' argument.
19247 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19248 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19249 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19250 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19251
19252 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19253 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19254
192552011-08-30 Andreas Schwab <schwab@redhat.com>
19256
19257 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19258
192592011-08-29 Jiri Olsa <jolsa@redhat.com>
19260
19261 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19262 directive.
19263
192642011-08-24 David S. Miller <davem@davemloft.net>
19265
19266 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19267
192682011-08-24 Andreas Schwab <schwab@redhat.com>
19269
19270 * elf/Makefile: Add rules to build and run unload8 test.
19271 * elf/unload8.c: New file.
19272 * elf/unload8mod1.c: New file.
19273 * elf/unload8mod1x.c: New file.
19274 * elf/unload8mod2.c: New file.
19275 * elf/unload8mod3.c: New file.
19276
19277 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19278 it wasn't used.
19279
192802011-08-23 David S. Miller <davem@davemloft.net>
19281
19282 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19283 subtract stack bias.
19284 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19285 %sp not %fp in calculations.
19286 (_JMPBUF_UNWINDS_ADJ): Likewise.
19287
19288 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19289 (aio_suspend): Call it to force an exception region around the
19290 AIO_MISC_WAIT() invocation.
19291
192922011-08-23 Andreas Schwab <schwab@redhat.com>
19293
19294 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19295 backslash.
19296
192972011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19298
19299 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19300 protection macro.
19301 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19302 and <dl-machine.h>.
19303 (Elf64_FuncDesc): Remove.
19304
193052011-08-22 David S. Miller <davem@davemloft.net>
19306
19307 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19308 sigaltstack check, add missing cfi directives.
19309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19310 missing cfi directives, and sigaltstack handling.
19311
193122011-08-16 Andreas Schwab <schwab@redhat.com>
19313
19314 [BZ #11724]
19315 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19316 object is seen twice.
19317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19318
19319 * elf/Makefile (distribute): Add tst-initorder2.c.
19320 (tests): Add tst-initorder2.
19321 (modules-names): Add tst-initorder2a tst-initorder2b
19322 tst-initorder2c tst-initorder2d. Add rules to build them.
19323 ($(objpfx)tst-initorder2.out): New rule.
19324 * elf/tst-initorder2.c: New file.
19325 * elf/tst-initorder2.exp: New file.
19326
193272011-08-22 Andreas Schwab <schwab@redhat.com>
19328
19329 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19330
19331 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19332 dependencies back to end of function.
19333
19334 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19335 $(elfobjdir)/ld.so.
19336
193372011-08-21 Ulrich Drepper <drepper@gmail.com>
19338
19339 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19340 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19342 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19343 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19344 of __vdso_gettimeofday.
19345 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19346 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19347 attribute_hidden.
19348 (_libc_vdso_platform_setup): Remove initialization of
19349 __vdso_gettimeofday and __vdso_time.
19350
193512011-08-20 Ulrich Drepper <drepper@gmail.com>
19352
19353 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19354 and fgetc_unlocked.
19355 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19356 getc_unlocked.
19357
19358 * elf/dl-open.c (add_to_global): Report additions to the global scope
19359 for LD_DEBUG=scopes.
19360 (dl_open_worker): Also print scope of newly loaded dependencies.
19361 (_dl_show_scope): Indicate if there is no scope.
19362
19363 [BZ #13114]
19364 * stdio-common/Makefile (tests): Add bug24.
19365 * stdio-common/bug24.c: New file.
19366
193672011-08-19 Andreas Jaeger <aj@suse.de>
19368
19369 [BZ #13114]
19370 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19371 non-existant file when using close-on-exec mode.
19372
193732011-08-20 Ulrich Drepper <drepper@gmail.com>
19374
19375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19376 the very first instruction.
19377
19378 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19379 the CFI state in the end.
19380 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19381 inclusion of dl-trampoline.h.
19382 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19383
193842011-08-19 Andreas Schwab <schwab@redhat.com>
19385
19386 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19387 expectations for long double.
19388
19389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19390 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19391
193922011-08-14 David S. Miller <davem@davemloft.net>
19393
19394 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19395 artificual limit depends upon the system page size.
19396
193972011-08-17 Ulrich Drepper <drepper@gmail.com>
19398
19399 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19400 * resolv/Makefile: Define CFLAGS-libresolv.
19401
194022011-08-17 Andreas Schwab <schwab@redhat.com>
19403
19404 * nss/makedb.c (compute_tables): Make variables used in nested
19405 function static.
19406
194072011-08-17 Ulrich Drepper <drepper@gmail.com>
19408
19409 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19410 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19411 if buffer was too small.
19412
19413 * elf/pldd.c (main): Attach to all threads in the process.
19414 Rewrite /proc handling to use *at functions.
19415
194162011-08-16 Ulrich Drepper <drepper@gmail.com>
19417
19418 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19419 specifies first scope to show.
19420 (dl_open_worker): Update callers. Move printing scope of new
19421 object to before the relocation.
19422 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19423 * sysdeps/generic/ldsodefs.h: Update declaration.
19424
19425 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19426 string for the scope number.
19427
194282011-08-14 Ulrich Drepper <drepper@gmail.com>
19429
19430 * nscd/servicescache.c (cache_addserv): Make sure written is always
19431 initialized.
19432
194332011-08-14 Roland McGrath <roland@hack.frob.com>
19434
19435 * sysdeps/i386/i486/bits/atomic.h
19436 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19437 statement expression, so as to suppress "set but not used" warning.
19438 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19439
19440 * string/strncat.c (STRNCAT): Use prototype definition.
19441
19442 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19443 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19444 -Iprograms here.
19445 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19446 (localedef-modules): Add localedef.
19447 (locale-modules): Add locale.
19448
19449 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19450 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19451 to avoid a warning.
19452
194532011-08-14 David S. Miller <davem@davemloft.net>
19454
19455 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19456 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19457
194582011-08-13 Ulrich Drepper <drepper@gmail.com>
19459
19460 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19461 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19462 * elf/rtld.c (dl_main): Set l_name of vDSO.
19463 Call _dl_show_scope when DL_DEBUG_SCOPES.
19464 (process_dl_debug): Recognize scopes flag and also set it for all.
19465 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19466 Declare _dl_show_scope.
19467
19468 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19469 (do_dlopen): Pass caller_dlopen to dl_open.
19470 (__libc_dlopen_mode): Initialize caller_dlopen.
19471
19472 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19473 of libc. Make tolower call locale-independent. Optimize a bit by
19474 using isdigit instead of isalnum.
19475 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19476
194772011-08-12 Ulrich Drepper <drepper@gmail.com>
19478
19479 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19480 was a dependency or dynamically loaded.
19481
194822011-08-11 Ulrich Drepper <drepper@gmail.com>
19483
19484 * intl/l10nflist.c: Allow architecture-specific pop function.
19485 * sysdeps/x86_64/l10nflist.c: New file.
19486
19487 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19488 classification.
19489
194902011-08-10 Andreas Schwab <schwab@redhat.com>
19491
19492 * include/dirent.h: Add libc_hidden_proto for scandirat and
19493 scandirat64. Don't declare __scandirat64.
19494 * dirent/scandirat.c: Add libc_hidden_def.
19495 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19496 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19497
194982011-08-10 David S. Miller <davem@davemloft.net>
19499
19500 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19501 enum.
19502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19505
195062011-08-09 Ulrich Drepper <drepper@gmail.com>
19507
19508 * Versions.def [libc]: Add GLIBC_2.15.
19509 * dirent/Makefile (routines): Add scandirat and scandirat64.
19510 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19511 GLIBC_2.15.
19512 * dirent/dirent.h: Declare scandirat and scandirat64.
19513 * dirent/scandirat.c: New file.
19514 * dirent/scandirat64.c: New file.
19515 * sysdeps/wordsize-64/scandirat.c: New file.
19516 * sysdeps/wordsize-64/scandirat64.c: New file.
19517 * dirent/opendir.c: Define opendirat.
19518 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19519 using scandirat.
19520 * dirent/scandir64.c: Adjust for scandir.c change.
19521 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19522 __scandirat64, and __scandir_cancel_handler.
19523 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19524 additional parameter and use openat instead of open (outside of ld.so).
19525 Add new __opendir as wrapper around __opendirat.
19526 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19527 here without requiring old scandirat implementation.
19528
195292011-08-08 Ulrich Drepper <drepper@gmail.com>
19530
19531 * dirent/scandir.c (cancel_handler): Renamed to
19532 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19533 defined. Adjust users.
19534 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19535 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19536
195372011-08-04 Ulrich Drepper <drepper@gmail.com>
19538
19539 * string/test-string.h (IMPL): Use __STRING to expand name and then
19540 stringify it.
19541
19542 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19543 of cleanups.
19544
195452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19546
19547 * string/Makefile: Update.
19548 (strop-tests): Append strncat.
19549 * string/test-wcscmp.c: New file.
19550 New comprehensive test for wcscmp.
19551 * string/test-strcmp.c: Update.
19552 (WIDE): New define.
19553
195542011-07-22 Andreas Schwab <schwab@redhat.com>
19555
19556 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19557 line.
19558
195592011-07-26 Andreas Schwab <schwab@redhat.com>
19560
19561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19562 encoding to ACE if AI_IDN.
19563
195642011-08-01 Jakub Jelinek <jakub@redhat.com>
19565
19566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19567 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19568
195692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19570
19571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19572 Fix overflow bug in strncat.
19573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19574
19575 * string/test-strncat.c: Update.
19576 Add new tests for checking overflow bugs.
19577
195782011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19579
19580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19581 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19582 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19583 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19584 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19585 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19586 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19587 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19588 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19589
19590 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19591 (USE_AS_STRCAT): Define.
19592 Add strcat and strncat support.
19593 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19594
195952011-07-25 Andreas Schwab <schwab@redhat.com>
19596
19597 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19598 __n bigger than INT_MAX+1.
19599 (__strncmp_g): Likewise.
19600
196012011-07-23 Ulrich Drepper <drepper@gmail.com>
19602
19603 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19604 * libio/stido.h: Likewise.
19605
19606 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19607 (AF_NFC): Define.
19608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19609 (AF_NFC): Define.
19610
19611 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19612 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19613 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19614 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19615 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19616
19617 [BZ #13021]
19618 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19619 installed.
19620
19621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19622 typo.
19623 (_dl_x86_64_save_sse): Likewise.
19624
196252011-07-22 Ulrich Drepper <drepper@gmail.com>
19626
19627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19628 OSXSAVE.
19629 (_dl_x86_64_save_sse): Likewise.
19630
19631 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19632
19633 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19634
196352011-07-21 Andreas Schwab <schwab@redhat.com>
19636
19637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19638 change.
19639 (_dl_x86_64_save_sse): Use correct AVX check.
19640
196412011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19642
19643 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19644 bug in strncpy/strncat.
19645 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19646
196472011-07-21 Ulrich Drepper <drepper@gmail.com>
19648
19649 * string/tester.c (test_strcat): Add tests for different alignments
19650 of source and destination.
19651 (test_strncat): Likewise.
19652
196532011-07-20 Ulrich Drepper <drepper@gmail.com>
19654
19655 [BZ #12852]
19656 * posix/glob.c (glob): Check passed in values before using them in
19657 expressions to avoid some overflows.
19658 (glob_in_dir): Likewise.
19659
19660 [BZ #13007]
19661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19662 check for AVX enablement so that we don't crash with old kernels and
19663 new hardware.
19664 * elf/tst-audit4.c: Add same checks here.
19665 * elf/tst-audit6.c: Likewise.
19666
19667 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19668
196692011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19670
19671 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19672
196732011-07-20 Ulrich Drepper <drepper@gmail.com>
19674
19675 * po/cs.po: Update from translation team.
19676 * po/bg.po: Likewise.
19677
196782011-07-12 Marek Polacek <mpolacek@redhat.com>
19679
19680 * misc/sys/cdefs.h: Add support for const attribute.
19681 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19682 to gnu_dev_{major,minor,makedev} functions.
19683
196842011-07-20 Marek Polacek <mpolacek@redhat.com>
19685
19686 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19687
196882011-07-20 Andreas Schwab <schwab@redhat.com>
19689
19690 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19691 strlen results.
19692
196932011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19694
19695 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19696 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19697 register in order to avoid conflicts with the soft frame pointer
19698 being held in r11 when necessary.
19699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19700 (INTERNAL_VSYSCALL_NCS): Likewise.
19701
197022011-07-14 Marek Polacek <mpolacek@redhat.com>
19703
19704 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19705 * elf/dl-fini.c (_dl_fini): Adjust caller.
19706 * elf/dl-close.c (_dl_close_worker): Likewise.
19707 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19708
197092011-07-15 Marek Polacek <mpolacek@redhat.com>
19710
19711 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19712 "aux_cache->nlibs < 0".
19713
19714 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19715 in the reload-count case.
19716
197172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19718
19719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19720 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19721 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19722 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19723 * sysdeps/x86_64/multiarch/strcat.S: New file.
19724 * sysdeps/x86_64/multiarch/strncat.S: New file.
19725 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19726 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19727 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19728 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19729 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19730 (USE_AS_STRCAT): Define.
19731 Add strcat and strncat support.
19732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19734 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19735 * string/strncat.c: Update.
19736 (USE_AS_STRNCAT): Define.
19737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19738 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19739 and i7.
19740 * sysdeps/x86_64/multiarch/init-arch.h
19741 (bit_Prefer_PMINUB_for_stringop): New.
19742 (index_Prefer_PMINUB_for_stringop): Likewise.
19743 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19744 bit_Prefer_PMINUB_for_stringop.
19745
197462011-07-19 Ulrich Drepper <drepper@gmail.com>
19747
19748 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19749 buffer64.
19750 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19751 of casting of buffer.
19752 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19753 buffer32 and buffer64.
19754 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19755 writes instead of casting of buffer.
19756 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19757 buffer32.
19758 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19759 casting of buffer.
19760
197612011-07-19 Andreas Schwab <schwab@redhat.com>
19762
19763 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19764
197652011-07-19 Ulrich Drepper <drepper@gmail.com>
19766
19767 * nscd/nscd.c (termination_handler): Don't do anything for a database
19768 if it has not yet been initialized.
19769
197702011-07-18 Ulrich Drepper <drepper@gmail.com>
19771
19772 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19773
197742011-07-15 Marek Polacek <mpolacek@redhat.com>
19775
19776 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19777
197782011-07-18 Ulrich Drepper <drepper@gmail.com>
19779
19780 * po/nl.po: Update from translation team.
19781 * po/sv.po: Likewise.
19782
197832011-07-16 Roland McGrath <roland@hack.frob.com>
19784
19785 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19786 now disallowed by GCC.
19787
19788 * configure.in (use-default-link): Default to yes if a test -shared
19789 link meets our qualifications.
19790 * configure: Regenerated.
19791
19792 * config.make.in (output-format): New variable.
19793 * configure.in: Check for ld --print-output-format support.
19794 * configure: Regenerated.
19795 * Makerules ($(common-objpfx)format.lds)
19796 [$(output-format) != unknown]: Just use $(output-format),
19797 instead of the linker-script munging.
19798
197992011-07-14 Roland McGrath <roland@hack.frob.com>
19800
19801 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19802 of $(common-objpfx)shlib.lds.
19803 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19804
19805 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19806 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19807
19808 * configure.in (-z relro check): Adjust test code to add a large
19809 writable data section after it.
19810 * configure: Regenerated.
19811
198122011-07-11 Roland McGrath <roland@hack.frob.com>
19813
19814 * configure.in (-z relro check): Fix test code to make the variable
19815 truly const.
19816 * configure: Regenerated.
19817
198182011-07-11 Ulrich Drepper <drepper@gmail.com>
19819
19820 * nscd/nscd.h (struct traced_file): Define.
19821 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19822 elements. Add traced_files.
19823 (inotify_fd): Declare.
19824 (register_traced_file): Declare.
19825 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19826 (inotify_fd): Export.
19827 (resolv_conf_descr): Remove.
19828 (nscd_init): Move inotify descriptor creation to main.
19829 Don't register files for notification here.
19830 (register_traced_file): New function.
19831 (invalidate_cache): Don't use reset_res to determine whether to call
19832 res_init, go through the list of registered files.
19833 (main_loop_poll): The inotify descriptors are now stored in the
19834 structures for the traced files.
19835 (main_loop_epoll): Likewise
19836 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19837 to __nss_disable_nscd.
19838 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19839 for a database anymore. Check the records for all the registered
19840 files instead.
19841 * nss/Makefile (libnss_files-routines): Add files-init.
19842 (libnss_db-routines): Add db-init.
19843 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19844 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19845 * nss/nss_db/db-init.c: New file.
19846 * nss/nss_files/files-init.c: New file.
19847 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19848 __nss_lookup_function.
19849 (__nss_lookup_function): Call nss_load_library.
19850 (nss_load_all_libraries): New function.
19851 (__nss_disable_nscd): Take parameter with callback function for files
19852 to register. Set is_nscd. Load all the DSOs for the NSS modules
19853 used for the cached services.
19854 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19855 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19856 options for features to all the files in nscd.
19857
19858 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19859
198602011-07-10 Roland McGrath <roland@hack.frob.com>
19861
19862 * csu/elf-init.c (__libc_csu_init): Comment typo.
19863
198642011-07-09 Ulrich Drepper <drepper@gmail.com>
19865
19866 * po/pl.po: Update from translation team.
19867 * po/ja.po: Likewise.
19868 * po/ru.po: Likewise.
19869 * po/ko.po: Likewise.
19870 * po/fr.po: Likewise.
19871
198722011-07-09 Roland McGrath <roland@hack.frob.com>
19873
19874 * configure.in (.ctors/.dtors header and trailer check):
19875 Use an empirical test on a built program.
19876 * configure: Regenerated.
19877
19878 * configure.in (-z relro check): Use an empirical test on a built DSO.
19879 Detect, but do not require, on ia64.
19880 * configure: Regenerated.
19881
19882 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19883 Update tests that use readelf to use $READELF instead.
19884 * configure: Regenerated.
19885
198862011-07-08 Ulrich Drepper <drepper@gmail.com>
19887
19888 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19889 if the result is not used.
19890
198912011-07-05 Andreas Jaeger <aj@suse.de>
19892
19893 [BZ#9696]
19894 * stdlib/tst-strtod.c: Add testcase.
19895
198962011-07-07 Ulrich Drepper <drepper@gmail.com>
19897
19898 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
19899 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
19900 The latter has a higher limit. Take additional parameter to pass to
19901 the new function.
19902 (__pathconf): Pass file to __statfs_link_max.
19903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19904 __statfs_link_max.
19905 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19906 __statfs_link_max.
19907
19908 [BZ #12868]
19909 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19910 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19911 Handle Lustre.
19912 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19913 (__statfs_filesize_max): Likewise.
19914 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19915
199162011-07-05 Andreas Jaeger <aj@suse.de>
19917
19918 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19919
199202011-07-06 Marek Polacek <mpolacek@redhat.com>
19921
19922 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19923 `status' variable.
19924 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19925 Likewise.
19926
199272011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * Makefile (strop-tests): Add strncat.
19930 * string/test-strncat.c: New file.
19931
199322011-06-30 Marek Polacek <mpolacek@redhat.com>
19933
19934 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19935
199362011-06-21 Andreas Jaeger <aj@suse.de>
19937
19938 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19939 Copy rule from iconvdata/Makefile.
19940
199412011-07-06 Ulrich Drepper <drepper@gmail.com>
19942
19943 [BZ #12922]
19944 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19945 but no long options are defined, just return 'W'.
19946
199472011-06-22 Marek Polacek <mpolacek@redhat.com>
19948
19949 [BZ #9696]
19950 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19951
199522011-07-06 Ulrich Drepper <drepper@gmail.com>
19953
19954 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19955 netgroups to read.
19956 (innetgr): Likewise.
19957
199582011-07-05 Roland McGrath <roland@hack.frob.com>
19959
19960 * config.make.in (install_root): Default to $(DESTDIR).
19961
199622011-07-05 Ulrich Drepper <drepper@gmail.com>
19963
19964 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19965
199662011-07-02 Roland McGrath <roland@hack.frob.com>
19967
19968 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19969
19970 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19971 containing directory rather than embedding absolute directory names.
19972
19973 * scripts/check-local-headers.sh: Rewritten using awk.
19974 Match by word, not by line. Print error messages for matches.
19975 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19976
19977 * Makerules [shlib-lds-flags empty]:
19978 ($(common-objpfx)libc_pic.opts): New target.
19979 ($(common-objpfx)libc_pic.os.clean): New target.
19980 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19981
19982 * config.make.in (OBJCOPY): New variable.
19983 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19984 * configure: Regenerated.
19985
19986 * config.make.in (use-default-link): New variable.
19987 * configure.in (use_default_link): Grok --with-default-link to set it.
19988 * configure: Regenerated.
19989 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19990 (shlib-lds, shlib-lds-flags): Define to empty.
19991
19992 * Makerules (shlib-lds): New variable.
19993 (shlib-lds-flags): New variable.
19994 (build-shlib, build-moduile, build-module-asneeded): Use it.
19995 ($(common-objpfx)libc.so): Use $(shlib-lds).
19996 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19997 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19998
19999 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20000 DT_FLAGS/DT_FLAGS_1 with zero flags.
20001
20002 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20003 linker script munging.
20004
200052011-07-02 Ulrich Drepper <drepper@gmail.com>
20006
20007 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20008 as 128-bit value.
20009 * crypt/sha512.c (sha512_process_block): Perform total addition using
20010 128-bit if possible.
20011 (__sha512_finish_ctx): Likewise.
20012 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20013 as 64-bit value.
20014 * crypt/sha256.c (SWAP64): Define.
20015 (sha256_process_block): Perform total addition using 64-bit if
20016 possible.
20017 (__sha256_finish_ctx): Likewise.
20018
200192011-07-01 Ulrich Drepper <drepper@gmail.com>
20020
20021 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20022 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20023 * nscd/hstcache.c (cache_addhst): Likewise.
20024 * nscd/grpcache.c (cache_addgr): Likewise.
20025 * nscd/aicache.c (addhstaiX): Likewise
20026 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20027
200282011-07-01 Thorsten Kukuk <kukuk@suse.de>
20029
20030 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20032 * nscd/hstcache.c (cache_addhst): Likewise.
20033 * nscd/grpcache.c (cache_addgr): Likewise.
20034 * nscd/aicache.c (addhstaiX): Likewise
20035
200362011-07-01 Andreas Schwab <schwab@redhat.com>
20037
20038 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20039 domain only when needed.
20040
200412011-06-30 Andreas Schwab <schwab@redhat.com>
20042
20043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20044 is always restored.
20045
200462011-06-29 Ulrich Drepper <drepper@gmail.com>
20047
20048 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20049 are re-adding the entry.
20050 * nscd/servicescache.c (cache_addserv): Likewise.
20051
200522011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20053
20054 * sysdeps/generic/dl-irel.h: fix protection against multiple
20055 inclusions.
20056 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20057
200582011-06-28 Ulrich Drepper <drepper@gmail.com>
20059
20060 [BZ #12935]
20061 * malloc/memusage.sh: Fix quoting in message.
20062 * debug/xtrace.sh: Likewise.
20063
20064 * configure.in: Remove support for --experimental-malloc option, make
20065 it the default.
20066 * config.make.in: Likewise.
20067 * malloc/Makefile: Likewise.
20068
200692011-06-27 Andreas Schwab <schwab@redhat.com>
20070
20071 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20072 two-byte characters.
20073
200742011-06-27 Roland McGrath <roland@hack.frob.com>
20075
20076 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20077 AC_CACHE_CHECK invocation.
20078 * configure: Regenerated.
20079
20080 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20081
200822011-06-27 Ulrich Drepper <drepper@gmail.com>
20083
20084 [BZ #12350]
20085 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20086 bit from old_res_options.
20087
20088 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20089
20090 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20091 value type for setfct.
20092
200932011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20094
20095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20096 __gettimeofday instead of gettimeofday.
20097
200982011-06-26 Ulrich Drepper <drepper@gmail.com>
20099
20100 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20101
201022011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20103
20104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20105
20106 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20107 info.
20108
201092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20110
20111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20112 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20113 strcpy-sse2-unaligned strncpy-sse2-unaligned
20114 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20115 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20116 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20117 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20118 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20119 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20120 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20121 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20122 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20123 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20124 (STRCPY): Support SSE2 and SSSE3 versions.
20125
201262011-06-24 Ulrich Drepper <drepper@gmail.com>
20127
20128 [BZ #12874]
20129 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20130 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20131 kernels which artificially limit size of requests.
20132
201332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20134
20135 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20136 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20137 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20138 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20139 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20140 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20141 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20142 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20143 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20145 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20146 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20147 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20148 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20149 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20151 Enable unaligned load optimization for Intel Core i3, i5 and i7
20152 processors.
20153 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20154 Define.
20155 (index_Fast_Unaligned_Load): Define.
20156 (HAS_FAST_UNALIGNED_LOAD): Define.
20157
201582011-06-23 Marek Polacek <mpolacek@redhat.com>
20159
20160 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20161
201622011-06-22 Ulrich Drepper <drepper@gmail.com>
20163
20164 [BZ #12907]
20165 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20166 until it is clear that the information is realy needed.
20167 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20168
201692011-06-22 Andreas Schwab <schwab@redhat.com>
20170
20171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20172
201732011-06-22 Ulrich Drepper <drepper@gmail.com>
20174
20175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20176 /sys/devices/system/cpu/online if it is usable.
20177
20178 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20179 reading the information from the /proc filesystem to once a second.
20180
201812011-06-21 Andreas Jaeger <aj@suse.de>
20182
20183 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20184 NULL after inclusion of kernel headers.
20185
201862011-06-21 Ulrich Drepper <drepper@gmail.com>
20187
20188 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20189 calls to internal_setent.
20190
20191 [BZ #12885]
20192 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20193 addresses using gethostbyname4_r ignore IPv4 addresses.
20194
20195 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20196 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20197
20198 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20199
202002011-06-20 David S. Miller <davem@davemloft.net>
20201
20202 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20203 inclusions.
20204 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20205
20206 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20207 (elf_irel): Use it.
20208 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20209 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20210 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20211 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20212 * sysdeps/x86_64/dl-irel.h: Likewise.
20213
20214 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20215 * elf/dl-sym.c: Likewise.
20216
202172011-06-15 Ulrich Drepper <drepper@gmail.com>
20218
20219 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20220 need to dereference resplen2.
20221
202222011-06-14 Andreas Schwab <schwab@redhat.com>
20223
20224 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20225
202262011-06-15 Ulrich Drepper <drepper@gmail.com>
20227
20228 * Makeconfig: Define vardbdir and inst_vardbdir.
20229 * nss/Makefile: Add rules to install db-Makefile.
20230
20231 * nss/nss_db/db-XXX.c: Cleanup.
20232
20233 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20234 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20235 GLIBC_PRIVATE.
20236 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20237 * nss/makedb.c: Implement -g option to specify that value strings
20238 are generated and should not be added to table iterated over for
20239 get*ent calls.
20240 * nss/nss_db/db-initgroups.c: New file.
20241
20242 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20243 interface.
20244
20245 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20246 (internal_getgrouplist): Adjust to name change.
20247 Update use_initgroups_entry if this is not the first call.
20248 * nss/databases.def: Add initgroups entry.
20249
20250 * nss/makedb.c (compute_tables): Check result of multiple hash table
20251 sizes to minimize maximum chain length.
20252
202532011-06-14 Ulrich Drepper <drepper@gmail.com>
20254
20255 * Versions.def: Add entry for libnss_db.
20256 * shlib-versions: Likewise.
20257 * nss/Makefile: Add rules to build libnss_db.
20258 * nss/Versions: Add libnss_db information. Organize libnss_files
20259 entries better.
20260 * nss/db-Makefile: Add gshadow support. Change rules for the new
20261 makedb progra. Some minor improvements to generate smaller files.
20262 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20263 here from...
20264 * nss/makedb.c: ...here.
20265 Improve database format to be smaller and require less memory at
20266 runtime.
20267 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20268 db anymore.
20269 * nss/nss_db/db-netgrp.c: Likewise.
20270 * nss/nss_db/db-open.c: Likewise.
20271 * nss/nss_files/flies-XXX.x: Adjust comments.
20272 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20273 * nss/nss_files/files-grp.c: Likewise.
20274 * nss/nss_files/files-hosts.c: Likewise.
20275 * nss/nss_files/files-network.c: Likewise.
20276 * nss/nss_files/files-proto.c: Likewise.
20277 * nss/nss_files/files-pwd.c: Likewise.
20278 * nss/nss_files/files-rpc.c: Likewise.
20279 * nss/nss_files/files-service.c: Likewise.
20280 * nss/nss_files/files-sgrp.c: Likewise.
20281 * nss/nss_files/files-spwd.c: Likewise.
20282 * nss/nss_db/db-alias.c: Removed.
20283 * nss/nss_db/dummy-db.h: Removed.
20284
202852011-06-02 Ulrich Drepper <drepper@gmail.com>
20286
20287 * nss/makedb.c: Rewritten to not use database library.
20288 * nss/Makefile: Update to build new makedb program.
20289
202902011-06-14 Andreas Jaeger <aj@suse.de>
20291
20292 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20293 memset declaration.
20294
202952011-06-10 Andreas Schwab <schwab@redhat.com>
20296
20297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20298 tmpbuf.
20299
203002011-06-10 Roland McGrath <roland@hack.frob.com>
20301
20302 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20303 * elf/Makefile ($(objpfx)ld.so): Likewise.
20304
20305 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20306 Don't list ld.so twice in dependencies.
20307
20308 * posix/bug-regex31.c: Include <stdlib.h>.
20309
20310 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20311
20312 * nis/nss_compat/compat-spwd.c
20313 (getspent_next_nss_netgr): Remove unused variable.
20314 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20315
20316 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20317 nonmembers" output to use the right array.
20318
20319 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20320
20321 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20322
20323 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20324 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20325 * catgets/gencat.c (read_input_file): Likewise.
20326 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20327
20328 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20329 variable definition inside #if's controlling its use.
20330
20331 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20332
20333 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20334
20335 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20336
20337 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20338 unreachable code.
20339
20340 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20341
20342 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20343 * configure: Regenerated.
20344
20345 * Makerules: Revert last change.
20346 * elf/Makefile: Likewise.
20347
203482011-06-09 Roland McGrath <roland@hack.frob.com>
20349
20350 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20351 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20352 (reloc-link): Likewise.
20353
203542011-06-09 Ulrich Drepper <drepper@gmail.com>
20355
20356 * elf/Makefile: Add rules to build pldd.
20357 * elf/pldd.c: New file.
20358 * elf/pldd-xx.c: New file.
20359
203602011-06-07 Ulrich Drepper <drepper@gmail.com>
20361
20362 * version.h: Update for 2.15 development version.
20363
203642011-06-07 David S. Miller <davem@davemloft.net>
20365
20366 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20367 ifuncs.
20368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20369 elf_machine_lazy_rel): Likewise.
20370 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20371 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20372 elf_machine_lazy_rel): Likewise.
20373 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20374 dl_hwcap via passed in argument.
20375 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20376 Likewise.
20377
203782011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20379
20380 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20381
203822011-06-06 Roland McGrath <roland@hack.frob.com>
20383
20384 [BZ #12849]
20385 * manual/fdl-1.1.texi: New file, verbatim from:
20386 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20387 * manual/lgpl-2.1.texi: New file, verbatim from:
20388 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20389 * manual/Makefile (licenses): New variable, list those new file names.
20390 (texis): Use it.
20391 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20392
20393 * manual/fdl.texi: File removed.
20394 * manual/lesser.texi: File removed.
20395 * manual/libc.texinfo (Copying, Documentation License):
20396 Use new @include file names, put @appendix directive before @include.
20397
203982011-06-04 Jakub Jelinek <jakub@redhat.com>
20399
20400 [BZ #12841]
20401 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20402 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20403 (mq_open): Add __NTH.
20404
204052011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20406
20407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20408 Assume Intel Core i3/i5/i7 processor if AVX is available.
20409
204102011-05-31 Ulrich Drepper <drepper@gmail.com>
20411
20412 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20413 typo.
20414
204152011-05-31 Andreas Schwab <schwab@redhat.com>
20416
20417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20418 memory. Use alloca_account. Fix memory leak when retrying.
20419
204202011-05-31 Ulrich Drepper <drepper@gmail.com>
20421
20422 * version.h (RELEASE): Bump for 2.14 release.
20423 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20424
20425 * config.make.in (RANLIB): Remove entry.
20426
204272011-05-30 Ulrich Drepper <drepper@gmail.com>
20428
20429 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20430 (libc.pot): Work around missing support for .ksh extension in xgettext.
20431
20432 [BZ #12684]
20433 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20434 if both request failed.
20435 (send_dg): In case of server errors clear resplen or *resplen2.
20436
20437 [BZ #12454]
20438 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20439 when there are multiple maps.
20440 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20441 (_dl_fini): Remove test here.
20442
20443 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20444
204452011-05-29 Ulrich Drepper <drepper@gmail.com>
20446
20447 [BZ #12350]
20448 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20449 bit from old_res_options.
20450 (gaih_inet): Likewise.
20451
20452 [BZ #11099]
20453 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20454 as signed.
20455
20456 * resolv/res_init.c (res_setoptions): Make the code more compact.
20457
20458 [BZ #11558]
20459 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20460 set RES_USEVC.
20461
20462 [BZ #11634]
20463 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20464
20465 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20466
20467 [BZ #11781]
20468 * malloc/malloc.h: Declare malloc hook variables as volatile.
20469
20470 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20471 in last patch.
20472
20473 [BZ #11799]
20474 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20475 raise in the comment.
20476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20478 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20479
204802011-05-28 Ulrich Drepper <drepper@gmail.com>
20481
20482 [BZ #12811]
20483 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20484 grow the buffers more if it already has to be sufficient.
20485 (build_wcs_upper_buffer): Likewise.
20486 * posix/regexec.c (check_matching): Likewise.
20487 (clean_state_log_if_needed): Likewise.
20488 (extend_buffers): Don't enlarge buffers beyond size of the input
20489 buffer.
20490 Patches mostly by Emil Wojak <emil@wojak.eu>.
20491 * posix/bug-regex32.c: New file.
20492 * posix/Makefile (tests): Add bug-regex32.
20493
20494 * locale/findlocale.c (_nl_find_locale): Return right away if
20495 _nl_explode_name failed.
20496 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20497
20498 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20499
20500 * debug/xtrace.sh: Unify messages.
20501 * malloc/memusage.sh: Likewise.
20502
20503 [BZ #12813]
20504 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20505 time symbol from vDSO. Substitute with vsyscall if not available.
20506 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20507 __vdso_time.
20508
20509 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20510 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20511 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20512 Add sendmmsg and internal_sendmmsg.
20513 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20514 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20515 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20516
20517 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20518 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20519 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20520
205212011-05-27 Ulrich Drepper <drepper@gmail.com>
20522
20523 [BZ #12813]
20524 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20525 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20526 available.
20527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20528 __vdso_getcpu.
20529
20530 [BZ #12814]
20531 * iconvdata/Makefile (tests): Add bug-iconv9.
20532 * iconvdata/bug-iconv9.c: New file.
20533
205342011-05-27 Andreas Schwab <schwab@redhat.com>
20535
20536 [BZ #12814]
20537 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20538
205392011-05-25 Jakub Jelinek <jakub@redhat.com>
20540
20541 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20542 (struct user_regs_struct): Change intcs field back to cs.
20543
205442011-05-25 Ulrich Drepper <drepper@gmail.com>
20545
20546 * po/ja.po: Update from translation team.
20547
205482011-05-23 Ulrich Drepper <drepper@gmail.com>
20549
20550 [BZ #12795]
20551 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20552 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20553
205542011-05-20 Andreas Schwab <schwab@redhat.com>
20555
20556 * stdlib/longlong.h: Update from GCC.
20557
205582011-05-23 Andreas Schwab <schwab@redhat.com>
20559
20560 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20561 parameter name.
20562 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20563 Add parameter name.
20564 (__sysconf): Pass it down.
20565
205662011-05-22 Ulrich Drepper <drepper@gmail.com>
20567
20568 [BZ #12671]
20569 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20570 some situations.
20571 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20572 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20573 add in in __libc_use_alloca calls. Adjust callers.
20574 (glob): Use malloc in some situations.
20575
20576 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20577 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20578 pltexit.
20579
205802011-05-21 Ulrich Drepper <drepper@gmail.com>
20581
20582 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20583 and CLOCK_BOOTTIME_ALARM.
20584
20585 [BZ #12782]
20586 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20587 is returned.
20588
20589 * string/_strerror.c (__strerror_r): Print negative errors as signed
20590 numbers.
20591
20592 [BZ #12777]
20593 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20594 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20595 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20596
20597 * configure.in: Fix typo in redirection and correct removal of test
20598 files in two cases.
20599
20600 [BZ #12788]
20601 * locale/setlocale.c (new_composite_name): Fix test to check for
20602 identical name of all categories.
20603
20604 [BZ #12792]
20605 * libio/filedoalloc.c (local_isatty): New function.
20606 (_IO_file_doallocate): Use local_isatty.
20607 * stdio-common/perror.c (perror): In case a new stream is used
20608 forward the stream error.
20609 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20610 error flag.
20611
206122011-05-20 Ulrich Drepper <drepper@gmail.com>
20613
20614 [BZ #11869]
20615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20616 alloca.
20617 * include/alloca.h (extend_alloca_account): Define.
20618
20619 [BZ #11857]
20620 * posix/regex.h: Fix comments with documentation of user-accessible
20621 fields after compilation and describe correct free'ing of pattern
20622 after re_compile_pattern.
20623 Patch by Reuben Thomas <rrt@sc3d.org>.
20624
206252011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20626
20627 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20628 and -mno-altivec to prevent the compiler from using Altivec and/or
20629 VSX instructions when the corresponding registers are not available.
20630
206312011-05-19 Andreas Schwab <schwab@redhat.com>
20632
20633 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20634
206352011-05-19 Ulrich Drepper <drepper@gmail.com>
20636
20637 * libio/freopen.c (freopen): Use __dup2, not dup2.
20638 * libio/freopen64.c (freopen64): Likewise.
20639
206402011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20641
20642 [BZ #12775]
20643 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20644 * math/Makefile (tests): Add test-powl.
20645 (CFLAGS-test-powl.c): Define.
20646 * math/test-powl.c: New file.
20647
206482011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20649
20650 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20651
206522011-05-17 Ulrich Drepper <drepper@gmail.com>
20653
20654 [BZ #11837]
20655 * iconvdata/gb18030.c: Update to GB18020-2005.
20656
206572011-05-16 Ulrich Drepper <drepper@gmail.com>
20658
20659 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20660 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20661 Patch by Aharon Robbins <arnold@skeeve.com>.
20662
20663 [BZ #11892]
20664 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20665 on the stack.
20666
20667 [BZ #11895]
20668 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20669 through underflows.
20670
20671 [BZ #12766]
20672 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20673 point to strings before performing equality test for error_one_per_line
20674 mode.
20675
20676 [BZ #11697]
20677 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20678
20679 [BZ #11820]
20680 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20681 (struct user_fpregs_struct): Avoid __uint*_t types.
20682
20683 [BZ #6420]
20684 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20685 symbol info. Use it instead of calling _dl_addr locally.
20686 (lock_and_info): New function.
20687 (tr_freehook): Call lock_and_info and pass symbol info as additional
20688 parameter to tr_where.
20689 (tr_mallochook): Likewise.
20690 (tr_reallochook): Likewise.
20691 (tr_memalignhook): Likewise.
20692
20693 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20694 used and couldn't be at all thread-safe.
20695
206962011-05-15 Ulrich Drepper <drepper@gmail.com>
20697
20698 * libio/freopen.c (freopen): Don't close old file descriptor
20699 before the new one is opened. Instead dup the new file descriptor
20700 to the old one after the new stream is created.
20701 * libio/freopen64.c (freopen64): Likewise.
20702 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20703 * libio/fileops.c (_IO_new_file_close_it): Handle new
20704 _IO_FLAGS2_NOCLOSE flag.
20705 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20706 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20707 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20708 _IO_FLAGS2_NOCLOSE flag.
20709 * include/unistd.h: Add hidden_proto for dup3.
20710 Define __have_dup3.
20711 * io/dup3.c: Define hidden symbol.
20712 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20713
20714 [BZ #7101]
20715 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20716 when an incomplete long option is used.
20717 * posix/tst-getopt_long1.c: New file.
20718 * posix/Makefile (tests): Add tst-getopt_long1.
20719
20720 [BZ #10138]
20721 * scripts/config.guess: Update from autoconf-2.68.
20722 * scripts/config.sub: Likewise.
20723
20724 [BZ #10157]
20725 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20726 tests into ...
20727 (has_cpuclock): ...this. New function.
20728 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20729 macro here based on has_cpuclock code.
20730
20731 [BZ #10149]
20732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20733 First byte (not low byte) is now always NUL.
20734 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20735
20736 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20737 Use non-cancelable interfaces.
20738
20739 [BZ #9809]
20740 * locale/iso-639.def: Add entry for Sorani.
20741
20742 [BZ #11901]
20743 * include/stdlib.h: Move include protection to the right place.
20744 Define abort_msg_s. Declare __abort_msg with it.
20745 * stdlib/abort.c (__abort_msg): Adjust type.
20746 * assert/assert.c (__assert_fail_base): New function. Majority
20747 of code from __assert_fail. Allocate memory for __abort_msg with
20748 mmap.
20749 (__assert_fail): Now call __assert_fail_base.
20750 * assert/assert-perr.c: Remove bulk of implementation. Use
20751 __assert_fail_base.
20752 * include/assert.hL Declare __assert_fail_base.
20753 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20754 mmap.
20755 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20756
207572011-05-14 Ulrich Drepper <drepper@gmail.com>
20758
20759 [BZ #11952]
20760 [BZ #12453]
20761 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20762 until all modules are registered in the DTV.
20763 * elf/Makefile: Add rules to build and run tst-tls19.
20764 * elf/tst-tls19.c: New file.
20765 * elf/tst-tls19mod1.c: New file.
20766 * elf/tst-tls19mod2.c: New file.
20767 * elf/tst-tls19mod3.c: New file.
20768 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20769
20770 [BZ #12083]
20771 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20772 correctly.
20773
20774 [BZ #12601]
20775 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20776 two-byte sequence errors.
20777 * iconvdata/Makefile (tests): Add bug-iconv8.
20778 * iconvdata/bug-iconv8.c: New file.
20779
20780 [BZ #12626]
20781 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20782 buf2 definition.
20783
20784 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20785
20786 [BZ #12432]
20787 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20788 (dummy_getcfa): New function.
20789 (init): Get _Unwind_GetCFA address, use dummy if not found.
20790 (backtrace_helper): In recursion check, also check whether CFA changes.
20791 (__backtrace): Completely initialize arg.
20792
20793 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20794 storing incomplete byte sequence in state object. Avoid testing for
20795 guaranteed too small input if we know there is enough data available.
20796
207972011-05-11 Andreas Schwab <schwab@redhat.com>
20798
20799 * Makeconfig (+link-pie): Indent.
20800 * Rules (binaries-pie): Define if $(have-fpie) and
20801 $(build-shared).
20802 (binaries-shared): Also filter out $(binaries-pie).
20803 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20804 * nscd/Makefile (others-pie): Add nscd.
20805 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20806 ($(objpfx)nscd): Remove command override.
20807 * login/Makefile (others-pie): Add pt_chown.
20808 ($(objpfx)pt_chown): Remove command override.
20809 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20810 remove command overrides.
20811
208122011-05-13 Ulrich Drepper <drepper@gmail.com>
20813
20814 * libio/tst_putwc.c: Fix error messages.
20815
20816 [BZ #12724]
20817 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20818 currently writing and seek to current position when not.
20819 * libio/Makefile (tests): Add bug-fclose1.
20820 * libio/bug-fclose1.c: New file.
20821
208222011-05-12 Ulrich Drepper <drepper@gmail.com>
20823
20824 [BZ #12511]
20825 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20826 don't set DF_1_NODELETE here.
20827 (do_lookup_x): When entering new entry test for copy relocation
20828 and if necessary set DF_1_NODELETE flag.
20829 * elf/tst-unique4.cc: New file.
20830 * elf/tst-unique4.h: New file.
20831 * elf/tst-unique4lib.cc: New file.
20832 * elf/Makefile: Add rules to build and run tst-unique4.
20833 Patch by Piotr Bury <pbury@goahead.com>.
20834
208352011-05-11 Ulrich Drepper <drepper@gmail.com>
20836
20837 [BZ #12052]
20838 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20839
20840 [BZ #12625]
20841 * misc/mntent_r.c (addmntent): Flush the stream after the output
20842
20843 [BZ #12393]
20844 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20845 (is_trusted_path_normalize): Skip initial colon. Append slash
20846 to empty buffer. Duplicate is_trusted_path code but allow
20847 constructed patch to be prefix.
20848 (is_dst): Allow $ORIGIN followed by /.
20849 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20850 Correct testing of result of is_trusted_path_normalize
20851 (decompose_rpath): Fix warning.
20852
208532011-05-10 Ulrich Drepper <drepper@gmail.com>
20854
20855 [BZ #11257]
20856 * grp/initgroups.c (internal_getgrouplist): When we found the service
20857 list through the initgroups entry in nsswitch.conf do not always
20858 continue on a successful lookup. Don't always use the
20859 __nss_group_database value if it is set.
20860 * nss/nsswitch.conf (initgroups): Change action for successful db
20861 lookup to continue for compatibility.
20862
208632011-05-09 Ulrich Drepper <drepper@gmail.com>
20864
20865 [BZ #11532]
20866 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20867 and CP774 modules.
20868 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20869 and CP774 modules.
20870 * iconvdata/tst-tables.sh: Likewise.
20871 * iconvdata/cp770.c: New file.
20872 * iconvdata/cp771.c: New file.
20873 * iconvdata/cp772.c: New file.
20874 * iconvdata/cp773.c: New file.
20875 * iconvdata/cp774.c: New file.
20876 * iconvdata/testdata/CP770: New file.
20877 * iconvdata/testdata/CP770..UTF8: New file.
20878 * iconvdata/testdata/CP771: New file.
20879 * iconvdata/testdata/CP771..UTF8: New file.
20880 * iconvdata/testdata/CP772: New file.
20881 * iconvdata/testdata/CP772..UTF8: New file.
20882 * iconvdata/testdata/CP773: New file.
20883 * iconvdata/testdata/CP773..UTF8: New file.
20884 * iconvdata/testdata/CP774: New file.
20885 * iconvdata/testdata/CP774..UTF8: New file.
20886
20887 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20888 END CHARMAP line.
20889 * iconvdata/gen-8bit-gap.sh: Likewise.
20890 * iconvdata/gen-8bit.sh: Likewise.
20891
20892 * locale/iso-639.def: Add ary entry.
20893
20894 [BZ #11258]
20895 * locale/C-translit.h.in: Add U20A1 transliteration.
20896
20897 [BZ #12178]
20898 * locale/iso-639.def: Add wae entry.
20899 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20900
20901 [BZ #12545]
20902 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20903 for n.
20904
20905 [BZ #12711]
20906 * locale/C-translit.h.in: Add entry for U20B9.
20907 Patch by pravin.d.s@gmail.com.
20908
209092011-05-08 Ulrich Drepper <drepper@gmail.com>
20910
20911 [BZ #12713]
20912 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20913 ENAMETOOLONG use generic getcwd.
20914 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20915 in rtld. Use *stat64.
20916 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
20917 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
20918 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
20919 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20920 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20921 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20922 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20923 __fstatat64 macros.
20924 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20925 * dirent/rewinddir.c: Add libc_hidden_def.
20926 * sysdeps/mach/hurd/rewinddir.c: Likewise.
20927 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
20928
20929 * include/dirent.h (__alloc_dir): Add flags parameter.
20930 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20931 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20932 __alloc_dir.
20933 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20934 from fdopendir if O_CLOEXEC is already set.
20935
209362011-03-15 Alan Modra <amodra@gmail.com>
20937
20938 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20939 l_tls_firstbyte_offset non-zero. Save padding offset in
20940 l_tls_firstbyte_offset for later use.
20941 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20942 freeing static tls block.
20943
209442011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20945
20946 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20947 where #ifdef was intended. The intent is to prevent ARG_MAX from
20948 being defined by the kernel headers.
20949
209502011-05-07 Ulrich Drepper <drepper@gmail.com>
20951
20952 [BZ #12734]
20953 * resolv/resolv.h: Define RES_NOTLDQUERY.
20954 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20955 no-tld-query and set RES_NOTLDQUERY.
20956 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20957 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20958 modern BIND to search name as TLD unless forbidden.
20959
209602011-05-07 Petr Baudis <pasky@suse.cz>
20961 Ulrich Drepper <drepper@gmail.com>
20962
20963 [BZ #12393]
20964 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20965 (is_trusted_path): ...to here.
20966 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
20967 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
20968 using is_trusted_path_normalize() in setuid scripts.
20969
209702011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20971
20972 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20973 __BEGIN/__END_DECLS.
20974
209752011-05-06 Ulrich Drepper <drepper@gmail.com>
20976
20977 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20978 NSS_STATUS_NOTFOUND if no record was found.
20979
209802011-05-05 Andreas Schwab <schwab@redhat.com>
20981
20982 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20983 (headers-not-in-tirpc): Remove rpc/netdb.h
20984 * resolv/netdb.h: Revert last change.
20985
209862011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20987
20988 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20989 circular dependency between libgcc.a and libc.a.
20990
209912011-05-05 Andreas Schwab <schwab@redhat.com>
20992
20993 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20994 * nis/Makefile: Don't install rpcsvc/*.
20995 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20996 instead of <rpc/types.h>.
20997 (MAXHOSTNAMELEN): Define.
20998
209992011-05-03 Andreas Schwab <schwab@redhat.com>
21000
21001 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21002
210032011-04-28 Maciej Babinski <mbabinski@google.com>
21004
21005 [BZ #12714]
21006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21007 gethostbyname4_r when IPv6 results are possible.
21008
210092011-05-02 Ulrich Drepper <drepper@gmail.com>
21010
21011 [BZ #12723]
21012 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21013 _PC_PIPE_BUF handling.
21014
210152011-04-30 Bruno Haible <bruno@clisp.org>
21016
21017 [BZ #12717]
21018 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21019 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21020 to 'int'.
21021 * inet/getnameinfo.c (getnameinfo): Likewise.
21022
210232011-04-29 Ulrich Drepper <drepper@gmail.com>
21024
21025 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21026 to groups setting in database lookup.
21027 * nss/nsswitch.conf: Add initgroups entry.
21028
210292011-04-22 Ulrich Drepper <drepper@gmail.com>
21030
21031 [BZ #12685]
21032 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21033 mode string.
21034 Patch by Eric Blake <eblake@redhat.com>.
21035
210362011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21037
21038 * sunrpc/Makefile (need-export-routines): Add svc_run.
21039 (routines): Remove svc_run.
21040 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21041 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21042 * sunrpc/svc_run.c (svc_run): Likewise.
21043 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21044
210452011-04-21 Ulrich Drepper <drepper@gmail.com>
21046
21047 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21048 problem in reallocation in last patch.
21049
210502011-04-20 Ulrich Drepper <drepper@gmail.com>
21051
21052 * sunrpc/Makefile: Move inclusion of Rules.
21053
210542011-04-19 Ulrich Drepper <drepper@gmail.com>
21055
21056 * nss/nss_files/files-initgroups.c: New file.
21057 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21058 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21059 _nss_files_initgroups_dyn.
21060
210612011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21062
21063 * elf/elf.h (R_ARM_IRELATIVE): Define.
21064
210652011-04-19 Ulrich Drepper <drepper@gmail.com>
21066
21067 * po/ru.po: Update from translation team.
21068
210692011-04-17 Ulrich Drepper <drepper@gmail.com>
21070
21071 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21072 dependencies.
21073
210742011-02-06 Mike Frysinger <vapier@gentoo.org>
21075
21076 [BZ #12653]
21077 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21078 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21079 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21080 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21081 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21082
210832011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21084
21085 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21086 differing bytes.
21087 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21088 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21090
210912011-04-17 Ulrich Drepper <drepper@gmail.com>
21092
21093 [BZ #12420]
21094 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21095 storing it.
21096 * stdlib/bug-getcontext.c: New file.
21097 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21098
210992011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21100
21101 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21102 instructions into .machine "z9-109".
21103 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21104 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21105
211062011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21107
21108 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21109 between environment variables and auxiliary vector.
21110
211112011-04-16 Ulrich Drepper <drepper@gmail.com>
21112
21113 * Makefile: Add rules to build linkobj/libc.so.
21114 * include/libc-symbols.h: Define libc_hidden_nolink.
21115 * include/rpc/auth.h: Mark functions which are to be hidden.
21116 * include/rpc/auth_des.h: Likewise.
21117 * include/rpc/auth_unix.h: Likewise.
21118 * include/rpc/clnt.h: Likewise.
21119 * include/rpc/des_crypt.h: Likewise.
21120 * include/rpc/key_prot.h: Likewise.
21121 * include/rpc/pmap_clnt.h: Likewise.
21122 * include/rpc/pmap_prot.h: Likewise.
21123 * include/rpc/pmap_rmt.h: Likewise.
21124 * include/rpc/rpc_msg.h: Likewise.
21125 * include/rpc/svc.h: Likewise.
21126 * include/rpc/svc_auth.h: Likewise.
21127 * include/rpc/xdr.h: Likewise.
21128 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21129 * nss/Makefile: Likewise.
21130 * sunrpc/Makefile: Don't install headers. Build library with normal
21131 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21132 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21133 for the compat linking library. Remove use of INTDEF/INTUSE.
21134 * sunrpc/auth_none.c: Likewise.
21135 * sunrpc/auth_unix.c: Likewise.
21136 * sunrpc/authdes_prot.c: Likewise.
21137 * sunrpc/authuxprot.c: Likewise.
21138 * sunrpc/clnt_gen.c: Likewise.
21139 * sunrpc/clnt_perr.c: Likewise.
21140 * sunrpc/clnt_raw.c: Likewise.
21141 * sunrpc/clnt_simp.c: Likewise.
21142 * sunrpc/clnt_tcp.c: Likewise.
21143 * sunrpc/clnt_udp.c: Likewise.
21144 * sunrpc/clnt_unix.c: Likewise.
21145 * sunrpc/des_crypt.c: Likewise.
21146 * sunrpc/des_soft.c: Likewise.
21147 * sunrpc/get_myaddr.c: Likewise.
21148 * sunrpc/key_call.c: Likewise.
21149 * sunrpc/key_prot.c: Likewise.
21150 * sunrpc/netname.c: Likewise.
21151 * sunrpc/pm_getmaps.c: Likewise.
21152 * sunrpc/pm_getport.c: Likewise.
21153 * sunrpc/pmap_clnt.c: Likewise.
21154 * sunrpc/pmap_prot.c: Likewise.
21155 * sunrpc/pmap_prot2.c: Likewise.
21156 * sunrpc/pmap_rmt.c: Likewise.
21157 * sunrpc/publickey.c: Likewise.
21158 * sunrpc/rpc_cmsg.c: Likewise.
21159 * sunrpc/rpc_common.c: Likewise.
21160 * sunrpc/rpc_dtable.c: Likewise.
21161 * sunrpc/rpc_prot.c: Likewise.
21162 * sunrpc/rpc_thread.c: Likewise.
21163 * sunrpc/rtime.c: Likewise.
21164 * sunrpc/svc.c: Likewise.
21165 * sunrpc/svc_auth.c: Likewise.
21166 * sunrpc/svc_authux.c: Likewise.
21167 * sunrpc/svc_raw.c: Likewise.
21168 * sunrpc/svc_run.c: Likewise.
21169 * sunrpc/svc_simple.c: Likewise.
21170 * sunrpc/svc_tcp.c: Likewise.
21171 * sunrpc/svc_udp.c: Likewise.
21172 * sunrpc/svc_unix.c: Likewise.
21173 * sunrpc/svcauth_des.c: Likewise.
21174 * sunrpc/xcrypt.c: Likewise.
21175 * sunrpc/xdr.c: Likewise.
21176 * sunrpc/xdr_array.c: Likewise.
21177 * sunrpc/xdr_float.c: Likewise.
21178 * sunrpc/xdr_intXX_t.c: Likewise.
21179 * sunrpc/xdr_mem.c: Likewise.
21180 * sunrpc/xdr_rec.c: Likewise.
21181 * sunrpc/xdr_ref.c: Likewise.
21182 * sunrpc/xdr_sizeof.c: Likewise.
21183 * sunrpc/xdr_stdio.c: Likewise.
21184
211852011-04-10 Ulrich Drepper <drepper@gmail.com>
21186
21187 [BZ #12650]
21188 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21189 * sysdeps/ia64/dl-tls.h: Likewise.
21190 * sysdeps/powerpc/dl-tls.h: Likewise.
21191 * sysdeps/s390/dl-tls.h: Likewise.
21192 * sysdeps/sh/dl-tls.h: Likewise.
21193 * sysdeps/sparc/dl-tls.h: Likewise.
21194 * sysdeps/x86_64/dl-tls.h: Likewise.
21195 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21196
211972011-03-14 Andreas Schwab <schwab@redhat.com>
21198
21199 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21200 rpath element also skip the following colon.
21201 (expand_dynamic_string_token): Add is_path parameter and pass
21202 down to DL_DST_REQUIRED and _dl_dst_substitute.
21203 (decompose_rpath): Call expand_dynamic_string_token with
21204 non-zero is_path. Ignore empty rpaths.
21205 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21206 with zero is_path.
21207
212082011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21209
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21211 Make cancelable.
21212
212132011-04-09 Ulrich Drepper <drepper@gmail.com>
21214
21215 [BZ #12655]
21216 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21217 Patch by Filipe David Manana <fdmanana@apache.org>.
21218
212192011-04-07 Andreas Schwab <schwab@redhat.com>
21220
21221 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21222 Maintain aligned stack.
21223 (CHECK_RSP): Remove unused macro.
21224
212252011-04-03 Ulrich Drepper <drepper@gmail.com>
21226
21227 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21228 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21229
212302011-04-02 Ulrich Drepper <drepper@gmail.com>
21231
21232 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21233
21234 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21235
212362011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21237
21238 [BZ #12518]
21239 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21240 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21241 * sysdeps/x86_64/memmove.c: New file.
21242 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21243 (memcpy): Renamed to ...
21244 (__new_memcpy): This.
21245 (memcpy): Provide GLIBC_2_14 memcpy.
21246 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21247 (memcpy): Provide GLIBC_2_2_5 memcpy.
21248
212492011-04-01 Ulrich Drepper <drepper@gmail.com>
21250
21251 [BZ #12631]
21252 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21253
212542011-03-30 Andreas Schwab <schwab@redhat.com>
21255
21256 * misc/syncfs.c: New file.
21257 * misc/Makefile (routines): Add syncfs.
21258 * posix/unistd.h: Declare syncfs.
21259 * sysdeps/unix/syscalls.list: Add syncfs.
21260
212612011-04-01 Andreas Schwab <schwab@redhat.com>
21262
21263 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21264 open_by_handle_at.
21265 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21266 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21270 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21271 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21272
212732011-04-01 Ulrich Drepper <drepper@gmail.com>
21274
21275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21277 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21279 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21280 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21282
21283 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21284 sync_file_range.c with -fexceptions.
21285 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21286 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21287 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21288 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21289 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21290 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21291 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21292 sync_file_range as cancellation point
21293 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21294 now a wrapper around __call_sync_file_range with cancellation handling.
21295 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21296 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21297 function name to __call_sync_file_range.
21298 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21299 Add call_sync_file_range.
21300
213012011-04-01 Andreas Schwab <schwab@redhat.com>
21302
21303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21304 bits/timex.h.
21305
213062011-04-01 Ulrich Drepper <drepper@gmail.com>
21307
21308 * iconv/iconv.h: Fix typo in comment.
21309 * io/fcntl.h: Likewise.
21310 * libio/stdio.h: Likewise.
21311 * posix/spawn.h: Likewise.
21312 * posix/unistd.h: Likewise.
21313 * stdlib/stdlib.h: Likewise.
21314 * time/time.h: Likewise.
21315 * wcsmbs/wchar.h: Likewise.
21316
21317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21318 open_by_handle): Add.
21319 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21320 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21321 Augment a few comments.
21322 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21323 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21325 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21327 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21328 open_by_handle.
21329
21330 * io/fcntl.h (AT_EMPTY_PATH): Define.
21331
213322011-03-30 Ulrich Drepper <drepper@gmail.com>
21333
21334 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21335 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21336 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21337 to...
21338 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21339 * Versions.def: Add GLIBC_2.14.
21340 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21341 Export.
21342
213432011-03-22 Ulrich Drepper <drepper@gmail.com>
21344
21345 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21346 round counter.
21347 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21348
213492011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21350
21351 [BZ #12597]
21352 * string/test-strncmp.c (do_page_test): New function.
21353 (check2): Likewise.
21354 (test_main): Call check2.
21355 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21356
213572011-03-20 Ulrich Drepper <drepper@gmail.com>
21358
21359 [BZ #12587]
21360 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21361 Handle cache information in CPU leaf 4.
21362 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21363
213642011-03-18 Ulrich Drepper <drepper@gmail.com>
21365
21366 [BZ #12583]
21367 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21368 character representation.
21369 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21370
213712011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21372
21373 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21374 END(__isnan) to END(__isnanf) to match function entry point/label
21375 EALIGN(__isnanf,...).
21376
213772011-03-10 Jakub Jelinek <jakub@redhat.com>
21378
21379 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21380
213812011-03-10 Ulrich Drepper <drepper@gmail.com>
21382
21383 [BZ #12510]
21384 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21385 copy from the symbol referenced in the relocation to initialize the
21386 used variable.
21387 Patch by Piotr Bury <pbury@goahead.com>.
21388 * elf/Makefile: Add rules to build and tst-unique3.
21389 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21390 * elf/tst-unique3.cc: New file.
21391 * elf/tst-unique3.h: New file.
21392 * elf/tst-unique3lib.cc: New file.
21393 * elf/tst-unique3lib2.cc: New file.
21394
21395 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21396
213972011-03-10 Mike Frysinger <vapier@gentoo.org>
21398
21399 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21400 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21401 to _start.
21402
214032011-03-06 Ulrich Drepper <drepper@gmail.com>
21404
21405 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21406 to-be-loaded object along a path to loader is ld.so.
21407
214082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21409 Ulrich Drepper <drepper@gmail.com>
21410
21411 * sysdeps/x86_64/memset.S: After aligning destination, code
21412 branches to different locations depending on the value of
21413 misalignment, when multiarch is enabled. Fix this.
21414
214152011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21416
21417 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21418 Set _x86_64_preferred_memory_instruction for AMD processsors.
21419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21420 Set bit_Prefer_SSE_for_memop for AMD processors.
21421
214222011-03-04 Ulrich Drepper <drepper@gmail.com>
21423
21424 * libio/fmemopen.c (fmemopen): Optimize a bit.
21425
214262011-03-03 Andreas Schwab <schwab@redhat.com>
21427
21428 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21429
214302011-03-03 Roland McGrath <roland@redhat.com>
21431
21432 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21433
214342011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21435
21436 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21437 __bzero_ultra1 instead of __memset_ultra1.
21438
214392011-02-23 Andreas Schwab <schwab@redhat.com>
21440 Ulrich Drepper <drepper@gmail.com>
21441
21442 [BZ #12509]
21443 * include/link.h (struct link_map): Add l_orig_initfini.
21444 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21445 returning unsuccessfully.
21446 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21447 close of a file loaded at startup, restore the original l_initfini
21448 list.
21449 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21450 list, store the pointer.
21451 * elf/Makefile ($(objpfx)noload-mem): New rule.
21452 (noload-ENV): Define.
21453 (tests): Add $(objpfx)noload-mem.
21454 * elf/noload.c: Include <memcheck.h>.
21455 (main): Call mtrace. Close all opened handles.
21456
214572011-02-17 Andreas Schwab <schwab@redhat.com>
21458
21459 [BZ #12454]
21460 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21461 dependencies are missing.
21462
214632011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21464
21465 Fix __if_freereq crash: Unlike the generic version which uses free,
21466 Hurd needs munmap.
21467 * sysdeps/mach/hurd/ifreq.h: New file.
21468
214692011-01-27 Petr Baudis <pasky@suse.cz>
21470 Ulrich Drepper <drepper@gmail.com>
21471
21472 [BZ 12445]#
21473 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21474 to extend_alloca().
21475 * stdio-common/bug23.c: New file.
21476 * stdio-common/Makefile (tests): Add bug23.
21477
214782010-09-28 Andreas Schwab <schwab@redhat.com>
21479 Ulrich Drepper <drepper@gmail.com>
21480
21481 [BZ #12489]
21482 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21483 before performing relro protection. At old place add assertion
21484 to make sure nothing changed.
21485
214862011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21487 Glauber de Oliveira Costa <glommer@gmail.com>
21488
21489 * elf/elf.h: Add new ARM TLS relocs.
21490
214912011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21492
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21494 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21495 cast from r3.
21496 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21497 'tests' variable.
21498 * sysdeps/wordsize-64/tst-writev.c: New file.
21499
215002011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21501
21502 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21503 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21504 insns in _dl_start to prevent a TOC reference before relocs are
21505 resolved.
21506
215072011-02-15 Ulrich Drepper <drepper@gmail.com>
21508
21509 [BZ #12469]
21510 * Makeconfig: Remove RANLIB definition.
21511 * Makerules: Don't use RANLIB.
21512 * aclocal.m4: Remove ranlib test.
21513 * configure.in: No need to check for ranlib.
21514 * elf/rtld-Rules: Don't use RANLIB.
21515
215162011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21517
21518 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21519 protection macro.
21520 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21521 inclusion protection macro.
21522
21523 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21524 SIGRTMIN and SIGRTMAX and print information in that case only when
21525 SIGRTMIN is defined.
21526
215272011-02-11 Jakub Jelinek <jakub@redhat.com>
21528
21529 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21530 arginfo fn returning -1.
21531
21532 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21533 and thousands string is zero terminated.
21534
215352011-02-03 Andreas Schwab <schwab@redhat.com>
21536
21537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21538 sysdeps/unix/sysv/linux/bits/socket.h.
21539
215402011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21541
21542 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21543 (__CPU_COUNT): Remove old macros.
21544 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21545 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21546 (__CPU_ALLOC, __CPU_FREE): Add macros.
21547 (__sched_cpualloc, __sched_cpufree): Add declarations.
21548
215492011-02-05 Ulrich Drepper <drepper@gmail.com>
21550
21551 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21552 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21553 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21554 (readdhstai): Return value of addhstaiX call.
21555 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21556 (addgrbyX): Return value returned by cache_addgr.
21557 (readdgrbyname): Return value returned by addgrbyX.
21558 (readdgrbygid): Likewise.
21559 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21560 (addpwbyX): Return value returned by cache_addpw.
21561 (readdpwbyname): Return value returned by addhstbyX.
21562 (readdpwbyuid): Likewise.
21563 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21564 (addservbyX): Return value returned by cache_addserv.
21565 (readdservbyname): Return value returned by addservbyX:
21566 (readdservbyport): Likewise.
21567 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21568 (addhstbyX): Return value returned by cache_addhst.
21569 (readdhstbyname): Return value returned by addhstbyX.
21570 (readdhstbyaddr): Likewise.
21571 (readdhstbynamev6): Likewise.
21572 (readdhstbyaddrv6): Likewise.
21573 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21574 (readdinitgroups): Return value returned by addinitgroupsX.
21575 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21576 (prune_cache): Keep track of timeout value of re-added entries.
21577 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21578 * nscd/nscd.h: Adjust prototypes of readd* functions.
21579
215802011-02-04 Roland McGrath <roland@redhat.com>
21581
21582 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21583 (nis_stats): Likewise.
21584 * nis/nis_modify.c (nis_modify): Likewise.
21585 * nis/nis_remove.c (nis_remove): Likewise.
21586 * nis/nis_add.c (nis_add): Likewise.
21587
21588 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21589
21590 * posix/fnmatch_loop.c: Add some consts.
21591
21592 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21593
215942011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 [BZ #12460]
21597 * config.make.in (config-cflags-novzeroupper): Define.
21598 * configure.in: Substitute libc_cv_cc_novzeroupper.
21599 * elf/Makefile (AVX-CFLAGS): Define.
21600 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21601 (CFLAGS-tst-auditmod4a.c): Likewise.
21602 (CFLAGS-tst-auditmod4b.c): Likewise.
21603 (CFLAGS-tst-auditmod6b.c): Likewise.
21604 (CFLAGS-tst-auditmod6c.c): Likewise.
21605 (CFLAGS-tst-auditmod7b.c): Likewise.
21606 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21607
216082011-02-02 Ulrich Drepper <drepper@gmail.com>
21609
21610 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21611 function to the callback.
21612 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21613
216142011-02-02 Andreas Schwab <schwab@redhat.com>
21615
21616 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21617 of errno.
21618
216192011-01-19 Ulrich Drepper <drepper@gmail.com>
21620
21621 [BZ #11724]
21622 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21623 of constructors.
21624 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21625 of destructors.
21626 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21627
21628 [BZ #11724]
21629 * elf/Makefile: Add rules to build and run new test.
21630 * elf/tst-initorder.c: New file.
21631 * elf/tst-initorder.exp: New file.
21632 * elf/tst-initordera1.c: New file.
21633 * elf/tst-initordera2.c: New file.
21634 * elf/tst-initordera3.c: New file.
21635 * elf/tst-initordera4.c: New file.
21636 * elf/tst-initorderb1.c: New file.
21637 * elf/tst-initorderb2.c: New file.
21638 * elf/tst-order-a1.c: New file.
21639 * elf/tst-order-a2.c: New file.
21640 * elf/tst-order-a3.c: New file.
21641 * elf/tst-order-a4.c: New file.
21642 * elf/tst-order-b1.c: New file.
21643 * elf/tst-order-b2.c: New file.
21644 * elf/tst-order-main.c: New file.
21645 New test case by George Gensure <werkt0@gmail.com>.
21646
216472010-10-01 Andreas Schwab <schwab@redhat.com>
21648
21649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21650 decoding ACE if AI_CANONIDN.
21651
216522011-01-18 Ulrich Drepper <drepper@gmail.com>
21653
21654 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21655
216562011-01-17 Ulrich Drepper <drepper@gmail.com>
21657
21658 * version.h (RELEASE): Bump for 2.13 release.
21659 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21660
21661 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21662
21663 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21664 MADV_NOHUGEPAGE.
21665 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21666 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21670 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21671
21672 * posix/getconf.c: Update copyright year.
21673 * catgets/gencat.c: Likewise.
21674 * csu/version.c: Likewise.
21675 * debug/catchsegv.sh: Likewise.
21676 * debug/xtrace.sh: Likewise.
21677 * elf/ldconfig.c: Likewise.
21678 * elf/ldd.bash.in: Likewise.
21679 * elf/sprof.c (print_version): Likewise.
21680 * iconv/iconv_prog.c: Likewise.
21681 * iconv/iconvconfig.c: Likewise.
21682 * locale/programs/locale.c: Likewise.
21683 * locale/programs/localedef.c: Likewise.
21684 * malloc/memusage.sh: Likewise.
21685 * malloc/mtrace.pl: Likewise.
21686 * nscd/nscd.c (print_version): Likewise.
21687 * nss/getent.c: Likewise.
21688
21689 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21690 PF_CAIF, and PF_ALG.
21691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21692
216932011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21694
21695 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21696 (modules-names): Use them.
21697 (ifunc-test-modules, ifunc-pie-tests): Define.
21698 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21699 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21700 (test-extras): Likewise.
21701 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21702 $(compile-command.c).
21703 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21704 (all-built-dso): Define.
21705 (check-textrel.out, check-execstack.out): Depend on it.
21706
21707 * configure.in: Don't override --enable-multi-arch.
21708
217092011-01-15 Ulrich Drepper <drepper@gmail.com>
21710
21711 [BZ #6812]
21712 * nscd/hstcache.c (tryagain): Define.
21713 (cache_addhst): Return tryagain not notfound for temporary errors.
21714 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21715 failed.
21716
217172011-01-14 Ulrich Drepper <drepper@gmail.com>
21718
21719 [BZ #10563]
21720 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21721 to make the syscall.
21722 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21723
21724 [BZ #12378]
21725 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21726 and fall back to matching as normal character if the string ends before
21727 the matching ']' is found. This is what POSIX requires.
21728 * posix/testfnm.c: Adjust test result.
21729 * posix/globtest.sh: Adjust test result. Add new test.
21730 * posix/tst-fnmatch.input: Likewise.
21731 * posix/tst-fnmatch2.c: Add new test.
21732
217332010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21734
21735 * elf/Makefile (check-execstack): Revert last change. Depend on
21736 check-execstack.h.
21737 (check-execstack.h): New target.
21738 (generated): Add check-execstack.h.
21739 * elf/check-execstack.c: Include "check-execstack.h".
21740 (main): Revert last change.
21741 (handle_file): Return zero if GNU_STACK is absent and
21742 DEFAULT_STACK_PERMS doesn't include PF_X.
21743
217442011-01-13 Ulrich Drepper <drepper@gmail.com>
21745
21746 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21747 in child fails because the descriptor is already closed.
21748 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21749 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21750 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21751
21752 [BZ #12397]
21753 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21754 syscall.
21755
21756 [BZ #10484]
21757 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21758 temporary buffer used to handle multi lookups locally.
21759 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21760
217612011-01-12 Ulrich Drepper <drepper@gmail.com>
21762
21763 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21764 loader is ld.so.
21765
217662011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21767
21768 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21769 alignment for SSE2.
21770
217712011-01-12 Ulrich Drepper <drepper@gmail.com>
21772
21773 [BZ #12394]
21774 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21775 characters. When rounding increased number of integer digits recompute
21776 number of groups.
21777 * stdio-common/tst-grouping.c: New file.
21778 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21779
217802011-01-09 Ulrich Drepper <drepper@gmail.com>
21781
21782 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21783 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21784
21785 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21786 void.
21787 * bits/select.h: Likewise.
21788
217892011-01-08 Ulrich Drepper <drepper@gmail.com>
21790
21791 * po/ja.po: Update from translation team.
21792
217932011-01-04 David S. Miller <davem@sunset.davemloft.net>
21794
21795 [BZ #11155]
21796 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21797 implementation just like for lxstat, fxstatat, et al.
21798
217992010-12-27 Jim Meyering <meyering@redhat.com>
21800
21801 [BZ #12348]
21802 * posix/regexec.c (build_trtable): Return failure indication upon
21803 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21804
218052010-12-25 Ulrich Drepper <drepper@gmail.com>
21806
21807 [BZ #12201]
21808 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21809 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21810 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21811 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21812
21813 [BZ #12207]
21814 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21815
21816 [BZ #12204]
21817 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21818 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21819
218202010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21823 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21824 script has SORT_BY_INIT_PRIORITY.
21825 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21826 NO_CTORS_DTORS_SECTIONS is defined.
21827 * elf/soinit.c: Likewise.
21828 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21829 NO_CTORS_DTORS_SECTIONS is defined.
21830 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21831 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21832 * sysdeps/sh/init-first.c: Likewise.
21833 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21834
218352010-12-24 Ulrich Drepper <drepper@gmail.com>
21836
21837 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21838 always use the slow path.
21839
218402010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21841
21842 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21843 similar rule which adds the sysdep directories to the header search in
21844 order to pick up the correct platform stackinfo.h.
21845 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21846 perform test if it is, otherwise return successfully without testing.
21847 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21848 DEFAULT_STACK_PERMS define in stackinfo.h.
21849 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21850 defined in stackinfo.h.
21851 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21852 DEFAULT_STACK_PERMS defined in stackinfo.h.
21853 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21854 * sysdeps/ia64/stackinfo.h: Likewise.
21855 * sysdeps/s390/stackinfo.h: Likewise.
21856 * sysdeps/sh/stackinfo.h: Likewise.
21857 * sysdeps/sparc/stackinfo.h: Likewise.
21858 * sysdeps/x86_64/stackinfo.h: Likewise.
21859 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21860 PF_X for powerpc64. Retain PF_X for powerpc32.
21861
218622010-12-19 Ulrich Drepper <drepper@gmail.com>
21863
21864 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21865 accurately.
21866 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21867 GETDENTS_64BIT_ALIGNED.
21868
218692010-12-14 Ulrich Drepper <dreper@gmail.com>
21870
21871 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
21872
218732010-12-10 Andreas Schwab <schwab@redhat.com>
21874
21875 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21876 _GNU_SOURCE.
21877
21878 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21879 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21880 Remove __restrict.
21881 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21882 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21883
218842010-12-09 Ulrich Drepper <drepper@gmail.com>
21885
21886 [BZ #11655]
21887 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21888 are initialized.
21889
218902010-12-09 Jakub Jelinek <jakub@redhat.com>
21891
21892 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21893
218942010-12-03 Ulrich Drepper <drepper@gmail.com>
21895
21896 * po/it.po: Update from translation team.
21897
218982010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21899
21900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21901 unused codes.
21902
219032010-11-30 Ulrich Drepper <drepper@gmail.com>
21904
21905 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21906
219072010-11-24 Andreas Schwab <schwab@redhat.com>
21908
21909 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21910 specially.
21911 (gaih_getanswer_slice): Likewise.
21912
219132010-10-20 Jakub Jelinek <jakub@redhat.com>
21914
21915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21916
219172010-05-31 Petr Baudis <pasky@suse.cz>
21918
21919 [BZ #11149]
21920 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21921 silently even in the chroot mode.
21922
219232010-11-22 Ulrich Drepper <drepper@gmail.com>
21924
21925 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21926 last patch a bit. Pretty printing
21927
219282010-05-31 Petr Baudis <pasky@suse.cz>
21929
21930 [BZ #10085]
21931 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21932 initialization of skip_initgroups_dyn.
21933
219342010-11-19 Ulrich Drepper <drepper@gmail.com>
21935
21936 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21938
219392010-11-16 Ulrich Drepper <drepper@gmail.com>
21940
21941 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21942
219432010-11-11 Andreas Schwab <schwab@redhat.com>
21944
21945 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21946 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21947 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21948 ($(objpfx)tst-fnmatch-mem): New rule.
21949 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21950 * posix/tst-fnmatch.c (main): Call mtrace.
21951
219522010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21953
21954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21955 Support Intel processor model 6 and model 0x2c.
21956
219572010-11-10 Luis Machado <luisgpm@br.ibm.com>
21958
21959 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21960 signed comparison.
21961
219622010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21963
21964 [BZ #12205]
21965 * string/test-strncasecmp.c (check_result): New function.
21966 (do_one_test): Use it.
21967 (check1): New function.
21968 (test_main): Use it.
21969 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21970 Support strcasecmp and strncasecmp.
21971
219722010-11-08 Ulrich Drepper <drepper@gmail.com>
21973
21974 [BZ #12194]
21975 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21976 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21977
219782010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21979
21980 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21981 IFUNC support.
21982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21983 memset-x86-64.
21984 * sysdeps/x86_64/multiarch/bzero.S: New file.
21985 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21986 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21987 * sysdeps/x86_64/multiarch/memset.S: New file.
21988 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21989 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21990 Set bit_Prefer_SSE_for_memop for Intel processors.
21991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21992 Define.
21993 (index_Prefer_SSE_for_memop): Define.
21994 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21995
219962010-11-04 Luis Machado <luisgpm@br.ibm.com>
21997
21998 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21999 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22000
220012010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22002
22003 [BZ #12191]
22004 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22005 (__x86_64_raw_data_cache_size_half): Likewise.
22006 (__x86_64_raw_shared_cache_size): Likewise.
22007 (__x86_64_raw_shared_cache_size_half): Likewise.
22008
22009 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22010 (__x86_64_raw_data_cache_size_half): Likewise.
22011 (__x86_64_raw_shared_cache_size): Likewise.
22012 (__x86_64_raw_shared_cache_size_half): Likewise.
22013 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22014 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22015 and __x86_64_raw_shared_cache_size_half. Round
22016 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22017 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22018 to multiple of 256 bytes.
22019
220202010-11-03 Ulrich Drepper <drepper@gmail.com>
22021
22022 [BZ #12167]
22023 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22024 of inacessible symlinks. Verify result of symlink before returning it.
22025 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22026 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22027
220282010-10-28 Erich Ritz <erichritz@gmail.com>
22029
22030 * math/math.h (isinf): Fix typo in comment.
22031
220322010-11-01 Ulrich Drepper <drepper@gmail.com>
22033
22034 * po/da.po: Update from translation team.
22035
220362010-10-26 Ulrich Drepper <drepper@gmail.com>
22037
22038 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22039 is added to the list.
22040
220412010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22042 Ulrich Drepper <drepper@gmail.com>
22043
22044 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22045 the global list here. Move code to...
22046 (_dl_add_to_namespace_list): ...here. New function.
22047 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22048 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22049 * elf/dl-load.c (lose): Don't remove the element from the list.
22050 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22051 (_dl_map_object): Likewise.
22052
220532010-10-25 Ulrich Drepper <drepper@gmail.com>
22054
22055 [BZ #12159]
22056 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22057 into all bytes of SSE register.
22058 Patch by Richard Li <richardpku@gmail.com>.
22059
220602010-10-24 Ulrich Drepper <drepper@gmail.com>
22061
22062 [BZ #12140]
22063 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22064 perturbing.
22065
220662010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22067
22068 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22069 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22070 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22071 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22073 submachine.
22074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22075
220762010-10-22 Andreas Schwab <schwab@redhat.com>
22077
22078 * include/dlfcn.h (__RTLD_SECURE): Define.
22079 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22080 mode & __RTLD_SECURE instead.
22081 (open_path): Rename preloaded parameter to secure.
22082 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22083 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22084 * elf/dl-deps.c (openaux): Likewise.
22085 * elf/rtld.c (struct map_args): Remove is_preloaded.
22086 (map_doit): Don't use it.
22087 (dl_main): Likewise.
22088 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22089 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22090
220912010-09-09 Andreas Schwab <schwab@redhat.com>
22092
22093 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22094 (sysd-rules-targets): Remove duplicates.
22095 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22096 rtld-%.$o dependency.
22097
220982010-10-18 Andreas Schwab <schwab@redhat.com>
22099
22100 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22101 _dl_map_object do it.
22102
221032010-10-19 Ulrich Drepper <drepper@gmail.com>
22104
22105 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22106 fast fma builtins, define the macros in the C99 standard.
22107 (FP_FAST_FMAF): Likewise.
22108 (FP_FAST_FMAL): Likewise.
22109 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22110
22111 * bits/mathdef.h: Update copyright year.
22112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22113
221142010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22115
22116 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22117 builtins, define the macros in the C99 standard.
22118 (FP_FAST_FMAF): Likewise.
22119 (FP_FAST_FMAL): Likewise.
22120 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22121 multiply/add.
22122 (FP_FAST_FMAF): Likewise.
22123
221242010-10-15 Jakub Jelinek <jakub@redhat.com>
22125
22126 [BZ #3268]
22127 * math/libm-test.inc (fma_test): Some new testcases.
22128 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22130 y and infinite z. Do multiplication by C already in long double.
22131 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22133 y and infinite z. Do bitwise or of inexact bit into u.d.
22134 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22135 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22136 * sysdeps/i386/fpu/s_fma.S: Removed.
22137 * sysdeps/i386/fpu/s_fmal.S: Removed.
22138
221392010-10-16 Jakub Jelinek <jakub@redhat.com>
22140
22141 [BZ #3268]
22142 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22143 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22144 computation is not scheduled after fetestexcept. Fix value
22145 of minimum denormal long double.
22146
221472010-10-14 Jakub Jelinek <jakub@redhat.com>
22148
22149 [BZ #3268]
22150 * math/libm-test.inc (fma_test): Add some more tests.
22151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22152 correctly.
22153
221542010-10-15 Andreas Schwab <schwab@redhat.com>
22155
22156 * scripts/data/localplt-s390-linux-gnu.data: New file.
22157 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22158
221592010-10-13 Jakub Jelinek <jakub@redhat.com>
22160
22161 [BZ #3268]
22162 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22163 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22164 instead of dbl-64.
22165 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22166 inlines.
22167 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22169 if one of x and y is very large and the other is subnormal.
22170 * sysdeps/s390/fpu/s_fmaf.c: New file.
22171 * sysdeps/s390/fpu/s_fma.c: New file.
22172 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22173 * sysdeps/powerpc/fpu/s_fma.S: New file.
22174 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22175 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22176 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22177
221782010-10-12 Jakub Jelinek <jakub@redhat.com>
22179
22180 [BZ #3268]
22181 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22182 fma tests.
22183 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22184 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22185 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22186 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22187 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22188 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22190
221912010-10-12 Ulrich Drepper <drepper@redhat.com>
22192
22193 [BZ #12078]
22194 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22195 * posix/bug-regex31.input: Add test case.
22196
221972010-10-11 Ulrich Drepper <drepper@gmail.com>
22198
22199 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22200 * posix/bug-regex31.input: New file.
22201
22202 [BZ #12078]
22203 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22204 (parse_sub_exp): Fix last change, use postorder.
22205
22206 * posix/bug-regex31.c: New file.
22207 * posix/Makefile: Add rules to build and run bug-regex31.
22208
22209 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22210
22211 [BZ #12078]
22212 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22213
22214 [BZ #12108]
22215 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22216 to have entries in sys_siglist.
22217
22218 [BZ #12093]
22219 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22220 be NULL.
22221
222222010-10-07 Jakub Jelinek <jakub@redhat.com>
22223
22224 [BZ #3268]
22225 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22226 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22227 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22228 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22229 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22230 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22231 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22232 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22233 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22234 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22235 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22236 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22237 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22238 * math/ftestexcept.c (fetestexcept): Likewise.
22239 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22240 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22241 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22242 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22243 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22244 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22245 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22246
222472010-10-11 Ulrich Drepper <drepper@gmail.com>
22248
22249 [BZ #12107]
22250 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22251 newline.
22252
222532010-10-06 Ulrich Drepper <drepper@gmail.com>
22254
22255 * string/bug-strstr1.c: New file.
22256 * string/Makefile: Add rules to build and run bug-strstr1.
22257
222582010-10-05 Eric Blake <eblake@redhat.com>
22259
22260 [BZ #12092]
22261 * string/str-two-way.h (two_way_long_needle): Always clear memory
22262 when skipping input due to the shift table.
22263
222642010-10-03 Ulrich Drepper <drepper@gmail.com>
22265
22266 [BZ #12005]
22267 * malloc/mcheck.c: Handle large requests.
22268
22269 [BZ #12077]
22270 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22271 for strncmp and strncasecmp.
22272 * string/stratcliff.c: Add tests for strcmp and strncmp.
22273 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22274
222752010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22276
22277 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22278 __set_fpscr.
22279
222802010-09-30 Andreas Jaeger <aj@suse.de>
22281
22282 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22283 (CGROUP_SUPER_MAGIC): Define.
22284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22285 Handle btrfs and cgroup file systems.
22286 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22287 Likewise.
22288
222892010-09-27 Luis Machado <luisgpm@br.ibm.com>
22290
22291 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22292 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22293
222942010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22295
22296 [BZ #12067]
22297 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22298 trying to locate the ELF header.
22299
223002010-09-27 Andreas Schwab <schwab@redhat.com>
22301
22302 [BZ #11611]
22303 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22304 Mask out sign-bit copies when constructing f_fsid.
22305
223062010-09-24 Petr Baudis <pasky@suse.cz>
22307
22308 * debug/stack_chk_fail_local.c: Add missing licence exception.
22309 * debug/warning-nop.c: Likewise.
22310
223112010-09-15 Joseph Myers <joseph@codesourcery.com>
22312
22313 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22314 implementing getdents64 using getdents syscall, set d_type if
22315 __ASSUME_GETDENTS32_D_TYPE.
22316
223172010-09-16 Andreas Schwab <schwab@redhat.com>
22318
22319 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22320 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22321
223222010-09-21 Ulrich Drepper <drepper@redhat.com>
22323
22324 [BZ #12037]
22325 * posix/unistd.h: Undo change of feature selection for ftruncate from
22326 2010-01-11.
22327
223282010-09-20 Ulrich Drepper <drepper@redhat.com>
22329
22330 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22331 detection.
22332
223332010-09-20 Andreas Schwab <schwab@redhat.com>
22334
22335 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22336 fanotify_mark.
22337 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22338
223392010-09-14 Andreas Schwab <schwab@redhat.com>
22340
22341 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22342 variables after CHECK_SP call.
22343 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22344
223452010-09-13 Andreas Schwab <schwab@redhat.com>
22346 Ulrich Drepper <drepper@redhat.com>
22347
22348 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22349 re-relocationg ld.so.
22350 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22351 _dl_init_paths call.
22352 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22353 here anymore.
22354
223552010-09-14 Ulrich Drepper <drepper@redhat.com>
22356
22357 * resolv/res_init.c (__res_vinit): Count the default server we added.
22358
223592010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22360 Ulrich Drepper <drepper@redhat.com>
22361
22362 [BZ #11968]
22363 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22364 (____longjmp_chk): Use %ebx for saving value across system call.
22365 Add unwind info.
22366
223672010-09-06 Andreas Schwab <schwab@redhat.com>
22368
22369 * manual/Makefile: Don't mix pattern rules with normal rules.
22370
223712010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22372
22373 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22374 operation.
22375 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22376 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22377 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22378 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22380 Likewise.
22381
223822010-09-04 Ulrich Drepper <drepper@redhat.com>
22383
22384 [BZ #11979]
22385 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22386 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22387
223882010-09-02 Ulrich Drepper <drepper@redhat.com>
22389
22390 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22391 * sysdeps/x86_64/addmul_1.S: Likewise.
22392 * sysdeps/x86_64/lshift.S: Likewise.
22393 * sysdeps/x86_64/mul_1.S: Likewise.
22394 * sysdeps/x86_64/rshift.S: Likewise.
22395 * sysdeps/x86_64/sub_n.S: Likewise.
22396 * sysdeps/x86_64/submul_1.S: Likewise.
22397
223982010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22399
22400 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22401 Define __sched_param instead of SCHED_* and sched_param when
22402 <bits/sched.h> is included with __need_schedparam defined.
22403 * bits/sched.h [__need_schedparam]
22404 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22405 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22406 (__defined_schedparam): Define to 1.
22407 (__sched_param): New structure, identical to sched_param.
22408 (__need_schedparam): Undefine.
22409
224102010-08-31 Mike Frysinger <vapier@gentoo.org>
22411
22412 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22413 (epoll_create1): Declare.
22414
22415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22416
224172010-08-31 Andreas Schwab <schwab@redhat.com>
22418
22419 [BZ #7066]
22420 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22421 shifting retval into place.
22422
224232010-09-01 Ulrich Drepper <drepper@redhat.com>
22424
22425 * nis/rpcsvc/nis.h: Update copyright notice.
22426 * nis/rpcsvc/nis.x: Likewise.
22427 * nis/rpcsvc/nis_callback.h: Likewise.
22428 * nis/rpcsvc/nis_callback.x: Likewise.
22429 * nis/rpcsvc/nis_object.x: Likewise.
22430 * nis/rpcsvc/nis_tags.h: Likewise.
22431 * nis/rpcsvc/yp.h: Likewise.
22432 * nis/rpcsvc/yp.x: Likewise.
22433 * nis/rpcsvc/ypupd.h: Likewise.
22434 * nis/yp_xdr.c: Likewise.
22435 * nis/ypupdate_xdr.c: Likewise.
22436
22437 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22438 mainly the body of pmap_getport. Add parameters to specify timeouts.
22439 (pmap_getport): Use __libc_rpc_getport.
22440 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22441 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22442 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22443
224442010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22445
22446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22447 fanotify_mark.
22448
224492010-08-27 Roland McGrath <roland@redhat.com>
22450
22451 * sysdeps/i386/i686/multiarch/Makefile
22452 (CFLAGS-varshift.c): New variable.
22453
224542010-08-27 Ulrich Drepper <drepper@redhat.com>
22455
22456 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22457 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22458
22459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22460
22461 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22462
224632010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22464
22465 * sysdeps/x86_64/strlen.S: Unroll the loop.
22466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22467 strlen-sse2 strlen-sse2-bsf.
22468 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22469 __strlen_no_bsf if bit_Slow_BSF is set.
22470 (__strlen_sse42): Removed.
22471 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22472 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22473
224742010-08-25 Roland McGrath <roland@redhat.com>
22475
22476 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22477 * sysdeps/x86_64/multiarch/varshift.c: New file.
22478 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22479 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22480 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22481 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22482
224832010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22484
22485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22486 strlen-sse2 strlen-sse2-bsf.
22487 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22488 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22489 (__strlen_sse2): Removed.
22490 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22491 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22492 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22493 bit_Slow_BSF for Atom.
22494 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22495 (index_Slow_BSF): Define.
22496 (HAS_SLOW_BSF): Define.
22497
224982010-08-25 Ulrich Drepper <drepper@redhat.com>
22499
22500 [BZ #10851]
22501 * resolv/res_init.c (__res_vinit): When no server address at all
22502 is given default to loopback.
22503
225042010-08-24 Roland McGrath <roland@redhat.com>
22505
22506 * configure.in: Remove config-name.h generation.
22507 * configure: Regenerated.
22508 * config-name.in: File removed.
22509 * scripts/config-uname.sh: New file.
22510 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22511 ($(objdir)config-name.h): New target.
22512
22513 * sunrpc/rpc_parse.h: Avoid nested comment.
22514
225152010-08-24 Richard Henderson <rth@redhat.com>
22516 Ulrich Drepper <drepper@redhat.com>
22517 H.J. Lu <hongjiu.lu@intel.com>
22518
22519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22521 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22522 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22523 _mm_alignr_epi8 with _mm_loadu_si128.
22524 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22525 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22526 (__m128i_shift_right): Removed.
22527 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22528 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22529 * sysdeps/x86_64/multiarch/varshift.h: New file.
22530 * sysdeps/x86_64/multiarch/varshift.S: New file.
22531
225322010-08-21 Mike Frysinger <vapier@gentoo.org>
22533
22534 * configure.in: Move assembler checks to before sysdep dir checking.
22535
225362010-08-20 Petr Baudis <pasky@suse.cz>
22537
22538 * LICENSES: Sync the sunrpc license.
22539
225402010-08-19 Ulrich Drepper <drepper@redhat.com>
22541
22542 * sunrpc/auth_des.c: Update copyright notice once again.
22543 * sunrpc/auth_none.c: Likewise.
22544 * sunrpc/auth_unix.c: Likewise.
22545 * sunrpc/authdes_prot.c: Likewise.
22546 * sunrpc/authuxprot.c: Likewise.
22547 * sunrpc/bindrsvprt.c: Likewise.
22548 * sunrpc/clnt_gen.c: Likewise.
22549 * sunrpc/clnt_perr.c: Likewise.
22550 * sunrpc/clnt_raw.c: Likewise.
22551 * sunrpc/clnt_simp.c: Likewise.
22552 * sunrpc/clnt_tcp.c: Likewise.
22553 * sunrpc/clnt_udp.c: Likewise.
22554 * sunrpc/clnt_unix.c: Likewise.
22555 * sunrpc/des_crypt.c: Likewise.
22556 * sunrpc/des_soft.c: Likewise.
22557 * sunrpc/get_myaddr.c: Likewise.
22558 * sunrpc/getrpcport.c: Likewise.
22559 * sunrpc/key_call.c: Likewise.
22560 * sunrpc/key_prot.c: Likewise.
22561 * sunrpc/openchild.c: Likewise.
22562 * sunrpc/pm_getmaps.c: Likewise.
22563 * sunrpc/pm_getport.c: Likewise.
22564 * sunrpc/pmap_clnt.c: Likewise.
22565 * sunrpc/pmap_prot.c: Likewise.
22566 * sunrpc/pmap_prot2.c: Likewise.
22567 * sunrpc/pmap_rmt.c: Likewise.
22568 * sunrpc/rpc/auth.h: Likewise.
22569 * sunrpc/rpc/auth_unix.h: Likewise.
22570 * sunrpc/rpc/clnt.h: Likewise.
22571 * sunrpc/rpc/des_crypt.h: Likewise.
22572 * sunrpc/rpc/key_prot.h: Likewise.
22573 * sunrpc/rpc/netdb.h: Likewise.
22574 * sunrpc/rpc/pmap_clnt.h: Likewise.
22575 * sunrpc/rpc/pmap_prot.h: Likewise.
22576 * sunrpc/rpc/pmap_rmt.h: Likewise.
22577 * sunrpc/rpc/rpc.h: Likewise.
22578 * sunrpc/rpc/rpc_des.h: Likewise.
22579 * sunrpc/rpc/rpc_msg.h: Likewise.
22580 * sunrpc/rpc/svc.h: Likewise.
22581 * sunrpc/rpc/svc_auth.h: Likewise.
22582 * sunrpc/rpc/types.h: Likewise.
22583 * sunrpc/rpc/xdr.h: Likewise.
22584 * sunrpc/rpc_clntout.c: Likewise.
22585 * sunrpc/rpc_cmsg.c: Likewise.
22586 * sunrpc/rpc_common.c: Likewise.
22587 * sunrpc/rpc_cout.c: Likewise.
22588 * sunrpc/rpc_dtable.c: Likewise.
22589 * sunrpc/rpc_hout.c: Likewise.
22590 * sunrpc/rpc_main.c: Likewise.
22591 * sunrpc/rpc_parse.c: Likewise.
22592 * sunrpc/rpc_parse.h: Likewise.
22593 * sunrpc/rpc_prot.c: Likewise.
22594 * sunrpc/rpc_sample.c: Likewise.
22595 * sunrpc/rpc_scan.c: Likewise.
22596 * sunrpc/rpc_scan.h: Likewise.
22597 * sunrpc/rpc_svcout.c: Likewise.
22598 * sunrpc/rpc_tblout.c: Likewise.
22599 * sunrpc/rpc_util.c: Likewise.
22600 * sunrpc/rpc_util.h: Likewise.
22601 * sunrpc/rpcinfo.c: Likewise.
22602 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22603 * sunrpc/rpcsvc/key_prot.x: Likewise.
22604 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22605 * sunrpc/rpcsvc/mount.x: Likewise.
22606 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22607 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22608 * sunrpc/rpcsvc/rex.x: Likewise.
22609 * sunrpc/rpcsvc/rstat.x: Likewise.
22610 * sunrpc/rpcsvc/rusers.x: Likewise.
22611 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22612 * sunrpc/rpcsvc/spray.x: Likewise.
22613 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22614 * sunrpc/rtime.c: Likewise.
22615 * sunrpc/svc.c: Likewise.
22616 * sunrpc/svc_auth.c: Likewise.
22617 * sunrpc/svc_authux.c: Likewise.
22618 * sunrpc/svc_raw.c: Likewise.
22619 * sunrpc/svc_run.c: Likewise.
22620 * sunrpc/svc_simple.c: Likewise.
22621 * sunrpc/svc_tcp.c: Likewise.
22622 * sunrpc/svc_udp.c: Likewise.
22623 * sunrpc/svc_unix.c: Likewise.
22624 * sunrpc/svcauth_des.c: Likewise.
22625 * sunrpc/xcrypt.c: Likewise.
22626 * sunrpc/xdr.c: Likewise.
22627 * sunrpc/xdr_array.c: Likewise.
22628 * sunrpc/xdr_float.c: Likewise.
22629 * sunrpc/xdr_mem.c: Likewise.
22630 * sunrpc/xdr_rec.c: Likewise.
22631 * sunrpc/xdr_ref.c: Likewise.
22632 * sunrpc/xdr_sizeof.c: Likewise.
22633 * sunrpc/xdr_stdio.c: Likewise.
22634
22635 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22636 handling.
22637
226382010-08-19 Andreas Schwab <schwab@redhat.com>
22639
22640 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22641
226422010-08-19 Luis Machado <luisgpm@br.ibm.com>
22643
22644 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22645 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22646 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22647 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22648 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22649 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22650 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22651 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22652 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22653 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22654 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22655 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22656 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22657 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22658
226592010-07-26 Anton Blanchard <anton@samba.org>
22660
22661 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22662 * malloc/arena.c (heap_trim): Likewise.
22663
226642010-08-16 Ulrich Drepper <drepper@redhat.com>
22665
22666 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22667 here. Not...
22668 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22669 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22670
226712010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22672
22673 * sysdeps/i386/elf/Makefile: New file.
22674
226752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22676
22677 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22678 from fanotify_init.
22679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22680 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22681
226822010-08-15 Ulrich Drepper <drepper@redhat.com>
22683
22684 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22685 of strncasecmp_l.
22686 * sysdeps/multiarch/strcmp.S: Likewise.
22687
226882010-08-14 Ulrich Drepper <drepper@redhat.com>
22689
22690 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22691 strncase_l-nonascii.
22692 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22693 Add strncase_l-ssse3.
22694 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22695 * sysdeps/x86_64/strcmp.S: Likewise.
22696 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22697 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22698 * sysdeps/x86_64/strncase.S: New file.
22699 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22700 * sysdeps/x86_64/strncase_l.S: New file.
22701 * string/Makefile (strop-tests): Add strncasecmp.
22702 * string/test-strncasecmp.c: New file.
22703
22704 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22705 warning.
22706
22707 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22708 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22709
227102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22711
22712 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22713
227142010-08-12 Ulrich Drepper <drepper@redhat.com>
22715
22716 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22717 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22719
227202010-05-01 Alan Modra <amodra@gmail.com>
22721
22722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22723 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22724 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22725 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22726 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22727 tidying. Don't tail-call __sigjmp_save for static lib.
22728 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22729 save location.
22730 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22731 (CALL_MCOUNT): Add eh info, and nop after bl.
22732 (TAIL_CALL_SYSCALL_ERROR): New macro.
22733 (PSEUDO_RET): Use it.
22734 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22735 Correct save location of integer regs and cr.
22736 (_dl_profile_resolve): Correct cr save location. Delete nops
22737 after bl when SHARED. Reduce cfi size a little by better
22738 placement of cfi directives.
22739 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22740 make a stack frame. Instead use parm save area as a temp.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22742 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22744 Don't make a stack frame for parent, use parm save area.
22745 Increase child stack frame to 112 bytes. Don't save unused reg,
22746 and adjust reg usage. Set up cfi on error recovery and
22747 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22749 (__makecontext): Add dummy nop after jump to exit.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22751 Use correct parm save area and cr save, reduce stack frame.
22752 Correct cfi for possible PSEUDO_RET frame setup.
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22754 Branch to local label emitted by PSEUDO_RET rather than
22755 __syscall_error.
22756
227572010-08-12 Andreas Schwab <schwab@redhat.com>
22758
22759 [BZ #11904]
22760 * locale/programs/locale.c (print_assignment): New function.
22761 (show_locale_vars): Use it.
22762
227632010-08-11 Ulrich Drepper <drepper@redhat.com>
22764
22765 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22766 field.
22767 (struct statfs64): Likewise.
22768 (_STATFS_F_FLAGS): Define.
22769 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22770 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22771 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22772 (ST_VALID): Define locally.
22773 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22774 __statvfs_getflags, use the provided value.
22775 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22776 __ASSUME_STATFS_F_FLAGS.
22777
22778 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22779
22780 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22781 Add sys/fanotify.h.
22782 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22783 fanotify_mask for GLIBC_2.13.
22784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22785 fanotify_init and fanotify_mark.
22786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22787 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22788
22789 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22790 Add prlimit.
22791 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22792 prlimit64 for GLIBC_2.13.
22793 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22794 prlimit64.
22795 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22796 syscall.
22797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22798 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22799 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22800 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22802 add prlimit alias.
22803 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22804
22805 [BZ #11903]
22806 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22807 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22808
22809 * nss/Makefile: Add rules to build and run tst-nss-test1.
22810 * shlib-versions: Add entry for libnss_test1.
22811 * nss/nss_test1.c: New file.
22812 * nss/tst-nss-test1.c: New file.
22813
22814 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22815 (__nss_configure_lookup): Set appropriate entry in
22816 __nss_configure_lookup to true.
22817 * nss/nsswitch.h: Define enum with indeces of databases in
22818 databases and __nss_database_custom arrays. Declare
22819 __nss_database_custom.
22820 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22821 to avoid using nscd when custom rules are installed.
22822 * nss/getXXbyYY_r.c: Likewise.
22823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22824
22825 * nss/nss_files/files-parse.c: Whitespace fixes.
22826
228272010-08-09 Ulrich Drepper <drepper@redhat.com>
22828
22829 [BZ #11883]
22830 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22831 * posix/fnmatch_loop.c: Likewise.
22832
228332010-07-17 Andi Kleen <ak@linux.intel.com>
22834
22835 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22836 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22837 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22838 * Versions.def [GLIBC_2.13]: Add.
22839
228402010-08-06 Ulrich Drepper <drepper@redhat.com>
22841
22842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22843 Also fail if tpwd after pwuid call is NULL.
22844
228452010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22846
22847 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22848 when converting to ms.
22849
228502010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22851
22852 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22853 EOPNOTSUPP errors with ENOTTY.
22854 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22855 EOPNOTSUPP errors with ENOTTY.
22856
228572010-07-31 Ulrich Drepper <drepper@redhat.com>
22858
22859 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22860 Add strcasecmp_l-ssse3.
22861 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22862 strcasecmp.
22863 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22864 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22865 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22866
228672010-07-30 Ulrich Drepper <drepper@redhat.com>
22868
22869 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22870
22871 * string/Makefile (strop-tests): Add strcasecmp.
22872 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22873 strcasecmp_l-nonascii.
22874 (gen-as-const-headers): Add locale-defines.sym.
22875 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22876 * sysdeps/x86_64/strcasecmp.S: New file.
22877 * sysdeps/x86_64/strcasecmp_l.S: New file.
22878 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22879 * sysdeps/x86_64/locale-defines.sym: New file.
22880 * string/test-strcasecmp.c: New file.
22881
22882 * string/test-strcasestr.c: Test both ends of the range of characters.
22883 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22884
228852010-07-29 Roland McGrath <roland@redhat.com>
22886
22887 [BZ #11856]
22888 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22889
228902010-07-27 Ulrich Drepper <drepper@redhat.com>
22891
22892 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22893 for ld.so.
22894
228952010-07-27 Andreas Schwab <schwab@redhat.com>
22896
22897 * manual/memory.texi (Malloc Tunable Parameters): Document
22898 M_PERTURB.
22899
229002010-07-26 Roland McGrath <roland@redhat.com>
22901
22902 [BZ #11840]
22903 * configure.in (-fgnu89-inline check): Set and substitute
22904 gnu89_inline, not libc_cv_gnu89_inline.
22905 * configure: Regenerated.
22906 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22907
229082010-07-26 Ulrich Drepper <drepper@redhat.com>
22909
22910 * string/test-strnlen.c: New file.
22911 * string/Makefile (strop-tests): Add strnlen.
22912 * string/tester.c (test_strnlen): Add a few more test cases.
22913 * string/tst-strlen.c: Better error reporting.
22914
22915 * sysdeps/x86_64/strnlen.S: New file.
22916
229172010-07-24 Ulrich Drepper <drepper@redhat.com>
22918
22919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22920 lower-latency instructions.
22921
229222010-07-23 Ulrich Drepper <drepper@redhat.com>
22923
22924 * string/test-strcasestr.c: New file.
22925 * string/test-strstr.c: New file.
22926 * string/Makefile (strop-tests): Add strstr and strcasestr.
22927 * string/str-two-way.h: Don't undefine MAX.
22928 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22929
229302010-07-21 Andreas Schwab <schwab@redhat.com>
22931
22932 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22933 strcasestr-nonascii.
22934 (CFLAGS-strcasestr-nonascii.c): Define.
22935 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22936 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22937 Remove unused attribute.
22938
229392010-07-20 Roland McGrath <roland@redhat.com>
22940
22941 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22942 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22943 ld.so.cache was broken. With it, there is no way to disable dsocaps
22944 like LD_HWCAP_MASK can disable hwcaps.
22945
229462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22947
22948 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22949
229502010-07-16 Ulrich Drepper <drepper@redhat.com>
22951
22952 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22953 call in strcasestr.
22954 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22955 __strcasestr_sse42_nonascii.
22956 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22957 strcasestr-nonascii.c.
22958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22959
229602010-06-15 Luis Machado <luisgpm@br.ibm.com>
22961
22962 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22963 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22966
229672010-07-09 Ulrich Drepper <drepper@redhat.com>
22968
22969 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22970 fcntl.
22971
229722010-07-06 Andreas Schwab <schwab@redhat.com>
22973
22974 [BZ #11577]
22975 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22976 dl_signal_cerror.
22977
229782010-07-06 Ulrich Drepper <drepper@redhat.com>
22979
22980 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22981 _PC_PIPE_BUF using F_GETPIPE_SZ.
22982
229832010-07-05 Roland McGrath <roland@redhat.com>
22984
22985 * manual/arith.texi (Rounding Functions): Fix rint description
22986 implicit in round description.
22987
229882010-07-02 Ulrich Drepper <drepper@redhat.com>
22989
22990 * elf/Makefile: Fix linking for a few tests to make recent linker
22991 happy.
22992
229932010-06-30 Andreas Schwab <schwab@redhat.com>
22994
22995 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22996 $(common-objpfx)libc_nonshared.a.
22997
229982010-06-21 Luis Machado <luisgpm@br.ibm.com>
22999
23000 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23001 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23002 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23003 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23004 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23005 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23006 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23007 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23022 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23023 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23024 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23025 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23026 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23027 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23028 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23029 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23030 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23031 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23032 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23033 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23048
230492010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23050
23051 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23052 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23053 * string/memmove.c (memmove): Renamed to ...
23054 (MEMMOVE): ...this. Default to memmove.
23055 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23056 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23057 (END_CHK): Define.
23058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23059 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23060 mempcpy-ssse3-back memmove-ssse3-back.
23061 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23064 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23065 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23066 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23067 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23068 * sysdeps/x86_64/multiarch/memmove.c: New file.
23069 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23070 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23071 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23072 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23073 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23075 Define.
23076 (index_Fast_Copy_Backward): Define.
23077 (HAS_ARCH_FEATURE): Define.
23078 (HAS_FAST_REP_STRING): Define.
23079 (HAS_FAST_COPY_BACKWARD): Define.
23080
230812010-06-21 Andreas Schwab <schwab@redhat.com>
23082
23083 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23084 Restore proper fallback handling.
23085
230862010-06-19 Ulrich Drepper <drepper@redhat.com>
23087
23088 [BZ #11701]
23089 * posix/group_member.c (__group_member): Correct checking loop.
23090
23091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23092 OOM in getpwuid_r correctly. Return error number when the caller
23093 should return, otherwise -1.
23094 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23095 call returning > 0 value.
23096 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23097
230982010-06-07 Andreas Schwab <schwab@redhat.com>
23099
23100 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23101 libc_nonshared.a from targets in modules-names.
23102
231032010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23104
23105 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23106 requires it.
23107
231082010-06-10 Luis Machado <luisgpm@br.ibm.com>
23109
23110 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23111 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23114
231152010-06-02 Andreas Schwab <schwab@redhat.com>
23116
23117 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23118
231192010-06-14 Ulrich Drepper <drepper@redhat.com>
23120
23121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23122 and F_GETPIPE_SZ.
23123 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23127 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23128 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23129
231302010-06-14 Roland McGrath <roland@redhat.com>
23131
23132 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23133
231342010-06-07 Jakub Jelinek <jakub@redhat.com>
23135
23136 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23137 __REDIRECT followed by __THROW.
23138 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23139 * posix/getopt.h (getopt): Likewise.
23140
231412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23142
23143 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23144 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23145 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23146 in AT_FLAGS.
23147 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23148 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23149
231502010-05-28 Luis Machado <luisgpm@br.ibm.com>
23151
23152 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23153
231542010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23155
23156 [BZ #11640]
23157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23158 Properly check family and model.
23159
231602010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23161
23162 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23163
231642010-05-24 Luis Machado <luisgpm@br.ibm.com>
23165
23166 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23167
231682010-05-21 Ulrich Drepper <drepper@redhat.com>
23169
23170 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23171 symbol reference.
23172
231732010-05-19 Andreas Schwab <schwab@redhat.com>
23174
23175 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23176 symbol reference.
23177
231782010-05-21 Andreas Schwab <schwab@redhat.com>
23179
23180 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23181 and internal_recvmmsg.
23182 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23183 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23184 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23185 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23186
23187 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23188 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23189 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23190
231912010-05-20 Andreas Schwab <schwab@redhat.com>
23192
23193 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23194
231952010-05-17 Luis Machado <luisgpm@br.ibm.com>
23196
23197 POWER7 optimizations.
23198 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23199 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23200
232012010-05-19 Ulrich Drepper <drepper@redhat.com>
23202
23203 * version.h: Update for 2.13 development version.
23204
232052010-05-12 Andrew Stubbs <ams@codesourcery.com>
23206
23207 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23208 exceptions. Return 0.
23209
232102010-05-07 Roland McGrath <roland@redhat.com>
23211
23212 * elf/ldconfig.c (main): Add a const.
23213
232142010-05-06 Ulrich Drepper <drepper@redhat.com>
23215
23216 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23217 (args_options): Add no-idn option.
23218 (ahosts_keys_int): Add idn_flags to ai_flags.
23219 (parse_option): Handle 'i' option to clear idn_flags.
23220
23221 * malloc/malloc.c (_int_free): Possible race in the most recently
23222 added check. Only act on the data if no current modification
23223 happened.
23224
23225See ChangeLog.17 for earlier changes.