]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove unused variable from powerpc sem_post.c.
[glibc.git] / ChangeLog
CommitLineData
b37984ad
JM
12012-12-04 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4 variable LX with __attribute__ ((unused)).
5 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6 Likewise.
7 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10 with __attribute__ ((unused)).
11
c8df52ec
DM
122012-12-04 David S. Miller <davem@abraco.davemloft.net>
13
14 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15
b3b099af
JM
162012-12-04 Joseph Myers <joseph@codesourcery.com>
17
c33aa6e3
JM
18 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19 (CFLAGS-nldbl-acos.c): New variable.
20 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
41 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
44 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
45 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
47 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
49 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
53 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
61 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
63 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
64 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
68 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
69 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
74 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
75 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
76 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
77 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
78 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
79 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
80 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
81 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
82 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
83 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
84 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
85 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
86 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
87 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
88 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
117
20f0018d
JM
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
119 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
120
b3b099af
JM
121 [BZ #14914]
122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
123 whole low double instead of just low 47 bits when splitting values
124 into two parts.
125
029264d1
AM
1262012-12-03 Allan McRae <allan@archlinux.org>
127
128 * manual/stdio.texi (Predefined Printf Handlers): Remove
129 @hsep and @vsep usage.
130
c9d6789e
MF
1312012-12-03 Mike Frysinger <vapier@gentoo.org>
132
133 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
134 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
135
4b7634a5
JL
1362012-12-03 Jeff Law <law@redhat.com>
137
138 * time/sys/time.h (settimeofday): Do not mark TV argument
139 as __nonnull.
140
eb6cbd24
MF
1412012-12-01 Mike Frysinger <vapier@gentoo.org>
142
143 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
144 when currently writing and seek to current position when not.
145 * libio/Makefile (tests): Remove bug-fclose1.
146 * libio/bug-fclose1.c: Delete.
147
f638872a
JM
1482012-12-01 Joseph Myers <joseph@codesourcery.com>
149
150 * manual/arith.texi (feenableexcept): Fix typo.
151 (fedisableexcept): Likewise.
152
48085d14
RM
1532012-11-30 Roland McGrath <roland@hack.frob.com>
154
155 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
156 second, differently-typed declaration, rather than a cast.
157
1a538b9f
SP
1582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
159
160 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
161 * include/rpc/svc.h: ... here.
162
d07f2ff1 1632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
164
165 [BZ #13013]
166 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
167 depending n and resplen2 to catch cases where answer
168 equals answerp2.
169
c93ec1f0
CD
1702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
171
172 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
173 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
174
37db69de
MF
1752012-11-29 Mike Frysinger <vapier@gentoo.org>
176
177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
178
e10c4e4f
RM
1792012-11-29 Roland McGrath <roland@hack.frob.com>
180
181 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
182
2af1b328
JL
1832012-11-28 Jeff Law <law@redhat.com>
184
185 [BZ #13761]
186 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
187 dataset_temporary. Track alloca usage into alloca_used.
188 If dataset is large allocate and release it via malloc/free.
189
111db5b1
FW
1902012-06-04 Florian Weimer <fweimer@redhat.com>
191
f06cc227 192 [BZ #14197]
111db5b1
FW
193 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
194
dd694abd
DM
1952012-11-28 David S. Miller <davem@davemloft.net>
196
197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
198
9984dd01
JM
1992012-11-28 Joseph Myers <joseph@codesourcery.com>
200
201 [BZ #14803]
202 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
203 of pi/2 rounded to nearest to 64 bits.
204 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
205 nearest to 64 bits.
206 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
207 bits.
208
14bc93a9
JL
2092012-11-28 Jeff Law <law@redhat.com>
210 Martin Osvald <mosvald@redhat.com>
211
212 [BZ #14889]
213 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
214 * sunrpc/svc.c: Include time.h.
215 (__svc_accept_failed): New function.
216 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
217 any reason other than EINTR, call __svc_accept_failed.
218 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
219 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
220
e3c6aa3a
AS
2212012-11-28 Andreas Schwab <schwab@suse.de>
222
223 * scripts/abilist.awk: Also handle indirect functions in .opd
224 section.
225
1bead169
JM
2262012-11-28 Joseph Myers <joseph@codesourcery.com>
227
228 [BZ #13881]
229 * sysdeps/x86/fpu/powl_helper.c: New file.
230 * sysdeps/x86/fpu/Makefile: Likewise.
231 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
232 (p3): New object.
233 (__ieee754_powl): Use __powl_helper for finite arguments except
234 integer exponents below 8.
235 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
236 (p3): New object.
237 (__ieee754_powl): Use __powl_helper for finite arguments except
238 integer exponents below 8.
239 * math/libm-test.inc (pow_test): Add more tests and enable some
240 previously disabled tests.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
0817d63d
SP
2442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
245 Carlos O'Donell <carlos_odonell@mentor.com>
246
247 * nss/makedb.c (is_prime): Assert that input is odd and greater
248 than 4. Note that fact in a comment too.
249 (next_prime): Add 4 to input.
250
de2fd463
SP
2512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
252
253 [BZ #11741]
254 * libio/Makefile (tests): Add test case tst-fwrite-error.
255 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
256 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
257 * libio/tst-fwrite-error.c: New test case.
258
c515fb51
L
2592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
260
261 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
262 before casting to void *.
263 * include/libc-internal.h (__pointer_type): New macro.
264 (__integer_if_pointer_type_sub): Likewise.
265 (__integer_if_pointer_type): Likewise.
266 (cast_to_integer): Likewise.
267 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
268 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
269 before casting to atomic64_t.
270 (atomic_exchange_acq): Likewise.
271 (__arch_exchange_and_add_body): Likewise.
272 (__arch_add_body): Likewise.
273 (atomic_add_negative): Likewise.
274 (atomic_add_zero): Likewise.
275
4cf77aa9
JM
2762012-11-26 Joseph Myers <joseph@codesourcery.com>
277
278 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
279 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
280 (add_fdes): Likewise.
281 (linear_search_fdes): Likewise.
282 (binary_search_unencoded_fdes): Likewise.
283
d260b3b4
AS
2842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
285
286 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
287
67060746
AC
2882012-11-24 Adam Conrad <adconrad@0c3.net>
289
290 * configure.in: Autodetect C++ header directories.
291 * configure: Regenerated.
292
800938a1
MF
2932012-11-23 Mike Frysinger <vapier@gentoo.org>
294
295 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
296
4e6e34e6
AS
2972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
298
299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
300
7c7feb47
JM
3012012-11-22 Joseph Myers <joseph@codesourcery.com>
302
7184dcdf
JM
303 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
304 LDBL_MANT_DIG == 106]: Disable some tests.
305 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
306 Likewise.
307 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
308 Likewise.
309
0a42601f
JM
310 [BZ #14871]
311 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
312 input for small inputs. Return +/- pi/2 for large inputs.
313 * math/libm-test.inc (atan_test): Add more tests.
314
79c9b9fe
JM
315 * sysdeps/generic/unwind-dw2-fde-glibc.c
316 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
317 __attribute__ ((unused)).
318
c60d3bf2
JM
319 [BZ #14645]
320 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
321 x * y if x and y are nonzero and z is zero.
322
ef1e0867
JM
323 [BZ #14811]
324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
325 nonzero exponents with absolute value below 0x1p-117 to +/-
326 0x1p-117.
327
1468ded3
JM
328 [BZ #14869]
329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
330 up arguments below 2**-450, not just those below 2**-500.
331 * math/libm-test.inc (hypot_test): Add another test.
332
8e27e3cc
JM
333 [BZ #14868]
334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
335 Return a+b for ratio over 2**120, not 2**60.
336 * math/libm-test.inc (hypot_test): Add another test.
337
c9c0279b
JM
338 * math/libm-test.inc (clog_test): Use
339 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
340 (clog10_test): Likewise.
341
7c7feb47
JM
342 [BZ #6778]
343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
344
fff1530e
AS
3452012-11-22 Andreas Schwab <schwab@suse.de>
346
347 * sysdeps/i386/fpu/libm-test-ulps: Update.
348
94558d30
PT
3492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
350
351 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
352 printf output with newline.
353
7e1be741
L
3542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
355
6bfea974
L
356 [BZ #14865]
357 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
358 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
359 -z nodlopen, -z initfirst and -z execstack support.
360 * configure: Regenerated.
361
7e1be741
L
362 * elf/elf.h (DF_1_NODIRECT): New macro.
363 (DF_1_IGNMULDEF): Likewise.
364 (DF_1_NOKSYMS): Likewise.
365 (DF_1_NOHDR): Likewise.
366 (DF_1_EDITED): Likewise.
367 (DF_1_NORELOC): Likewise.
368 (DF_1_SYMINTPOSE): Likewise.
369 (DF_1_GLOBAUDIT): Likewise.
370 (DF_1_SINGLETON): Likewise.
371 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
372 DT_1_SUPPORTED_MASK bits.
373 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
374
105ce2ce
CD
3752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
376
377 * sysdeps/unix/make-syscalls.sh: Document prefixes.
378
123be9de
TS
3792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
380
d072f3f7
TS
381 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
382 macro.
383
123be9de
TS
384 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
385 (sendmmsg): Move declarations...
386 * socket/sys/socket.h: ... here.
387 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
388 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
389 include it from...
390 * socket/recvmmsg.c: ... this new file.
391 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
392 (sendmmsg): Rename to __sendmmsg, create weak alias and make
393 definition of __sendmmsg hidden.
394 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
395 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
396 Move ENOSYS stub into and include it from...
397 * socket/sendmmsg.c: ... this new file.
398 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
399 (sysdep_routines): Move recvmmsg and sendmmsg...
400 * socket/Makefile (routines): ... here.
401 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
402 (GLIBC_PRIVATE): Add __sendmmsg.
403 * include/sys/socket.h (__sendmmsg): Add declarations.
404 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
405 sendmmsg.
406
cf9a5d18
JM
4072012-11-20 Joseph Myers <joseph@codesourcery.com>
408
409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
410 variable I1 with __attribute__ ((unused)).
411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
412
ecd4caf9
JM
4132012-11-19 Joseph Myers <joseph@codesourcery.com>
414
be14d48f
JM
415 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
416 DUMMY variables with __attribute__ ((unused)).
417
ecd4caf9
JM
418 * bits/byteswap.h: Include <bits/types.h>.
419 (__bswap_64): Use __uint64_t instead of unsigned long long int.
420
986cab95
PT
4212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
422
423 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
424 string_t. Do not manually set errno.
425 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
426 length with __strnlen. Make sure to both set errno and return it on
427 failure.
428
6d33cc9d
DM
4292012-11-19 David S. Miller <davem@davemloft.net>
430
431 With help from Joseph Myers.
432 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
433 very large arguments properly.
434 * math/libm-test.inc (atan_test): New tests.
435 (atan2_test): New tests.
436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
438
ee663277
JM
4392012-11-19 Joseph Myers <joseph@codesourcery.com>
440
877f2d8e
JM
441 [BZ #14856]
442 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
443 Define to 3.
444
116fc08a
JM
445 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
446 [POSIX] (EADDRNOTAVAIL): Likewise.
447 [POSIX] (EAFNOSUPPORT): Likewise.
448 [POSIX] (EALREADY): Likewise.
449 [POSIX] (ECONNABORTED): Likewise.
450 [POSIX] (ECONNREFUSED): Likewise.
451 [POSIX] (ECONNRESET): Likewise.
452 [POSIX] (EDESTADDRREQ): Likewise.
453 [POSIX] (EDQUOT): Likewise.
454 [POSIX] (EHOSTUNREACH): Likewise.
455 [POSIX] (EIDRM): Likewise.
456 [POSIX] (EISCONN): Likewise.
457 [POSIX] (ELOOP): Likewise.
458 [POSIX] (EMULTIHOP): Likewise.
459 [POSIX] (ENETDOWN): Likewise.
460 [POSIX] (ENETUNREACH): Likewise.
461 [POSIX] (ENOBUFS): Likewise.
462 [POSIX] (ENODATA): Likewise.
463 [POSIX] (ENOLINK): Likewise.
464 [POSIX] (ENOMSG): Likewise.
465 [POSIX] (ENOPROTOOPT): Likewise.
466 [POSIX] (ENOSR): Likewise.
467 [POSIX] (ENOSTR): Likewise.
468 [POSIX] (ENOTCONN): Likewise.
469 [POSIX] (ENOTSOCK): Likewise.
470 [POSIX] (EOPNOTSUPP): Likewise.
471 [POSIX] (EOVERFLOW): Likewise.
472 [POSIX] (EPROTO): Likewise.
473 [POSIX] (EPROTONOSUPPORT): Likewise.
474 [POSIX] (EPROTOTYPE): Likewise.
475 [POSIX] (ESTALE): Likewise.
476 [POSIX] (ETIME): Likewise.
477 [POSIX] (ETXTBSY): Likewise.
478 [POSIX] (EWOULDBLOCK): Likewise.
479 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
480 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
481 [POSIX] (SEEK_CUR): Likewise.
482 [POSIX] (SEEK_END): Likewise.
483 [POSIX || UNIX98] (mode_t): Do not require.
484 [POSIX] (off_t): Likewise.
485 [POSIX] (pid_t): Likewise.
486 [POSIX] (sys/stat.h): Do not allow header.
487 [POSIX] (unistd.h): Likewise.
488 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
489 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
490 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
491 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
492 require.
493 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
494 sigevent): Specify elements.
495 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
496 entry.
497 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
498 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
499
a483863f
JM
500 * conform/data/cpio.h-data [POSIX]: Disable whole file.
501 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
502 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
503 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
504 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
505 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
506 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
507 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
508 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
509 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
510 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
511 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
512 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
513 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
514 Likewise.
515 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
516 Likewise.
517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
518 Likewise.
519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
520 Likewise.
521 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
522 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
523 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
524 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
525 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
526 Specify lower bound on value.
527 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
528 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
529 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
530 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
531 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
532 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
533 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
534 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
535 value.
536 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
537 as optional.
538 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
539 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
540 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
541 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
542 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
543 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
544 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
545 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
546 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
547 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
548 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
549 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
550 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
551 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
552 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
553 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
554 entry.
555 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
556 optional.
557 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
558 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
559 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
560 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
561 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
562 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
563 Likewise.
564 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
565 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
566 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
567 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
568 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
569 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
570 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
571 as optional.
572 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
573 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
575 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
576 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
577 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
578 specify as optional.
579 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
580 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
583 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
584 [XPG3] (NL_LANGMAX): Likewise.
585 [POSIX || XPG3] (NL_MSGMAX): Likewise.
586 [POSIX || XPG3] (NL_NMAX): Likewise.
587 [POSIX || XPG3] (NL_SETMAX): Likewise.
588 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
589 [XPG3] (NZERO): Likewise.
590 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
591 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
592 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
593 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
594 (REG_ERANGE): Expect.
595 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
596 optional-constant.
597 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
598 Use (void) in prototype.
599 [POSIX] (*_t): Allow.
600 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
601 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
602 (WRDE_BADVAL): Expect.
603
5ba924e3
JM
604 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
605 expect.
606 [XPG3 || XPG4] (O_RSYNC): Likewise.
607 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
608 Likewise.
609 [XPG3 || XPG4] (pthread_sigmask): Likewise.
610 [XPG3 || XPG4] (sigqueue): Likewise.
611 [XPG3 || XPG4] (sigtimedwait): Likewise.
612 [XPG3 || XPG4] (sigwaitinfo): Likewise.
613 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
614 [XPG3 || XPG4] (vsnprintf): Likewise.
615 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
616 Likewise.
617 [XPG3 || XPG4] (blksize_t): Likewise.
618 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
619 Likewise.
620 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
621 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
622 [XPG3 || XPG4] (struct itimerspec): Likewise.
623 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
624 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
625 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
626 [XPG3 || XPG4] (clockid_t): Likewise.
627 [XPG3 || XPG4] (timer_t): Likewise.
628 [XPG3 || XPG4] (clock_getres): Likewise.
629 [XPG3 || XPG4] (clock_gettime): Likewise.
630 [XPG3 || XPG4] (clock_settime): Likewise.
631 [XPG3 || XPG4] (nanosleep): Likewise.
632 [XPG3 || XPG4] (timer_create): Likewise.
633 [XPG3 || XPG4] (timer_delete): Likewise.
634 [XPG3 || XPG4] (timer_gettime): Likewise.
635 [XPG3 || XPG4] (timer_getoverrun): Likewise.
636 [XPG3 || XPG4] (timer_settime): Likewise.
637 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
638 [XPG3 || XPG4] (getlogin_r): Likewise.
639 [XPG3 || XPG4] (pread): Likewise.
640 [XPG3 || XPG4] (pthread_atfork): Likewise.
641 [XPG3 || XPG4] (pwrite): Likewise.
642
ee663277
JM
643 [BZ #14835]
644 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
645 <bits/siginfo.h>.
646
942caa16
PT
6472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
648
e19af380
PT
649 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
650 finalizing MALLSTREAM.
651
942caa16
PT
652 * sysdeps/mach/hurd/syncfs.c: New file.
653
cfde9b46
SP
6542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
655
656 [BZ #14719]
657 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
658 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
659 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
660 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
661 (_nss_dns_gethostbyname4_r): Likewise.
662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
663 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
664
f6da27e5
PH
6652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
666
667 [BZ #13763]
668 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
669
6665d4a2
SM
6702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
671
1f51ee92
SM
672 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
673 * elf/cache.c (print_entry): Print ",AArch64" for
674 FLAG_AARCH64_LIB64
675
6665d4a2
SM
676 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
677 * elf/cache.c (print_entry): Print ",hard-float" for
678 FLAG_ARM_LIBHF.
679
05b227bd
DM
6802012-11-18 David S. Miller <davem@davemloft.net>
681
682 With help from Joseph Myers.
683 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
684 cutoff to 2**-13.
685 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
686 cutoff to 2**-25.
687 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
688 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
689 small.
690 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
691 * math/libm-test.inc (y0_test): New tests.
692 (y1_test): New tests.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
696
786b0b67
AS
6972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
698
699 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
700 64-bit targets.
701 * configure: Regenerated.
702
8e18b86d
DM
7032012-11-17 David S. Miller <davem@davemloft.net>
704
705 [BZ #14811]
706 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
707 nonzero exponents with absolute value below 0x1p-128 to +/-
708 0x1p-128.
709
531f1ae0
JM
7102012-11-17 Joseph Myers <joseph@codesourcery.com>
711
12df29e2
JM
712 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
713
150dc1a0
JM
714 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
715
531f1ae0
JM
716 * posix/getconf-speclist.c: New file.
717 * posix/posix-envs.def: Likewise.
718 * posix/confstr.c (START_ENV_GROUP): New macro.
719 (END_ENV_GROUP): Likewise.
720 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
721 (KNOWN_PRESENT_ENV_STRING): Likewise.
722 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
723 (UNKNOWN_ENVIRONMENT): Likewise.
724 (confstr): Include posix-envs.def instead of handling
725 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
726 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
727 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
728 (END_ENV_GROUP): Likewise.
729 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
730 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
731 (UNKNOWN_ENVIRONMENT): Likewise.
732 (__sysconf): Include posix-envs.def instead of handling associated
733 cases directly here.
734 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
735 preprocessing getconf-speclist.c rather than running getconf or
736 generating empty file.
737
a93f9cbc
PT
7382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
739
740 * scripts/check-local-headers.sh: Ignore 'mach' headers.
741
d64d9f87
AL
7422012-11-16 Andrej Lajovic <natrij@gmail.com>
743
744 [BZ #14672]
745 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
746
447885eb
DM
7472012-11-16 David S. Miller <davem@davemloft.net>
748
749 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
750 smaller than LDBL_EPSILON/2.0L, just return xm1.
751
bcbf9830
L
7522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
753
754 * elf/tst-array1.c (init): Set constructor priority to 1000.
755 (fini): Set destructor priority to 1000.
756 * elf/tst-array2dep.c: Likewise.
757
2b766585
SP
7582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
759
760 [BZ #11741]
761 * libio/fileops.c (_IO_new_file_write): Correctly return error.
762 (_IO_new_file_xsputn): Also return EOF if none of the input
763 data was written when overflow failed.
764 * libio/iopadn.c (_IO_padn): Likewise.
765 * libio/iowpadn.c (_IO_wpadn): Likewise.
766 * stdio-common/tst-put-error.c: Add copyright notice.
767 (do_test): Add case for printing padded string.
768 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
769 _IO_padn returned error.
770 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
771 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
772 return EOF.
773
b1848fde
SP
7742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
775
776 * libio/libioP.h: Add comment note that the references to C++
777 bits are now obsolete.
778
2fd89785
MS
7792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
780
781 * math/libm-test.inc (check_complex): Use asprintf.
782
e3ea5409
JM
7832012-11-14 Joseph Myers <joseph@codesourcery.com>
784
785 * debug/pcprofiledump.c (print_version): Update copyright year.
786 * malloc/memusagestat.c (print_version): Likewise.
787
2e64d265
L
7882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
789
790 [BZ #14831]
791 * elf/Makefile (tests): Add tst-audit8.
792 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
793 ($(objpfx)tst-audit8.out): New target.
794 (tst-audit8-ENV): New variable.
795 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
796 audit if l_reloc_result is NULL.
797 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
798 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
799 * elf/tst-audit8.c: New file.
800
c485e4d2
MS
8012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
802
803 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
804 * misc/Makefile (CFLAGS-select.c): Define.
805 * posix/Makefile (CFLAGS-pause.c): Define.
806
3a0d900a
DM
8072012-11-13 David S. Miller <davem@davemloft.net>
808
809 * crypt/Makefile: Move test targets after toplevel Rules
810 inclusion. Grab any necessary sysdep routines when linking.
811 * crypt/md5.c (md5_process_block): Remove define, we will always
812 name it __md5_process_block.
813 (md5_finish_ctx): Update md5_process_block call.
814 (md5_stream): Likewise.
815 (md5_process_bytes): Likewise.
816 (md5_process_block): Rename to __md5_process_block and move to ...
817 * crypt/md5-block.c: ... here.
818 * crypt/sha256.c (sha256_process_block): Move to ...
819 * crypt/sha256-block.c: ... here.
820 * crypt/sha512.c (sha512_process_block): Move to ...
821 * crypt/sha512-block.c: ... here.
822 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
823 path.
824 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
825 * sysdeps/sparc/sparc64/multiarch/Makefile
826 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
827 crypt subdir.
828 (localedef-aux): Add md5 crypto assembler when in locale subdir.
829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
830 multiarch changes.
831 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
832 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
833 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
834 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
835 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
836 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
837 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
838 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
840 file.
841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
842 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
843 file.
844 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
845
8ca89318
JM
8462012-11-13 Joseph Myers <joseph@codesourcery.com>
847
e27d476a
JM
848 * timezone/tzselect.ksh: Update from tzcode git revision
849 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
850 * timezone/zdump.c: Likewise.
851 * timezone/zic.c: Likewise.
852 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
853 in TZVERSION setting, not $(PKGVERSION).
854 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
855 REPORT_BUGS_TO settings.
856
8ca89318
JM
857 [BZ #14838]
858 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
859 macro.
860
47594329
MS
8612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
862
863 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
864 detection to immediately after _FP_ROUND().
865 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
866 bits are 0.
867
640ac3f1
DM
8682012-11-11 David S. Miller <davem@davemloft.net>
869
870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
871 inttypes.h
872 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
873 __close rather than their public counterparts.
874
3d2577bb
JM
8752012-11-10 Joseph Myers <joseph@codesourcery.com>
876
877 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
878 file.
879 [UNIX98] (sem_timedwait): Do not expect.
880 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
881 [XPG4 || UNIX98] (sockatmark): Do not expect.
882 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
883 (clock_getcpuclockid): Do not expect.
884 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
885 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
886 Do not expect.
887 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
888 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
889 [UNIX98] (vwscanf): Likewise.
890 [UNIX98] (vswscanf): Likewise.
891
fb1ae1ee
JM
8922012-11-09 Joseph Myers <joseph@codesourcery.com>
893
9ec6f8bd
JM
894 * timezone/version.h: Remove file.
895 * timezone/README: Do not refer to version.h.
896 * timezone/Makefile ($(objpfx)zic.o): New dependency on
897 $(objpfx)version.h.
898 ($(objpfx)zdump.o): Likewise.
c3f81911 899 ($(objpfx)version.h): New target.
9ec6f8bd 900
0aa8f8a1
JM
901 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
902 2012i.
903 * timezone/README: Don't mention modification to tzselect.ksh.
904 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
905 work on unmodified tzselect.ksh. Substitute version numbers in
906 tzselect.ksh.
907
4e87147f
JM
908 * Makefile (format-me): Remove.
909 (INSTALL): Adjust indentation. Use commands directly instead of
910 using $(format-me).
911
8b748aed
JM
912 * aclocal.m4 (ACX_PKGVERSION): New macro.
913 (ACX_BUGURL): Likewise.
914 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
915 (PKGVERSION): New AC_DEFINE_UNQUOTED.
916 (REPORT_BUGS_TO): Likewise.
917 * configure: Regenerated.
918 * config.h.in (PKGVERSION): New macro.
919 (REPORT_BUGS_TO): Likewise.
920 * config.make.in (PKGVERSION): New variable.
921 (PKGVERSION_TEXI): Likewise.
922 (REPORT_BUGS_TO): Likewise.
923 (REPORT_BUGS_TEXI): Likewise.
924 * Makefile (format-me): Use -I$(common-objpfx)manual.
925 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
926 ($(common-objpfx)manual/%): New target.
927 (manual/%): Remove target.
928 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
929 (print_version): Use PKGVERSION.
930 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
931 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
932 and REPORT_BUGS_TO.
933 ($(objpfx)xtrace): Likewise.
934 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
935 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
936 (print_version): Use PKGVERSION.
937 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
938 (do_version): Use PKGVERSION.
939 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
940 REPORT_BUGS_TO.
941 (common-ldd-rewrite): Likewise.
942 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
943 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
944 (print_version): Use PKGVERSION.
945 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
946 * elf/pldd.c (argp_program_bug_address): Remove variable.
947 (more_help): New function.
948 (argp): Use more_help.
949 (print_version): Use PKGVERSION.
950 * elf/sln.c (main): Use PKGVERSION.
951 (usage): Use REPORT_BUGS_TO.
952 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
953 (top level): Use PKGVERSION.
954 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
955 (print_version): Use PKGVERSION.
956 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
957 (print_version): Use PKGVERSION.
958 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
959 (print_version): Use PKGVERSION.
960 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
961 (print_version): Use PKGVERSION.
962 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
963 (print_version): Use PKGVERSION.
964 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
965 (print_version): Use PKGVERSION.
966 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
967 and BUGURL.
968 ($(objpfx)memusage): Likewise.
969 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
970 (do_version): Use PKGVERSION.
971 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
972 (print_version): Use PKGVERSION.
973 * malloc/mtrace.pl ($PACKAGE): Remove variable.
974 ($PKGVERSION): New variable.
975 ($REPORT_BUGS_TO): Likewise.
976 (usage): Use $REPORT_BUGS_TO.
977 (top level): Use $PKGVERSION.
978 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
979 ($(objpfx)pkgvers.texi): New rule.
980 ($(objpfx)stamp-pkgvers): Likewise.
981 * manual/install.texi: Include pkgvers.texi.
982 (--with-pkgversion): Document new configure option.
983 (--with-bugurl): Likewise.
984 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
985 than necessarily for this particular distribution. Use
986 REPORT_BUGS_TO for where to report bugs.
987 * INSTALL: Regenerated.
988 * manual/libc.texinfo: Include pkgvers.texi.
989 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
990 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
991 (print_version): Use PKGVERSION.
992 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
993 (print_version): Use PKGVERSION.
994 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
995 (print_version): Use PKGVERSION.
996 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
997 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
998 macro.
999 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1000 (print_version): Use PKGVERSION.
1001 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1002 (print_version): Use PKGVERSION.
1003 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1004 and PKGVERSION.
1005
92e4b6a9
JM
1006 * timezone/checktab.awk: Update from tzcode 2012i.
1007 * timezone/ialloc.c: Likewise.
1008 * timezone/private.h: Likewise.
1009 * timezone/scheck.c: Likewise.
1010 * timezone/tzfile.h: Likewise.
1011 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1012 (TZVERSION): Hardcode tzcode version number.
1013 * timezone/zdump.c: Update from tzcode 2012i.
1014 * timezone/zic.c: Likewise.
1015 * timezone/version.h: New file.
1016 * timezone/README: Describe version.h. Update upstream location.
1017
9bde902c
JM
1018 [BZ #14824]
1019 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1020 (mktemp): Enable declaration.
1021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1025 Likewise.
1026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1027 Likewise.
1028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1029 Likewise.
1030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1031 Likewise.
1032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1033 Likewise.
1034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1035 Likewise.
1036
fb1ae1ee
JM
1037 [BZ #14821]
1038 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1039 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1040 for copies of such integer values.
1041 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1042 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1043
2c1adbcb
AJ
10442012-11-09 Andreas Jaeger <aj@suse.de>
1045
1046 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1047 definitions and declarations that are provided by
1048 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1049
d0f8457e
AK
10502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1051
1052 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1053 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1054 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1055 definition.
1056
57241e26
MS
10572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1058
1059 * elf/elf.h: Update comment before AArch64 relocations.
1060
60e8270d
DM
10612012-11-07 David S. Miller <davem@davemloft.net>
1062
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1064 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1065 (__start_context): Declare.
1066 (__makecontext_ret): Delete.
1067 (__makecontext): Hook up __start_context instead of
1068 __makecontext_ret.
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1070 (sysdep_routines): Add __start_context when in stdlib.
1071
0fbb0fbc
JM
10722012-11-07 Joseph Myers <joseph@codesourcery.com>
1073
1074 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1075 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1076 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1077 hardcoded "nm".
1078 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1079 (READELF): New variable. Use it instead of hardcoded "readelf".
1080
eb48db7e
L
10812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1082
1083 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1084 * sysdeps/x86/Makefile: Here.
1085 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1086 * sysdeps/x86/tst-xmmymm.sh: This.
1087
05bcf62a
JM
10882012-11-07 Joseph Myers <joseph@codesourcery.com>
1089
c4b6cf53
JM
1090 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1091 expectations.
1092 [UNIX98] (pthread_barrier_t): Do not expect.
1093 [UNIX98] (pthread_barrierattr_t): Likewise.
1094 [UNIX98] (pthread_spinlock_t): Likewise.
1095 [UNIX98] (pthread_barrier_destroy): Likewise.
1096 [UNIX98] (pthread_barrier_init): Likewise.
1097 [UNIX98] (pthread_barrier_wait): Likewise.
1098 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1099 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1100 [UNIX98] (pthread_barrierattr_init): Likewise.
1101 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1102 [UNIX98] (pthread_getcpuclockid): Likewise.
1103 [UNIX98] (pthread_mutex_timedlock): Likewise.
1104 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1105 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1106 [UNIX98] (pthread_sigmask): Likewise.
1107 [UNIX98] (pthread_spin_destroy): Likewise.
1108 [UNIX98] (pthread_spin_init): Likewise.
1109 [UNIX98] (pthread_spin_lock): Likewise.
1110 [UNIX98] (pthread_spin_trylock): Likewise.
1111 [UNIX98] (pthread_spin_unlock): Likewise.
1112 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1113 Do not expect.
1114 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1115 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1116 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1117 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1118 [XPG3 || XPG4] (pthread_key_t): Likewise.
1119 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1120 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1121 [XPG3 || XPG4] (pthread_once_t): Likewise.
1122 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1123 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1124 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1125 [XPG3 || XPG4] (pthread_t): Likewise.
1126
cbe6e120
JM
1127 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1128 not expect.
1129 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1130
1b126443
JM
1131 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1132 Change function return type to int.
1133
b961a573
JM
1134 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1135 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1136 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1137 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1138 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1139 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1140 [!POSIX] (posix_madvise): Likewise.
1141 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1142 && !UNIX98].
1143 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1144 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1145 (mode_t): Likewise.
1146 (posix_mem_offset): Likewise.
1147 (posix_typed_mem_get_info): Likewise.
1148 (posix_typed_mem_open): Likewise.
1149
9e188909
JM
1150 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1151 Change condition to [XOPEN2K8].
1152
05bcf62a
JM
1153 * conform/conformtest.pl: Preprocess allow-header data with -x c
1154 instead of from stdin.
1155 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1156 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1157 [C99-based standards] (cerfc): Likewise.
1158 [C99-based standards] (cexp2): Likewise.
1159 [C99-based standards] (cexpm1): Likewise.
1160 [C99-based standards] (clog10): Likewise.
1161 [C99-based standards] (clog1p): Likewise.
1162 [C99-based standards] (clog2): Likewise.
1163 [C99-based standards] (clgamma): Likewise.
1164 [C99-based standards] (ctgamma): Likewise.
1165 [C99-based standards] (cerff): Likewise.
1166 [C99-based standards] (cerfcf): Likewise.
1167 [C99-based standards] (cexp2f): Likewise.
1168 [C99-based standards] (cexpm1f): Likewise.
1169 [C99-based standards] (clog10f): Likewise.
1170 [C99-based standards] (clog1pf): Likewise.
1171 [C99-based standards] (clog2f): Likewise.
1172 [C99-based standards] (clgammaf): Likewise.
1173 [C99-based standards] (ctgammaf): Likewise.
1174 [C99-based standards] (cerfl): Likewise.
1175 [C99-based standards] (cerfcl): Likewise.
1176 [C99-based standards] (cexp2l): Likewise.
1177 [C99-based standards] (cexpm1l): Likewise.
1178 [C99-based standards] (clog10l): Likewise.
1179 [C99-based standards] (clog1pl): Likewise.
1180 [C99-based standards] (clog2l): Likewise.
1181 [C99-based standards] (clgammal): Likewise.
1182 [C99-based standards] (ctgammal): Likewise.
1183 * conform/data/inttypes.h-data [C99-based standards]: Include
1184 stdint.h-data. Remove all expectations for stdint.h contents.
1185 [C99-based standards] (PRI*): Do not allow.
1186 [C99-based standards] (SCN*): Likewise.
1187 [C99-based standards] (*_t): Likewise.
1188 [C99-based-standards] (PRId8): Expect macro.
1189 [C99-based-standards] (PRIi8): Likewise.
1190 [C99-based-standards] (PRIo8): Likewise.
1191 [C99-based-standards] (PRIu8): Likewise.
1192 [C99-based-standards] (PRIx8): Likewise.
1193 [C99-based-standards] (PRIX8): Likewise.
1194 [C99-based-standards] (SCNd8): Likewise.
1195 [C99-based-standards] (SCNi8): Likewise.
1196 [C99-based-standards] (SCNo8): Likewise.
1197 [C99-based-standards] (SCNu8): Likewise.
1198 [C99-based-standards] (SCNx8): Likewise.
1199 [C99-based-standards] (PRIdLEAST8): Likewise.
1200 [C99-based-standards] (PRIiLEAST8): Likewise.
1201 [C99-based-standards] (PRIoLEAST8): Likewise.
1202 [C99-based-standards] (PRIuLEAST8): Likewise.
1203 [C99-based-standards] (PRIxLEAST8): Likewise.
1204 [C99-based-standards] (PRIXLEAST8): Likewise.
1205 [C99-based-standards] (SCNdLEAST8): Likewise.
1206 [C99-based-standards] (SCNiLEAST8): Likewise.
1207 [C99-based-standards] (SCNoLEAST8): Likewise.
1208 [C99-based-standards] (SCNuLEAST8): Likewise.
1209 [C99-based-standards] (SCNxLEAST8): Likewise.
1210 [C99-based-standards] (PRIdFAST8): Likewise.
1211 [C99-based-standards] (PRIiFAST8): Likewise.
1212 [C99-based-standards] (PRIoFAST8): Likewise.
1213 [C99-based-standards] (PRIuFAST8): Likewise.
1214 [C99-based-standards] (PRIxFAST8): Likewise.
1215 [C99-based-standards] (PRIXFAST8): Likewise.
1216 [C99-based-standards] (SCNdFAST8): Likewise.
1217 [C99-based-standards] (SCNiFAST8): Likewise.
1218 [C99-based-standards] (SCNoFAST8): Likewise.
1219 [C99-based-standards] (SCNuFAST8): Likewise.
1220 [C99-based-standards] (SCNxFAST8): Likewise.
1221 [C99-based-standards] (PRId16): Likewise.
1222 [C99-based-standards] (PRIi16): Likewise.
1223 [C99-based-standards] (PRIo16): Likewise.
1224 [C99-based-standards] (PRIu16): Likewise.
1225 [C99-based-standards] (PRIx16): Likewise.
1226 [C99-based-standards] (PRIX16): Likewise.
1227 [C99-based-standards] (SCNd16): Likewise.
1228 [C99-based-standards] (SCNi16): Likewise.
1229 [C99-based-standards] (SCNo16): Likewise.
1230 [C99-based-standards] (SCNu16): Likewise.
1231 [C99-based-standards] (SCNx16): Likewise.
1232 [C99-based-standards] (PRIdLEAST16): Likewise.
1233 [C99-based-standards] (PRIiLEAST16): Likewise.
1234 [C99-based-standards] (PRIoLEAST16): Likewise.
1235 [C99-based-standards] (PRIuLEAST16): Likewise.
1236 [C99-based-standards] (PRIxLEAST16): Likewise.
1237 [C99-based-standards] (PRIXLEAST16): Likewise.
1238 [C99-based-standards] (SCNdLEAST16): Likewise.
1239 [C99-based-standards] (SCNiLEAST16): Likewise.
1240 [C99-based-standards] (SCNoLEAST16): Likewise.
1241 [C99-based-standards] (SCNuLEAST16): Likewise.
1242 [C99-based-standards] (SCNxLEAST16): Likewise.
1243 [C99-based-standards] (PRIdFAST16): Likewise.
1244 [C99-based-standards] (PRIiFAST16): Likewise.
1245 [C99-based-standards] (PRIoFAST16): Likewise.
1246 [C99-based-standards] (PRIuFAST16): Likewise.
1247 [C99-based-standards] (PRIxFAST16): Likewise.
1248 [C99-based-standards] (PRIXFAST16): Likewise.
1249 [C99-based-standards] (SCNdFAST16): Likewise.
1250 [C99-based-standards] (SCNiFAST16): Likewise.
1251 [C99-based-standards] (SCNoFAST16): Likewise.
1252 [C99-based-standards] (SCNuFAST16): Likewise.
1253 [C99-based-standards] (SCNxFAST16): Likewise.
1254 [C99-based-standards] (PRId32): Likewise.
1255 [C99-based-standards] (PRIi32): Likewise.
1256 [C99-based-standards] (PRIo32): Likewise.
1257 [C99-based-standards] (PRIu32): Likewise.
1258 [C99-based-standards] (PRIx32): Likewise.
1259 [C99-based-standards] (PRIX32): Likewise.
1260 [C99-based-standards] (SCNd32): Likewise.
1261 [C99-based-standards] (SCNi32): Likewise.
1262 [C99-based-standards] (SCNo32): Likewise.
1263 [C99-based-standards] (SCNu32): Likewise.
1264 [C99-based-standards] (SCNx32): Likewise.
1265 [C99-based-standards] (PRIdLEAST32): Likewise.
1266 [C99-based-standards] (PRIiLEAST32): Likewise.
1267 [C99-based-standards] (PRIoLEAST32): Likewise.
1268 [C99-based-standards] (PRIuLEAST32): Likewise.
1269 [C99-based-standards] (PRIxLEAST32): Likewise.
1270 [C99-based-standards] (PRIXLEAST32): Likewise.
1271 [C99-based-standards] (SCNdLEAST32): Likewise.
1272 [C99-based-standards] (SCNiLEAST32): Likewise.
1273 [C99-based-standards] (SCNoLEAST32): Likewise.
1274 [C99-based-standards] (SCNuLEAST32): Likewise.
1275 [C99-based-standards] (SCNxLEAST32): Likewise.
1276 [C99-based-standards] (PRIdFAST32): Likewise.
1277 [C99-based-standards] (PRIiFAST32): Likewise.
1278 [C99-based-standards] (PRIoFAST32): Likewise.
1279 [C99-based-standards] (PRIuFAST32): Likewise.
1280 [C99-based-standards] (PRIxFAST32): Likewise.
1281 [C99-based-standards] (PRIXFAST32): Likewise.
1282 [C99-based-standards] (SCNdFAST32): Likewise.
1283 [C99-based-standards] (SCNiFAST32): Likewise.
1284 [C99-based-standards] (SCNoFAST32): Likewise.
1285 [C99-based-standards] (SCNuFAST32): Likewise.
1286 [C99-based-standards] (SCNxFAST32): Likewise.
1287 [C99-based-standards] (PRId64): Likewise.
1288 [C99-based-standards] (PRIi64): Likewise.
1289 [C99-based-standards] (PRIo64): Likewise.
1290 [C99-based-standards] (PRIu64): Likewise.
1291 [C99-based-standards] (PRIx64): Likewise.
1292 [C99-based-standards] (PRIX64): Likewise.
1293 [C99-based-standards] (SCNd64): Likewise.
1294 [C99-based-standards] (SCNi64): Likewise.
1295 [C99-based-standards] (SCNo64): Likewise.
1296 [C99-based-standards] (SCNu64): Likewise.
1297 [C99-based-standards] (SCNx64): Likewise.
1298 [C99-based-standards] (PRIdLEAST64): Likewise.
1299 [C99-based-standards] (PRIiLEAST64): Likewise.
1300 [C99-based-standards] (PRIoLEAST64): Likewise.
1301 [C99-based-standards] (PRIuLEAST64): Likewise.
1302 [C99-based-standards] (PRIxLEAST64): Likewise.
1303 [C99-based-standards] (PRIXLEAST64): Likewise.
1304 [C99-based-standards] (SCNdLEAST64): Likewise.
1305 [C99-based-standards] (SCNiLEAST64): Likewise.
1306 [C99-based-standards] (SCNoLEAST64): Likewise.
1307 [C99-based-standards] (SCNuLEAST64): Likewise.
1308 [C99-based-standards] (SCNxLEAST64): Likewise.
1309 [C99-based-standards] (PRIdFAST64): Likewise.
1310 [C99-based-standards] (PRIiFAST64): Likewise.
1311 [C99-based-standards] (PRIoFAST64): Likewise.
1312 [C99-based-standards] (PRIuFAST64): Likewise.
1313 [C99-based-standards] (PRIxFAST64): Likewise.
1314 [C99-based-standards] (PRIXFAST64): Likewise.
1315 [C99-based-standards] (SCNdFAST64): Likewise.
1316 [C99-based-standards] (SCNiFAST64): Likewise.
1317 [C99-based-standards] (SCNoFAST64): Likewise.
1318 [C99-based-standards] (SCNuFAST64): Likewise.
1319 [C99-based-standards] (SCNxFAST64): Likewise.
1320 [C99-based-standards] (PRIdMAX): Likewise.
1321 [C99-based-standards] (PRIiMAX): Likewise.
1322 [C99-based-standards] (PRIoMAX): Likewise.
1323 [C99-based-standards] (PRIuMAX): Likewise.
1324 [C99-based-standards] (PRIxMAX): Likewise.
1325 [C99-based-standards] (PRIXMAX): Likewise.
1326 [C99-based-standards] (SCNdMAX): Likewise.
1327 [C99-based-standards] (SCNiMAX): Likewise.
1328 [C99-based-standards] (SCNoMAX): Likewise.
1329 [C99-based-standards] (SCNuMAX): Likewise.
1330 [C99-based-standards] (SCNxMAX): Likewise.
1331 [C99-based-standards] (PRIdPTR): Likewise.
1332 [C99-based-standards] (PRIiPTR): Likewise.
1333 [C99-based-standards] (PRIoPTR): Likewise.
1334 [C99-based-standards] (PRIuPTR): Likewise.
1335 [C99-based-standards] (PRIxPTR): Likewise.
1336 [C99-based-standards] (PRIXPTR): Likewise.
1337 [C99-based-standards] (SCNdPTR): Likewise.
1338 [C99-based-standards] (SCNiPTR): Likewise.
1339 [C99-based-standards] (SCNoPTR): Likewise.
1340 [C99-based-standards] (SCNuPTR): Likewise.
1341 [C99-based-standards] (SCNxPTR): Likewise.
1342 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1343 allow.
1344 * conform/data/stdint.h-data: Update comments to clarify
1345 requirements.
1346 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1347 type.
1348 [C99-based standards] (INT8_MAX): Likewise.
1349 [C99-based standards] (INT16_MIN): Likewise.
1350 [C99-based standards] (INT16_MAX): Likewise.
1351 [C99-based standards] (INT32_MIN): Likewise.
1352 [C99-based standards] (INT32_MAX): Likewise.
1353 [C99-based standards] (INT64_MIN): Likewise.
1354 [C99-based standards] (INT64_MAX): Likewise.
1355 [C99-based standards] (UINT8_MAX): Likewise.
1356 [C99-based standards] (UINT16_MAX): Likewise.
1357 [C99-based standards] (UINT32_MAX): Likewise.
1358 [C99-based standards] (UINT64_MAX): Likewise.
1359 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1360 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1361 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1362 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1363 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1364 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1365 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1366 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1367 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1368 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1369 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1370 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1371 [C99-based standards] (INT_FAST8_MIN): Likewise.
1372 [C99-based standards] (INT_FAST8_MAX): Likewise.
1373 [C99-based standards] (INT_FAST16_MIN): Likewise.
1374 [C99-based standards] (INT_FAST16_MAX): Likewise.
1375 [C99-based standards] (INT_FAST32_MIN): Likewise.
1376 [C99-based standards] (INT_FAST32_MAX): Likewise.
1377 [C99-based standards] (INT_FAST64_MIN): Likewise.
1378 [C99-based standards] (INT_FAST64_MAX): Likewise.
1379 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1380 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1381 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1382 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1383 [C99-based standards] (INTPTR_MIN): Likewise.
1384 [C99-based standards] (INTPTR_MAX): Likewise.
1385 [C99-based standards] (UINTPTR_MAX): Likewise.
1386 [C99-based standards] (INTMAX_MIN): Likewise.
1387 [C99-based standards] (INTMAX_MAX): Likewise.
1388 [C99-based standards] (UINTMAX_MAX): Likewise.
1389 [C99-based standards] (PTRDIFF_MIN): Likewise.
1390 [C99-based standards] (PTRDIFF_MAX): Likewise.
1391 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1392 [C99-based standards] (SIZE_MAX): Likewise.
1393 [C99-based standards] (WCHAR_MAX): Likewise.
1394 [C99-based standards] (WINT_MAX): Likewise.
1395 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1396 constraint on value.
1397 [C99-based standards] (WCHAR_MIN): Likewise.
1398 [C99-based standards] (WINT_MIN): Likewise.
1399 [C99-based standards] (*_t): Allow.
1400 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1401 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1402 Include math.h-data and complex.h-data. Remove all expectations
1403 of math.h and complex.h contents.
1404 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1405 at end of line.
1406 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1407 (struct tm): Expect tag.
1408 [C99-based-standards] (wcstof): Expect function.
1409 [C99-based-standards] (wcstold): Likewise.
1410 [C99-based-standards] (wcstoll): Likewise.
1411 [C99-based-standards] (wcstoull): Likewise.
1412 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1413 macro-int-constant. Specify type.
1414 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1415 constraint on value.
1416 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1417 Specify type.
1418 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1419 Specify value.
1420 [ISO C standards]: Do not allow headers.
1421 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1422 wcs[abcdefghijklmnopqrstuvwxyz]*.
1423 [ISO C standards] (*_t): Do not allow.
1424 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1425 Expect function.
1426 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1427 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1428 Specify type.
1429 [ISO C standards]: Do not allow headers.
1430 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1431 is[abcdefghijklmnopqrstuvwxyz]*.
1432 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1433 to[abcdefghijklmnopqrstuvwxyz]*.
1434 [ISO C standards] (*_t): Do not allow.
1435 * conform/data/stdalign.h-data: New file.
1436 * conform/data/stdbool.h-data: Likewise.
1437 * conform/data/stdnoreturn.h-data: Likewise.
1438
7514feb8
RM
14392012-11-07 Roland McGrath <roland@hack.frob.com>
1440
1441 [BZ #14815]
1442 * manual/filesys.texi (Directory Entries): Typo fix.
1443 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1444
19b2ecfc
MS
14452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1446
1447 * elf/elf.h (EM_AARCH64): New macro.
1448 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1449 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1450 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1451 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1452 (R_AARCH64_TLSDESC): Likewise.
1453 (NT_ARM_TLS): Likewise.
1454 (NT_ARM_HW_BREAK): Likewise.
1455 (NT_ARM_HW_WATCH): Likewise.
1456
60e235ee
JM
14572012-11-07 Joseph Myers <joseph@codesourcery.com>
1458
1459 [BZ #14811]
1460 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1461 (__ieee754_powl): Saturate nonzero exponents with absolute value
1462 below 0x1p-79 to +/- 0x1p-79.
1463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1464 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1465 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1466 nonzero exponents with absolute value below 0x1p-32 to +/-
1467 0x1p-32.
1468 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1469 (__ieee754_powl): Saturate nonzero exponents with absolute value
1470 below 0x1p-79 to +/- 0x1p-79.
1471 * math/libm-test.inc (pow_test): Add more tests.
1472
0ab234b7
AK
14732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1474
1475 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1476 _dl_s390_cap_flags with kernel. Increase string length.
1477 (_dl_s390_platforms): Add z196 and zEC12.
1478
45832f74
JM
14792012-11-07 Joseph Myers <joseph@codesourcery.com>
1480
1481 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1482 Change XOPEN21K to XOPEN2K.
1483
19218757
MK
14842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1485
1486 * string/memmove.c: Use memcpy when possible.
1487
c5f45721
AJ
14882012-11-06 Andreas Jaeger <aj@suse.de>
1489
1490 * po/eo.po: Update from translation team.
1491
82477c28
JM
14922012-11-06 Joseph Myers <joseph@codesourcery.com>
1493
1494 [BZ #14793]
1495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1496 exponent and small x and y exponents, scale x or y up. Increase
1497 by 2 the exponent used in scaling up.
1498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1500 * math/libm-test.inc (fma_test): Add more tests.
1501 (fma_test_towardzero): Likewise.
1502 (fma_test_downward): Likewise.
1503 (fma_test_upward): Likewise.
1504
99252c8c
JM
15052012-11-05 Joseph Myers <joseph@codesourcery.com>
1506
acfa885f
JM
1507 [BZ #14805]
1508 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1509 fenv_t *.
1510
99252c8c
JM
1511 [BZ #14801]
1512 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1513 namespace for names of struct fields.
1514 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1515 fenv_t fields.
1516 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1517 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1518
d6d98dea
ST
15192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1520
1521 [BZ #3665]
1522 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1523
e10bb107
TS
15242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1525
1526 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1527 PTR_DEMANGLE.
1528
1529 [BZ #5246]
1530 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1531 PTR_DEMANGLE.
1532
a0c2940d
JM
15332012-11-04 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #14797]
1536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1537 definitely overflow as x * y not x * y + z.
1538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1540 * math/libm-test.inc (fma_test): Add more tests.
1541 (fma_test_towardzero): Likewise.
1542 (fma_test_downward): Likewise.
1543 (fma_test_upward): Likewise.
1544
b830319d
TS
15452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1546
1547 [BZ #157]
1548
1549 * include/stub-tag.h: Remove file.
1550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1551 '#include' of it.
1552 * manual/maint.texi (Porting): Don't reference it.
1553 * Makerules ($(objpfx)stubs): Likewise.
1554 * dirent/closedir.c: Don't include <stub-tag.h>.
1555 * dirent/dirfd.c: Likewise.
1556 * dirent/fdopendir.c: Likewise.
1557 * dirent/getdents.c: Likewise.
1558 * dirent/getdents64.c: Likewise.
1559 * dirent/opendir.c: Likewise.
1560 * dirent/readdir.c: Likewise.
1561 * dirent/readdir64.c: Likewise.
1562 * dirent/readdir64_r.c: Likewise.
1563 * dirent/readdir_r.c: Likewise.
1564 * dirent/rewinddir.c: Likewise.
1565 * dirent/seekdir.c: Likewise.
1566 * dirent/telldir.c: Likewise.
1567 * gmon/profil.c: Likewise.
1568 * grp/setgroups.c: Likewise.
1569 * inet/if_index.c: Likewise.
1570 * io/access.c: Likewise.
1571 * io/chdir.c: Likewise.
1572 * io/chmod.c: Likewise.
1573 * io/chown.c: Likewise.
1574 * io/close.c: Likewise.
1575 * io/dup.c: Likewise.
1576 * io/dup2.c: Likewise.
1577 * io/dup3.c: Likewise.
1578 * io/euidaccess.c: Likewise.
1579 * io/faccessat.c: Likewise.
1580 * io/fchdir.c: Likewise.
1581 * io/fchmod.c: Likewise.
1582 * io/fchmodat.c: Likewise.
1583 * io/fchown.c: Likewise.
1584 * io/fchownat.c: Likewise.
1585 * io/fcntl.c: Likewise.
1586 * io/flock.c: Likewise.
1587 * io/fstatfs.c: Likewise.
1588 * io/fstatfs64.c: Likewise.
1589 * io/fstatvfs.c: Likewise.
1590 * io/fstatvfs64.c: Likewise.
1591 * io/futimens.c: Likewise.
1592 * io/fxstat.c: Likewise.
1593 * io/fxstat64.c: Likewise.
1594 * io/fxstatat.c: Likewise.
1595 * io/fxstatat64.c: Likewise.
1596 * io/getcwd.c: Likewise.
1597 * io/isatty.c: Likewise.
1598 * io/lchmod.c: Likewise.
1599 * io/lchown.c: Likewise.
1600 * io/link.c: Likewise.
1601 * io/linkat.c: Likewise.
1602 * io/lseek.c: Likewise.
1603 * io/lseek64.c: Likewise.
1604 * io/lxstat64.c: Likewise.
1605 * io/mkdir.c: Likewise.
1606 * io/mkdirat.c: Likewise.
1607 * io/mkfifo.c: Likewise.
1608 * io/mkfifoat.c: Likewise.
1609 * io/open.c: Likewise.
1610 * io/open64.c: Likewise.
1611 * io/openat.c: Likewise.
1612 * io/openat64.c: Likewise.
1613 * io/pipe.c: Likewise.
1614 * io/pipe2.c: Likewise.
1615 * io/poll.c: Likewise.
1616 * io/posix_fadvise.c: Likewise.
1617 * io/posix_fadvise64.c: Likewise.
1618 * io/posix_fallocate.c: Likewise.
1619 * io/posix_fallocate64.c: Likewise.
1620 * io/read.c: Likewise.
1621 * io/readlink.c: Likewise.
1622 * io/readlinkat.c: Likewise.
1623 * io/rmdir.c: Likewise.
1624 * io/sendfile.c: Likewise.
1625 * io/sendfile64.c: Likewise.
1626 * io/statfs.c: Likewise.
1627 * io/statfs64.c: Likewise.
1628 * io/statvfs.c: Likewise.
1629 * io/statvfs64.c: Likewise.
1630 * io/symlink.c: Likewise.
1631 * io/symlinkat.c: Likewise.
1632 * io/ttyname.c: Likewise.
1633 * io/ttyname_r.c: Likewise.
1634 * io/umask.c: Likewise.
1635 * io/unlink.c: Likewise.
1636 * io/unlinkat.c: Likewise.
1637 * io/utime.c: Likewise.
1638 * io/utimensat.c: Likewise.
1639 * io/write.c: Likewise.
1640 * io/xmknod.c: Likewise.
1641 * io/xmknodat.c: Likewise.
1642 * io/xstat.c: Likewise.
1643 * io/xstat64.c: Likewise.
1644 * login/getpt.c: Likewise.
1645 * login/grantpt.c: Likewise.
1646 * login/unlockpt.c: Likewise.
1647 * math/e_acoshl.c: Likewise.
1648 * math/e_acosl.c: Likewise.
1649 * math/e_asinl.c: Likewise.
1650 * math/e_atan2l.c: Likewise.
1651 * math/e_atanhl.c: Likewise.
1652 * math/e_coshl.c: Likewise.
1653 * math/e_expl.c: Likewise.
1654 * math/e_fmodl.c: Likewise.
1655 * math/e_gammal_r.c: Likewise.
1656 * math/e_hypotl.c: Likewise.
1657 * math/e_j0l.c: Likewise.
1658 * math/e_j1l.c: Likewise.
1659 * math/e_jnl.c: Likewise.
1660 * math/e_lgammal_r.c: Likewise.
1661 * math/e_log10l.c: Likewise.
1662 * math/e_log2l.c: Likewise.
1663 * math/e_logl.c: Likewise.
1664 * math/e_powl.c: Likewise.
1665 * math/e_rem_pio2l.c: Likewise.
1666 * math/e_sinhl.c: Likewise.
1667 * math/e_sqrtl.c: Likewise.
1668 * math/fclrexcpt.c: Likewise.
1669 * math/fedisblxcpt.c: Likewise.
1670 * math/feenablxcpt.c: Likewise.
1671 * math/fegetenv.c: Likewise.
1672 * math/fegetexcept.c: Likewise.
1673 * math/fegetround.c: Likewise.
1674 * math/feholdexcpt.c: Likewise.
1675 * math/fesetenv.c: Likewise.
1676 * math/fesetround.c: Likewise.
1677 * math/feupdateenv.c: Likewise.
1678 * math/fgetexcptflg.c: Likewise.
1679 * math/fraiseexcpt.c: Likewise.
1680 * math/fsetexcptflg.c: Likewise.
1681 * math/ftestexcept.c: Likewise.
1682 * math/k_cosl.c: Likewise.
1683 * math/k_rem_pio2l.c: Likewise.
1684 * math/k_sinl.c: Likewise.
1685 * math/k_tanl.c: Likewise.
1686 * math/s_asinhl.c: Likewise.
1687 * math/s_atanl.c: Likewise.
1688 * math/s_cbrtl.c: Likewise.
1689 * math/s_erfl.c: Likewise.
1690 * math/s_expm1l.c: Likewise.
1691 * math/s_log1pl.c: Likewise.
1692 * math/s_tanhl.c: Likewise.
1693 * misc/acct.c: Likewise.
1694 * misc/brk.c: Likewise.
1695 * misc/chflags.c: Likewise.
1696 * misc/chroot.c: Likewise.
1697 * misc/fchflags.c: Likewise.
1698 * misc/fgetxattr.c: Likewise.
1699 * misc/flistxattr.c: Likewise.
1700 * misc/fremovexattr.c: Likewise.
1701 * misc/fsetxattr.c: Likewise.
1702 * misc/fsync.c: Likewise.
1703 * misc/ftruncate.c: Likewise.
1704 * misc/futimes.c: Likewise.
1705 * misc/futimesat.c: Likewise.
1706 * misc/getdomain.c: Likewise.
1707 * misc/getdtsz.c: Likewise.
1708 * misc/gethostid.c: Likewise.
1709 * misc/gethostname.c: Likewise.
1710 * misc/getloadavg.c: Likewise.
1711 * misc/getpagesize.c: Likewise.
1712 * misc/getsysstats.c: Likewise.
1713 * misc/getxattr.c: Likewise.
1714 * misc/gtty.c: Likewise.
1715 * misc/ioctl.c: Likewise.
1716 * misc/lgetxattr.c: Likewise.
1717 * misc/listxattr.c: Likewise.
1718 * misc/llistxattr.c: Likewise.
1719 * misc/lremovexattr.c: Likewise.
1720 * misc/lsetxattr.c: Likewise.
1721 * misc/lutimes.c: Likewise.
1722 * misc/madvise.c: Likewise.
1723 * misc/mincore.c: Likewise.
1724 * misc/mlock.c: Likewise.
1725 * misc/mlockall.c: Likewise.
1726 * misc/mmap.c: Likewise.
1727 * misc/mprotect.c: Likewise.
1728 * misc/msync.c: Likewise.
1729 * misc/munlock.c: Likewise.
1730 * misc/munlockall.c: Likewise.
1731 * misc/munmap.c: Likewise.
1732 * misc/preadv.c: Likewise.
1733 * misc/preadv64.c: Likewise.
1734 * misc/ptrace.c: Likewise.
1735 * misc/pwritev.c: Likewise.
1736 * misc/pwritev64.c: Likewise.
1737 * misc/readv.c: Likewise.
1738 * misc/reboot.c: Likewise.
1739 * misc/remap_file_pages.c: Likewise.
1740 * misc/removexattr.c: Likewise.
1741 * misc/revoke.c: Likewise.
1742 * misc/select.c: Likewise.
1743 * misc/setdomain.c: Likewise.
1744 * misc/setegid.c: Likewise.
1745 * misc/seteuid.c: Likewise.
1746 * misc/sethostid.c: Likewise.
1747 * misc/sethostname.c: Likewise.
1748 * misc/setregid.c: Likewise.
1749 * misc/setreuid.c: Likewise.
1750 * misc/setxattr.c: Likewise.
1751 * misc/sstk.c: Likewise.
1752 * misc/stty.c: Likewise.
1753 * misc/swapoff.c: Likewise.
1754 * misc/swapon.c: Likewise.
1755 * misc/sync.c: Likewise.
1756 * misc/syncfs.c: Likewise.
1757 * misc/syscall.c: Likewise.
1758 * misc/truncate.c: Likewise.
1759 * misc/ualarm.c: Likewise.
1760 * misc/usleep.c: Likewise.
1761 * misc/ustat.c: Likewise.
1762 * misc/utimes.c: Likewise.
1763 * misc/vhangup.c: Likewise.
1764 * misc/writev.c: Likewise.
1765 * posix/_exit.c: Likewise.
1766 * posix/alarm.c: Likewise.
1767 * posix/execve.c: Likewise.
1768 * posix/fexecve.c: Likewise.
1769 * posix/fork.c: Likewise.
1770 * posix/fpathconf.c: Likewise.
1771 * posix/getaddrinfo.c: Likewise.
1772 * posix/getegid.c: Likewise.
1773 * posix/geteuid.c: Likewise.
1774 * posix/getgid.c: Likewise.
1775 * posix/getgroups.c: Likewise.
1776 * posix/getlogin.c: Likewise.
1777 * posix/getlogin_r.c: Likewise.
1778 * posix/getpgid.c: Likewise.
1779 * posix/getpid.c: Likewise.
1780 * posix/getppid.c: Likewise.
1781 * posix/getresgid.c: Likewise.
1782 * posix/getresuid.c: Likewise.
1783 * posix/getsid.c: Likewise.
1784 * posix/getuid.c: Likewise.
1785 * posix/glob64.c: Likewise.
1786 * posix/nanosleep.c: Likewise.
1787 * posix/pathconf.c: Likewise.
1788 * posix/pause.c: Likewise.
1789 * posix/posix_madvise.c: Likewise.
1790 * posix/pread.c: Likewise.
1791 * posix/pread64.c: Likewise.
1792 * posix/pwrite.c: Likewise.
1793 * posix/pwrite64.c: Likewise.
1794 * posix/sched_getaffinity.c: Likewise.
1795 * posix/sched_getp.c: Likewise.
1796 * posix/sched_gets.c: Likewise.
1797 * posix/sched_primax.c: Likewise.
1798 * posix/sched_primin.c: Likewise.
1799 * posix/sched_rr_gi.c: Likewise.
1800 * posix/sched_setaffinity.c: Likewise.
1801 * posix/sched_setp.c: Likewise.
1802 * posix/sched_sets.c: Likewise.
1803 * posix/sched_yield.c: Likewise.
1804 * posix/setgid.c: Likewise.
1805 * posix/setlogin.c: Likewise.
1806 * posix/setpgid.c: Likewise.
1807 * posix/setresgid.c: Likewise.
1808 * posix/setresuid.c: Likewise.
1809 * posix/setsid.c: Likewise.
1810 * posix/setuid.c: Likewise.
1811 * posix/sleep.c: Likewise.
1812 * posix/spawni.c: Likewise.
1813 * posix/sysconf.c: Likewise.
1814 * posix/times.c: Likewise.
1815 * posix/wait.c: Likewise.
1816 * posix/wait3.c: Likewise.
1817 * posix/wait4.c: Likewise.
1818 * posix/waitpid.c: Likewise.
1819 * resolv/gai_sigqueue.c: Likewise.
1820 * resource/getpriority.c: Likewise.
1821 * resource/getrlimit.c: Likewise.
1822 * resource/getrusage.c: Likewise.
1823 * resource/nice.c: Likewise.
1824 * resource/setpriority.c: Likewise.
1825 * resource/setrlimit.c: Likewise.
1826 * resource/ulimit.c: Likewise.
1827 * rt/aio_cancel.c: Likewise.
1828 * rt/aio_fsync.c: Likewise.
1829 * rt/aio_read.c: Likewise.
1830 * rt/aio_sigqueue.c: Likewise.
1831 * rt/aio_suspend.c: Likewise.
1832 * rt/aio_write.c: Likewise.
1833 * rt/clock_getres.c: Likewise.
1834 * rt/clock_gettime.c: Likewise.
1835 * rt/clock_nanosleep.c: Likewise.
1836 * rt/clock_settime.c: Likewise.
1837 * rt/lio_listio.c: Likewise.
1838 * rt/mq_close.c: Likewise.
1839 * rt/mq_getattr.c: Likewise.
1840 * rt/mq_notify.c: Likewise.
1841 * rt/mq_open.c: Likewise.
1842 * rt/mq_receive.c: Likewise.
1843 * rt/mq_send.c: Likewise.
1844 * rt/mq_setattr.c: Likewise.
1845 * rt/mq_timedreceive.c: Likewise.
1846 * rt/mq_timedsend.c: Likewise.
1847 * rt/mq_unlink.c: Likewise.
1848 * rt/shm_open.c: Likewise.
1849 * rt/shm_unlink.c: Likewise.
1850 * rt/timer_create.c: Likewise.
1851 * rt/timer_delete.c: Likewise.
1852 * rt/timer_getoverr.c: Likewise.
1853 * rt/timer_gettime.c: Likewise.
1854 * rt/timer_settime.c: Likewise.
1855 * setjmp/__longjmp.c: Likewise.
1856 * setjmp/setjmp.c: Likewise.
1857 * signal/kill.c: Likewise.
1858 * signal/killpg.c: Likewise.
1859 * signal/raise.c: Likewise.
1860 * signal/sigaction.c: Likewise.
1861 * signal/sigaltstack.c: Likewise.
1862 * signal/sigblock.c: Likewise.
1863 * signal/sigignore.c: Likewise.
1864 * signal/sigintr.c: Likewise.
1865 * signal/signal.c: Likewise.
1866 * signal/sigpause.c: Likewise.
1867 * signal/sigpending.c: Likewise.
1868 * signal/sigqueue.c: Likewise.
1869 * signal/sigreturn.c: Likewise.
1870 * signal/sigset.c: Likewise.
1871 * signal/sigsetmask.c: Likewise.
1872 * signal/sigstack.c: Likewise.
1873 * signal/sigsuspend.c: Likewise.
1874 * signal/sigtimedwait.c: Likewise.
1875 * signal/sigvec.c: Likewise.
1876 * signal/sigwait.c: Likewise.
1877 * signal/sigwaitinfo.c: Likewise.
1878 * signal/sysv_signal.c: Likewise.
1879 * socket/accept.c: Likewise.
1880 * socket/accept4.c: Likewise.
1881 * socket/bind.c: Likewise.
1882 * socket/connect.c: Likewise.
1883 * socket/getpeername.c: Likewise.
1884 * socket/getsockname.c: Likewise.
1885 * socket/getsockopt.c: Likewise.
1886 * socket/isfdtype.c: Likewise.
1887 * socket/listen.c: Likewise.
1888 * socket/recv.c: Likewise.
1889 * socket/recvfrom.c: Likewise.
1890 * socket/recvmsg.c: Likewise.
1891 * socket/send.c: Likewise.
1892 * socket/sendmsg.c: Likewise.
1893 * socket/sendto.c: Likewise.
1894 * socket/setsockopt.c: Likewise.
1895 * socket/shutdown.c: Likewise.
1896 * socket/sockatmark.c: Likewise.
1897 * socket/socket.c: Likewise.
1898 * socket/socketpair.c: Likewise.
1899 * stdio-common/ctermid.c: Likewise.
1900 * stdio-common/cuserid.c: Likewise.
1901 * stdio-common/remove.c: Likewise.
1902 * stdio-common/rename.c: Likewise.
1903 * stdio-common/renameat.c: Likewise.
1904 * stdio-common/tempname.c: Likewise.
1905 * stdlib/getcontext.c: Likewise.
1906 * stdlib/makecontext.c: Likewise.
1907 * stdlib/setcontext.c: Likewise.
1908 * stdlib/swapcontext.c: Likewise.
1909 * stdlib/system.c: Likewise.
1910 * streams/fattach.c: Likewise.
1911 * streams/fdetach.c: Likewise.
1912 * streams/getmsg.c: Likewise.
1913 * streams/getpmsg.c: Likewise.
1914 * streams/putmsg.c: Likewise.
1915 * streams/putpmsg.c: Likewise.
1916 * sysdeps/unix/bsd/getpt.c: Likewise.
1917 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1918 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1919 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1921 Likewise.
1922 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1923 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1924 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1925 * sysvipc/msgctl.c: Likewise.
1926 * sysvipc/msgget.c: Likewise.
1927 * sysvipc/msgrcv.c: Likewise.
1928 * sysvipc/msgsnd.c: Likewise.
1929 * sysvipc/semctl.c: Likewise.
1930 * sysvipc/semget.c: Likewise.
1931 * sysvipc/semop.c: Likewise.
1932 * sysvipc/semtimedop.c: Likewise.
1933 * sysvipc/shmat.c: Likewise.
1934 * sysvipc/shmctl.c: Likewise.
1935 * sysvipc/shmdt.c: Likewise.
1936 * sysvipc/shmget.c: Likewise.
1937 * termios/tcdrain.c: Likewise.
1938 * termios/tcflow.c: Likewise.
1939 * termios/tcflush.c: Likewise.
1940 * termios/tcgetattr.c: Likewise.
1941 * termios/tcgetpgrp.c: Likewise.
1942 * termios/tcsendbrk.c: Likewise.
1943 * termios/tcsetattr.c: Likewise.
1944 * termios/tcsetpgrp.c: Likewise.
1945 * time/adjtime.c: Likewise.
1946 * time/clock.c: Likewise.
1947 * time/getitimer.c: Likewise.
1948 * time/gettimeofday.c: Likewise.
1949 * time/setitimer.c: Likewise.
1950 * time/settimeofday.c: Likewise.
1951 * time/stime.c: Likewise.
1952 * time/time.c: Likewise.
1953
19542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1955
a20492cf
PT
1956 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1957 /usr/old/bin.
1958
72e182e3
PT
1959 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1960 instead of spaces.
1961 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1962
fbeafede
JM
19632012-11-03 Joseph Myers <joseph@codesourcery.com>
1964
5b5b04d6
JM
1965 [BZ #14796]
1966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1967 FE_TONEAREST before applying Dekker multiplication and Knuth
1968 addition. Clear inexact exceptions and check for exact zero
1969 results afterwards.
1970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1973 * math/libm-test.inc (fma_test): Add more tests.
1974 (fma_test_towardzero): Likewise.
1975 (fma_test_downward): Likewise.
1976 (fma_test_upward): Likewise.
1977 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1978 function.
1979 (libc_fesetround): New macro.
1980 (libc_fesetroundf): Likewise.
1981 (libc_fesetroundl): Likewise.
1982 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1983 function.
1984 (libc_fesetround_387): Likewise.
1985 (libc_fesetroundf): New macro.
1986 (libc_fesetround): Likewise.
1987 (libc_fesetroundl): Likewise.
1988 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1989 function.
1990 (libc_fesetroundf): New macro.
1991 (libc_fesetround): Likewise.
1992 (libc_fesetroundl): Likewise.
1993 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1994 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1995 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1996 libm_hidden_ver.
1997 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1998 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1999 libm_hidden_def.
2000 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2001 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2002 libm_hidden_ver.
2003 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2004 libm_hidden_def.
2005
fbeafede
JM
2006 [BZ #3439]
2007 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2008 integer constant usable in #if and use that to give value to enum
2009 constant.
2010 (FE_DIVBYZERO): Likewise.
2011 (FE_UNDERFLOW): Likewise.
2012 (FE_OVERFLOW): Likewise.
2013 (FE_INVALID): Likewise.
2014 (FE_INVALID_SNAN): Likewise.
2015 (FE_INVALID_ISI): Likewise.
2016 (FE_INVALID_IDI): Likewise.
2017 (FE_INVALID_ZDZ): Likewise.
2018 (FE_INVALID_IMZ): Likewise.
2019 (FE_INVALID_COMPARE): Likewise.
2020 (FE_INVALID_SOFTWARE): Likewise.
2021 (FE_INVALID_SQRT): Likewise.
2022 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2023 (FE_TONEAREST): Likewise.
2024 (FE_TOWARDZERO): Likewise.
2025 (FE_UPWARD): Likewise.
2026 (FE_DOWNWARD): Likewise.
2027 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2028 (FE_DIVBYZERO): Likewise.
2029 (FE_OVERFLOW): Likewise.
2030 (FE_UNDERFLOW): Likewise.
2031 (FE_INEXACT): Likewise.
2032 (FE_TONEAREST): Likewise.
2033 (FE_DOWNWARD): Likewise.
2034 (FE_UPWARD): Likewise.
2035 (FE_TOWARDZERO): Likewise.
2036 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2037 (FE_UNDERFLOW): Likewise.
2038 (FE_OVERFLOW): Likewise.
2039 (FE_DIVBYZERO): Likewise.
2040 (FE_INVALID): Likewise.
2041 (FE_TONEAREST): Likewise.
2042 (FE_TOWARDZERO): Likewise.
2043 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2044 (FE_OVERFLOW): Likewise.
2045 (FE_UNDERFLOW): Likewise.
2046 (FE_DIVBYZERO): Likewise.
2047 (FE_INEXACT): Likewise.
2048 (FE_TONEAREST): Likewise.
2049 (FE_TOWARDZERO): Likewise.
2050 (FE_UPWARD): Likewise.
2051 (FE_DOWNWARD): Likewise.
2052 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2053 (FE_DIVBYZERO): Likewise.
2054 (FE_OVERFLOW): Likewise.
2055 (FE_UNDERFLOW): Likewise.
2056 (FE_INEXACT): Likewise.
2057 (FE_TONEAREST): Likewise.
2058 (FE_DOWNWARD): Likewise.
2059 (FE_UPWARD): Likewise.
2060 (FE_TOWARDZERO): Likewise.
2061
105ca950
CM
20622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2063
2064 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2065
a542b389
AS
20662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2067
2068 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2069 commands. Quote $PWD.
2070 (blacklist_exports): Don't use remove_newlines. Replace "declare
2071 -x" by "export".
2072 (remove_newlines): Remove.
2073
f62c8abc
L
20742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2075
2076 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2077 * stdlib/stdlib.h (atof): Moved to ...
2078 * include/bits/stdlib-float.h: Here. New file.
2079 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2080 * stdlib/bits/stdlib-float.h: New file.
2081 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2082 -mno-sse -mno-mmx.
2083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2084 <xmmintrin.h>.
2085
0155d5b2
JM
20862012-11-02 Joseph Myers <joseph@codesourcery.com>
2087
a68d0680
JM
2088 * conform/conformtest.pl (@headers): Add fenv.h.
2089 * conform/data/fenv.h-data: New file.
2090 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2091 include of <math/fenv.h>.
2092
caf7f573
JM
2093 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2094 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2095 && !UNIX98]. Enables tests for XOPEN2K8.
2096 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2097 POSIX2008]: Likewise.
2098
6c073ad6
JM
2099 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2100 (struct rusage): Do not expect type or its members.
2101
0155d5b2
JM
2102 [BZ #3439]
2103 * math/math.h (FP_NAN): Define macro to integer constant usable in
2104 #if and use that to give value to enum constant.
2105 (FP_INFINITE): Likewise.
2106 (FP_ZERO): Likewise.
2107 (FP_SUBNORMAL): Likewise.
2108 (FP_NORMAL): Likewise.
2109
b5dcacb4
AS
21102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2111
2112 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2113 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2114 arguments.
2115
f7934be8
RM
21162012-11-02 Roland McGrath <roland@hack.frob.com>
2117
2118 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2119 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2120 autoconf-time if not.
2121 * configure.in: Remove AC_PREREQ.
2122
d7d08bde
TMQMF
21232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2124
2125 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2126 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2127 of the internal implementation.
2128
dcdae19a
JM
21292012-11-02 Joseph Myers <joseph@codesourcery.com>
2130
2131 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2132 except include of <misc/sys/syslog.h>.
2133
d6cffd3e
AS
21342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2135
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2137 function returns with a NULL context exit with zero.
2138
b3563932
TMQMF
21392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2140
2141 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2142
b288a93d
L
21432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2144
2145 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2146 (run_program_cmd): This.
2147 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2148 (tst_langinfo): New variable. Use it.
2149
a2421a68
SAS
21502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2151
2152 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2153 floating point opcodes.
2154
6f796e1b
TS
21552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2156
7402596b
TS
2157 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2158 variable.
2159
d0d4f868
TS
2160 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2161
6f796e1b
TS
2162 * sysdeps/mach/hurd/powerpc: Remove directory.
2163 * sysdeps/mach/powerpc: Likewise.
2164
4da224a2
AS
21652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2166
2167 * scripts/check-local-headers.sh: Ignore c++ headers.
2168
341dd673
TS
21692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2170
2171 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2172 __libc_cleanup_region_start argument.
2173
473611b2
JM
21742012-11-01 Joseph Myers <joseph@codesourcery.com>
2175
2176 [BZ #14784]
2177 [BZ #14785]
2178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2179 x * y using scaling, not as x * y + z.
2180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2182 * math/libm-test.inc (fma_test): Add more tests.
2183 (fma_test_towardzero): Likewise.
2184 (fma_test_downward): Likewise.
2185 (fma_test_upward): Likewise.
2186
4078da3d
TS
21872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2188
2189 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2190
903252aa
JM
21912012-10-31 Joseph Myers <joseph@codesourcery.com>
2192
2193 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2194 New variable.
2195
cbc818d0
TS
21962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2197
2198 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2199
5a03cb1e
AS
22002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2201
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2203 Fix sort order.
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2205 Likewise.
2206
90aff2ff
TMQMF
22072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2208
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2210 Fix the order of the list for glibc 2.17.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2212 Likewise.
2213
1818fcb7
AS
22142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2215
2216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2217
ef82f4da
JM
22182012-10-31 Joseph Myers <joseph@codesourcery.com>
2219
16a0e2ec
JM
2220 [BZ #14610]
2221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2222 for low part of x being zero before using __atanl (y).
2223 * math/libm-test.inc (atan2_test): Add another test.
2224
0eb69512
JM
2225 * manual/install.texi (Configuring and compiling): Document
2226 general use of test-wrapper and test-wrapper-env.
2227 * INSTALL: Regenerated.
2228
ef82f4da
JM
2229 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2230 (__fma): Do not extract and scale down low bits on after-rounding
2231 systems when result rounded to normal precision would have normal
2232 exponent.
2233 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2234 (__fmal): Do not extract and scale down low bits on after-rounding
2235 systems when result rounded to normal precision would have normal
2236 exponent.
2237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2238 (__fmal): Do not extract and scale down low bits on after-rounding
2239 systems when result rounded to normal precision would have normal
2240 exponent.
2241 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2242 macro.
2243 (fma_test): Add more tests.
2244 (fma_test_towardzero): Likewise.
2245 (fma_test_downward): Likewise.
2246 (fma_test_upward): Likewise.
2247
954ef0d9
L
22482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 * sysdeps/i386/tininess.h: Renamed to ...
2251 * sysdeps/x86/tininess.h: This.
2252 * sysdeps/x86_64/tininess.h: Removed.
2253
df61ffb2
JM
22542012-10-30 Joseph Myers <joseph@codesourcery.com>
2255
2256 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2257 input. Use $(build-program-cmd).
2258 ($(objpfx)tst-array1-static.out): Likewise.
2259 ($(objpfx)tst-array2.out): Likewise.
2260 ($(objpfx)tst-array3.out): Likewise.
2261 ($(objpfx)tst-array4.out): Likewise.
2262 ($(objpfx)tst-array5.out): Likewise.
2263 ($(objpfx)tst-array5-static.out): Likewise.
2264
01767843
CM
22652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2266
47cc1490
CM
2267 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2268 if defined.
2269
01767843
CM
2270 * nss/nsswitch.h (nss_interface_function): Provide new
2271 macro for use with NSS functions.
2272 * grp/initgroups.c: Use new macro.
2273 * nss/getXXbyYY.c: Likewise.
2274 * nss/getXXbyYY_r.c: Likewise.
2275 * nss/getXXent.c: Likewise.
2276 * nss/getXXent_r.c: Likewise.
2277 * sysdeps/posix/getaddrinfo.c: Likewise.
2278
8321aa97
AJ
22792012-10-30 Andreas Jaeger <aj@suse.de>
2280
2281 * po/ru.po: Update Russion translation from translation project.
2282
2a27fd6d
JM
22832012-10-30 Joseph Myers <joseph@codesourcery.com>
2284
8627a232
JM
2285 [BZ #14152]
2286 [BZ #14783]
2287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2288 result and shift together with sticky bit instead of replicating
2289 round-to-nearest rounding.
2290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2292 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2293 missing underflow exceptions.
2294 (fma_test_towardzero): Add more tests.
2295 (fma_test_downward): Likewise.
2296 (fma_test_upward): Likewise.
2297
2a27fd6d
JM
2298 [BZ #14047]
2299 * sysdeps/generic/tininess.h: New file.
2300 * sysdeps/i386/tininess.h: Likewise.
2301 * sysdeps/sh/tininess.h: Likewise.
2302 * sysdeps/x86_64/tininess.h: Likewise.
2303 * stdlib/tst-strtod-underflow.c: Likewise.
2304 * stdlib/tst-tininess.c: Likewise.
2305 * stdlib/strtod_l.c: Include <tininess.h>.
2306 (round_and_return): Do not set errno for exact underflow cases.
2307 Force an underflow exception when setting errno for underflow.
2308 Determine underflow based on rounding to normal precision if
2309 TININESS_AFTER_ROUNDING.
2310 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2311 ERANGE for exact underflow cases.
2312 * stdlib/Makefile (tests): Add tst-tininess and
2313 tst-strtod-underflow.
2314 ($(objpfx)tst-tininess): Use $(link-libm).
2315 ($(objpfx)tst-strtod-underflow): Likewise.
2316
e7170363
AJ
23172012-10-30 Andreas Jaeger <aj@suse.de>
2318
e5088dc6
AJ
2319 [BZ#14767]
2320 * elf/Makefile (tests): Remove conditional for have-initfini-array
2321 since this is now always required and the variable does not exist
2322 anymore.
2323 (tests-static): Likewise.
2324 (modules-names): Likewise.
2325
e7170363 2326 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2327
2328 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2329 merged with constructor/destructor.
2330 (init_array): Likewise.
2331 * elf/tst-array2dep.c (fini_array): Likewise.
2332 (init_array): Likewise.
2333
60457d8a
MF
23342012-10-29 Mike Frysinger <vapier@gentoo.org>
2335
2336 * manual/message.texi: Delete @cartouche tags.
2337
8bece752
PT
23382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2339
94ce799f
PT
2340 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2341 EOPNOTSUPP.
2342 * sysdeps/mach/hurd/fsync.c: Likewise.
2343
8bece752
PT
2344 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2345 [_POSIX_REALTIME_SIGNALS]: Change condition to
2346 [_POSIX_REALTIME_SIGNALS > 0].
2347
86ebe6b1
AJ
23482012-10-27 Andreas Jaeger <aj@suse.de>
2349
2350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2351 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2353 [__WORDSIZE != 64]: Likewise.
2354
54399c08
L
23552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 * iconvdata/tst-table.sh: Remove ${SHELL}.
2358 * iconvdata/tst-tables.sh: Likewise.
2359
e2211bed
DM
23602012-10-25 David S. Miller <davem@davemloft.net>
2361
2362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2363 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2364 of strtoull.
2365
f303f97c
DM
2366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2367 ifunc-impl-list.c
2368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2369 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2370 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2371 file.
2372
1e9d84cd
RM
23732012-10-25 Roland McGrath <roland@hack.frob.com>
2374
2375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2376 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2377 __getdirentries.
2378
df381762
JM
23792012-10-25 Joseph Myers <joseph@codesourcery.com>
2380 Jim Blandy <jimb@codesourcery.com>
2381
2382 * scripts/cross-test-ssh.sh: New file.
2383 * manual/install.texi (Configuring and compiling): Document use of
2384 cross-test-ssh.sh.
2385 * INSTALL: Regenerated.
2386
bff64913
PT
23872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2388
2389 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2390 EOPNOTSUPP.
2391
25fe8932
JM
23922012-10-25 Joseph Myers <joseph@codesourcery.com>
2393
2394 * Makeconfig (run-program-prefix): Fix comment.
2395
cc1290d0
JM
23962012-10-24 Joseph Myers <joseph@codesourcery.com>
2397 Jim Blandy <jimb@codesourcery.com>
2398
2399 * Makeconfig (test-wrapper): New variable,
2400 (test-wrapper-env): Likewise.
2401 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2402 (run-built-tests): Define to yes.
2403 (run-program-prefix): Use $(test-wrapper).
2404 (built-program-cmd): Likewise.
2405 * Rules (make-test-out): Use $(test-wrapper-env) and
2406 $(host-built-program-cmd).
2407 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2408 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2409 tst-pathopt.sh.
2410 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2411 $(test-wrapper-env) to tst-rtld-load-self.sh.
2412 ($(objpfx)order2.out): Use $(test-wrapper).
2413 ($(objpfx)tst-initorder.out): Likewise.
2414 ($(objpfx)tst-initorder2.out): Likewise.
2415 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2416 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2417 (test_wrapper_env): New variable. Use it to run ld.so.
2418 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2419 Use it to run ld.so.
2420 (test_wrapper_env): Likewise.
2421 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2422 $(test-wrapper) to run-iconv-test.sh.
2423 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2424 (ICONV): Use $test_wrapper.
2425 * posix/Makefile ($(objpfx)globtest.out): Pass
2426 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2427 globtest.sh, not $(run-program-prefix).
2428 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2429 (test_wrapper): Likewise.
2430 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2431 set together with run_via_rtld_prefix.
2432 (run_program_prefix): Define in terms of test_wrapper and
2433 run_via_rtld_prefix.
2434
6e6249d0
RM
24352012-10-24 Roland McGrath <roland@hack.frob.com>
2436
2437 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2438 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2439 Targets removed.
2440
2441 [BZ #14743]
2442 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2443 Declare __clock_getres, __clock_gettime, __clock_settime,
2444 __clock_nanosleep, and __clock_getcpuclockid.
2445 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2446 Remove librt_hidden_def (clock_gettime).
2447 * sysdeps/unix/clock_gettime.c: Likewise.
2448 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2449 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2450 * rt/clock_getres.c: Define __clock_getres as an alias.
2451 * sysdeps/posix/clock_getres.c: Likewise.
2452 * rt/clock_settime.c: Define __clock_settime as an alias.
2453 * sysdeps/unix/clock_settime.c: Likewise.
2454 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2455 * sysdeps/unix/clock_nanosleep.c: Likewise.
2456 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2457 * rt/clock-compat.c: New file.
2458 * rt/Makefile (librt-routines): Add clock-compat and move
2459 $(clock-routines) to ...
2460 (routines): ... here, new variable.
2461 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2462 Don't add get_clockfreq here.
2463 * rt/Versions (libc: GLIBC_2.17): New version set.
2464 Add clock_* symbols here.
2465 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2467 (GLIBC_2.17): Add clock_* symbols.
2468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2472 Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2474 Likewise.
2475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2479 * NEWS: Mention the move.
2480
2481 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2482 Use __open, __read, __close rather than their public counterparts.
2483 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2484 (__get_clockfreq_via_cpuinfo): Likewise.
2485 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2486 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2487
2488 * config.h.in (HAVE_IFUNC): New #undef.
2489 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2490 was successful.
2491 * configure: Regenerated.
2492
0cae3f4b
MF
24932012-10-24 Mike Frysinger <vapier@gentoo.org>
2494
2495 * configure.in: Move READELF check to start of file.
2496 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2497 libc_cv_asm_gnu_indirect_function in the process.
2498 * configure: Regenerated.
2499
8175a253
MF
25002012-10-24 Mike Frysinger <vapier@gentoo.org>
2501
2502 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2503 send the output to /dev/null.
2504 (libc_cv_cc_with_libunwind): Likewise.
2505 (libc_cv_as_noexecstack): Likewise.
2506 * configure: Regenerate.
2507
0708a7d1
JM
25082012-10-24 Joseph Myers <joseph@codesourcery.com>
2509
10b40d85
JM
2510 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2511
0708a7d1
JM
2512 * posix/globtest.sh (TMPDIR): Do not set.
2513 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2514 (testout): Likewise.
2515
9fddec1a
AJ
25162012-10-24 Andreas Jaeger <aj@suse.de>
2517
3a8db22f
AJ
2518 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2519 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2520 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2521 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2522 posix_fadvise64, posix_fallocate64.
2523
9fddec1a
AJ
2524 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2525 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2526 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2527 Likewise.
2528 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2529 Likewise.
2530 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2531
2532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2533 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2534 <bits/fcntl-linux.h>.
2535 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2536
2537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2538 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2539 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2540 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2541 [__WORDSIZE != 64]: Likewise.
2542
ebfd1bbd
JM
25432012-10-23 Joseph Myers <joseph@codesourcery.com>
2544
03ac099f
JM
2545 * Makeconfig (run-built-tests): New variable.
2546 * Rules [$(cross-compiling) = yes]: Change condition to
2547 [$(run-built-tests) = no].
2548 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2549 to [$(run-built-tests) = yes].
2550 * elf/Makefile [$(cross-compiling) = no]: Likewise
2551 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2552 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2553 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2554 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2555 * io/Makefile [$(cross-compiling) = no]: Likewise.
2556 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2557 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2558 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2559 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2560 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2561 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2562 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2563 * string/Makefile [$(cross-compiling) = no]: Likewise.
2564
ebfd1bbd
JM
2565 * posix/Makefile ($(objpfx)globtest.out): Pass
2566 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2567 $(rtld-installed-name).
2568 * posix/globtest.sh (elf_objpfx): Remove variable.
2569 (rtld_installed_name): Likewise.
2570 (library_path): Likewise.
2571 (run_program_prefix): New variable. Use for running globtest
2572 binary.
2573
166bca24
JB
25742012-10-23 Jim Blandy <jimb@codesourcery.com>
2575 Joseph Myers <joseph@codesourcery.com>
2576
2577 * Makeconfig (host-built-program-cmd): New variable.
2578 * elf/Makefile (tst-stackguard1-ARGS): Use
2579 $(host-built-program-cmd).
2580 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2581 (tst-spawn-ARGS): Likewise.
2582 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2583
88866099
JM
25842012-10-23 Joseph Myers <joseph@codesourcery.com>
2585 Jim Blandy <jimb@codesourcery.com>
2586
2587 * Makeconfig (run-via-rtld-prefix): New variable.
2588 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2589 (built-program-cmd): Likewise.
2590
b4b4c296
AJ
25912012-10-22 Andreas Jaeger <aj@suse.de>
2592
2593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2594 __O_RSYNC if it exists, otherwise to O_SYNC.
2595
6fb54a22
JB
25962012-10-22 Jim Blandy <jimb@codesourcery.com>
2597 Joseph Myers <joseph@codesourcery.com>
2598
2599 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2600 /dev/null.
2601 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2602 from /dev/null
2603 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2604 /dev/null.
2605
481b90b9
AJ
26062012-10-22 Andreas Jaeger <aj@suse.de>
2607
2a0e2669
AJ
2608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2609 Define always.
2610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2611
76e38f9a
AJ
2612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2613 bits/fcntl-linux.h.
2614
7cd37b43
AJ
2615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2616 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2617
481b90b9
AJ
2618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2619 to __O_LARGEFILE.
2620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2621 to __O_LARGEFILE.
2622
aba75984
JB
26232012-10-21 Jim Blandy <jimb@codesourcery.com>
2624 Joseph Myers <joseph@codesourcery.com>
2625
2626 * config.make.in (NM): New variable.
2627
88d4247f
AJ
26282012-10-21 Andreas Jaeger <aj@suse.de>
2629
2630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2631 definitions and declarations that are provided by
2632 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2633
f2eed205
L
26342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2635
2636 [BZ #14683]
2637 * elf/Makefile (tests-static): Add tst-leaks1-static.
2638 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2639 ($(objpfx)tst-leaks1-static): New rule.
2640 ($(objpfx)tst-leaks1-static-mem): Likewise.
2641 (tst-leaks1-static-ENV): New macro.
2642 * elf/dl-open.c (dl_open_worker): Check the main application
2643 only if SHARED is defined.
2644 * elf/tst-leaks1-static.c: New file.
2645
335e6931
AJ
26462012-10-20 Andreas Jaeger <aj@suse.de>
2647
2648 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2649 generic values for Linux.
2650 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2651 and declarations that are provided by <bits/fcntl-linux.h> and
2652 include <bits/fcntl-linux.h>.
2653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2655
ac5c94d3
RM
26562012-10-20 Roland McGrath <roland@hack.frob.com>
2657
2658 * io/fcntl.h: Move include of <bits/types.h> to the top and
2659 include it unconditionally.
2660
de54b33a
L
26612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2662
228cfb01
L
2663 * wcsmbs/Makefile (tests-ifunc): New variable.
2664 (tests): Add $(tests-ifunc).
2665 * wcsmbs/test-wcschr-ifunc.c: New file.
2666 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2667 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2668 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2669 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2670 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2671
69f07e5f
L
2672 * string/Makefile (tests-ifunc): New variable.
2673 (tests): Add $(tests-ifunc).
2674 * string/test-memccpy.c (TEST_NAME): New macro.
2675 * string/test-memchr.c (TEST_NAME): Likewise.
2676 * string/test-memcmp.c (TEST_NAME): Likewise.
2677 * string/test-memcpy.c (TEST_NAME): Likewise.
2678 * string/test-memmem.c (TEST_NAME): Likewise.
2679 * string/test-memmove.c (TEST_NAME): Likewise.
2680 * string/test-memset.c (TEST_NAME): Likewise.
2681 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2682 * string/test-stpcpy.c (TEST_NAME): Likewise.
2683 * string/test-stpncpy.c (TEST_NAME): Likewise.
2684 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2685 * string/test-strcasestr.c (TEST_NAME): Likewise.
2686 * string/test-strcat.c (TEST_NAME): Likewise.
2687 * string/test-strchr.c (TEST_NAME): Likewise.
2688 * string/test-strcmp.c(TEST_NAME): Likewise.
2689 * string/test-strcpy.c (TEST_NAME): Likewise.
2690 * string/test-strcspn.c (TEST_NAME): Likewise.
2691 * string/test-strlen.c (TEST_NAME): Likewise.
2692 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2693 * string/test-strncmp.c (TEST_NAME): Likewise.
2694 * string/test-strncpy.c (TEST_NAME): Likewise.
2695 * string/test-strnlen.c (TEST_NAME): Likewise.
2696 * string/test-strpbrk.c (TEST_NAME): Likewise.
2697 * string/test-strrchr.c (TEST_NAME): Likewise.
2698 * string/test-strspn.c (TEST_NAME): Likewise.
2699 * string/test-strstr.c (TEST_NAME): Likewise.
2700 * string/test-bcopy-ifunc.c: New file.
2701 * string/test-bzero-ifunc.c: Likewise.
2702 * string/test-memccpy-ifunc.c: Likewise.
2703 * string/test-memchr-ifunc.c: Likewise.
2704 * string/test-memcmp-ifunc.c: Likewise.
2705 * string/test-memcpy-ifunc.c: Likewise.
2706 * string/test-memmem-ifunc.c: Likewise.
2707 * string/test-memmove-ifunc.c: Likewise.
2708 * string/test-mempcpy-ifunc.c: Likewise.
2709 * string/test-memset-ifunc.c: Likewise.
2710 * string/test-rawmemchr-ifunc.c: Likewise.
2711 * string/test-stpcpy-ifunc.c: Likewise.
2712 * string/test-stpncpy-ifunc.c: Likewise.
2713 * string/test-strcasecmp-ifunc.c: Likewise.
2714 * string/test-strcasestr-ifunc.c: Likewise.
2715 * string/test-strcat-ifunc.c: Likewise.
2716 * string/test-strchr-ifunc.c: Likewise.
2717 * string/test-strchrnul-ifunc.c: Likewise.
2718 * string/test-strcmp-ifunc.c: Likewise.
2719 * string/test-strcpy-ifunc.c: Likewise.
2720 * string/test-strcspn-ifunc.c: Likewise.
2721 * string/test-strlen-ifunc.c: Likewise.
2722 * string/test-strncasecmp-ifunc.c: Likewise.
2723 * string/test-strncat-ifunc.c: Likewise.
2724 * string/test-strncmp-ifunc.c: Likewise.
2725 * string/test-strncpy-ifunc.c: Likewise.
2726 * string/test-strnlen-ifunc.c: Likewise.
2727 * string/test-strpbrk-ifunc.c: Likewise.
2728 * string/test-strrchr-ifunc.c: Likewise.
2729 * string/test-strspn-ifunc.c: Likewise.
2730 * string/test-strstr-ifunc.c: Likewise.
2731
de54b33a
L
2732 * debug/Makefile (tests-ifunc): New variable.
2733 (tests): Add $(tests-ifunc).
2734 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2735 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2736 * debug/test-stpcpy_chk-ifunc.c: New file.
2737 * debug/test-strcpy_chk-ifunc.c: Likewise.
2738
88481c16
SP
27392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2740
2741 [BZ #13601]
2742 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2743 header is not read in.
2744
135948bd
JM
27452012-10-19 Joseph Myers <joseph@codesourcery.com>
2746
89f1c388
JM
2747 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2748 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2749 directly. Pass built executable to script as
2750 $(built-program-cmd).
2751 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2752 $testprogram without using LD_LIBRARY_PATH and $ldso.
2753
e40a0d21
JM
2754 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2755 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2756 $(rtld-installed-name).
2757 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2758 (rtld_installed_name): Likewise.
2759 (library_path): Likewise.
2760 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2761 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2762 $(run-program-prefix) to tst-tables.sh.
2763 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2764 it to run tst-table-from and tst-table-to.
2765 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2766 Pass it to tst-table.sh.
2767 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2768 $(run-program-prefix) to tst-gettext.sh.
2769 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2770 tst-translit.sh.
2771 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2772 tst-gettext2.sh.
2773 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2774 to run tst-gettext.
2775 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2776 to run tst-gettext2.
2777 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2778 to run tst-translit.
2779 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2780 $(run-program-prefix) to tst-mtrace.sh.
2781 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2782 to run tst-mtrace.
2783 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2784 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2785 $(rtld-installed-name).
2786 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2787 (rtld_installed_name): Likewise.
2788 (run_program_prefix): New variable. Use it to run wordexp-test.
2789
728e272a
JM
2790 * Makeconfig (ARCH): Remove all definitions.
2791 (machine): Likewise.
2792 [ARCH]: Remove conditional code.
2793 [!objdir]: Give error.
2794 [!objdir] (objpfx): Remove.
2795 [!objdir] (common-objpfx): Likewise.
2796 [!objdir] (common-objdir): Likewise.
2797 * configure.in (config_makefile): Remove. Hardcode Makefile in
2798 AC_CONFIG_FILES call.
2799 * configure: Regenerated.
2800
d528cdcf
JM
2801 [BZ #13888]
2802 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2803 or TMPDIR.
2804 (testout): Likewise.
2805
135948bd
JM
2806 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2807 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2808 $(rtld-installed-name).
2809 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2810 (rtld_installed_name): Likwise.
2811 (runit): Remove function.
2812 (run_getconf): New variable, Use it for running getconf binary.
2813
38c78296
L
28142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2815
2816 [BZ #14716]
2817 * string/test-memmem.c (check_result): New function.
2818 (do_one_test): Use it.
2819 (check1): New function.
2820 (test_main): Use it.
2821
d077f65f
MT
28222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2823
2824 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2825
ced52c71
JM
28262012-10-18 Joseph Myers <joseph@codesourcery.com>
2827
2828 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2829 (_G_LSEEK64): Likewise.
2830 (_G_MMAP64): Likewise.
2831 (_G_FSTAT64): Likewise.
2832 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2833 (_G_LSEEK64): Likewise.
2834 (_G_MMAP64): Likewise.
2835 (_G_FSTAT64): Likewise.
2836 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2837 unconditional. Call __mmap64 directly.
2838 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2839 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2840 __lseek64 directly.
2841 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2842 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2843 __mmap64 directly.
2844 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2845 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2846 __lseek64 directly.
2847 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2848 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2849 __lseek64 directly.
2850 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2851 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2852 __lseek64 directly.
2853 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2854 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2855 __fxstat64 directly.
2856 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2857 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2858 unconditional.
2859 (freopen64) [!_G_OPEN64]: Remove conditional code.
2860 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2861 unconditional.
2862 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2863 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2864 unconditional.
2865 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2866 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2867 unconditional.
2868 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2869 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2870 unconditional.
2871 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2872 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2873 unconditional.
2874 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2875 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2876 unconditional.
2877 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2878 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2879 unconditional.
2880 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2881
b741de23
SP
28822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2883
2884 [BZ #12140]
2885 * manual/memory.texi (Malloc Tunable Parameters): Add note
2886 about free list pointers overwriting some perturb bytes.
2887 Wording suggested by Roland McGrath.
2888
f9b9d9c9
JM
28892012-10-17 Joseph Myers <joseph@codesourcery.com>
2890
2891 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2892 (lgamma_test): Likewise.
2893 (tgamma_test): Likewise.
2894
172a631a
FW
28952012-10-16 Florian Weimer <fweimer@redhat.com>
2896
2897 [BZ #14700]
2898 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2899 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2900
e9f37252
MK
29012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2902
2903 * NEWS: Mention BZ #14716.
2904 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2905 when removing AVAILABLE1_USES_J macro.
2906
d394eb74
L
29072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2908
2909 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2910 (__bswap_64): __uint64_t for unsigned 64-bit int.
2911
ca38dc17
AS
29122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2913
2914 * include/string.h (memmem): Declare libc hidden alias.
2915 * string/memmem.c (memmem): Define libc hidden alias.
2916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2917 __read, __close instead of open, read, close.
2918
9a387d1f
L
29192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2920
ac49ecaf
L
2921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2922 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2923 global and hidden.
2924 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2925 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2926 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2927 Likewise.
2928 (__rawmemchr_sse2): Likewise.
2929 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2930 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2931 (__strchr_sse2): Likewise.
2932 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2933 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2934 (__strcasecmp_sse2): Likewise.
2935 (__strncasecmp_sse2): Likewise.
2936 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2937 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2938 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2939 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2940 (__strrchr_sse2): Likewise.
2941 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2942 ifunc-impl-list.c.
2943 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2944 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2945 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2946 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2947 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2948 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2949 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2950 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2951 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2952 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2953 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2954 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2955 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2956 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2957 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2958 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2959 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2960 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2961 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2962 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2963 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2964 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2965 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2966 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2967 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2968 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2969 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2970 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2971 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2972 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2973
b090e8ea
L
2974 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2975 global and hidden.
2976 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2977 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2978 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2979 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2980 Likewise.
2981 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2982 Likewise.
2983 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2984 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2985 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2986 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2987 ifunc-impl-list.c.
2988 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2989 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2992 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2993 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2994 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2995 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2996 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2997 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2998 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2999 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3000 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3001 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3002 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3004 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3005 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3006 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3007 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3011 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3016 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3018 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3020 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3021 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3024 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3027 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3029
11dd4af6
L
3030 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3031 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3032 * include/ifunc-impl-list.h: New file.
3033 * misc/ifunc-impl-list.c: Likewise.
3034 * misc/Makefile (routines): Add ifunc-impl-list.
3035 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3036 * string/test-string.h: Include <ifunc-impl-list.h>.
3037 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3038 impl_array): New variables.
3039 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3040 are defined.
3041 (test_init): Call __libc_ifunc_impl_list to initialize
3042 func_list if TEST_IFUNC and TEST_NAME are defined.
3043
9a387d1f
L
3044 * string/Makefile (strop-tests): Add bcopy and bzero.
3045 * string/test-bcopy.c: New file.
3046 * string/test-bzero.c: Likewise.
3047 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3048 defined.
3049 * string/test-memset.c: Support bzero test if TEST_BZERO is
3050 defined.
3051 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3052 __libc_memmove.
3053 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3054 __libc_memset.
3055 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3056 of memset.
3057
472371b9
JM
30582012-10-10 Joseph Myers <joseph@codesourcery.com>
3059
1e4a9536
JM
3060 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3061 * configure: Regenerated.
3062
d173d12e
JM
3063 * Makeconfig (+link-static-before-libc): Don't include
3064 $(link-static-libc).
3065
472371b9
JM
3066 * libio/libio.h (_IO_pos_t): Remove.
3067
89a3ad0b
AO
30682012-10-10 Alexandre Oliva <aoliva@redhat.com>
3069
3070 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3071 McGrath.
3072
e7451425
AO
30732012-10-10 Alexandre Oliva <aoliva@redhat.com>
3074
3075 * crypt/crypt-entry.c: Include fips-private.h.
3076 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3077 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3078 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3079 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3080
4ba74a35
AO
30812012-10-10 Alexandre Oliva <aoliva@redhat.com>
3082
3083 * crypt/crypt-private.h: Include stdbool.h.
3084 (_ufc_setup_salt_r): Return bool.
3085 * crypt/crypt-entry.c: Include errno.h.
3086 (__crypt_r): Return NULL with EINVAL for bad salt.
3087 * crypt/crypt_util.c (bad_for_salt): New.
3088 (_ufc_setup_salt_r): Check that salt is long enough and within
3089 the specified alphabet.
3090 * crypt/badsalttest.c: New file.
3091 * crypt/Makefile (tests): Add it.
3092 ($(objpfx)badsalttest): New.
3093
f96f1242
MK
30942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3095
3096 * NEWS: Add entry for BZ #14602.
3097
0e8e0c1c
JM
30982012-10-09 Joseph Myers <joseph@codesourcery.com>
3099
3100 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3101 type-generic.
3102 * math/libm-test.inc: Update comment listing what functions and
3103 macros are tested.
3104 (isgreater_test): New function.
3105 (isgreaterequal_test): Likewise.
3106 (isless_test): Likewise.
3107 (islessequal_test): Likewise.
3108 (islessgreater_test): Likewise.
3109 (isunordered_test): Likewise.
3110 (main): Call the new functions.
3111
273edc5e
RM
31122012-10-09 Roland McGrath <roland@hack.frob.com>
3113
b8493de0
RM
3114 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3115 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3116 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3117 * sysdeps/i386/configure: Regenerated.
3118 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3119 * sysdeps/mach/configure: Regenerated.
3120 * sysdeps/mach/hurd/configure: Regenerated.
3121 * sysdeps/powerpc/configure: Regenerated.
3122 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3123 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3124 * sysdeps/s390/s390-32/configure: Regenerated.
3125 * sysdeps/s390/s390-64/configure: Regenerated.
3126 * sysdeps/sh/configure: Regenerated.
3127 * sysdeps/sparc/configure: Regenerated.
3128 * sysdeps/unix/sysv/linux/configure: Regenerated.
3129 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3130 * sysdeps/x86_64/configure: Regenerated.
3131
273edc5e
RM
3132 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3133 defined. Don't check if MAP is NULL.
3134
c8450f70
JM
31352012-10-09 Joseph Myers <joseph@codesourcery.com>
3136
3137 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3138 (_G_stat64): Likewise.
3139 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3140 (_G_stat64): Likewise.
3141 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3142 instead of struct _G_stat64.
3143 * libio/fileops.c (mmap_remap_check): Likewise.
3144 (decide_maybe_mmap): Likewise.
3145 (_IO_new_file_seekoff): Likewise.
3146 (_IO_file_stat): Likewise.
3147 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3148 _G_off64_t.
3149 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3150 instead of struct _G_stat64.
3151 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3152
57e605ba
MK
31532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3154
3155 [BZ #14602]
3156 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3157 Replace with ...
3158 (CHECK_EOL): New macro.
3159 (two_way_short_needle): Check beginning of haystack for EOL. Use
3160 CHECK_EOL.
3161 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3162 Replace with CHECK_EOL.
3163 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3164 Replace with CHECK_EOL.
3165
ef1bb361
JM
31662012-10-08 Joseph Myers <joseph@codesourcery.com>
3167
3168 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3169 type-generic.
3170 * math/libm-test.inc: Update comment listing what functions and
3171 macros are tested.
3172 (finite_test): New function.
3173 (isinf_test): Likewise.
3174 (isnan_test): Likewise.
3175 (fpclassify_test): Test subnormal input.
3176 (isfinite_test): Likewise.
3177 (isnormal_test): Likewise.
3178 (main): Call the new functions.
3179
55f11534
JN
31802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3181
3182 [BZ #14660]
3183 * Makerules (%.dynsym): Force C locale when running
3184 $(OBJDUMP) --dynamic-syms.
3185
1ab29350
AS
31862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3187
3188 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3189 <stdint.h>.
3190
f1ecb7ef
DM
31912012-10-06 David S. Miller <davem@davemloft.net>
3192
3193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3194 upper 32-bits of the length value in %o2 since we use branch-on-register
3195 tests which consider the entire 64-bit register.
3196
5d41d91a
L
31972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3198
3199 * string/test-strstr.c (check2): Add a test for page boundary.
3200
3baddb72
DM
32012012-10-05 David S. Miller <davem@davemloft.net>
3202
3203 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3205 file.
3206 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3207 sysdep_routines.
3208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3209 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3210 and bzero when HWCAP_SPARC_CRYPTO is present.
3211
9cee5585
L
32122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3213
d7e0dab9
L
3214 [BZ #14602]
3215 * string/test-strstr.c (check2): New function.
3216 (test_main): Call check2.
3217
03759f47
L
3218 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3219 and bug-strchr1.
3220 * string/bug-strcasestr1.c (do_test): Moved to ...
3221 * string/test-strcasestr.c (check1): Here. New function.
3222 (do_one_test): Break out result checking code into ...
3223 (check_result): This. New function.
3224 (do_one_test): Call check_result.
3225 (test_main): Call check1.
3226 * string/bug-strchr1.c (do_test): Moved to ...
3227 * string/test-strchr.c (check1): Here. New function.
3228 (do_one_test): Break out result checking code into ...
3229 (check_result): This. New function.
3230 (do_one_test): Call check_result.
3231 (test_main): Call check1.
3232 * string/bug-strstr1.c (main): Moved to ...
3233 * string/test-strchr.c (check1): Here. New function.
3234 (do_one_test): Break out result checking code into ...
3235 (check_result): This. New function.
3236 (do_one_test): Call check_result.
3237 (test_main): Call check1.
3238 * string/bug-strcasestr1.c: Removed.
3239 * string/bug-strchr1.c: Likewise.
3240 * string/bug-strstr1.c: Likewise.
3241
53cea63e
L
3242 * elf/Makefile (dl-routines): Add hwcaps.
3243 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3244 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3245 (_dl_important_hwcaps): Moved to ...
3246 * elf/dl-hwcaps.c: Here. New file.
3247 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3248
9cee5585 3249 [BZ #14557]
bb859b06
L
3250 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3251 if IS_IN_rtld isn't defined.
3252
9cee5585
L
3253 * elf/dl-support.c (_dl_sysinfo_map): New.
3254 Include "get-dynamic-info.h" and "setup-vdso.h".
3255 (_dl_non_dynamic_init): Call setup_vdso.
3256 * elf/dynamic-link.h: Don't include <assert.h>.
3257 (elf_get_dynamic_info): Moved to ...
3258 * elf/get-dynamic-info.h: Here. New file.
3259 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3260 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3261 * elf/setup-vdso.h: Here. New file.
3262 * elf/rtld.c: Include "setup-vdso.h".
3263 (dl_main): Call setup_vdso.
3264
23c31b76
JM
32652012-10-05 Joseph Myers <joseph@codesourcery.com>
3266
28234b07
JM
3267 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3268 creal in comment listing functions tested. List finite, isinf,
3269 isnan, isless, islessequal, isgreater, isgreaterequal,
3270 islessgreater, isunordered, lgamma_r and pow10 as functions and
3271 macros not tested. Mention which functions not tested are aliases
3272 for other functions. Fix typo. Note that signs of NaNs are not
3273 tested.
3274
23c31b76
JM
3275 * scripts/config.guess: Update from config.git.
3276 * scripts/config.sub: Likewise.
3277
9043e228
RM
32782012-10-04 Roland McGrath <roland@hack.frob.com>
3279
3280 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3281 * misc/madvise.c (madvise): Renamed to __madvise.
3282 Make madvise a weak alias.
3283 * include/sys/mman.h: Declare __madvise.
3284 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3285 * sysdeps/unix/syscalls.list
3286 (madvise): Make __madvise the strong name, and madvise a weak alias.
3287 * sysdeps/unix/sysv/linux/syscalls.list
3288 (madvise, mmap): Remove redundant entries.
3289 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3290 * malloc/malloc.c (mtrim): Likewise.
3291 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3292
f57f8055
RM
32932012-10-03 Roland McGrath <roland@hack.frob.com>
3294
3295 * sysdeps/mach/hurd/dl-cache.c: File removed.
3296 * config.h.in (USE_LDCONFIG): New #undef.
3297 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3298 * configure: Regenerated.
3299 * elf/Makefile (dl-routines): Add dl-cache only under
3300 [$(use-ldconfig) = yes].
3301 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3302 cache on [USE_LDCONFIG].
3303 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3304 [USE_LDCONFIG].
3305 * elf/rtld.c (dl_main): Likewise.
3306
5bb0c10a
PT
33072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3308
3309 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3310 _SC_LEVEL4_CACHE_LINESIZE.
3311
010188c6
RM
33122012-10-03 Roland McGrath <roland@hack.frob.com>
3313
3314 * sysdeps/unix/bsd/confstr.h: File removed.
3315
b6c5ec07
AO
33162012-10-02 Alexandre Oliva <aoliva@redhat.com>
3317
3318 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3319 sys/sdt-config.h.
3320
408223d4
RM
33212012-10-02 Roland McGrath <roland@hack.frob.com>
3322
3323 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3324 Make 'mapoff' field ElfW(Off) rather than off_t.
3325
bb9510dc
DL
33262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3327
fc997c6e
DL
3328 * nscd/Makefile: Remove nscd-cflags and all its users.
3329 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3330 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3331
bb9510dc
DL
3332 [BZ #10631]
3333 * malloc.c (malloc_printerr): Clarify error message.
3334
05699367
L
33352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 [BZ #14648]
3338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3339 Set bit_FMA_Usable if FMA is supported.
3340 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3341 macro.
3342 (bit_FMA4_Usable): Updated.
3343 (index_FMA_Usable): New macro.
3344 (CPUID_FMA): Likewise
3345 (HAS_FMA): Defined with bit_FMA_Usable.
3346
51367701
RM
33472012-10-01 Roland McGrath <roland@hack.frob.com>
3348
3349 * bits/types.h (__swblk_t): Type removed.
3350 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3351 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3353 (__SWBLK_T_TYPE): Likewise.
3354 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3355 (__SWBLK_T_TYPE): Likewise.
3356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3357 (__SWBLK_T_TYPE): Likewise.
3358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3359 (__SWBLK_T_TYPE): Likewise.
3360
4d57bf63 33612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3362 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3363
3364 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3365 (xdr_mapname): Use YPMAXMAP as maxsize.
3366 (xdr_peername): Use YPMAXPEER as maxsize.
3367 (xdr_keydat): Use YPAXRECORD as maxsize.
3368 (xdr_valdat): Use YPMAXRECORD as maxsize.
3369
93c65d43
RM
33702012-10-01 Roland McGrath <roland@hack.frob.com>
3371
497a03d6
RM
3372 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3373
93c65d43
RM
3374 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3375 * csu/init-first.c: ... here.
3376 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3377 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3378 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3379 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3380 * sysdeps/i386/init-first.c: File removed.
3381 * sysdeps/sh/init-first.c: File removed.
3382
bec749fd
JM
33832012-10-01 Joseph Myers <joseph@codesourcery.com>
3384
3385 [BZ #14645]
3386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3387 if x * y might underflow to zero and z is zero.
3388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3390 * math/libm-test.inc (min_subnorm_value): New variable.
3391 (fma_test): Add more tests.
3392 (fma_test_towardzero): Likewise.
3393 (fma_test_downward): Likewise
3394 (fma_test_upward): Likewise.
3395 (initialize): Set min_subnorm_value.
3396
8ec5b013
JM
33972012-09-29 Joseph Myers <joseph@codesourcery.com>
3398
3399 [BZ #14638]
3400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3401 0 + 0.
3402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3403 mode for addition resulting in exact zero.
3404 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3406 exact 0 + 0.
3407 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3408 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3409 * math/libm-test.inc (fma_test): Add more tests.
3410 (fma_test_towardzero): New function.
3411 (fma_test_downward): Likewise.
3412 (fma_test_upward): Likewise.
3413 (main): Call the new functions.
3414
b1fa802e
DM
34152012-09-28 David S. Miller <davem@davemloft.net>
3416
3417 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3418
d3b9fd9e
RM
34192012-09-28 Roland McGrath <roland@hack.frob.com>
3420
ea4d37b3
RM
3421 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3422 instead of SIGALRM.
3423
ac51c949
RM
3424 * sysdeps/gnu/_G_config.h: Moved to ...
3425 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3426 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3427 * sysdeps/generic/_G_config.h: ... here.
3428
28c195f7
RM
3429 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3430
848917f9
RM
3431 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3432
6bacf05b
RM
3433 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3434 Conditionalize target on [libnss_test1.so-version].
3435
91363dbb
RM
3436 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3437
cc87f7d8
RM
3438 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3439 (elfobjdir): Move out of conditionals.
3440
b1c608fe
RM
3441 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3442 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3443 (__nss_lookup_function): Conditionalize label remove_from_tree on
3444 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3445
1d9a6d96
DM
34462012-09-28 David S. Miller <davem@davemloft.net>
3447
3448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3450 file.
3451 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3452 sysdep_routines.
3453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3455 when HWCAP_SPARC_CRYPTO is present.
3456
72581615
PT
34572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3458
3459 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3460
715a900c
JL
34612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3462
3463 [BZ #6530]
3464 * stdio-common/vfprintf.c (process_string_arg): Revert
3465 2000-07-22 change.
3466
34672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3468
3469 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3470 for testcase.
3471 * stdio-common/tst-sprintf.c: Include <locale.h>
3472 (main): Test sprintf's handling of incomplete multibyte
3473 characters.
3474
9bac1d86
L
34752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3476
3477 * elf/dl-runtime.c (VERSYMIDX): Removed.
3478 * elf/dl-version.c (VERSYMIDX): Likewise.
3479 * elf/do-rel.h (VERSYMIDX): Likewise.
3480 (VALIDX): Likewise.
3481 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3482 * elf/rtld.c (VALIDX): Likewise.
3483 (ADDRIDX): Likewise.
9bac1d86
L
3484 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3485 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3486 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3487 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3488 (VALIDX): Likewise.
3489 (ADDRIDX): Likewise.
9bac1d86 3490
b31606c0
PT
34912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3492
3493 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3494
11541177
JL
34952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3496
3497 [BZ #11438]
3498 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3499 to global scope.
3500 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3501 addresses are in the same scope as 192.0.2/24.
3502 * posix/gai.conf: Document new scope table defaults.
3503
adb26fae
SP
35042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3505
3506 [BZ #5298]
3507 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3508 for ftell. Compute offsets from write pointers instead.
3509 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3510
4573c6b0
SP
35112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3512
3513 [BZ #14543]
3514 * libio/Makefile (tests): New test case tst-fseek.
3515 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3516 combination works in wide mode.
3517 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3518 state when the external buffer state changes.
3519
aa9bbfe6
DM
35202012-09-27 David S. Miller <davem@davemloft.net>
3521
3522 [BZ #14376]
3523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3524 pass reloc->r_addend in as the 'high' argument to
3525 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3526
784421e7
DM
3527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3528
c39bc8b8
PT
35292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3530
3531 * rt/tst-aio2.c: Include <pthread.h>.
3532 * rt/tst-aio3.c: Likewise.
3533
1ccc2399
SE
35342012-09-27 Steve Ellcey <sellcey@mips.com>
3535
3536 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3537
31ed4153
L
35382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3539
25f5f885
L
3540 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3541 contents on [SHARED].
31ed4153 3542
b7bfe116
MP
35432012-09-26 Marek Polacek <polacek@redhat.com>
3544
3545 [BZ #14530]
3546 [BZ #13741]
3547 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3548 for C++ and GCC <4.3 as well as for non GCC compilers.
3549
43c4edba
MT
35502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3551
3552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3553
6a1bf82f
RM
35542012-09-25 Roland McGrath <roland@hack.frob.com>
3555
3556 * Makefile.in (all, install): Declare with .PHONY.
3557 Reported by Michael Hope <michael.hope@linaro.org>.
3558
8ad11b9a
TMQMF
35592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3560
3561 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3562 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3563 system header.
3564 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3565 Likewise.
3566 (sydep_routines): Add the new and the internal functions.
3567 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3568 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3570 (GLIBC_2.17): Add the new function.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3572 (GLIBC_2.17): Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3574 (GLIBC_2.17): Likewise.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3576 (GLIBC_2.17): Likewise.
3577 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3578
7e2fca8d
AM
35792012-09-25 Alan Modra <amodra@gmail.com>
3580
3581 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3582 Add release barrier before setting once_control to say
3583 initialisation is done. Add hints on lwarx. Use macro in
3584 place of isync.
3585 (clear_once_control): Add release barrier.
3586
b87c4b24
JM
35872012-09-25 Joseph Myers <joseph@codesourcery.com>
3588
d032e0d2
JM
3589 [BZ #13629]
3590 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3591 specially.
3592 * math/s_clog10.c (__clog10): Likewise.
3593 * math/s_clog10f.c (__clog10f): Likewise.
3594 * math/s_clog10l.c (__clog10l): Likewise.
3595 * math/s_clogf.c (__clogf): Likewise.
3596 * math/s_clogl.c (__clogl): Likewise.
3597 * math/Makefile (libm-calls): Add x2y2m1.
3598 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3599 (__x2y2m1): Likewise.
3600 (__x2y2m1l): Likewise.
3601 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3602 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3603 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3604 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3605 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3606 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3607 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3608 * sysdeps/i386/fpu/libm-test-ulps: Update.
3609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3610
b87c4b24
JM
3611 [BZ #14621]
3612 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3613 int as type of variable DEPTH.
3614 (glob): Use size_t instead of int as type of variables NEWCOUNT
3615 and OLD_PATHC.
3616
6d3bf199
LD
36172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3618
22bf5c17
LD
3619 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3620 Add s_sincosf-sse2.
3621 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3622 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3623 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3624 macros for using routine as __sincosf_ia32.
3625 Use macro for function declaration and weak_alias.
3626 * sysdeps/i386/fpu/libm-test-ulps: Update.
3627
3628 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3630
3631 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3632 subnormal argument.
3633 * math/s_cexpf.c (__cexpf): Likewise.
3634 * math/s_csinf.c (__csinf): Likewise.
3635 * math/s_csinhf.c (__csinhf): Likewise.
3636 * math/s_ctanf.c (__ctanf): Likewise.
3637 * math/s_ctanhf.c (__ctanhf): Likewise.
3638 * math/s_ccosh.c (__ccoshf): Likewise.
3639 * math/s_cexp.c (__cexpl): Likewise.
3640 * math/s_csin.c (__csin): Likewise.
3641 * math/s_csinh.c (__csinh): Likewise.
3642 * math/s_ctan.c (__ctan): Likewise.
3643 * math/s_ctanh.c (ctanh): Likewise.
3644 * math/s_ccoshl.c (__ccoshl): Likewise.
3645 * math/s_cexpl.c (__cexpl): Likewise.
3646 * math/s_csinl.c (__csinl): Likewise.
3647 * math/s_csinhl.c (__csinhl): Likewise.
3648 * math/s_ctanl.c (__ctanl): Likewise.
3649 * math/s_ctanhl.c (__ctanhl): Likewise.
3650
203e5603
JM
36512012-09-25 Joseph Myers <joseph@codesourcery.com>
3652
3653 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3654 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3655 (_IO_off_t): Define to __off_t, not _G_off_t.
3656 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3657 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3658 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3659 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3660 type of __dummy and __dummy2 fields.
3661 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3662 (_G_ssize_t): Likewise.
3663 (_G_off_t): Likewise.
3664 (_G_pid_t): Likewise.
3665 (_G_uid_t): Likewise.
3666 (_G_wchar_t): Likewise.
3667 (_G_wint_t): Likewise.
3668 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3669 (_G_ssize_t): Likewise.
3670 (_G_off_t): Likewise.
3671 (_G_pid_t): Likewise.
3672 (_G_uid_t): Likewise.
3673 (_G_wchar_t): Likewise.
3674 (_G_wint_t): Likewise.
3675 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3676 (_G_ssize_t): Likewise.
3677 (_G_off_t): Likewise.
3678 (_G_pid_t): Likewise.
3679 (_G_uid_t): Likewise.
3680 (_G_wchar_t): Likewise.
3681 (_G_wint_t): Likewise.
3682
9fab36eb
SP
36832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3684
3685 * malloc/arena.c: Include malloc-sysdep.h.
3686 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3687 is sufficient to shrink the heap or an unmap is needed.
3688 * sysdeps/generic/malloc-sysdep.h: New file. Define
3689 new function check_may_shrink_heap.
3690 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3691 new function check_may_shrink_heap.
3692
2b4f00d1
SP
36932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3694
3695 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3696 comments.
3697
9a9028b1
DL
36982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3699
57c69bef
DL
3700 * catgets/test-gencat.sh: Add "set -e".
3701 * elf/tst-pathopt.sh: Likewise.
3702 * grp/tst_fgetgrent.sh: Likewise.
3703 * iconvdata/run-iconv-test.sh: Likewise.
3704 * intl/tst-gettext.sh: Likewise.
3705 * intl/tst-gettext2.sh: Likewise.
3706 * intl/tst-gettext4.sh: Likewise.
3707 * intl/tst-gettext6.sh: Likewise.
3708 * intl/tst-translit.sh: Likewise.
3709 * io/ftwtest-sh: Likewise.
3710 * libio/test-freopen.sh: Likewise.
3711 * malloc/tst-mtrace.sh: Likewise.
3712 * posix/globtest.sh: Likewise.
3713 * posix/tst-getconf.sh: Likewise.
3714 * posix/wordexp-tst.sh: Likewise.
3715 * stdio-common/tst-printf.sh: Likewise.
3716 * stdio-common/tst-unbputc.sh: Likewise.
3717 * stdlib/tst-fmtmsg.sh: Likewise.
3718 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3719 * catgets/Makefile: Do not specify -e option when running
3720 testsuite shell scripts.
3721 * elf/Makefile: Likewise.
3722 * grp/Makefile: Likewise.
3723 * iconvdata/Makefile: Likewise.
3724 * intl/Makefile: Likewise.
3725 * io/Makefile: Likewise.
3726 * libio/Makefile: Likewise.
3727 * malloc/Makefile: Likewise.
3728 * posix/Makefile: Likewise.
3729 * stdio-common/Makefile: Likewise.
3730 * stdlib/Makefile: Likewise.
3731 * sysdeps/x86_64/Makefile: Likewise.
3732
9a9028b1
DL
3733 * io/ftwtest-sh: Add copyright header.
3734 * posix/globtest.sh: Likewise.
3735 * posix/tst-getconf.sh: Likewise.
3736 * posix/wordexp-tst.sh: Likewise.
3737 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3738
ced6f16e
L
37392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3740
94b32c39
L
3741 [BZ #13679]
3742 * Makeconfig (+link): Defined as $(+link-static) if
3743 $(build-shared) isn't yes.
3744 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3745 isn't yes.
3746 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3747
189e935b
L
3748 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3749
ced6f16e
L
3750 [BZ #14562]
3751 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3752 new chunk size with MALLOC_ALIGN_MASK.
3753
a9f8e53a
JM
37542012-09-24 Joseph Myers <joseph@codesourcery.com>
3755
3756 [BZ #5044]
3757 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3758 <rounding-mode.h>.
3759 (__printf_fphex): Determine rounding using get_rounding_mode and
3760 round_away.
3761 * stdio-common/tst-printf-round.c (struct hex_test): New
3762 structure.
3763 (hex_tests): New variable.
3764 (test_hex_in_one_mode): New function.
3765 (do_test): Also run tests for hex float output.
3766
43153109
JM
37672012-09-21 Joseph Myers <joseph@codesourcery.com>
3768
3769 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3771 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3772 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3773 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3774 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3775 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3776 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3777
8a26625d
JM
37782012-09-20 Joseph Myers <joseph@codesourcery.com>
3779
3780 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3781 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3782 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3783 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3784
f3fd569c
DL
37852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3786
3787 [BZ #14579]
3788 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3789 mode only.
3790 * elf/tst-rtld-load-self.sh: New test.
3791 * elf/Makefile: Run it.
3792
63bbedd4
JM
37932012-09-18 Joseph Myers <joseph@codesourcery.com>
3794
3795 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3796 (tst-writev-ENV): Remove.
3797 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3798
626f8b6a
CM
37992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3800
3801 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3802
b7aaa4d6
JM
38032012-09-17 Joseph Myers <joseph@codesourcery.com>
3804
3805 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3806 unconditional.
3807 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3808 Likewise.
3809 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3810 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3811 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3812 Likewise.
3813
65513990
L
38142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 [BZ #14587]
3817 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3818 * config.make.in (have-cpp-asm-debuginfo): Removed.
3819 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3820 * configure: Regenerated.
3821
784761be
JM
38222012-09-14 Joseph Myers <joseph@codesourcery.com>
3823
3824 [BZ #5044]
3825 * stdio-common/printf_fp.c: Include <stdbool.h> and
3826 <rounding-mode.h>.
3827 (___printf_fp): Determine rounding using get_rounding_mode and
3828 round_away.
3829 * stdio-common/tst-printf-round.c: New file.
3830 * stdio-common/Makefile (tests): Add tst-printf-round.
3831 (link-libm): New variable.
3832 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3833
9503345f
L
38342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3835
3836 [BZ #14576]
3837 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3838 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3839 Likewise.
3840 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3841 Likewise.
3842
ad35fc00
JM
38432012-09-13 Joseph Myers <joseph@codesourcery.com>
3844
3845 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3846 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3847 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3848 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3849
6c9b0f68
JM
38502012-09-12 Joseph Myers <joseph@codesourcery.com>
3851
3852 [BZ #14518]
3853 * include/rounding-mode.h: New file.
3854 * sysdeps/generic/get-rounding-mode.h: Likewise.
3855 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3856 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3857 (MAX_VALUE): New macro.
3858 (MIN_VALUE): Likewise.
3859 (overflow_value): New function.
3860 (underflow_value): Likewise.
3861 (round_and_return): Use overflow_value and underflow_value to
3862 determine return values in overflow and underflow cases. Use
3863 round_away to determine rounding depending on rounding mode.
3864 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3865 determine return values in overflow and underflow cases.
3866 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3867 (struct test_results): New structure.
3868 (struct test): Use struct test_results to store expected results
3869 for all rounding modes.
3870 (TEST): Include expected results for all rounding modes.
3871 (test_in_one_mode): New function.
3872 (do_test): Use test_in_one_mode to compute and check results.
3873 Check results for all rounding modes.
3874 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3875 $(link-libm).
3876
19fcedd5
AM
38772012-12-09 Allan McRae <allan@archlinux.org>
3878
1e9d84cd 3879 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3880
8bbfd2f1
JM
38812012-09-11 Joseph Myers <joseph@codesourcery.com>
3882
3883 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3884 (_G_int32_t): Likewise.
3885 (_G_uint16_t): Likewise.
3886 (_G_uint32_t): Likewise.
3887 (_G_HAVE_BOOL): Likewise.
3888 (_G_HAVE_ATEXIT): Likewise.
3889 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3890 (_G_HAVE_IO_FILE_OPEN): Likewise.
3891 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3892 (_G_int32_t): Likewise.
3893 (_G_uint16_t): Likewise.
3894 (_G_uint32_t): Likewise.
3895 (_G_HAVE_BOOL): Likewise.
3896 (_G_HAVE_ATEXIT): Likewise.
3897 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3898 (_G_HAVE_IO_FILE_OPEN): Likewise.
3899 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3900 (_G_int32_t): Likewise.
3901 (_G_uint16_t): Likewise.
3902 (_G_uint32_t): Likewise.
3903 (_G_HAVE_BOOL): Likewise.
3904 (_G_HAVE_ATEXIT): Likewise.
3905 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3906 (_G_HAVE_IO_FILE_OPEN): Likewise.
3907
b1dc5912
L
39082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 * csu/libc-tls.c: Update copyright years.
3911
0e886ef9
JM
39122012-09-10 Joseph Myers <joseph@codesourcery.com>
3913
28361c5e
JM
3914 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3915 [!_G_USING_THUNKS]: Remove conditional code.
3916 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3917 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3918
0e886ef9
JM
3919 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3920 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3921 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3922 (_G_VTABLE_LABEL_PREFIX): Likewise.
3923 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3924 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3925 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3926 (_G_VTABLE_LABEL_PREFIX): Likewise.
3927 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3928 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3929 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3930 (_G_VTABLE_LABEL_PREFIX): Likewise.
3931 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3932
bcba7aa2
L
39332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 * libio/Makefile: Include ../Makeconfig before tests.
3936 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3937 only if $(build-shared) is yes.
3938
06585ee8
L
3939 * iconv/gconv_db.c: Update copyright years.
3940
80ccd52c
LD
39412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3942
3943 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3944 unwind info if defined PIC. Fix special cases description.
3945 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3946
3947 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3948 DP_HI_MASK entry.
3949 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3950
691bc9c1
L
39512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3952
3d9b46b3
L
3953 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3954
de2139a9
L
3955 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3956 is NULL.
3957
5ca78dd0
L
3958 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3959 (LDLIBS-tst-chk4): This.
3960 (LDFLAGS-tst-chk5): Renamed to ...
3961 (LDLIBS-tst-chk5): This.
3962 (LDFLAGS-tst-chk6): Renamed to ...
3963 (LDLIBS-tst-chk6): This.
3964 (LDFLAGS-tst-lfschk4): Renamed to ...
3965 (LDLIBS-tst-lfschk4): This.
3966 (LDFLAGS-tst-lfschk5): Renamed to ...
3967 (LDLIBS-tst-lfschk5): This.
3968 (LDFLAGS-tst-lfschk6): Renamed to ...
3969 (LDLIBS-tst-lfschk6): This.
3970
691bc9c1
L
3971 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3972 on $(common-objpfx)soversions.mk.
3973
65cafb1c
JM
39742012-09-07 Joseph Myers <joseph@codesourcery.com>
3975
3976 [BZ #10014]
3977 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3978 example host name.
3979
c78ab094
SP
39802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3981
3982 * malloc/arena.c (arena_get_retry): New function that gets
3983 another arena for the caller to try its request on.
3984 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3985 current arena cannot fulfill the request.
3986 (__libc_memalign): Likewise.
3987 (__libc_memalign): Likewise.
3988 (__libc_pvalloc): Likewise.
3989 (__libc_calloc): Likewise.
3990
01f49f59
JT
39912012-09-05 John Tobey <john.tobey@gmail.com>
3992
3993 [BZ #13542]
3994 * manual/arith.texi (Operations on Complex): Fix description
3995 of carg branch cut.
3996
4c23fed5
JM
39972012-09-06 Joseph Myers <joseph@codesourcery.com>
3998
1d3c8572
JM
3999 [BZ #10014]
4000 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4001 host name.
4002
4c23fed5
JM
4003 [BZ #10038]
4004 * manual/memory.texi (Memory): Make order of menu items match
4005 order of sections.
4006
04570aaa
L
40072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4008
4009 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4010 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4011 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4012
b80af2f4
L
40132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 * csu/libc-tls.c (static_dtv): Renamed to ...
4016 (_dl_static_dtv): This. Make it global.
4017 (_dl_initial_dtv): Removed.
4018 (__libc_setup_tls): Updated.
4019 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4020 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4021 DL_INITIAL_DTV.
4022
2abe9f15
PM
40232012-09-06 Petr Machata <pmachata@redhat.com>
4024
4025 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4026 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4027 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4028 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4029
0948c3af
L
40302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4031
4032 [BZ #14545]
4033 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4034 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4035 freeing dtv[-1].
4036
a5055ad1
L
40372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4038
4039 [BZ #14544]
4040 * Makeconfig (link-static-before-libc): Replace $(+prector)
4041 with $(+prectorT).
4042 (link-static-after-libc): Replace $(+postctor) with
4043 $(+postctorT).
4044 (link-bounded): Replace $(+prector)/$(+postctor) with
4045 $(+prectorT)/$(+postctorT).
4046 (+prectorT): New macro.
4047 (+postctorT): Likewise.
4048
ed8c2ecd
JM
40492012-09-06 Joseph Myers <joseph@codesourcery.com>
4050
4051 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4052 (round_str): Handle values above the maximum for IBM long double
4053 as inexact.
4054 * stdlib/tst-strtod-round.c (tests): Regenerated.
4055
14c996c8
AK
40562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4057
4058 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4059 assembler flag.
4060 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4061 zarch_nohighgprs around the zarch optimized routines.
4062 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4063 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4065 for zarch.
4066
430d6ce6
DM
40672012-09-05 David S. Miller <davem@davemloft.net>
4068
4069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4070
ff04dda4
DM
4071 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4072 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4073 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4074 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4075 entries.
4076
24d4e01b
AO
40772012-09-05 Alexandre Oliva <aoliva@redhat.com>
4078
4079 * malloc/arena.c: Fold copyright years.
4080 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4081
61d58174
AO
40822012-09-05 Alexandre Oliva <aoliva@redhat.com>
4083
4084 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4085
20196a5e
AO
40862012-09-05 Alexandre Oliva <aoliva@redhat.com>
4087
4088 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4089
5c447383
AO
40902012-09-05 Alexandre Oliva <aoliva@redhat.com>
4091
4092 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4093 change internal state upon failure.
4094
fad64255
AO
40952012-09-05 Alexandre Oliva <aoliva@redhat.com>
4096
4097 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4098 * malloc/memusage.c (mmap): Likewise.
4099 (mmap64, mremap): Likewise. Adjust name in comment.
4100
1ffb8c90
SP
41012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4102
4103 * libio/fileops.c: Fix typos in comments.
4104 * libio/oldfileops.c: Likewise.
4105 * libio/wfileops.c: Likewise.
4106
6ef9cc37
SP
41072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4108
4109 [BZ #1349]
4110 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4111 (tst-malloc-usable-ENV): Set environment for test case.
4112 * malloc/hooks.c (malloc_check_get_size): New function to get
4113 requested size.
4114 * malloc/malloc.c (musable): Use malloc_check_get_size.
4115 * malloc/tst-malloc-usable.c: New test case.
4116
4d038ae3
AS
41172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4118
4119 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4120
c4e85184
AM
41212012-09-05 Allan McRae <allan@archlinux.org>
4122
b9dafc56 4123 [BZ #13966]
c4e85184
AM
4124 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4125 determine header location.
4126 * configure: Regenerated.
4127
e1343020
AS
41282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4129
4130 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4131 float format.
4132 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4133 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4134 format.
e1343020
AS
4135 (test): Regenerate.
4136
0a9f1987
DM
41372012-09-04 David S. Miller <davem@davemloft.net>
4138
4139 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4140 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4141 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4142
29237804
FW
41432012-09-04 Florian Weimer <fweimer@redhat.com>
4144
4145 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4146 failures.
4147
edb3cb88
FW
4148 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4149
60160d83
JM
41502012-09-04 Joseph Myers <joseph@codesourcery.com>
4151
4152 [BZ #9914]
4153 * libio/iogetdelim.c: Include <limits.h>.
4154 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4155 + len + 1 would overflow.
4156
bcd6c8dc
AJ
41572012-09-03 Andreas Jaeger <aj@suse.de>
4158
4159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4161
4ffffbd2
LD
41622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4163
4164 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4165 Add s_sinf-sse2, s_conf-sse2.
4166
4167 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4168 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4169 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4170 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4171
4172 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4173 for using routine as __sinf_ia32.
4174 Use macro for function declaration and weak_alias.
4175 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4176 for using routine as __cosf_ia32.
4177 Use macro for function declaration and weak_alias.
4178
4179 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4180 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4181
4182 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4183 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4185
4186 * math/libm-test.inc (cos_test): Add more test cases.
4187 (sin_test): Likewise.
4188 (sincos_test): Likewise.
4189
511fa286
AK
41902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4191
4192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4193 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4194 hidden.
4195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4196
5f30cfec
L
41972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4198
4199 [BZ #14538]
4200 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4201 first element of the GOT.
4202 (elf_machine_load_address): Return the difference between
4203 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4204
0786794f
AM
42052012-09-01 Allan McRae <allan@archlinux.org>
4206
5f30cfec
L
4207 [BZ #13412]
4208 * configure.in (AWK): Require gawk version 3.0 or later.
4209 * configure: Regenerated.
0786794f 4210
26889eac
JM
42112012-09-01 Joseph Myers <joseph@codesourcery.com>
4212
4213 * sysdeps/unix/sysv/linux/kernel-features.h
4214 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4216 [__NR_clock_getres]: Make code unconditional.
4217 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4218 (clock_getcpuclockid): Remove code left unreachable by removal of
4219 conditionals.
4220 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4221 code unconditional.
4222 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4223 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4224 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4225 Make code unconditional.
4226 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4227 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4228 * sysdeps/unix/sysv/linux/clock_settime.c
4229 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4230 conditional code.
4231 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4233
d22e28b0
L
42342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4235
4236 [BZ #14476]
4237 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4238 scripts/test-installation.pl.
4239
4240 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4241 and $ld_so_version if it is set.
4242
050af9c4
SP
42432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4244
4245 [BZ #14516]
4246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4247 failure if reading from procfs failed.
4248 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4249
ad845c0b
JM
42502012-08-27 Joseph Myers <joseph@codesourcery.com>
4251
4252 * sysdeps/unix/sysv/linux/kernel-features.h
4253 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4254 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4255 Remove conditional code.
4256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4257 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4258 Remove conditional code.
4259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4260 * sysdeps/unix/sysv/linux/i386/fxstat.c
4261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4263 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4266 * sysdeps/unix/sysv/linux/i386/lxstat.c
4267 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4269 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4270 Remove conditional code.
4271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4272 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4273 Remove conditional code.
4274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4275 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4276 <kernel-features.h>.
4277 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4278 Remove.
4279 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4280 Remove conditional code.
4281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4282 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4283 Remove conditional.
4284
5dbf56af
MF
42852012-08-27 Mike Frysinger <vapier@gentoo.org>
4286
4287 [BZ #5400]
4288 * NEWS: Add fixed bug number.
4289
d6e70f43
JM
42902012-08-27 Joseph Myers <joseph@codesourcery.com>
4291
7efb4737
JM
4292 [BZ #14519]
4293 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4294 underflowing exponent in case of negative sign.
4295 * stdlib/tst-strtod-round-data: Add more tests.
4296 * stdlib/tst-strtod-round.c (tests): Regenerated.
4297
af92131a
JM
4298 [BZ #3479]
4299 * stdlib/strtod_l.c (NDIG): Remove.
4300 (HEXNDIG): Likewise.
4301 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4302 smallest representable value.
4303 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4304 lie within an exact representation of 1/2 ulp of the result.
4305 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4306 unconditionally.
4307 (TENS_P9_IDX): Define unconditionally.
4308 (TENS_P9_SIZE): Likewise.
4309 (TENS_P10_IDX): Likewise.
4310 (TENS_P10_SIZE): Likewise.
4311 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4312 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4313 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4314 entries for 10^2^13 and 10^2^14.
4315 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4316 (TENS_P13_IDX): Define.
4317 (TENS_P13_SIZE): Likewise.
4318 (TENS_P14_IDX): Likewise.
4319 (TENS_P14_SIZE): Likewise.
4320 (_fpioconst_pow10): Change array size to
4321 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4322 unconditional.
4323 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4324 1024]: Add entries for 10^2^13 and 10^2^14.
4325 [LAST_POW10 > _LAST_POW10]: Remove #error.
4326 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4327 (_fpioconst_pow10): Change array size to
4328 FPIOCONST_POW10_ARRAY_SIZE.
4329 * stdlib/gen-fpioconst.c: New file.
4330 * stdlib/gen-tst-strtod-round.c: Likewise.
4331 * stdlib/tst-strtod-round-data: Likewise.
4332 * stdlib/tst-strtod-round.c: Likewise.
4333 * stdlib/Makefile (tests): Add tst-strtod-round.
4334
d6e70f43
JM
4335 [BZ #14459]
4336 * stdlib/strtod_l.c: Include <stdint.h>.
4337 (NDEBUG): Do not define.
4338 (round_and_return): Change EXPONENT parameter to type intmax_t.
4339 Rearrange calculations to avoid internal overflow possibilities.
4340 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4341 Rearrange calculations to avoid internal overflow possibilities.
4342 Assert that number fits inside MPNSIZE limbs.
4343 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4344 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4345 calculations and add assertions to avoid internal overflow
4346 possibilities. Add casts to avoid signed/unsigned operations.
4347 * stdlib/tst-strtod-overflow.c: New file.
4348 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4349
1f529f7d
MP
43502012-08-25 Marek Polacek <polacek@redhat.com>
4351
4352 * time/time.h: Fix some typos in comments.
4353
59a629f1
RM
43542012-08-23 Roland McGrath <roland@hack.frob.com>
4355
4356 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4357 * posix/tst-rfc3484-2.c: Likewise.
4358 * posix/tst-rfc3484-3.c: Likewise.
4359
d3bafbc9
SM
43602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4361
4362 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4363 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4364
4efcc022
JM
43652012-08-23 Joseph Myers <joseph@codesourcery.com>
4366
4367 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4368 #include of fxstatat64.c.
4369
3cc3ef96
RM
43702012-08-22 Roland McGrath <roland@hack.frob.com>
4371
f04e2132
RM
4372 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4373 * shadow/getspent_r.c: Likewise.
4374 * shadow/getspnam.c: Likewise.
4375 * shadow/getspnam_r.c: Likewise.
4376 * gshadow/getsgent.c: Likewise.
4377 * gshadow/getsgent_r.c: Likewise.
4378 * gshadow/getsgnam.c: Likewise.
4379 * gshadow/getsgnam_r.c: Likewise.
4380 * inet/getnetbyad.c: Likewise.
4381 * inet/getnetbyad_r.c: Likewise.
4382 * inet/getnetbynm.c: Likewise.
4383 * inet/getnetbynm_r.c: Likewise.
4384 * inet/getnetent.c: Likewise.
4385 * inet/getnetent_r.c: Likewise.
4386 * inet/getproto.c: Likewise.
4387 * inet/getproto_r.c: Likewise.
4388 * inet/getprtent.c: Likewise.
4389 * inet/getprtent_r.c: Likewise.
4390 * inet/getprtname.c: Likewise.
4391 * inet/getprtname_r.c: Likewise.
4392 * inet/getrpcbyname.c: Likewise.
4393 * inet/getrpcbyname_r.c: Likewise.
4394 * inet/getrpcbynumber.c: Likewise.
4395 * inet/getrpcbynumber_r.c: Likewise.
4396 * inet/getrpcent.c: Likewise.
4397 * inet/getrpcent_r.c: Likewise.
4398 * inet/getaliasent.c: Likewise.
4399 * inet/getaliasent_r.c: Likewise.
4400 * inet/getaliasname.c: Likewise.
4401 * inet/getaliasname_r.c: Likewise.
4402 * nscd/getgrgid_r.c: Likewise.
4403 * nscd/getgrnam_r.c: Likewise.
4404 * nscd/gethstbyad_r.c: Likewise.
4405 * nscd/gethstbynm3_r.c: Likewise.
4406 * nscd/getpwnam_r.c: Likewise.
4407 * nscd/getpwuid_r.c: Likewise.
4408 * nscd/getsrvbynm_r.c: Likewise.
4409 * nscd/getsrvbypt_r.c: Likewise.
4410 * nscd/gai.c: Likewise.
4411
c53d909c
RM
4412 * configure.in (build_nscd): New substituted variable, set
4413 by --disable-build-nscd and defaults to $use_nscd.
4414 * configure: Regenerated.
4415 * config.make.in (build-nscd): New substituted variable.
4416 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4417 Change conditional to require [$(build-nscd) = yes] as well.
4418 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4419
3cc3ef96
RM
4420 [BZ# 13696]
4421 * configure.in (use_nscd): New substituted variable, set by
4422 --disable-nscd. If enabled, define USE_NSCD.
4423 * configure: Regenerated.
4424 * config.h.in: Add USE_NSCD.
4425 * config.make.in (use-nscd): New substituted variable.
4426 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4427 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4428 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4429 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4430 (CFLAGS-getgrnam_r.c): Likewise.
4431 (CFLAGS-initgroups.c): Likewise.
4432 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4433 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4434 Variables removed.
4435 * inet/getnetgrent_r.c
4436 (nscd_setnetgrent): New function, broken out of ...
4437 (setnetgrent): ... here. Call it.
4438 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4439 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4440 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4441 * nscd/Makefile (routines, aux): Move definitions after include of
4442 Makeconfig. Conditionalize on [$(use-nscd) != no].
4443 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4444 Conditionalize on [USE_NSCD].
4445 (is_nscd, nscd_init_cb): Likewise.
4446 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4447 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4448 * nss/nss_db/db-init.c: Likewise.
4449 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4450 [USE_NSCD].
4451 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4452 (make_request): Use it.
4453 (cache_valid_p): New function.
4454 (__check_pf): Use it.
4455 * NEWS: Add item for --disable-nscd.
4456
07e51550
DL
44572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4458
4459 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4460 to support sed >= 4.2.1-20-ga9bf076.
4461 * configure: Regenerated.
4462
35a5b08b
RM
44632012-08-22 Roland McGrath <roland@hack.frob.com>
4464
4465 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4466 Conditionalize whole body on [IREL].
4467
8479f23a
JL
44682012-08-22 Jeff Law <law@redhat.com>
4469
4470 [BZ #14505]
4471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4472 if the family is PF_UNSPEC.
4473
48da0b21
MF
44742012-08-22 Mike Frysinger <vapier@gentoo.org>
4475
4476 * Makerules (lib-version): Rename from V.
4477 (install-lib-nosubdir): Change V to lib-version.
4478
15d0da8c
WS
44792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4480
4481 [BZ #14252]
4482 * powerpc32/power6/wcschr.c: New file.
4483 * powerpc32/power6/wcscpy.c: New file.
4484 * powerpc32/power6/wcsrchr.c: New file.
4485 * powerpc64/power6/wcschr.c: New file.
4486 * powerpc64/power6/wcscpy.c: New file.
4487 * powerpc64/power6/wcsrchr.c: New file.
4488
bcca0895
MK
44892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4490
4491 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4492 (two_way_short_needle): Use it.
5a4aaa33
RM
4493 * string/strstr.c (AVAILABLE1_USES_J): Define.
4494 * string/strcasestr.c: Likewise.
99677e57
MK
4495
4496 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4497 array references.
4498 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4499
400726de
MK
4500 [BZ #11607]
4501 * NEWS: Add an entry.
4502 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4503 define their defaults.
4504 (two_way_short_needle): Detect end-of-string on-the-fly.
4505 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4506 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4507 * string/bug-strcasestr1.c: New test.
4508 * string/Makefile: Run it.
4509
20a71f2c
MK
45102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4511
4512 [BZ #11607]
4513 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4514 the first character.
4515
21ad0558
RM
45162012-08-21 Roland McGrath <roland@hack.frob.com>
4517
4518 * csu/elf-init.c (__libc_csu_irel): Function removed.
4519 * csu/libc-start.c (apply_irel): New function.
4520 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4521
0e1d9911
JM
45222012-08-21 Joseph Myers <joseph@codesourcery.com>
4523
4524 * sysdeps/unix/sysv/linux/kernel-features.h
4525 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4526 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4527 <kernel-features.h>.
4528 [__NR_fadvise64_64]: Make code unconditional.
4529 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4530 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4531 !__NR_fadvise64_64)]: Likewise.
4532 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4533 !__NR_fadvise64_64))]: Likewise.
4534 [__NR_fadvise64]: Make code unconditional.
4535 [!__NR_fadvise64]: Remove conditional code.
4536 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4537 <kernel-features.h>.
4538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4539 unconditional.
4540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4541 conditional code.
4542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4543 not include <kernel-features.h>.
4544 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4545 unconditional.
4546 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4547 conditional code.
4548 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4549 include <kernel-features.h>.
4550 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4551 unconditional.
4552 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4553 conditional code.
4554
14a50c9d
WS
45552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4556
4557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4558 slight instruction rearrangements per scrollpipe analysis.
4559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4560
c0f4faf0
RM
45612012-08-20 Roland McGrath <roland@hack.frob.com>
4562
696da859
RM
4563 * manual/syslog.texi (syslog; vsyslog, closelog):
4564 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4565 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4566
c0f4faf0
RM
4567 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4568 DSOCAPS to match condition on defining it.
4569
348363b2
JM
45702012-08-20 Joseph Myers <joseph@codesourcery.com>
4571
a35cbf28
JM
4572 * sysdeps/unix/sysv/linux/kernel-features.h
4573 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4581 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4582 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4583
445f7ecd
JM
4584 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4585 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4586
348363b2
JM
4587 * sysdeps/unix/sysv/linux/kernel-features.h
4588 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4589 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4590 unconditional.
4591 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4592 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4593 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4594 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4595 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4596 Make code unconditional.
4597 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4598 (__mmap64) [!__NR_mmap2]: Likewise.
4599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4600 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4601 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4602 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4603 [__NR_mmap2]: Make code unconditional.
4604 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4605 (__mmap64) [!__NR_mmap2]: Likewise.
4606
bc5bc0e5
AK
46072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4608
4609 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4610
88d506de
AJ
46112012-08-18 Andreas Jaeger <aj@suse.de>
4612
4613 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4614
493387d2
MF
46152012-08-18 Mike Frysinger <vapier@gentoo.org>
4616
4617 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4618 * include/unistd.h (__have_sock_cloexec): Likewise.
4619 (__have_pipe2): Likewise.
4620 (__have_dup3): Likewise.
4621
a277af22
MF
46222012-08-18 Mike Frysinger <vapier@gentoo.org>
4623
4624 [BZ #9685]
4625 * include/unistd.h (__have_pipe2): Change define into an extern int.
4626 (__have_dup3): Likewise.
4627 * socket/have_sock_cloexec.c: Include fcntl.h.
4628 (__have_pipe2): New variable.
4629 (__have_dup3): Likewise.
4630
fdab8fd3
MF
46312012-08-17 Mike Frysinger <vapier@gentoo.org>
4632
4633 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4634
31035e80
MP
46352012-08-17 Marek Polacek <polacek@redhat.com>
4636
4637 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4638 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4639
3bd9e993
RM
46402012-08-17 Roland McGrath <roland@hack.frob.com>
4641
c91c505f
RM
4642 * configure.in: Add AC_SUBST for sysheaders.
4643 * configure: Regenerated.
4644 * config.make.in (sysheaders): New substituted variable.
4645
7c6f9d53
RM
4646 * sysdeps/unix/mkfifo.c: Moved ...
4647 * sysdeps/posix/mkfifo.c: ... here.
4648 * sysdeps/unix/mkfifoat.c: Moved ...
4649 * sysdeps/posix/mkfifoat.c: ... here.
4650
4651 * sysdeps/unix/utime.c: Moved ...
4652 * sysdeps/posix/utime.c: ... here.
4653
4654 * sysdeps/unix/time.c: Moved ...
4655 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4656 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4657 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4658
4659 * sysdeps/unix/nice.c: Moved ...
4660 * sysdeps/posix/nice.c: ... here.
4661
4662 * sysdeps/unix/alarm.c: Moved ...
4663 * sysdeps/posix/alarm.c: ... here.
4664
3bd9e993
RM
4665 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4666
d1f09384
JL
46672012-08-17 Jeff Law <law@redhat.com>
4668
4669 * intl/Makefile (codeset_mo): New variable.
4670 ($(codeset_mo)): New target.
4671 (tst-codeset.out): Depend on that. Remove explicit rule.
4672 (tst-gettext3.out, tst-gettext5.out): Likewise.
4673 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4674 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4675 * intl/tst-codeset.sh: Remove.
4676 * intl/tst-gettext3.sh: Likewise.
4677 * intl/tst-gettext5.sh: Likewise.
4678
2ae1ae5c
RM
46792012-08-17 Roland McGrath <roland@hack.frob.com>
4680
c31fdb83
RM
4681 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4682 * sysdeps/unix/syscalls.list: ... here.
4683
a0844057
RM
4684 * sysdeps/posix/getaddrinfo.c
4685 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4686 (gaiconf_init, gaiconf_reload): Use them.
4687 [!_STATBUF_ST_NSEC]
4688 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4689 Define using time_t rather than struct timespec.
4690
750c1f2a
RM
4691 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4692 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4693 Macros removed.
4694 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4695 [!NO_THREADS].
4696 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4697 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4698 Likewise.
4699
2ae1ae5c
RM
4700 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4701 __libc_cleanup_push argument.
4702
e66a42f5
RM
4703 * bits/param.h: New file.
4704 * misc/sys/param.h: New file.
4705 * include/sys/param.h: New file.
4706 * misc/Makefile (headers): Add bits/param.h.
4707 * sysdeps/generic/sys/param.h: File removed.
4708 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4709 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4710 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4711 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4712
b7c08a66
RM
4713 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4714 last change.
4715
b2e1c562
RM
4716 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4717 [_IO_MTSAFE_IO].
4718 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4719 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4720 New macros.
4721
c75ccd4c
RM
4722 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4723 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4724 rather than -D_IO_MTSAFE_IO conditionally.
4725 * stdio-common/Makefile (CPPFLAGS): Likewise.
4726 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4727 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4728 Use $(libio-mtsafe).
4729 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4730 of -D_IO_MTSAFE_IO.
4731 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4732 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4733 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4734 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4735 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4736 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4737 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4738 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4739 (CFLAGS-fread_u_chk.c): Likewise.
4740 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4741 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4742 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4743 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4744 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4745 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4746 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4747 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4748 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4749
4750 * libio/Makefile: Test [$(libc-reentrant) = yes]
4751 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4752
4753 * Makeconfig
4754 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4755 * sysdeps/pthread/configure: File removed.
4756 * sysdeps/pthread/Makeconfig: New file.
4757 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4758 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4759
d9195db8
GB
47602012-08-16 Gary Benson <gbenson@redhat.com>
4761
4762 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4763 unmapping the first object in a namespace.
4764
86466cd9
RM
47652012-08-16 Roland McGrath <roland@hack.frob.com>
4766
4767 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4768 (__internal_setnetgrent): ... this. Add internal_function to
4769 definition. Add libc_hidden_def.
4770 (setnetgrent): Update caller.
4771 (internal_endnetgrent): Renamed to ...
4772 (__internal_endnetgrent): ... this. Add internal_function to
4773 definition. Add libc_hidden_def.
4774 (endnetgrent): Update caller.
4775 (internal_getnetgrent_r): Renamed to ...
4776 (__internal_getnetgrent_r): ... this. Add internal_function to
4777 definition. Add libc_hidden_def.
4778 (__getnetgrent_r): Update caller.
4779 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4780
c3c8283c
JM
47812012-08-16 Joseph Myers <joseph@codesourcery.com>
4782
4783 * stdlib/longlong.h: Update from GCC.
4784
db1ee0a8
RM
47852012-08-16 Roland McGrath <roland@hack.frob.com>
4786
4787 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4788 on _QL, which is set by umul_ppmm but never used.
4789 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4790 variables, which are set by GMP macros but never used.
4791 * stdio-common/_itowa.c (_itowa): Likewise.
4792 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4793 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4794
30f69637
CD
47952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4796
4797 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4798 struct La_sh_regs is not constant.
4799 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4800 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4801 and struct La_sparc64_regs are not constant.
4802
93a78ac4
JM
48032012-08-16 Joseph Myers <joseph@codesourcery.com>
4804
4805 * sysdeps/unix/sysv/linux/kernel-features.h
4806 (__ASSUME_POSIX_TIMERS): Remove.
4807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4809 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4810 Make code unconditional.
4811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4812 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4813 Make code unconditional.
4814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4815 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4816 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4818 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4819 Make code unconditional.
4820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4821 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4822 (__libc_missing_posix_timers): Remove.
4823
dd924cd7
RM
48242012-08-15 Roland McGrath <roland@hack.frob.com>
4825
4b4f2771
RM
4826 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4827 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4828
601c888b
RM
4829 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4830
176790a7
RM
4831 * elf/dl-sym.c: Include <stdlib.h>.
4832
329bc018
RM
4833 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4834 constants, which avoids warnings in 32-bit builds.
4835
e04e272d
RM
4836 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4837 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4838
952bf94a
RM
4839 * misc/lseek.c: File moved to ...
4840 * io/lseek.c: ... here.
4841
7c99b50a
RM
4842 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4843
dd924cd7
RM
4844 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4845 shifting LEN more than 31 bits at once.
4846
b3f479a8
LD
48472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4848
4849 [BZ #14195]
8c4ae0d4
RM
4850 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4851 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4852 * string/test-strncasecmp.c (check1): Renamed to...
4853 (bz12205): ...this.
4854 (bz14195): Add new testcase for two empty input strings and N > 0.
4855 (test_main): Call new testcase, adapt for renamed function.
4856
9c55864e
AJ
48572012-08-15 Andreas Jaeger <aj@suse.de>
4858
4859 [BZ #14090]
4860 * crypt/md5test2.c: New test, based on test supplied by Serge
4861 Belyshev <belyshev@depni.sinp.msu.ru>.
4862 * crypt/Makefile (xtests): Add md5test-giant..
4863 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4864
02dcb6c5
PE
48652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4866
4867 [BZ #14090]
4868 * crypt/md5.c (md5_process_block): Don't assume the buffer
4869 length is less than 2**32.
4870 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4871 length is less than 2**64.
4872
a3f95dcc
RM
48732012-08-15 Roland McGrath <roland@hack.frob.com>
4874
be75d758
RM
4875 * string/str-two-way.h: Include <sys/param.h>.
4876 (MAX): Macro removed.
4877
7312ca90
RM
4878 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4879 Move #define and #undef of memmove to just before and after
4880 including <string.h>.
4881
9a0a5486
RM
4882 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4883 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4884 and after including <string.h>. Move declarations of
4885 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4886 to before #include "string/memmove.c".
4887
67cc348d
RM
4888 * include/dirent.h: Declare __getdirentries.
4889
a3f95dcc
RM
4890 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4891 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4892
ca98e171
MF
48932012-08-14 Mike Frysinger <vapier@gentoo.org>
4894
4895 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4896 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4897 * sysdeps/i386/configure: Regenerated.
4898 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4899 STABS_CURRENT_FILE, and STABS_FUN.
4900 (END): Remove call to STABS_FUN_END.
4901 (STABS_CURRENT_FILE1): Delete.
4902 (STABS_CURRENT_FILE): Likewise.
4903 (STABS_FUN): Likewise.
4904 (STABS_FUN_END): Likewise.
4905 (STABS_FUN2): Likewise.
4906 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4907 * sysdeps/x86_64/configure: Regenerated.
4908
5908bf46
RM
49092012-08-14 Roland McGrath <roland@hack.frob.com>
4910
4911 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4912 * elf/dl-lookup.c: Likewise.
5908bf46 4913
f2c05b9e
JM
49142012-08-14 Joseph Myers <joseph@codesourcery.com>
4915
4916 * sysdeps/unix/sysv/linux/kernel-features.h
4917 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4918 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4919 unconditionally.
4920 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4921 unconditionally.
4922 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4923 condition on __ASSUME_CLONE_THREAD_FLAGS.
4924
e11f5155
AJ
49252012-08-14 Andreas Jaeger <aj@suse.de>
4926
4927 * sysdeps/i386/fpu/libm-test-ulps: Update.
4928
51a9ba86
MK
49292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4930
2fdd4f78
AJ
4931 * include/atomic.h (atomic_exchange_and_add): Split into ...
4932 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4933 New atomic macros.
51a9ba86 4934
ba6cba9e
MT
49352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4936
4937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4938
42443a47
JL
49392012-08-13 Jeff Law <law@redhat.com>
4940
4941 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4942 null byte in the output string.
4943
121dce05
JM
49442012-08-10 Joseph Myers <joseph@codesourcery.com>
4945
4946 * sysdeps/unix/sysv/linux/kernel-features.h
4947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4948 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4949 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4950 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4951 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4952 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4953 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4954
bf51f568
JL
49552012-08-09 Jeff Law <law@redhat.com>
4956
4957 [BZ #13939]
4958 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4959 When avoid_arena is set, don't retry in the that arena. Pick the
4960 next one, whatever it might be.
4961 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4962 (arena_lock): Pass in new parameter to arena_get2.
4963 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4964 arena_get2.
4965 (__libc_malloc): Unify retrying after main arena failure with
4966 __libc_memalign version.
4967 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4968
f85fa270
L
49692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4970
4971 [BZ #14166]
4972 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4973 to __redirect_strstr.
4974 (__strstr_sse42): Use typeof __redirect_strstr.
4975 (__strstr_ia32): Likewise.
4976 (__libc_strstr): New prototype.
4977 (strstr): Renamed to ...
4978 (__libc_strstr): This.
4979 (strstr): New strong alias of __libc_strstr.
4980 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4981 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4982 __redirect_time.
4983 Include <time.h>.
4984 (__libc_time): New prototype.
4985 (time_ifunc): Replace time with __libc_time.
4986 (time): New strong alias and hidden definition of __libc_time.
4987 (__GI_time): Remove strong alias.
4988 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4989 Include <stddef.h>.
4990 (memmove): Redefined to __redirect_memmove.
4991 (__memmove_sse2): Use typeof __redirect_memmove.
4992 (__memmove_ssse3): Likewise.
4993 (__memmove_ssse3_back): Likewise.
4994 (__libc_memmove): New prototype.
4995 (memmove): Renamed to ...
4996 (__libc_memmove): This.
4997 (memmove): New strong alias of __libc_memmove.
4998
33b4a91e
MS
49992012-08-08 Mark Salter <msalter@redhat.com>
5000
5001 * elf/elf.h
5002 (R_MN10300_TLS_GD): Define.
5003 (R_MN10300_TLS_LD): Likewise.
5004 (R_MN10300_TLS_LDO): Likewise.
5005 (R_MN10300_TLS_GOTIE): Likewise.
5006 (R_MN10300_TLS_IE): Likewise.
5007 (R_MN10300_TLS_LE): Likewise.
5008 (R_MN10300_TLS_DTPMOD): Likewise.
5009 (R_MN10300_TLS_DTPOFF): Likewise.
5010 (R_MN10300_TLS_TPOFF): Likewise.
5011 (R_MN10300_SYM_DIFF): Likewise.
5012 (R_MN10300_ALIGN): Likewise.
5013 (R_MN10300_NUM): Update.
5014
b36137f1
JM
50152012-08-08 Joseph Myers <joseph@codesourcery.com>
5016
5017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5018 Remove.
5019
cdd915fd
RM
50202012-08-08 Roland McGrath <roland@hack.frob.com>
5021
a2433aac
RM
5022 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5023
cdd915fd
RM
5024 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5025 sysdeps/unix -> sysdeps/posix move.
5026 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5027
bf9b740a
AM
50282012-08-07 Allan McRae <allan@archlinux.org>
5029
5030 [BZ #14303]
5031 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5032 (SUNOS_CPP): Likewise.
5033 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5034 not found.
5035 (open_input): Call CPP using execvp.
5036
93df14ee
JM
50372012-08-07 Joseph Myers <joseph@codesourcery.com>
5038
5039 * sysdeps/unix/sysv/linux/kernel-features.h
5040 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5041 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5042 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5043 (__ASSUME_WAITID_SYSCALL): Likewise.
5044 * sysdeps/unix/sysv/linux/dl-execstack.c
5045 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5046 code unconditional.
5047 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5048 conditional code.
5049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5050 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5051 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5052 code.
5053 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5054 unconditional.
5055 [__ASSUME_WAITID_SYSCALL]: Likewise.
5056 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5057
d34689de
RM
50582012-08-07 Roland McGrath <roland@hack.frob.com>
5059
a281decc
RM
5060 * sysdeps/unix/closedir.c: Renamed to ...
5061 * sysdeps/posix/closedir.c: ... here.
5062 * sysdeps/unix/dirfd.c: Renamed to ...
5063 * sysdeps/posix/dirfd.c: ... here.
5064 * sysdeps/unix/dirstream.h: Renamed to ...
5065 * sysdeps/posix/dirstream.h: ... here.
5066 * sysdeps/unix/fdopendir.c: Renamed to ...
5067 * sysdeps/posix/fdopendir.c: ... here.
5068 * sysdeps/unix/opendir.c: Renamed to ...
5069 * sysdeps/posix/opendir.c: ... here.
5070 * sysdeps/unix/readdir.c: Renamed to ...
5071 * sysdeps/posix/readdir.c: ... here.
5072 * sysdeps/unix/readdir_r.c: Renamed to ...
5073 * sysdeps/posix/readdir_r.c: ... here.
5074 * sysdeps/unix/rewinddir.c: Renamed to ...
5075 * sysdeps/posix/rewinddir.c: ... here.
5076 * sysdeps/unix/seekdir.c: Renamed to ...
5077 * sysdeps/posix/seekdir.c: ... here.
5078 * sysdeps/unix/telldir.c: Renamed to ...
5079 * sysdeps/posix/telldir.c: ... here.
5080 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5081 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5083 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5084
22895b47
RM
5085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5086 * bits/fcntl.h: ... here.
5087
707a53b6
RM
5088 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5089 not 0.
5090 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5091 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5092 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5093 (struct flock): Move l_start, l_len to the beginning.
5094 Use __pid_t for l_pid.
5095 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5096 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5097 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5098 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5099 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5100 [__USE_LARGEFILE64] (struct flock64): New type.
5101 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5102
f0bd3e25
RM
5103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5104 * bits/dirent.h: ... here.
5105
d34689de
RM
5106 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5107 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5108
6dad2c06
JM
51092012-08-07 Joseph Myers <joseph@codesourcery.com>
5110
5111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5112 Change from 2.6.0 to 2.6.16.
5113 * sysdeps/unix/sysv/linux/configure: Regenerated.
5114 * sysdeps/unix/sysv/linux/kernel-features.h
5115 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5116 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5117 version.
5118 (__ASSUME_UTIMES): Likewise.
5119 (__ASSUME_CLONE_STOPPED): Remove.
5120 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5121 architectures, not kernel version.
5122 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5123 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5124 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5125 (__ASSUME_WAITID_SYSCALL): Likewise.
5126 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5127 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5128 * README: State 2.6.16 as minimum Linux kernel version. Do not
5129 refer to older versions.
5130
03af9520
RM
51312012-08-06 Roland McGrath <roland@hack.frob.com>
5132
8e49df1d
RM
5133 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5134 Define alphasort64 as an alias.
5135 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5136 Define versionsort64 as an alias.
5137 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5138 Define scandir64 as an alias.
5139 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5140 Define scandirat64 as an alias.
5141 * dirent/alphasort64.c (alphasort64):
5142 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5143 * dirent/versionsort64.c: Likewise.
5144 * dirent/scandir64.c: Likewise.
5145 * dirent/scandirat64.c: Likewise.
5146 * sysdeps/wordsize-64/alphasort.c: File removed.
5147 * sysdeps/wordsize-64/alphasort64.c: File removed.
5148 * sysdeps/wordsize-64/scandir.c: File removed.
5149 * sysdeps/wordsize-64/scandir64.c: File removed.
5150 * sysdeps/wordsize-64/scandirat.c: File removed.
5151 * sysdeps/wordsize-64/scandirat64.c: File removed.
5152 * sysdeps/wordsize-64/versionsort.c: File removed.
5153 * sysdeps/wordsize-64/versionsort64.c: File removed.
5154 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5155 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5156 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5157 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5158 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5159 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5161 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5162
5163 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5165 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5167 [defined __arch64__ || defined __sparcv9]
5168 (__INO_T_MATCHES_INO64_T): New macro.
5169 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5170 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5171 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5172 * sysdeps/unix/sysv/linux/bits/dirent.h
5173 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5174 (_DIRENT_MATCHES_DIRENT64): New macro.
5175
03af9520
RM
5176 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5177 Define lockf64 as an alias.
5178 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5179 Define fseeko64 as an alias.
5180 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5181 Define ftello64 as an alias.
5182 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5183 Define _IO_fgetpos64 and fgetpos64 as aliases.
5184 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5185 Define _IO_fsetpos64 and fsetpos64 as aliases.
5186 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5187 Conditionalize body on this.
5188 * libio/fseeko64.c: Likewise.
5189 * libio/ftello64.c: Likewise.
5190 * libio/iofgetpos64.c: Likewise.
5191 * libio/iofsetpos64.c: Likewise.
5192 * sysdeps/wordsize-64/lockf.c: File removed.
5193 * sysdeps/wordsize-64/lockf64.c: File removed.
5194 * sysdeps/wordsize-64/fseeko.c: File removed.
5195 * sysdeps/wordsize-64/fseeko64.c: File removed.
5196 * sysdeps/wordsize-64/ftello.c: File removed.
5197 * sysdeps/wordsize-64/ftello64.c: File removed.
5198 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5199 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5200 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5201 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5203 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5205 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5207 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5211 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5212
5213 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5215 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5217 [defined __arch64__ || defined __sparcv9]
5218 (__OFF_T_MATCHES_OFF64_T): New macro.
5219 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5220 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5222 (__OFF_T_MATCHES_OFF64_T): New macro.
5223
c5757acd
L
52242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5225
5226 * stdlib/secure-getenv.c (__secure_getenv): Replace
5227 GLIBC_2_16 with GLIBC_2_17.
5228
3a31811e
L
52292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5233
faa2bccb
DM
52342012-08-03 David S. Miller <davem@davemloft.net>
5235
5236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5237
85fe1997
JM
52382012-08-03 Joseph Myers <joseph@codesourcery.com>
5239
5240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5241 Remove.
5242 (__ASSUME_CORRECT_SI_PID): Likewise.
5243 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5244 (__ASSUME_TMPFS_NAME): Likewise.
5245 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5246 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5247 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5248 (HAVE_AUX_SECURE): Make definition unconditional.
5249 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5250 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5251
4f75b7a0
RM
52522012-08-03 Roland McGrath <roland@hack.frob.com>
5253
5254 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5255 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5256 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5258 __eloop_threshold instead of SYMLOOP_MAX.
5259
5260 * sysdeps/generic/eloop-threshold.h: New file.
5261 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5262 of MAXSYMLINKS.
5263 * elf/chroot_canon.c (chroot_canon): Likewise.
5264
7aab07e4
JM
52652012-08-03 Joseph Myers <joseph@codesourcery.com>
5266
5267 [BZ #13717]
5268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5269 Change to 2.6.0 everywhere.
5270 * sysdeps/unix/sysv/linux/configure: Regenerated.
5271 * sysdeps/unix/sysv/linux/kernel-features.h
5272 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5273 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5274 kernel versions.
5275 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5276 (__ASSUME_FUTEX_REQUEUE): Remove.
5277 (__ASSUME_STATFS64): Define unconditionally.
5278 (__ASSUME_AT_SECURE): Likewise.
5279 (__ASSUME_CORRECT_SI_PID): Likewise.
5280 (__ASSUME_TGKILL): Define without depending on kernel version for
5281 i386.
5282 (__ASSUME_UTIMES): Likewise.
5283 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5284 kernel version.
5285 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5286 (__ASSUME_TMPFS_NAME): Likewise.
5287 * README: Update reference to Linux kernel versions.
5288
b67e9372
MP
52892012-08-02 Marek Polacek <polacek@redhat.com>
5290
1f529f7d 5291 [BZ# 14150]
b67e9372
MP
5292 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5293 libc_cv_asm_type_prefix with %.
5294 * configure: Regenerated.
d2441631
RM
5295 * include/libc-symbols.h: Remove comment about
5296 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5297 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5298 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5299 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5300 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5301 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5302 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5303 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5304 * elf/tst-unique2mod1.c: Likewise.
5305 * elf/tst-unique1mod2.c: Likewise.
5306 * elf/tst-unique1mod1.c: Likewise.
5307 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5308 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5309 Replace ASM_TYPE_DIRECTIVE with .type.
5310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5311 * sysdeps/i386/sysdep.h: Likewise.
5312 * sysdeps/x86_64/sysdep.h: Likewise.
5313 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5315 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5316 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5317 * sysdeps/powerpc/powerpc32/sysdep.h:
5318 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5319 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5320 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5321 * sysdeps/i386/fpu/e_powf.S: Likewise.
5322 * sysdeps/i386/fpu/e_expl.S: Likewise.
5323 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5325 * sysdeps/i386/fpu/e_pow.S: Likewise.
5326 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5327 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5328 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5329 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5330 * sysdeps/i386/fpu/e_log2.S: Likewise.
5331 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5332 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5333 * sysdeps/i386/fpu/e_powl.S: Likewise.
5334 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5335 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5336 * sysdeps/i386/fpu/e_logl.S: Likewise.
5337 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5338 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5339 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5340 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5341 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5342 * sysdeps/i386/fpu/e_log.S: Likewise.
5343 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5344 * sysdeps/i386/fpu/e_logf.S: Likewise.
5345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5346 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5347 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5348 * sysdeps/i386/fpu/e_log10.S: Likewise.
5349 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5350 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5351 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5352 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5353 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5354 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5355 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5356 * sysdeps/i386/i686/strtok.S: Likewise.
5357 * sysdeps/i386/i386-mcount.S: Likewise.
5358 * sysdeps/i386/strtok.S: Likewise.
5359 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5361 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5362 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5363 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5364 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5365 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5366 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5367 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5368 * sysdeps/x86_64/_mcount.S: Likewise.
5369 * sysdeps/x86_64/strtok.S: Likewise.
5370 * sysdeps/sh/_mcount.S: Likewise.
5371
2747bf9a
RM
53722012-08-01 Roland McGrath <roland@hack.frob.com>
5373
5374 * libio/iofopen.c: Include <fcntl.h>.
5375 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5376 (_IO_fopen64, fopen64): Define as aliases.
5377 * libio/iofopen64.c: Include <fcntl.h>.
5378 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5379 Conditionalize body on this.
5380 * sysdeps/wordsize-64/iofopen.c: File removed.
5381 * sysdeps/wordsize-64/iofopen64.c: File removed.
5382
3fb791b8
MP
53832012-08-01 Marek Polacek <polacek@redhat.com>
5384
5385 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5386 Use dlfcn directly instead of a variable.
5387 (binfmt-subdir): Do not define.
5388 (dlfcn): Likewise.
5389
a9f1039f
JM
53902012-08-01 Joseph Myers <joseph@codesourcery.com>
5391
23bddc06
JM
5392 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5393 Remove all definitions.
5394 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5395 <kernel-features.h>.
5396 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5397 (miss_F_GETOWN_EX): Remove all definitions.
5398 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5399 macro definition.
5400 [!__ASSUME_FCNTL64]: Remove conditional code.
5401 [__ASSUME_FCNTL64]: Make code unconditional.
5402 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5403 <kernel-features.h>.
5404 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5405 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5406 (lockf64) [__NR_fcntl64]: Make code unconditional.
5407 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5408
a9f1039f
JM
5409 * sysdeps/unix/sysv/linux/kernel-features.h
5410 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5411 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5412 Make code unconditional.
5413 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5414 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5416 [__NR_vfork]: Make code unconditional.
5417 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5418 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5420 [__NR_vfork]: Make code unconditional.
5421 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5422 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5423
09c0ee5f
RM
54242012-08-01 Roland McGrath <roland@hack.frob.com>
5425
48aec5b9
RM
5426 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5427 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5428
cd97c966
RM
5429 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5430 Define mkstemp64 as an alias.
3f55550c
RM
5431 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5432 Define mkstemps64 as an alias.
cd97c966
RM
5433 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5434 Define mkostemp64 as an alias.
b8625cfc
RM
5435 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5436 Define mkostemps64 as an alias.
cd97c966
RM
5437 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5438 Conditionalize body on this.
5439 * misc/mkostemp64.c: Likewise.
b8625cfc 5440 * misc/mkostemps64.c: Likewise.
3f55550c 5441 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5442 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5443 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5444 * sysdeps/wordsize-64/mkostemp.c: File removed.
5445 * sysdeps/wordsize-64/mkstemp.c: File removed.
5446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5448 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5449 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5450
09c0ee5f
RM
5451 [BZ #14138]
5452 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5453 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5454 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5455 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5456
5457 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5458 compat_symbol macros from <shlib-compat.h> rather than the underlying
5459 default_symbol_version and symbol_version macros, so that DEFAULT
5460 lines in shlib-versions are respected.
5461 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5462
7e66ee51
FW
54632012-08-01 Florian Weimer <fweimer@redhat.com>
5464
5465 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5466 Declare with warn_unused_result.
5467 (setgid, setregid, setegid, setresgid): Likewise.
5468 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5469 Likewise.
5470 * WUR-REPORT: Remove set*id functions.
5471
d2a54255
PT
54722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5473
5474 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5475
7ecdb005
RM
54762012-07-31 Roland McGrath <roland@hack.frob.com>
5477
789bd351
RM
5478 * include/sys/socket.h (__libc_accept, __libc_accept4):
5479 Add attribute_hidden.
5480 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5481
40ce302d
RM
5482 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5483 use of PTR_MANGLE.
5484 * inet/getnetgrent_r.c (setup): Likewise.
5485
7ecdb005
RM
5486 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5487
e2eabb2c
DM
54882012-07-31 David S. Miller <davem@davemloft.net>
5489
5490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5491
d0419dbf
JM
54922012-07-31 Joseph Myers <joseph@codesourcery.com>
5493
5494 [BZ #13629]
5495 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5496 value between 1.0 and 2.0 and smaller part has absolute value less
5497 than 1.0.
5498 * math/s_clog10.c (__clog10): Likewise.
5499 * math/s_clog10f.c (__clog10f): Likewise.
5500 * math/s_clog10l.c (__clog10l): Likewise.
5501 * math/s_clogf.c (__clogf): Likewise.
5502 * math/s_clogl.c (__clogl): Likewise.
5503 * math/libm-test.inc (clog_test): Add more tests.
5504 (clog10_test): Likewise.
5505 * sysdeps/i386/fpu/libm-test-ulps: Update.
5506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5507
2bc13872
FW
55082012-07-31 Florian Weimer <fweimer@redhat.com>
5509
5510 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5511 Exit with zero in case no suitable GID is found, and write a
5512 message to standard error.
5513
bea9b193
RM
55142012-07-30 Roland McGrath <roland@hack.frob.com>
5515
5516 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5517 rather than to 1.
5518 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5519 (MAXPATHLEN): Removed.
5520 (NOGROUP, NODEV): New macros.
5521 (setbit, clrbit, isset, isclr): New macros.
5522 (howmany, roundup, powerof2): New macros.
5523 (DEV_BSIZE): New macro.
5524
5525 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5526 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5527
5528 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5529 definition on [!__NO_LONG_DOUBLE_MATH].
5530
5531 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5532 PTR_MANGLE and PTR_DEMANGLE.
5533
5534 * socket/accept4.c (accept4): Rename to __libc_accept4.
5535 Define accept4 as a weak alias.
5536
5537 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5538 on [_DIRENT_HAVE_D_TYPE].
5539 * io/ftw.c (ftw_dir): Likewise.
5540
5541 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5542
5543 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5544
5545 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5546 Use the BSD numbers rather than the arbitrary ones we had.
5547 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5548 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5549 (SIGXCPU, SIGXFSZ): New macros.
5550 (_NSIG): Now 32.
5551
5552 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5553 initializer on [_LIBC_REENTRANT].
5554
5555 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5556 definitions inside [_POSIX_MAPPED_FILES].
5557
5558 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5559
5560 * dirent/opendir.c: Include <fcntl.h>.
5561
5562 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5563 (__libc_getspecific): Likewise.
5564 (__libc_key_create): Likewise.
5565
5566 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5567 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5568 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5569 (tmpfile64): Define as alias.
5570 * sysdeps/wordsize-64/tmpfile.c: File removed.
5571 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5572 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5574
5575 * stdio-common/vfscanf.c: Include <stdbool.h>.
5576 * nss/makedb.c: Likewise.
5577 * stdio-common/_i18n_number.h: Likewise.
5578 * argp/argp-help.c: Likewise.
5579 * posix/wordexp.c: Likewise.
5580 * sysdeps/posix/spawni.c: Likewise.
5581 * nss/nss_files/files-initgroups.c: Likewise.
5582 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5583 * nss/nss_files/files-initgroups.c: Likewise.
5584 * nss/nss_db/db-netgrp.c: Likewise.
5585 * nss/nss_db/db-initgroups.c: Likewise.
5586 * io/fchmodat.c: Include <sys/stat.h>.
5587
5588 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5589 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5590
5591 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5592 [HAVE_MMAP].
5593
5594 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5595 Add multiple inclusion protection.
5596
e5abc686
DM
55972012-07-27 David S. Miller <davem@davemloft.net>
5598
5599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5600
815e6fa3
GB
56012012-07-27 Gary Benson <gbenson@redhat.com>
5602
5603 [BZ #14298]
5604 * elf/rtld.c: Include <stap-probe.h>.
5605 (dl_main): Added static probes "init_start" and "init_complete".
5606 * elf/dl-load.c: Include <stap-probe.h>.
5607 (lose): Take new parameter "nsid".
5608 Added static probe "map_failed".
5609 (_dl_map_object_from_fd): Pass namespace id to lose.
5610 Added static probe "map_start".
5611 (open_verify): Pass namespace id to lose.
5612 * elf/dl-open.c: Include <stap-probe.h>.
5613 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5614 and "reloc_complete".
5615 * elf/dl-close.c: Include <stap-probe.h>.
5616 (_dl_close_worker): Added static probes "unmap_start" and
5617 "unmap_complete".
5618 * elf/rtld-debugger-interface.txt: New file documenting the above.
5619
9f98c16c
RM
56202012-07-26 Roland McGrath <roland@hack.frob.com>
5621
5622 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5623 rather than a string variable.
5624 * sunrpc/rpc_main.c (h_output): Likewise.
5625 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5626
f3c22df3
PT
56272012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5628
5629 * inet/check_native.c: New file.
5630
3129cfc6
JM
56312012-07-26 Joseph Myers <joseph@codesourcery.com>
5632
da865e95
JM
5633 [BZ #13629]
5634 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5635 if larger part has absolute value 1.0.
5636 * math/s_clog10.c (__clog10): Likewise.
5637 * math/s_clog10f.c (__clog10f): Likewise.
5638 * math/s_clog10l.c (__clog10l): Likewise.
5639 * math/s_clogf.c (__clogf): Likewise.
5640 * math/s_clogl.c (__clogl): Likewise.
5641 * math/libm-test.inc (clog_test): Add more tests.
5642 (clog10_test): Likewise.
5643 * sysdeps/i386/fpu/libm-test-ulps: Update.
5644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645
3129cfc6
JM
5646 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5647 (pltexit): Likewise.
5648 (La_regs): Likewise.
5649 (La_retval): Likewise.
5650 (int_retval): Likewise.
5651 Update #error for removed macros to refer only to definitions in
5652 tst-audit.h.
5653 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5654 macro.
5655 (pltexit): Likewise.
5656 (La_regs): Likewise.
5657 (La_retval): Likewise.
5658 (int_retval): Likewise.
5659 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5660 macro.
5661 (pltexit): Likewise.
5662 (La_regs): Likewise.
5663 (La_retval): Likewise.
5664 (int_retval): Likewise.
5665 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5666 macro.
5667 (pltexit): Likewise.
5668 (La_regs): Likewise.
5669 (La_retval): Likewise.
5670 (int_retval): Likewise.
5671 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5672 macro.
5673 (pltexit): Likewise.
5674 (La_regs): Likewise.
5675 (La_retval): Likewise.
5676 (int_retval): Likewise.
5677 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5678 macro.
5679 (pltexit): Likewise.
5680 (La_regs): Likewise.
5681 (La_retval): Likewise.
5682 (int_retval): Likewise.
5683 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5684 macro.
5685 (pltexit): Likewise.
5686 (La_regs): Likewise.
5687 (La_retval): Likewise.
5688 (int_retval): Likewise.
5689 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5690 macro definitions in tst-audit.h.
5691 * sysdeps/i386/tst-audit.h: New file.
5692 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5693 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5694 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5695 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5696 * sysdeps/sh/tst-audit.h: Likewise.
5697 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5698 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5699 * sysdeps/x86_64/tst-audit.h: Likewise.
5700
bfc07087
AJ
57012012-07-26 Andreas Jaeger <aj@suse.de>
5702
b1b2aaf8
AJ
5703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5704 ptrace.
5705
5706 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5707 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5708 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5709 PTRACE_O_MASK.
5710 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5713
bfc07087
AJ
5714 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5715 value.
5716
5717 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5718 _sigsys.
5719 (si_call_addr, si_syscall, si_arch): Define new macro.
5720 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5721 _sigsys.
5722 (si_call_addr, si_syscall, si_arch): Define new marcro.
5723 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5724 _sigsys.
5725 (si_call_addr, si_syscall, si_arch): Define new macro.
5726 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5727 _sigsys.
5728 (si_call_addr, si_syscall, si_arch): Define new macro.
5729
89b4b02f
JM
57302012-07-25 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #13717]
5733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5734 Change to 2.4.21 where previously 2.4.1.
5735 * sysdeps/unix/sysv/linux/configure: Regenerated.
5736 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5737 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5738 Linux kernel version.
5739 (__ASSUME_STD_AUXV): Remove.
5740 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5741 kernel version.
5742 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5743 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5744 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5745 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5746 (__ASSUME_NETLINK_SUPPORT): Likewise.
5747 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5748 (__no_netlink_support): Remove conditional definition.
5749 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5750 Remove.
5751 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5752 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5753 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5754 (if_nameindex_ioctl): Remove.
5755 (if_nameindex_netlink): Do not handle __no_netlink_support.
5756 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5757 code.
5758 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5759 Remove conditional code.
5760 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5761 code.
5762 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5763 unconditional.
5764 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5765 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5766 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5767 Remove.
5768 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5769 [!__ASSUME_STD_AUXV]: Remove conditional code.
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5771 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5772 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5774 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5775 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5776 code.
5777 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5779 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5780 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5781 conditional code.
5782 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5784 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5785 code.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5787 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5788 conditional code.
5789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5790 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5791 code unconditional.
5792 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5793 conditional code.
5794 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5795 unconditional.
5796 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5797 conditional code.
5798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5799 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5800 unconditional.
5801 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5802 conditional code.
5803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5804 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5805 code unconditional.
5806 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5807 conditional code.
5808 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5809 unconditional.
5810 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5811 conditional code.
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5813 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5814 code unconditional.
5815 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5816 conditional code.
5817 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5818 unconditional.
5819 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5820 conditional code.
5821
842a39cd
AS
58222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5823
5824 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5825 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5826 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5827 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5828 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5829 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5830 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5831 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5832 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5833 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5834 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5835 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5836 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5837 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5838 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5839 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5840 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5842 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5843 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5844 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5845 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5846 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5847
84b3fd84
FW
58482012-07-25 Florian Weimer <fweimer@redhat.com>
5849
5850 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5851 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5852 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5853 Introduce __libc_secure_getenv.
0c7936d5
FW
5854 * stdlib/Versions (2.17): Add secure_getenv
5855 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5856 * stdlib/secure-getenv.c: Rename __secure_getenv to
5857 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5858 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5859 * stdlib/tst-secure-getenv.c: New.
5860 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5861 * manual/startup.texi (Environment Access): Document
5862 secure_getenv.
84b3fd84
FW
5863 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5864 __libc_secure_getenv.
5865 * inet/ruserpass.c (ruserpass): Likewise.
5866 * malloc/mtrace.c (mtrace): Likewise.
5867 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5868 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5869 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5870 * sysdeps/posix/tempname.c: Likewise. Evaluate
5871 HAVE_SECURE_GETENV.
5872 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5873 __secure_getenv to __libc_secure_getenv.
84b3fd84 5874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5876 Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5878 Likewise.
5879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5881 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5886
56e49b71
JM
58872012-07-25 Joseph Myers <joseph@codesourcery.com>
5888
5889 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5890 (struct La_i86_retval): Likewise.
5891 (struct La_x86_64_regs): Likewise.
5892 (struct La_x86_64_retval): Likewise.
5893 (struct La_x32_regs): Likewise.
5894 (struct La_x32_retval): Likewise.
5895 (struct La_ppc32_regs): Likewise.
5896 (struct La_ppc32_retval): Likewise.
5897 (struct La_ppc64_regs): Likewise.
5898 (struct La_ppc64_retval): Likewise.
5899 (struct La_sh_regs): Likewise.
5900 (struct La_sh_retval): Likewise.
5901 (struct La_s390_32_regs): Likewise.
5902 (struct La_s390_32_retval): Likewise.
5903 (struct La_s390_64_regs): Likewise.
5904 (struct La_s390_64_retval): Likewise.
5905 (struct La_sparc32_regs): Likewise.
5906 (struct La_sparc32_retval): Likewise.
5907 (struct La_sparc64_regs): Likewise.
5908 (struct La_sparc64_retval): Likewise.
5909 (struct audit_ifaces): Remove architecture-specific pltenter and
5910 pltexit members.
5911 * sysdeps/i386/ldsodefs.h: New file.
5912 * sysdeps/powerpc/ldsodefs.h: Likewise.
5913 * sysdeps/s390/ldsodefs.h: Likewise.
5914 * sysdeps/sh/ldsodefs.h: Likewise.
5915 * sysdeps/sparc/ldsodefs.h: Likewise.
5916 * sysdeps/x86_64/ldsodefs.h: Likewise.
5917
354691b7
MP
59182012-07-25 Marek Polacek <polacek@redhat.com>
5919
5920 [BZ #6808]
5921 * math/libm-test.inc (yn_test): Add another test.
5922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5923 to ERANGE when the result is +-Inf.
5924 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5925 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5926 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5927 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5928
bf9e2071
JM
59292012-07-24 Joseph Myers <joseph@codesourcery.com>
5930
5931 * conform/data/time.h-data (NULL): Use macro-constant. Require
5932 equal to 0.
5933 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5934 clock_t.
5935 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5936
57633811
TS
59372012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5938
5939 * configure.in <sysdeps resolving>: Correct printing
5940 Implies_before.
5941 * configure: Regenerate.
5942
c23c33b0
TS
59432012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5944
5945 * math/w_ilogb.c: Include <limits.h>.
5946 * math/w_ilogbl.c: Likewise.
5947
b5982523
JM
59482012-07-20 Joseph Myers <joseph@codesourcery.com>
5949
5950 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5951 va_copy. Document allowing for unavailable va_copy only as
5952 pre-C99 compatibility.
5953 * manual/string.texi (Copying and Concatenation): Use va_copy
5954 instead of __va_copy in concat example.
5955
ac4ea442
PT
59562012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5957
5958 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5959 (__sendto): Use create_address_port. Initialize APORT and deallocate
5960 it if not null.
5961
f98eafbd
PT
5962 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5963 with O_NOLINK passed to __file_name_lookup.
5964
898c7aab
PT
5965 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5966 with O_NOLINK passed to __file_name_lookup.
5967
0ced335a
PT
5968 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5969 negative N or less than NGIDS.
5970
b3404dbd
PT
5971 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5972 type to string_t. Set ERANGE as errno and return it if NAME is not big
5973 enough. Use memcpy instead of strncpy.
5974
0f48659e
JM
59752012-07-20 Joseph Myers <joseph@codesourcery.com>
5976
5977 * elf/Makefile (check-data): Remove.
5978 (localplt.data): New vpath directive.
5979 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5980 instead of $(check-data).
5981 * scripts/data/localplt-generic.data: Move to ...
5982 * sysdeps/generic/localplt.data: ... here.
5983 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5984 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5985 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5987 ... here.
5988 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5990 ... here.
5991 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5993 ... here.
5994 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5996 ... here.
5997 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5999 ... here.
6000 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6002 ... here.
6003
d37cbdaa
AZ
60042012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005
6006 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6007 PPC32 and PPC64 files.
6008 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6009 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6010
46f85fc2
AK
60112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6012
6013 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6014 __makecontext_ret to ...
6015 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6016 ... here and call exit if uc_link is NULL. New file.
6017 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6018 __makecontext_ret.S.
6019 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6020 __makecontext_ret to ...
6021 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6022 ... here and call exit if uc_link is NULL. New file.
6023 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6024 __makecontext_ret.S.
6025
08f43f9b
AK
60262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6027
6028 * elf/elf.h (R_390_IRELATIVE): New definition.
6029 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6030 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6031 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6033 (elf_machine_lazy_rel): Likewise.
6034 * sysdeps/s390/dl-irel.h: New file.
6035 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6036 * sysdeps/s390/s390-64/memset.S: New asm code.
6037 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6038 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6039 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6040 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6041 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6042 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6044 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6045 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6046 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6047 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6048 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6049 * sysdeps/s390/s390-32/memset.S: New asm code.
6050 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6051
3b05db33
MP
60522012-07-17 Marek Polacek <polacek@redhat.com>
6053
6054 [BZ #14349]
6055 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6056 * sysdeps/s390/s390-64/configure.in: Likewise.
6057 * sysdeps/sparc/configure.in: Likewise.
6058 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6059 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6060 * sysdeps/i386/configure.in: Likewise.
6061 * sysdeps/x86_64/configure.in: Likewise.
6062 * sysdeps/sh/configure.in: Likewise.
6063 * sysdeps/s390/s390-32/configure: Regenerated.
6064 * sysdeps/s390/s390-64/configure: Likewise.
6065 * sysdeps/x86_64/configure: Likewise.
6066 * sysdeps/sh/configure: Likewise.
6067 * sysdeps/powerpc/powerpc64/configure: Likewise.
6068 * sysdeps/powerpc/powerpc32/configure: Likewise.
6069 * sysdeps/sparc/configure: Likwise.
6070 * sysdeps/i386/configure: Likewise.
6071
a66877c6
MP
6072 * elf/dl-open.c: Comment fixes.
6073
cfc82fd8
JM
60742012-07-17 Joseph Myers <joseph@codesourcery.com>
6075
bd29910a
JM
6076 * Makefile [CXX] (check-data): Remove.
6077 [CXX] (c++-types.data): New vpath directive.
6078 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6079 vpath. Do not allow for C++ type data being missing.
6080 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6081 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6082 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6083 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6084 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6085 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6086 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6088 ... here.
6089 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6091 ... here.
6092 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6094 ... here.
6095 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6097 ... here.
6098 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6100 ... here.
6101 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6103 ... here.
6104 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6106 ... here.
6107 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6109
cfc82fd8
JM
6110 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6111 definitions to architecture-specific files.
6112 (TLS_IE): Likewise.
6113 (TLS_LD): Likewise.
6114 (TLS_GD): Likewise.
6115 * sysdeps/i386/tls-macros.h: New file.
6116 * sysdeps/powerpc/tls-macros.h: Likewise.
6117 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6118 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6119 * sysdeps/sh/tls-macros.h: Likewise.
6120 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6121 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6122 * sysdeps/x86_64/tls-macros.h: Likewise.
6123
f7db3170
TS
61242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6125
07cbfc23
TS
6126 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6127 zero value for regular exit case.
6128
f7db3170
TS
6129 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6130 (__start_context): Preserve zero value for regular exit case.
6131
dc97c227
TS
61322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6133 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6134
6135 * manual/setjmp.texi (setcontext): Clarify normal process
6136 termination when uc_link is the null pointer.
6137 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6138 exit call.
6139
d0cd7d02
AS
61402012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6141
6142 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6143 preprocessor. Test for each exception mask separately.
6144
dd318934
AJ
61452012-07-16 Andreas Jaeger <aj@suse.de>
6146
6147 * po/ru.po: Update from translation team.
6148
8048311a
JM
61492012-07-15 Joseph Myers <joseph@codesourcery.com>
6150
6151 * conform/data/string.h-data (NULL): Use macro-constant. Require
6152 equal to 0.
6153 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6154 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6155 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6156 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6158
b637d46e
AJ
61592012-07-13 Andreas Jaeger <aj@suse.de>
6160
6161 * po/fr.po: Update from translation team.
6162
541428fe
MP
61632012-07-12 Marek Polacek <polacek@redhat.com>
6164
6165 [BZ #14173]
6166 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6168 loop condition.
6169
ec332e94
JM
61702012-07-12 Joseph Myers <joseph@codesourcery.com>
6171
6172 [BZ #13717]
6173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6174 Change to 2.4.1 where previously 2.4.0.
6175 * sysdeps/unix/sysv/linux/configure: Regenerated.
6176 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6177 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6178 version.
6179 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6180 (__ASSUME_AT_CLKTCK): Remove.
6181 (__ASSUME_AT_PAGESIZE): Likewise.
6182 (__ASSUME_AT_XID): Likewise.
6183 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6184 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6185 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6186 unconditionally.
6187 (HAVE_AUX_PAGESIZE): Likewise.
6188 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6189 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6190 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6191
7b6e99be
JB
61922012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6193
6194 [BZ #14307]
6195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6196 the temporary buffer used to invoke __gethostbyname2_r,
6197 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6198 host_data / struct gaih_addrtuple.
6199 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6200 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6201 header file nss/nsswitch.h.
6202 * nss/nsswitch.h (global scope): Add definition of implementation
6203 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6204 resolv/nss_dns/dns-host.c).
6205
608404eb
AJ
62062012-07-11 Andreas Jaeger <aj@suse.de>
6207
6208 * po/fr.po: Update from translation team.
6209
71220aca
AJ
6210 * po/sv.po: Update from translation team
6211 * po/fr.po: Another update from translation team.
6212
28cfe843
AZ
62132012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214
6215 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6216 for subnormals or multiply small sinh result by itself.
6217 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6219
6b90f981
DM
62202012-07-11 David S. Miller <davem@davemloft.net>
6221
6222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6223
c6825772
AS
62242012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6225
6226 [BZ #14347]
6227 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6228 (INTERNAL_MARK): Shift it here.
6229
7b8e0d49
MP
62302012-07-10 Marek Polacek <polacek@redhat.com>
6231
6232 [BZ #14151]
6233 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6234 libc_cv_asm_global_directive with .globl.
6235 * configure: Regenerated.
6236 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6237 with .globl.
6238 * sysdeps/i386/configure: Regenerated.
6239 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6240 with .globl.
6241 * sysdeps/x86_64/configure: Regenerated.
6242 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6243 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6244 * elf/tst-unique2mod2.c: Likewise.
6245 * elf/tst-unique2mod1.c: Likewise.
6246 * elf/tst-unique1mod2.c: Likewise.
6247 * elf/tst-unique1mod1.c: Likewise.
6248 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6249 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6250 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6251 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6252 * sysdeps/mach/sysdep.h: Likewise.
6253 * sysdeps/i386/sysdep.h: Likewise.
6254 * sysdeps/i386/i386-mcount.S: Likewise.
6255 * sysdeps/x86_64/_mcount.S: Likewise.
6256 * sysdeps/x86_64/sysdep.h: Likewise.
6257 * sysdeps/sh/_mcount.S: Likewise.
6258 * sysdeps/sh/sysdep.h: Likewise.
6259 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6260 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6261 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6262 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6263 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6264 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6265 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6266 * locale/localeinfo.h: Likewise.
6267 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6268 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6269
6c55cda3
RM
62702012-07-09 Roland McGrath <roland@hack.frob.com>
6271
6272 [BZ #14336]
6273 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6274 system".
6275 * manual/message.texi (The Uniforum approach): Likewise.
6276 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6277 (glibc iconv Implementation): Likewise.
6278
638a572e
JM
62792012-07-09 Joseph Myers <joseph@codesourcery.com>
6280
6281 [BZ #14337]
6282 * math/s_clog.c (__clog): Avoid scaling a value down where that
6283 could result in underflow.
6284 * math/s_clog10.c (__clog10): Likewise.
6285 * math/s_clog10f.c (__clog10f): Likewise.
6286 * math/s_clog10l.c (__clog10l): Likewise.
6287 * math/s_clogf.c (__clogf): Likewise.
6288 * math/s_clogl.c (__clogl): Likewise.
6289 * math/libm-test.inc (clog_test): Add more tests.
6290 (clog10_test): Likewise.
6291 * sysdeps/i386/fpu/libm-test-ulps: Update.
6292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6293
261f4859
AS
62942012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6295
0abaf3e4
AS
6296 [BZ #14283]
6297 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6298 by 7 not 8 to examine high bit of fractional part.
6299
261f4859
AS
6300 [BZ #14042]
6301 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6302 for call to __mcount_internal.
6303 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6304 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6305 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6306
f17ac40d
JM
63072012-07-06 Joseph Myers <joseph@codesourcery.com>
6308
9ad63c23
JM
6309 [BZ #14154]
6310 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6311 approximation for values within 0x1p-13f of an odd multiple of
6312 pi/4.
6313 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6314 exception. Add more tests.
6315 * sysdeps/i386/fpu/libm-test-ulps: Update.
6316
f17ac40d
JM
6317 [BZ #6778]
6318 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6319 inputs and return -1 for them. Do not check for +Inf in case not
6320 reachable for +Inf.
6321 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6322 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6324 and return -1 for them. Do not check for +Inf in case not
6325 reachable for +Inf.
6326 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6327 define.
6328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6329 and return -1 for them. Do not check for +Inf in case not
6330 reachable for +Inf.
6331 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6332 spurious underflow.
6333 * sysdeps/i386/fpu/libm-test-ulps: Update.
6334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6335
fb21f89b
MF
63362012-07-06 Mike Frysinger <vapier@gentoo.org>
6337
6338 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6339
cdfe2c5e
JM
63402012-07-05 Joseph Myers <joseph@codesourcery.com>
6341
6342 [BZ #14157]
6343 [BZ #14331]
6344 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6345 could result in spurious underflow. Scale down values above
6346 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6347 * math/s_csqrtf.c (__csqrtf): Likewise.
6348 * math/s_csqrtl.c (__csqrtl): Likewise.
6349 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6350 spurious underflow.
6351 * sysdeps/i386/fpu/libm-test-ulps: Update.
6352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353
70d35b67
AS
63542012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6355
704bc459
AS
6356 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6357 xopen-msg.sed.
6358 * catgets/xopen-msg.awk: New file.
6359 * catgets/xopen-msg.sed: Removed.
6360
70d35b67
AS
6361 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6362 po2text.sed.
6363 * intl/po2test.awk: New file.
6364 * intl/po2test.sed: Removed.
6365
ca61cf32
JM
63662012-07-04 Joseph Myers <joseph@codesourcery.com>
6367
6368 [BZ #14328]
6369 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6370 or multiply small sinh result by itself.
6371 * math/s_ctanf.c (__ctanf): Likewise.
6372 * math/s_ctanh.c (__ctanh): Likewise.
6373 * math/s_ctanhf.c (__ctanhf): Likewise.
6374 * math/s_ctanhl.c (__ctanhl): Likewise.
6375 * math/s_ctanl.c (__ctanl): Likewise.
6376 * math/libm-test.inc (ctan_test_tonearest): New function.
6377 (ctan_test_towardzero): Likewise.
6378 (ctan_test_downward): Likewise.
6379 (ctan_test_upward): Likewise.
6380 (ctanh_test_tonearest): Likewise.
6381 (ctanh_test_towardzero): Likewise.
6382 (ctanh_test_downward): Likewise.
6383 (ctanh_test_upward): Likewise.
6384 (main): Call these new functions.
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6387
ca48a46a
MF
63882012-07-03 Mike Frysinger <vapier@gentoo.org>
6389
6390 * .gitignore: Delete /ports entry.
6391
9d63d37d
AJ
63922012-07-03 Andreas Jaeger <aj@suse.de>
6393
6394 * po/bg.po: Update from translation team.
6395 * po/cs.po: Likewise.
6396 * po/de.po: Likewise.
6397 * po/hr.po: Likewise.
6398 * po/nl.pl: Likewise.
6399 * po/pl.po: Likewise.
6400 * po/vi.po: Likewise.
6401
370ca3d2
JM
64022012-07-03 Joseph Myers <joseph@codesourcery.com>
6403
95f5a9a8
JM
6404 * Makeconfig [!+link] (+link-before-libc): New variable.
6405 [!+link] (+link-after-libc): Likewise.
6406 [!+link] (+link-tests): Likewise.
6407 [!+link] (+link): Define in terms of $(+link-before-libc) and
6408 $(+link-after-libc).
6409 [!+link-static] (+link-static-before-libc): New variable.
6410 [!+link-static] (+link-static-after-libc): Likewise.
6411 [!+link-static] (+link-static-tests): Likewise.
6412 [!+link-static] (+link-static): Define in terms of
6413 $(+link-static-before-libc) and $(+link-static-after-libc).
6414 [build-shared] (link-libc-before-gnulib): New variable.
6415 [build-shared] (link-libc-tests): Likewise.
6416 [build-shared] (link-libc): Define in terms of
6417 $(link-libc-before-gnulib).
6418 [!build-shared] (link-libc-tests): New variable.
6419 (link-libc-static-tests): New variable.
6420 [!gnulib] (gnulib-arch): New variable.
6421 [!gnulib] (gnulib-tests): Likewise.
6422 [!gnulib] (static-gnulib-arch): Likewise.
6423 [!gnulib] (static-gnulib-tests): Likewise.
6424 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6425 Define with "=" instead of ":=".
6426 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6427 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6428 * Rules (binaries-all-notests): New variable.
6429 (binaries-all-tests): Likewise.
6430 (binaries-static-notests): Likewise.
6431 (binaries-static-tests): Likewise.
6432 (binaries-all): Define using $(binaries-all-notests) and
6433 $(binaries-all-tests).
6434 (binaries-static): Define using $(binaries-static-notests) and
6435 $(binaries-static-tests).
6436 (binaries-shared-tests): New variable.
6437 (binaries-shared-notests): Likewise.
6438 (binaries-shared): Remove variable.
6439 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6440 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6441 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6442 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6443 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6444 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6445 * elf/Makefile (sln-modules): New variable.
6446 (extra-objs): Add $(sln-modules:=.o).
6447 (ldconfig-modules): Add static-stubs.
6448 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6449 * elf/static-stubs.c: New file.
6450
7a845b2c
JM
6451 [BZ #14283]
6452 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6453 by 7 not 8 to examine high bit of fractional part. Use volatile
6454 variables when splitting into final array of floats if
6455 __FLT_EVAL_METHOD__ != 0.
6456 * math/libm-test.inc (cos_test): Add another test.
6457 (sin_test): Likewise.
6458 * sysdeps/i386/fpu/libm-test-ulps: Update.
6459
e2283f38
JM
6460 [BZ #14273]
6461 * math/libm-test.inc (cosh_test): Add more tests.
6462
370ca3d2
JM
6463 * version.h (RELEASE): Set to "development".
6464 (VERSION): Set to "2.16.90".
6465
ee9247c3
CD
64662012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6467
6468 * NEWS: Update copyright. Remove last-updated date.
6469 Mention math library bug fixes and timezone data changes.
6470 * README: Mention GNU/Hurd, x32, and HPPA support status.
6471
4648c381
TS
64722012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6473
6474 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6475
aac78a43
AJ
64762012-06-27 Andreas Jaeger <aj@suse.de>
6477
6478 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6479
ed3dbfad
AJ
64802012-06-25 Andreas Jaeger <aj@suse.de>
6481
6482 * sysdeps/s390/fpu/libm-test-ulps: Update.
6483
4d0ee855
AS
64842012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6485 Thomas Schwinge <thomas@codesourcery.com>
6486
6487 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6488 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6490 fanotify_mark.
6491
af1bce34
TS
64922012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6493
a9fa33ba
TS
6494 * sysdeps/mach/start.c: Remove file.
6495 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6496 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6497 * sysdeps/sh/init-first.c: Likewise.
6498
58f902b8
TS
6499 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6500 registers for frame unwinding purposes, add CFI directives.
6501 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6502 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6503 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6504 Likewise.
6505
1518f58b
TS
6506 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6507 __fortify_fail returning.
6508 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6509
db9b5059
TS
6510 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6511 sysdeps/sh/____longjmp_chk.S.
6512 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6513 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6514 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6515 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6516
967705fe
TS
6517 * sysdeps/sh/abort-instr.h: New file.
6518 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6519 process in case exit returns.
6520
a9def8c4
TS
6521 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6522 initialize the GOT register before use.
6523
2a649725
TS
6524 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6525 calculation of ARGC > 4.
6526
af1bce34
TS
6527 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6528 meaningful names to some local labels.
6529
d230f50a
KK
65302012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6531 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6532
6533 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6534 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6535 (__arch_compare_and_exchange_val_16_acq): Likewise.
6536 (__arch_compare_and_exchange_val_32_acq): Likewise.
6537 (atomic_exchange_and_add): Fix gUSA sequence.
6538 (atomic_add): Likewise.
6539 (atomic_add_negative): Likewise.
6540 (atomic_add_zero): Likewise.
6541 (atomic_bit_test_set): Likewise.
6542
0479b305
AS
65432012-06-22 Andreas Schwab <schwab@redhat.com>
6544
6545 [BZ #13579]
6546 * include/link.h (struct link_map): Add l_free_initfini.
6547 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6548 l_initfini.
6549 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6550 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6551 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6552 set.
6553
0e3933b9
CD
65542012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6555
6556 * configure.in: Use AC_LANG_SOURCE.
6557 * configure: Regenerate.
6558
4248b1b1
RM
65592012-06-22 Roland McGrath <roland@hack.frob.com>
6560
6561 * configure.in (libc_cv_localstatedir): New substituted variable.
6562 * configure: Regenerated.
6563 * config.make.in (localstatedir): New variable, substituted from
6564 libc_cv_localstatedir.
6565 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6566 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6567 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6568 * sysdeps/gnu/configure: Regenerated.
6569
006dd861
JL
65702012-06-21 Jeff Law <law@redhat.com>
6571
6572 [BZ #14277]
6573 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6574 free. Simplify list management for _LIBC case.
6575
79662d42
JM
65762012-06-21 Joseph Myers <joseph@codesourcery.com>
6577
b7abb4bf
JM
6578 [BZ #14273]
6579 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6580 Clear sign bit of 64-bit integer value before comparing against
6581 overflow value.
6582
79662d42
JM
6583 * sysdeps/mach/configure: Regenerated.
6584
1f150908
L
65852012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6586
6587 [BZ #14278]
6588 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6589
28363bbf
JL
65902012-06-21 Jeff Law <law@redhat.com>
6591
6592 [BZ #13882]
6593 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6594 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6595 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6596 * elf/dl-open.c (dl_open_worker): Likewise.
6597
09615db4
CD
65982012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6599
6600 * scripts/list-sources.sh: Scan PORTS for translations.
6601 * po/libc.pot: Regenerated.
6602
2174c6dd
AJ
66032012-06-21 Andreas Jaeger <aj@suse.de>
6604
6605 [BZ #12194]
6606 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6607 warning.
6608 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6609 * bits/byteswap-16.h (__bswap_16): Likewise.
6610 * bits/byteswap.h (__bswap_constant_16): Likewise.
6611
3ee947b1
L
66122012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6613
6614 [BZ #14117]
a2f34833
L
6615 * sysdeps/i386/fpu_control.h: Removed.
6616 * sysdeps/x86_64/fpu_control.h: Moved to ...
6617 * sysdeps/x86/fpu_control.h: Here.
6618
3ee947b1
L
6619 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6620 (_FPU_SETCW): Likewise.
6621
ed1825f8
L
66222012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6623
25f1282a
L
6624 [BZ #14117]
6625 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6626 * sysdeps/x86/fpu/bits/mathinline.h: This.
6627 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6628
ed1825f8
L
6629 [BZ #14050]
6630 [BZ #14117]
6631 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6632 functions if __x86_64__ is defined.
6633
36d54b74
CLT
66342012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6635
6636 * string/endian.h: Add !__ASSEMBLER__ condition for including
6637 conversion interfaces.
6638
10285c21
JM
66392012-06-15 Joseph Myers <joseph@codesourcery.com>
6640
6641 [BZ #14241]
6642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6643 of ABS(x) in calculating zero to negative powers other than odd
6644 integers.
6645 * math/libm-test.inc (pow_test): Add more tests.
6646
06c5abbd
AJ
66472012-06-15 Andreas Jaeger <aj@suse.de>
6648
6649 * manual/contrib.texi (Contributors): Update entry of Liubov
6650 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6651 Machado Filho.
6652
a3aeac40
CH
66532012-06-15 Cyril Hrubis <metan@ucw.cz>
6654
6655 * string/string.h: Add __wur to GNU version of strerror_r.
6656
49bdf4c1
L
66572012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6658
6659 [BZ #14229]
6660 * string/Makefile (tests): Add tst-strtok_r.
6661 * string/tst-strtok_r.c: New file.
6662 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6663 RAX_LP/RDX_LP on SAVE_PTR.
6664
834f9b8d
RM
66652012-06-14 Roland McGrath <roland@hack.frob.com>
6666
6667 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6668
75fa1921
JM
66692012-06-14 Joseph Myers <joseph@codesourcery.com>
6670
6671 * libm_test.inc (csqrt_test): Allow more spurious underflow
6672 exceptions.
6673 (j0_test): Likewise.
6674 (j1_test): Likewise.
6675 (y0_test): Likewise.
6676 (y1_test): Likewise.
6677
771766df
CD
66782012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6679
6680 * po/Makefile (libc.pot): Use UTF-8 charset.
6681
ceb9e56b
PP
66822012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6683
6684 [BZ #14210]
6685 Suppress sign-conversion warning from FD_SET.
6686 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6687 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6688 not unsigned long int.
6689 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6690
ddb28975
L
66912012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6692
6693 [BZ #14050]
6694 [BZ #14117]
6695 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6696 __extern_always_inline instead of __extern_inline.
6697 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6698 (__signbit): Likewise.
6699 (__signbitl): Support C++ namespace.
6700 (lrintf): New inline function.
6701 (lrint): Likewise.
6702 (llrintf): Likewise.
6703 (llrint): Likewise.
6704 (fmaxf): Likewise.
6705 (fmax): Likewise.
6706 (fminf): Likewise.
6707 (fmin): Likewise.
6708 (rint): Likewise.
6709 (rintf): Likewise.
6710 (ceil): Likewise.
6711 (ceilf): Likewise.
6712 (floor): Likewise.
6713 (floorf): Likewise.
6714 (nearbyint): Likewise.
6715 (nearbyintf): Likewise.
6716
d7b4fb26
TS
67172012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6718
6719 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6720 non-default versions.
6721
eb55f5c2
RM
67222012-06-11 Roland McGrath <roland@hack.frob.com>
6723
6724 [BZ #14218]
6725 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6726
366af02c
TS
67272012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6728
99ff6e5c
TS
6729 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6730 (FE_UPWARD, FE_DOWNWARD): Don't define.
6731 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6732 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6733
366af02c
TS
6734 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6735 reading it.
6736 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6737 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6738
793ea851
KK
67392012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6740
6741 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6742 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6743 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6744 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6745
a728a38f
L
67462012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6747
6748 [BZ #14117]
c08010c7
L
6749 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6750 * sysdeps/i386/fpu/Implies: New file.
6751 * sysdeps/x86_64/fpu/Implies: Likewise.
6752 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6753 * sysdeps/x86/fpu/bits/fenv.h: This.
6754
a728a38f
L
6755 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6756 __SSE_MATH__.
6757
6e230d11
SP
67582012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6759
6760 [BZ #14134]
6761 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6762 character 0xffff that matches the last element of the
6763 conversion table.
6764
1b671feb
AZ
67652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6766
6767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6768 fmodl commit.
6769
6043738b
AZ
67702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6771
6772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6773 values higher than 25.6283.
6774
34ae0b32
AZ
67752012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6776
6777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6778 subnormal exponent extraction and add some __builtin_expect.
6779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6780 Fix for subnormal mantissa calculation.
6781
1214ec8f
MF
67822012-06-04 Mike Frysinger <vapier@gentoo.org>
6783
6784 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6785 cpu2 is -1 and errno is not ENOSYS.
6786
f3d1f93c
L
67872012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6788
6789 [BZ #14117]
0e4a3cd7
L
6790 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6791 * sysdeps/x86/bits/string.h: This.
6792 * sysdeps/x86_64/bits/string.h: Removed.
6793
6704c645
L
6794 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6795 if not compiling for x86-64, but compiling for >= i486.
6796
48495318
L
6797 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6798 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6799
14adcbfc
L
6800 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6801 New macro from Linux kernel 3.4.0.
6802 (FP_XSTATE_MAGIC2): Likewise.
6803 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6804 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6805 (struct _fpx_sw_bytes): New struct.
6806 (struct _xsave_hdr): Likewise.
6807 (struct _ymmh_state): Likewise.
6808 (struct _xstate): Likewise.
6809
68e408ab
L
6810 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6811 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6812 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6813 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6814 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6815 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6816
f3d1f93c
L
6817 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6818 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6819 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6820 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6821 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6822 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6823
d9dc34cd
TMQMF
68242012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6825
6826 [BZ #13743]
6827 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6828 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6829 (sysdep_headers): Include sys/platform/ppc.h.
6830 * sysdeps/powerpc/test-gettimebase.c: Test for
6831 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6832 * manual/Makefile (appendices): Include platform.texi.
6833 * manual/contrib.texi (Contributors): Update @node pointers.
6834 * manual/maint.texi (Maintenance): Likewise.
6835 (Platform): New node.
6836 * manual/platform.texi: New file. Document the new features.
6837
4af3879c
SP
68382012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6839 Jakub Jelinek <jakub@redhat.com>
6840
6841 [BZ #14188]
6842 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6843 where __builtin_expect is unavailable.
6844
2fd6ff13
DM
68452012-06-03 David S. Miller <davem@davemloft.net>
6846
6847 * stdlib/longlong.h: Updated from GCC.
6848
173f7220
AS
68492012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6850
6851 [BZ #14042]
6852 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6853 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6854 __mcount_internal.
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6856 (GLIBC_2.16): Likewise.
6857
f34a1c6f
L
68582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6859
6860 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6861
88a4576f
JM
68622012-06-01 Joseph Myers <joseph@codesourcery.com>
6863
ea32bcdd
JM
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6865 (default-abi): New variable.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6868 variable.
6869 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6870 Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6872 Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6874 Likewise.
6875
88a4576f
JM
6876 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6877 definition. Document in comment.
6878
402fe938
DM
68792012-06-01 David S. Miller <davem@davemloft.net>
6880
6881 * stdlib/longlong.h: Updated from GCC.
6882
3553723f
L
68832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6884
6885 [BZ #14117]
3bd872c4
L
6886 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6887 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6888 sys/debugreg.h sys/io.h here.
6889 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6890 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6891 sys/io.h.
6892 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6893 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6894 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6895 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6896 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6897 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6898
3553723f
L
6899 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6900 Define only if __x86_64__ is defined.
6901
4842e4fe
JM
69022012-06-01 Joseph Myers <joseph@codesourcery.com>
6903
c5bfe3d5
JM
6904 [BZ #14048]
6905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6906 Use int64_t for variable i.
6907 * math/libm-test.inc (fmod_test): Add more tests.
6908
4842e4fe
JM
6909 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6910 z computation is not scheduled after fetestexcept.
6911 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6912 Use math_force_eval instead of asm to ensure calculation scheduled
6913 before exception test.
6914 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6915 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6916
efb73488
AJ
69172012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6918
6919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6920 computation is not scheduled after fetestexcept.
6921
29bcce7c
L
69222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6923
6924 [BZ #14117]
6925 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6926 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6927
73a68f94
AZ
69282012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6929
6930 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6931 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6932
67b6df78
L
69332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6934
edf2933a 6935 [BZ #14117]
ebc64a18
L
6936 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6937 <bits/wordsize.h>.
6938 (__WCHAR_MIN): Support __WORDSIZE == 64.
6939 (__WCHAR_MAX): Likewise.
6940
edf2933a
L
6941 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6942 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6943
57c6cf40
L
6944 [BZ #14183]
6945 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6946 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6947
67b6df78 6948 [BZ #14117]
8eb6281e
L
6949 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6950 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6951
aac639f4
L
6952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6953 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6954
67b6df78
L
6955 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6956 Defined to 1 if __x86_64__ isn't defined.
6957 (_STAT_VER_LINUX_OLD): New.
6958 (st_atime): Remove duplicate.
6959 (st_mtime): Likewise.
6960 (st_ctime): Likewise.
6961
1c2cfe81
DM
69622012-05-31 David S. Miller <davem@davemloft.net>
6963
6964 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6965 entries.
6966
5be8418c
AS
69672012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6968
e7725326
AS
6969 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6970 gen-libm-test.pl.
6971
5be8418c
AS
6972 [BZ #14132]
6973 * elf/dl-reloc.c: Include <_itoa.h>.
6974 (_dl_reloc_bad_type): Remove use of INTUSE.
6975 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6976 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6977 * stdio-common/psiginfo.c (psiginfo): Likewise.
6978 * stdio-common/psignal.c (psignal): Likewise.
6979 * string/strsignal.c (strsignal): Likewise.
6980 * include/signal.h (_sys_siglist): Declare hidden proto.
6981 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6982 INTVARDEF with libc_hidden_data_def.
6983 * stdio-common/itoa-udigits.c: Likewise.
6984 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6985 (_itoa_lower_digits_internal): Remove declaration.
6986 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6987 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6988 (_sys_sigabbrev_internal): Remove aliases.
6989 (_sys_siglist): Define hidden alias.
6990
507352f1
MT
69912012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6992
6993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6994 bits/sysctl.h.
6995
42bbb1c3
L
69962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 [BZ #14117]
6bd784b6
L
6999 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7000 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7001
8bca20f0
L
7002 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7004 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7005 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7006 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7007 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7008
f9e890a9
L
7009 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7010 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7011 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7012
471101a1
L
7013 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7014 with __addr.
7015 (insw): Likewise.
7016 (insl): Likewise.
7017 (outsb): Likewise.
7018 (outsw): Likewise.
7019 (outsl): Likewise.
7020
6451c862
L
7021 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7022 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7023 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7024
a254b8c9
L
7025 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7026 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7027 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7028 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7029 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7030 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7031
b8dfdd92
L
7032 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7033 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7034
578cd270
L
7035 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7036 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7037
de662f5f
L
7038 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7039 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7041
25653439
L
7042 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7043 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7044 to ...
7045 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7046
6bad24a0
L
7047 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7048 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7049 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7050
42bbb1c3
L
7051 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7052 for x86-64.
7053 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7054
2d10d547
JM
70552012-05-31 Joseph Myers <joseph@codesourcery.com>
7056
7057 * math/math.h (M_El): Use two more decimal places.
7058 (M_LOG2El): Likewise.
7059 (M_LOG10El): Likewise.
7060 (M_LN2l): Likewise.
7061 (M_LN10l): Likewise.
7062 (M_PIl): Likewise.
7063 (M_PI_2l): Likewise.
7064 (M_PI_4l): Likewise.
7065 (M_1_PIl): Likewise.
7066 (M_2_PIl): Likewise.
7067 (M_2_SQRTPIl): Likewise.
7068 (M_SQRT2l): Likewise.
7069 (M_SQRT1_2l): Likewise.
7070
f230c29b
DM
70712012-05-31 David S. Miller <davem@davemloft.net>
7072
7073 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7074 values between float registers.
7075 * sysdeps/sparc/sparc64/memset.S: Likewise.
7076 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7077
fed806c3
MF
70782012-05-31 Mike Frysinger <vapier@gentoo.org>
7079
7080 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7081 -D_FORTIFY_SOURCE=1.
7082 (CPPFLAGS-tst-longjmp_chk.c): Define.
7083 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7084 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7085 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7086 CFLAGS-tst-wchar-h.c.
7087
30917259
MP
70882012-05-31 Marek Polacek <polacek@redhat.com>
7089
7090 [BZ #14132]
7091 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7092 __endmntent_internal): Remove declaration.
7093 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7094 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7095 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7096
1c58d5dc
DM
70972012-05-30 David S. Miller <davem@davemloft.net>
7098
7099 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7100 (___Q_simulate_exceptions): Use real FP ops rather than writing
7101 into the %fsr.
7102 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7103 Likewise.
7104
7dc00e0d
L
71052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7106
7107 [BZ #14117]
0bd53985
L
7108 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7109 * sysdeps/x86/bits/xtitypes.h: This.
7110
3a257e66
L
7111 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7112 * sysdeps/x86/bits/wordsize.h: This.
7113
62f62904
L
7114 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7115 * sysdeps/x86/bits/huge_vall.h: This.
7116
404fe9d9
L
7117 * sysdeps/i386/bits/select.h: Removed.
7118 * sysdeps/x86_64/bits/select.h: Renamed to ...
7119 * sysdeps/x86/bits/select.h: This.
7120
d48d0446
L
7121 * sysdeps/i386/bits/setjmp.h: Removed.
7122 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7123 * sysdeps/x86/bits/setjmp.h: This.
7124
7dc00e0d
L
7125 * sysdeps/i386/bits/mathdef.h: Removed.
7126 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7127 * sysdeps/x86/bits/mathdef.h: This.
7128
03277f8f
AS
71292012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7130
7131 [BZ #14132]
7132 * include/sys/socket.h (__connect_internal)
7133 (__libc_sa_len_internal): Remove declaration.
7134 (__connect, __libc_sa_len): Declare hidden_proto.
7135 (SA_LEN): Remove use of INTUSE.
7136 * socket/connect.c: Add libc_hidden_def.
7137 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7138 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7139 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7140 alias.
7141 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7142 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7143 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7144 of adding _internal alias.
7145
13764867
L
71462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7147
7148 [BZ #14117]
6bd97696
L
7149 * sysdeps/i386/bits/link.h: Removed.
7150 * sysdeps/i386/bits/linkmap.h: Likewise.
7151 * sysdeps/x86_64/bits/link.h: Renamed to ...
7152 * sysdeps/x86/bits/link.h: This.
7153 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7154 * sysdeps/x86/bits/linkmap.h: This.
7155
f726f0bb
L
7156 * sysdeps/i386/bits/endian.h: Removed.
7157 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7158 * sysdeps/x86/bits/endian.h: This.
7159
13764867
L
7160 * sysdeps/i386/bits/byteswap.h: Removed.
7161 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7162 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7163 * sysdeps/x86/bits/byteswap.h: This.
7164 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7165 * sysdeps/x86/bits/byteswap-16.h: This.
7166 * sysdeps/i386/Implies: Add x86.
7167 * sysdeps/x86_64/Implies: Likewise.
7168
ae251b0b
DM
71692012-05-30 David S. Miller <davem@davemloft.net>
7170
7171 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7172 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7173 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7174 (FP_TRAPPING_EXCEPTIONS): Define.
7175 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7176 (FP_TRAPPING_EXCEPTIONS): Define.
7177 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7178 subnormals only when inexact has been signalled or underflow
7179 exceptions are enabled.
7180 (_FP_PACK_CANONICAL): Likewise.
7181
d5c90867
L
71822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 [BZ #14183]
7185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7186 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7187
63f1549e
RH
71882012-05-30 Richard Henderson <rth@twiddle.net>
7189
8d8f2279
RH
7190 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7191 with #ifndef NOT_IN_libc.
7192
63f1549e
RH
7193 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7194 marked to avoid plt entry.
7195
0ab0291b
L
71962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7197
7198 [BZ #14112]
7199 * Makeconfig (default-abi): New macro.
7200 (abi-includes): Likewise.
7201 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7202 $(abi-$(default-abi)-lib-soname) for soname if defined.
7203 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7204 abi-variants.
7205 * Makefile (installed-stubs): Likewise.
7206 * include/stubs-biarch.h: Removed.
7207 * scripts/lib-names.awk: Only handle one library at a time.
7208 * scripts/soversions.awk: Remove WORDSIZE support.
7209 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7210 entries.
7211 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7212 Removed.
7213 (syscall-list-default-condition): Likewise.
7214 (syscall-list-default-condition): Likewise.
7215 (syscall-list-includes): Likewise.
7216 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7217 syscall-list-* with abi-*. Handle undefined abi-variants.
7218 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7219 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7220 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7222 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7223 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7224 Removed.
7225 (syscall-list-32-options): Likewise.
7226 (syscall-list-32-condition): Likewise.
7227 (syscall-list-64-options): Likewise.
7228 (syscall-list-64-condition): Likewise.
7229 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7230 macro.
7231 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7232 Renamed to ...
7233 (abi-*): This.
7234 (abi-64-ld-soname): New macro.
7235 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7236 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7237 Renamed to ...
7238 (abi-*): This.
7239 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7240 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7241
4da0431d
JM
72422012-05-30 Joseph Myers <joseph@codesourcery.com>
7243
3a85279c
JM
7244 * sysdeps/unix/sysv/linux/kernel-features.h
7245 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7246 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7247 include <kernel-features.h>.
7248 [!__NR_ftruncate64]: Remove conditional code.
7249 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7250 [__NR_ftruncate64]: Make code unconditional.
7251 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7252 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7253 include <kernel-features.h>.
7254 [!__NR_ftruncate64]: Remove conditional code.
7255 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7256 [__NR_ftruncate64]: Make code unconditional.
7257 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7259 include <kernel-features.h>.
7260 [!__NR_ftruncate64]: Remove conditional code.
7261 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7262 [__NR_ftruncate64]: Make code unconditional.
7263 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7265 include <kernel-features.h>.
7266 [!__NR_ftruncate64]: Remove conditional code.
7267 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7268 [__NR_ftruncate64]: Make code unconditional.
7269 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7270
4da0431d
JM
7271 * configure.in (libc_cv_fpie): Weaken to a compile test using
7272 LIBC_TRY_CC_OPTION.
7273 * configure: Regenerated.
7274
11ef492c
AK
72752012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7276
7277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7281 Refreshed.
7282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7288 Refreshed.
7289
d66ef399
DM
72902012-05-27 David S. Miller <davem@davemloft.net>
7291
7292 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7293 (___Q_zero): New.
7294 (__Q_simulate_exceptions): Return void. Change to simulate
7295 exceptions by writing into the %fsr.
7296 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7297 (__Qp_handle_exceptions): Likewise.
7298 (numbers): Delete.
7299 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7300 __Qp_handle_exceptions.
7301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7302 __Qp_handle_exceptions.
7303 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7304 as unused and give dummy FP_RND_NEAREST initializer.
7305 (FP_INHIBIT_RESULTS): Define.
7306 (___Q_simulate_exceptions): Update declaration.
7307 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7308 formatting.
7309 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7310 as unused and give dummy FP_RND_NEAREST initializer.
7311 (__Qp_handle_exceptions): Update declaration.
7312 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7313 formatting.
7314
04fb54b5
TS
73152012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7316
7317 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7318 the temporary FPU control word.
7319 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7320 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7321 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7322 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7323 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7324 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7325 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7327 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7328 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7329 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7330
3f99608f
KK
73312012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7332
7333 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7334 fields.
7335
65a4de4e
CLT
73362012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7337
7338 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7339 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7340 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7341 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7342 Likewise.
7343 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7344 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7345 Likewise.
7346
15749d40
UD
73472012-05-27 Ulrich Drepper <drepper@gmail.com>
7348
7349 * po/h.po: Update from translation team.
7350
25dbcb27
AS
73512012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7352
3d3f8e55
AS
7353 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7354
25dbcb27
AS
7355 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7356 handling of denormals.
7357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7358 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7359 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7360 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7362 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7364 Likewise.
7365
7ad47a80 73662012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7367
7368 [BZ #14152]
7369 * math/libm-test.inc (fma_test): Don't always expect underflow
7370 exception.
7371
9c6ea9fa
SP
73722012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7373
7374 [BZ #12416]
7375 * elf/tst-execstack.c: Include stackinfo.h.
7376 (do_test): Adjust test case to ensure that pthread_getattr_np
7377 behaviour remains the same after marking stack executable.
7378
a8239222
JM
73792012-05-25 Joseph Myers <joseph@codesourcery.com>
7380
7381 * sysdeps/unix/sysv/linux/kernel-features.h
7382 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7383 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7384 kernel-features.h.
7385 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7386 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7387 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7388 kernel-features.h.
7389 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7390 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7391
918b5606
L
73922012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7393
7394 * configure.in: Define the default includes to being none.
7395 * configure: Regenerated.
7396
3a097cc7
RM
73972012-05-25 Roland McGrath <roland@hack.frob.com>
7398
8422c9a5
RM
7399 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7400 * sysdeps/x86_64/setjmp.S: Likewise.
7401 * sysdeps/i386/bsd-setjmp.S: Likewise.
7402 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7403 * sysdeps/i386/setjmp.S: Likewise.
7404 * sysdeps/i386/__longjmp.S: Likewise.
7405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7406 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7407
3a097cc7
RM
7408 * include/stap-probe.h: New file.
7409 * configure.in: Handle --enable-systemtap.
7410 * configure: Regenerated.
7411 * config.h.in (USE_STAP_PROBE): New #undef.
7412 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7413 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7414 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7415
21708942
JM
74162012-05-25 Joseph Myers <joseph@codesourcery.com>
7417
7418 [BZ #13717]
7419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7420 to 2.4.0 where earlier.
7421 * sysdeps/unix/sysv/linux/configure: Regenerated.
7422 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7423 <kernel-features.h>.
7424 [__ASSUME_32BITUIDS]: Make code unconditional.
7425 [!__ASSUME_32BITUIDS]: Remove conditional code.
7426 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7427 <kernel-features.h>.
7428 [__ASSUME_32BITUIDS]: Make code unconditional.
7429 [!__ASSUME_32BITUIDS]: Remove conditional code.
7430 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7431 [__ASSUME_32BITUIDS]: Make code unconditional.
7432 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7433 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7434 <kernel-features.h>.
7435 [__ASSUME_32BITUIDS]: Make code unconditional.
7436 [!__ASSUME_32BITUIDS]: Remove conditional code.
7437 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7438 <kernel-features.h>.
7439 [__ASSUME_32BITUIDS]: Make code unconditional.
7440 [!__ASSUME_32BITUIDS]: Remove conditional code.
7441 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7442 <kernel-features.h>.
7443 [__ASSUME_32BITUIDS]: Make code unconditional.
7444 [!__ASSUME_32BITUIDS]: Remove conditional code.
7445 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7446 <kernel-features.h>.
7447 [__ASSUME_32BITUIDS]: Make code unconditional.
7448 [!__ASSUME_32BITUIDS]: Remove conditional code.
7449 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7450 <kernel-features.h>.
7451 [__ASSUME_32BITUIDS]: Make code unconditional.
7452 [!__ASSUME_32BITUIDS]: Remove conditional code.
7453 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7454 <kernel-features.h>.
7455 [__ASSUME_32BITUIDS]: Make code unconditional.
7456 [!__ASSUME_32BITUIDS]: Remove conditional code.
7457 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7458 <kernel-features.h>.
7459 [__ASSUME_32BITUIDS]: Make code unconditional.
7460 [!__ASSUME_32BITUIDS]: Remove conditional code.
7461 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7462 <kernel-features.h>.
7463 [__ASSUME_32BITUIDS]: Make code unconditional.
7464 [!__ASSUME_32BITUIDS]: Remove conditional code.
7465 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7466 <kernel-features.h>.
7467 [__ASSUME_32BITUIDS]: Make code unconditional.
7468 [!__ASSUME_32BITUIDS]: Remove conditional code.
7469 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7470 <kernel-features.h>.
7471 [__ASSUME_32BITUIDS]: Make code unconditional.
7472 [!__ASSUME_32BITUIDS]: Remove conditional code.
7473 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7474 <kernel-features.h>.
7475 [__NR_setresgid] (__setresgid): Do not declare.
7476 [__ASSUME_32BITUIDS]: Make code unconditional.
7477 [!__ASSUME_32BITUIDS]: Remove conditional code.
7478 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7479 <kernel-features.h>.
7480 [__NR_setresuid] (__setresuid): Do not declare.
7481 [__ASSUME_32BITUIDS]: Make code unconditional.
7482 [!__ASSUME_32BITUIDS]: Remove conditional code.
7483 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7484 <kernel-features.h>.
7485 [__ASSUME_32BITUIDS]: Make code unconditional.
7486 [!__ASSUME_32BITUIDS]: Remove conditional code.
7487 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7488 <kernel-features.h>.
7489 [__ASSUME_32BITUIDS]: Make code unconditional.
7490 [!__ASSUME_32BITUIDS]: Remove conditional code.
7491 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7492 <kernel-features.h>.
7493 [__ASSUME_32BITUIDS]: Make code unconditional.
7494 [!__ASSUME_32BITUIDS]: Remove conditional code.
7495 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7496 <kernel-features.h>.
7497 [__ASSUME_32BITUIDS]: Make code unconditional.
7498 [!__ASSUME_32BITUIDS]: Remove conditional code.
7499 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7500 <kernel-features.h>.
7501 [__ASSUME_32BITUIDS]: Make code unconditional.
7502 [!__ASSUME_32BITUIDS]: Remove conditional code.
7503 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7504 <kernel-features.h>.
7505 [__ASSUME_32BITUIDS]: Make code unconditional.
7506 [!__ASSUME_32BITUIDS]: Remove conditional code.
7507 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7508 <kernel-features.h>.
7509 [__ASSUME_32BITUIDS]: Make code unconditional.
7510 [!__ASSUME_32BITUIDS]: Remove conditional code.
7511 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7512 <kernel-features.h>.
7513 [__ASSUME_32BITUIDS]: Make code unconditional.
7514 [!__ASSUME_32BITUIDS]: Remove conditional code.
7515 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7516 <kernel-features.h>.
7517 [__ASSUME_32BITUIDS]: Make code unconditional.
7518 [!__ASSUME_32BITUIDS]: Remove conditional code.
7519 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7520 <kernel-features.h>.
7521 [__ASSUME_32BITUIDS]: Make code unconditional.
7522 [!__ASSUME_32BITUIDS]: Remove conditional code.
7523 * sysdeps/unix/sysv/linux/kernel-features.h
7524 (__ASSUME_SETRESUID_SYSCALL): Remove.
7525 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7526 (__ASSUME_32BITUIDS): Likewise.
7527 (__ASSUME_LDT_WORKS): Likewise.
7528 (__ASSUME_O_DIRECTORY): Likewise.
7529 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7530 architecture but not kernel version.
7531 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7532 (__ASSUME_MMAP2_SYSCALL): Likewise.
7533 (__ASSUME_STAT64_SYSCALL): Likewise.
7534 (__ASSUME_IPC64): Likewise.
7535 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7536 <kernel-features.h>.
7537 [__ASSUME_32BITUIDS]: Make code unconditional.
7538 [!__ASSUME_32BITUIDS]: Remove conditional code.
7539 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7540 <kernel-features.h>.
7541 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7542 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7543 132096]: Remove conditional code.
7544 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7546 <kernel-features.h>.
7547 [__ASSUME_32BITUIDS]: Make code unconditional.
7548 [!__ASSUME_32BITUIDS]: Remove conditional code.
7549 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7550 <kernel-features.h>.
7551 [__ASSUME_32BITUIDS]: Make code unconditional.
7552 [!__ASSUME_32BITUIDS]: Remove conditional code.
7553 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7554 <kernel-features.h>.
7555 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7556 unconditional.
7557 (__setresgid): Do not declare.
7558 [__ASSUME_32BITUIDS]: Make code unconditional.
7559 [!__ASSUME_32BITUIDS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7561 <kernel-features.h>.
7562 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7563 unconditional.
7564 (__setresuid): Do not declare.
7565 [__ASSUME_32BITUIDS]: Make code unconditional.
7566 [!__ASSUME_32BITUIDS]: Remove conditional code.
7567 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
7572 <kernel-features.h>.
7573 [__ASSUME_32BITUIDS]: Make code unconditional.
7574 [!__ASSUME_32BITUIDS]: Remove conditional code.
7575
a386f1cc
RH
75762012-05-25 Richard Henderson <rth@twiddle.net>
7577
7578 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7579 dl_hwcap to ifunc resolver.
7580 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7581 elf_ifunc_invoke.
7582 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7583 dl_hwcap to ifunc resolver.
7584 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7585
b6550497
JM
75862012-05-24 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #14153]
7589 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7590 for |x| <= 2**-26, not 2**-57.
7591 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7592 exception.
7593
b0bc23a1
JL
75942012-05-24 Jeff Law <law@redhat.com>
7595
7596 * stdio-common/Makefile (tests): Add bug25.
7597 * stdio-common/bug25.c: New test.
7598
347c92e9
L
75992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 [BZ #13576]
7602 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7603 multiple of MALLOC_ALIGNMENT in size.
7604 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7605
6bcc8b3f
JM
76062012-05-24 Joseph Myers <joseph@codesourcery.com>
7607
7608 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7609 Require >= 256.
7610 (FILENAME_MAX): Use macro-int-constant.
7611 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7612 (_IOFBF): Use macro-int-constant.
7613 (_IOLBF): Likewise.
7614 (_IONBF): Likewise.
7615 (SEEK_CUR): Likewise.
7616 (SEEK_END): Likewise.
7617 (SEEK_SET): Likewise.
7618 (TMP_MAX): Likewise.
7619 (EOF): Use macro-int-constant. Require < 0.
7620 (NULL): Use macro-constant. Require == 0.
7621 (stdin): Require type to be FILE *.
7622 (stdout): Likewise.
7623 (stderr): Likewise.
7624 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7625 macro-int-constant.
7626 (EXIT_SUCCESS): Likewise.
7627 (NULL): Use macro-constant. Require == 0.
7628 (RAND_MAX): Use macro-int-constant.
7629 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7630 [C99-based standards] (strtof): Require function.
7631 [C99-based standards] (strtold): Likewise.
7632 [C99-based standards] (strtoll): Likewise.
7633 [C99-based standards] (strtoull): Likewise.
7634 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7635 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7636 [ISO || ISO99 || ISO11] (math.h): Likewise.
7637 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7638 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7640
d18ea0c5
AS
76412012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7642
7643 [BZ #14132]
56d25bb8
AS
7644 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7645 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7646 * intl/dgettext.c (DCGETTEXT): Likewise.
7647 * intl/gettext.c (DCGETTEXT): Likewise.
7648 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7649 * posix/regex_internal.h (gettext): Likewise.
7650 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7651 Remove declaration.
7652 * include/argz.h (__argz_count_internal)
7653 (__argz_stringify_internal): Remove declaration.
7654 (__argz_count, __argz_stringify): Declare hidden proto.
7655 * intl/dcgettext.c: Remove use of INTDEF.
7656 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7657 * string/argz-stringify.c: Likewise.
7658 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7659 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7660 Declare hidden proto.
d18ea0c5
AS
7661 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7662 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7663 Declare hidden proto.
7664 * include/stdio.h (__asprintf_internal): Don't declare.
7665 (__asprintf): Don't define as macro. Declare hidden proto.
7666 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7667 (__fsetlocking): Declare hidden proto.
7668 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7669 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7670 hidden proto.
7671 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7672 (_IO_setlinebuf): Remove use of INTUSE.
7673 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7674 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7675 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7676 Remove declaration.
7677 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7678 (_IO_do_flush): Remove use of INTUSE.
7679 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7680 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7681 (_IO_adjust_column, _IO_least_wmarker)
7682 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7683 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7684 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7685 (_IO_default_doallocate, _IO_wdefault_doallocate)
7686 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7687 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7688 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7689 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7690 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7691 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7692 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7693 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7694 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7695 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7696 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7697 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7698 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7699 proto.
7700 (_IO_flush_all_internal, _IO_adjust_column_internal)
7701 (_IO_default_uflow_internal, _IO_default_finish_internal)
7702 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7703 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7704 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7705 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7706 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7707 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7708 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7709 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7710 (_IO_file_close_internal, _IO_file_close_it_internal)
7711 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7712 (_IO_file_init_internal, _IO_file_attach_internal)
7713 (_IO_file_fopen_internal, _IO_file_read_internal)
7714 (_IO_file_sync_internal, _IO_file_seek_internal)
7715 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7716 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7717 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7718 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7719 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7720 (_IO_list_all_internal, _IO_link_in_internal)
7721 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7722 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7723 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7724 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7725 (_IO_do_write_internal, _IO_padn_internal)
7726 (_IO_getline_info_internal, _IO_getline_internal)
7727 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7728 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7729 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7730 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7731 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7732 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7733 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7734 with libc_hidden_ver, remove use of INTUSE.
7735 * libio/genops.c: Likewise.
7736 * libio/freopen.c: Likewise.
7737 * libio/freopen64.c: Likewise.
7738 * libio/iofclose.c: Likewise.
7739 * libio/iofdopen.c: Likewise.
7740 * libio/iofflush.c: Likewise.
7741 * libio/iofflush_u.c: Likewise.
7742 * libio/iofgets.c: Likewise.
7743 * libio/iofgets_u.c: Likewise.
7744 * libio/iofopen.c: Likewise.
7745 * libio/iofopncook.c: Likewise.
7746 * libio/iofread.c: Likewise.
7747 * libio/iofread_u.c: Likewise.
7748 * libio/ioftell.c: Likewise.
7749 * libio/iofwrite.c: Likewise.
7750 * libio/iogetline.c: Likewise.
7751 * libio/iogets.c: Likewise.
7752 * libio/iogetwline.c: Likewise.
7753 * libio/iopadn.c: Likewise.
7754 * libio/iopopen.c: Likewise.
7755 * libio/ioseekoff.c: Likewise.
7756 * libio/ioseekpos.c: Likewise.
7757 * libio/iosetbuffer.c: Likewise.
7758 * libio/iosetvbuf.c: Likewise.
7759 * libio/ioungetc.c: Likewise.
7760 * libio/ioungetwc.c: Likewise.
7761 * libio/iovdprintf.c: Likewise.
7762 * libio/iovsprintf.c: Likewise.
7763 * libio/iovsscanf.c: Likewise.
7764 * libio/memstream.c: Likewise.
7765 * libio/obprintf.c: Likewise.
7766 * libio/oldfileops.c: Likewise.
7767 * libio/oldiofclose.c: Likewise.
7768 * libio/oldiofdopen.c: Likewise.
7769 * libio/oldiofopen.c: Likewise.
7770 * libio/oldiopopen.c: Likewise.
7771 * libio/oldstdfiles.c: Likewise.
7772 * libio/putc.c: Likewise.
7773 * libio/setbuf.c: Likewise.
7774 * libio/setlinebuf.c: Likewise.
7775 * libio/stdfiles.c: Likewise.
7776 * libio/strops.c: Likewise.
7777 * libio/vasprintf.c: Likewise.
7778 * libio/vscanf.c: Likewise.
7779 * libio/vsnprintf.c: Likewise.
7780 * libio/vswprintf.c: Likewise.
7781 * libio/wfiledoalloc.c: Likewise.
7782 * libio/wfileops.c: Likewise.
7783 * libio/wgenops.c: Likewise.
7784 * libio/wmemstream.c: Likewise.
7785 * libio/wstrops.c: Likewise.
7786 * libio/__fpurge.c: Likewise.
7787 * libio/__fsetlocking.c: Likewise.
7788 * assert/assert.c: Likewise.
7789 * debug/fgets_chk.c: Likewise.
7790 * debug/fgets_u_chk.c: Likewise.
7791 * debug/fread_chk.c: Likewise.
7792 * debug/fread_u_chk.c: Likewise.
7793 * debug/gets_chk.c: Likewise.
7794 * debug/obprintf_chk.c: Likewise.
7795 * debug/vasprintf_chk.c: Likewise.
7796 * debug/vdprintf_chk.c: Likewise.
7797 * debug/vsnprintf_chk.c: Likewise.
7798 * debug/vsprintf_chk.c: Likewise.
7799 * malloc/mtrace.c: Likewise.
7800 * misc/error.c: Likewise.
7801 * misc/syslog.c: Likewise.
7802 * stdio-common/asprintf.c: Likewise.
7803 * stdio-common/fxprintf.c: Likewise.
7804 * stdio-common/getw.c: Likewise.
7805 * stdio-common/isoc99_fscanf.c: Likewise.
7806 * stdio-common/isoc99_scanf.c: Likewise.
7807 * stdio-common/isoc99_vfscanf.c: Likewise.
7808 * stdio-common/isoc99_vscanf.c: Likewise.
7809 * stdio-common/isoc99_vsscanf.c: Likewise.
7810 * stdio-common/printf-prs.c: Likewise.
7811 * stdio-common/printf_fp.c: Likewise.
7812 * stdio-common/printf_fphex.c: Likewise.
7813 * stdio-common/printf_size.c: Likewise.
7814 * stdio-common/putw.c: Likewise.
7815 * stdio-common/scanf.c: Likewise.
7816 * stdio-common/sprintf.c: Likewise.
7817 * stdio-common/tmpfile.c: Likewise.
7818 * stdio-common/vfprintf.c: Likewise.
7819 * stdio-common/vfscanf.c: Likewise.
7820 * stdlib/strfmon_l.c: Likewise.
7821 * sunrpc/openchild.c: Likewise.
7822 * sunrpc/xdr_stdio.c: Likewise.
7823 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7824 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7825
d6c33fda
RM
78262012-05-24 Roland McGrath <roland@hack.frob.com>
7827
c1487492
RM
7828 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7829
7830 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7831 in the third column, to generate for the shared library an IFUNC
7832 that uses _dl_vdso_vsym.
7833 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7834 * Makeconfig (object-suffixes-noshared): New variable.
7835
7836 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7837 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7838 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7839 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7840
d6c33fda
RM
7841 [BZ #14132]
7842 * include/sys/time.h (__gettimeofday): Remove macro.
7843 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7844 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7845 Remove INTDEF.
7846 (__gettimeofday): Add libc_hidden_def.
7847 (gettimeofday): Add libc_hidden_weak.
7848 * sysdeps/mach/gettimeofday.c: Likewise.
7849 * sysdeps/posix/gettimeofday.c: Likewise.
7850 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7852 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7853 (__gettimeofday_internal): Remove strong_alias.
7854 (__gettimeofday): Add libc_hidden_def.
7855 (gettimeofday): Add libc_hidden_weak.
7856 * sysdeps/unix/syscalls.list (gettimeofday):
7857 Remove __gettimeofday_internal alias.
7858
b5a2bbe6
L
78592012-05-24 Daniel Jacobowitz <drow@false.org>
7860 H.J. Lu <hongjiu.lu@intel.com>
7861
7862 [BZ #12495]
7863 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7864 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7865 (largebin_index_32_big): New.
7866 (largebin_index): Use it for 16-byte alignment.
7867 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7868 correction with front_misalign.
7869
cfba4fda
L
78702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7871
7f907421
L
7872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7874 Likewise.
7875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7876 Likewise.
7877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7878 Likewise.
7879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7880 Likewise.
7881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7882 Likewise.
7883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7884 Likewise.
7885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7886 Likewise.
7887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7888 Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7890 Likewise.
7891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7892 Likewise.
7893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7894 Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7896 Likewise.
7897
cfba4fda
L
7898 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7899 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7900
80bad0cc
JM
79012012-05-24 Joseph Myers <joseph@codesourcery.com>
7902
7a25eb06
JM
7903 [BZ #10846]
7904 [BZ #14036]
7905 * math/libm-test.inc (exp_test): Add test from bug 14036.
7906 (pow_test): Add test from bug 10846.
7907
795405f9
JM
7908 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7909 and other flags.
7910 (special_function): Do not include flags in test name.
7911 (parse_args): Likewise.
7912 * sysdeps/i386/fpu/libm-test-ulps: Update.
7913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7914 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7915 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7917
80bad0cc
JM
7918 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7919 exceptions.
7920 * math/libm-test.inc ("Philosophy"): Update comment about
7921 exception testing.
7922 (UNDERFLOW_EXCEPTION): New macro.
7923 (UNDERFLOW_EXCEPTION_OK): Likewise.
7924 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7925 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7926 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7927 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7928 (INVALID_EXCEPTION_OK): Update value.
7929 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7930 (OVERFLOW_EXCEPTION_OK): Likewise.
7931 (IGNORE_ZERO_INF_SIGN): Likewise.
7932 (test_exceptions): Handle underflow exceptions.
7933 (acos_test): Update for underflow exception expectations.
7934 (cexp_test): Likewise.
7935 (clog_test): Likewise.
7936 (clog10_test): Likewise.
7937 (csqrt_test): Likewise.
7938 (ctan_test): Likewise.
7939 (ctanh_test): Likewise.
7940 (exp_test): Likewise.
7941 (exp10_test): Likewise.
7942 (exp2_test): Likewise.
7943 (expm1_test): Likewise.
7944 (fma_test): Likewise.
7945 (j0_test): Likewise.
7946 (jn_test): Likewise.
7947 (nexttoward_test): Likewise.
7948 (pow_test): Likewise.
7949 (scalbn_test): Likewise.
7950 (scalbln_test): Likewise.
7951 (tan_test): Likewise.
7952 (y1_test): Likewise.
7953 * sysdeps/i386/fpu/libm-test-ulps: Update.
7954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7955
9e0e3d0b
DM
79562012-05-23 David S. Miller <davem@davemloft.net>
7957
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7959 (__libc_sigaction): Remove unused local variables.
7960
ccd0a08f
L
79612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7962
7963 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7964
62bdf9a6
PE
79652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7966
f8591f80
PE
7967 mktime: avoid signed integer overflow
7968 * time/mktime.c (__mktime_internal): Do not mishandle the case
7969 where diff == INT_MIN.
7970
94c7d826
PE
7971 mktime: simplify computation of average
7972 * time/mktime.c (ranged_convert): Use new time_t_avg function
7973 instead of rolling our own (probably-slower) code.
7974
ce73d683
PE
7975 mktime: do not assume signed right shift propagates sign bit
7976 * time/mktime.c (isdst_differ): New static function.
7977 (__mktime_internal): No need to normalize tm_isdst now.
7978 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7979 tm_isdst values.
7980
72a22e59
PE
7981 mktime: merge another wrapv change from gnulib
7982 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7983 from some compilers.
7984
68605433
PE
7985 mktime: remove incorrect attempt at unusual arithmetics
7986 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7987 The code didn't really work on such machines anyway.
7988 (TYPE_MINIMUM): Assume two's complement.
7989 (twos_complement_arithmetic): Verify that long_int and time_t
7990 are two's complement (or unsigned, in the latter case).
7991
03cf7fe3
PE
7992 mktime: check signed shifts on long_int and time_t, too
7993 * time/mktime.c (SHR): Check that shifts work as desired
7994 on the types long_int and time_t too, as SHR is used on
7995 such types.
7996
f04dfbc2
PE
7997 mktime: do not assume 'long' is wide enough
7998 * time/mktime.c (verify): Move decl up.
7999 (long_int): New type.
8000 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8001 to remove assumption in the code that 'long' is wide enough to
8002 store year values. This assumption is not true on x32 and on
8003 some non-glibc platforms.
8004
62bdf9a6
PE
8005 mktime: merge wrapv change from gnulib
8006 * time/mktime.c (WRAPV): New macro.
8007 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8008 (guess_time_tm, __mktime_internal): Do not assume that signed
8009 integer overflow wraps around; modern compilers generate code
8010 where this assumption is no longer valid.
8011
5e292e4f
L
80122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8013
8014 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8015 Replace "jmp L(pseudo_end)" with "ret".
8016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8017 Likewise.
8018
8caf8c87
AJ
80192012-05-23 Andreas Jaeger <aj@suse.de>
8020
8021 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8022 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8023
1a09dc56
AJ
80242012-05-23 Andreas Jaeger <aj@suse.de>
8025 Maximilian Attems <max@stro.at>
8026
8027 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8028 New macros.
8029
1c87aba0
L
80302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8031
8032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8033 code so that pseudo_end is just ret and the stack pointer is
8034 correct also for static library in error case.
8035
40e45bd5
JM
80362012-05-23 Joseph Myers <joseph@codesourcery.com>
8037
c2670533
JM
8038 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8039 move to syscalls.list.
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8044
40e45bd5
JM
8045 * manual/install.texi (Running make install): Do not mention Linux
8046 kernel version for which pt_chown is not needed.
8047 (Linux): Do not mention problems with nscd with 2.0 kernels.
8048 * INSTALL: Regenerated.
8049
be08eda5
AJ
80502012-05-23 Andreas Jaeger <aj@suse.de>
8051
8052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8053 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8054 macro.
8055 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8057 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8059 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8062 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8063 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8064 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8065 * sysdeps/unix/sysv/linux/bits/in.h
8066 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8067
a6a056bb
RM
80682012-05-22 Roland McGrath <roland@hack.frob.com>
8069
8070 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8071 (PREPARE_VERSION): Just use assert instead, it will be elided
8072 under [NDEBUG] anyway.
8073
c9009328
L
80742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8075
8076 * sysdeps/unix/sysv/linux/Makefile: Include
8077 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8078 (sysdep_routines): Remove sysctl.
c9009328
L
8079 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8080 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8081 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8082 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8083 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8084
73338355
AJ
80852012-05-22 Andreas Jaeger <aj@suse.de>
8086
8087 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8088 that pseudo_end is just ret and the stack pointer is correct also
8089 for static library in error case.
8090
d44638b0
PP
80912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8092
8093 [BZ #14122]
8094 * nss/nsswitch.c (defconfig_entries): New variable.
8095 (__nss_database_lookup): Don't leak defconfig entries.
8096 (nss_parse_service_list): Don't leak on error paths.
8097 (free_database_entries): New function.
8098 (free_defconfig): New function.
8099 (free_mem): Move common code to free_database_entries.
8100
31a39bd8
L
81012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8102
da0331a8
L
8103 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8104 Add arch_prctl.
8105 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8106
31a39bd8
L
8107 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8108 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8110 New macro.
8111 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8112 (INTERNAL_SYSCALL_TYPES): Likewise.
8113 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8114 (LOAD_REGS_TYPES_[1-6]): Likewise.
8115 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8116 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8117
45470df3
AZ
81182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8119
8120 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8121 copysignl for GLIBC_2_0.
8122 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8123 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8125 logbl for GLIBC_2_0.
8126 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8127 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8128
98a61bcb
L
81292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8130
a4f6e481
L
8131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8132 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8133
f63d5db6
L
8134 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8135 Use "neg %eax".
8136
98a61bcb
L
8137 * time/mktime.c: Update copyright years.
8138
95770f14
PE
81392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8140
6226efbd
PE
8141 mktime: merge comment-quoting-style change from gnulib
8142 * time/mktime.c: Quote 'like this' in comments.
8143 The GNU coding standards suggest that we no longer quote `like this',
8144 as "`" and "'" are typically rendered asymmetrically nowadays.
8145 The typical gnulib style is to quote 'like this' when quoting
8146 code, and "like this" when quoting English.
8147
b99e4f78
PE
8148 * time/mktime.c (compile-command): Add "-I.".
8149
643e01e6
PE
8150 mktime: merge mktime-internal.h change from gnulib
8151 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8152
2554247d
PE
8153 mktime: merge time_r change from gnulib
8154 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8155
826dd0ab
PE
8156 mktime: merge DEBUG change from gnulib
8157 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8158 case system <time.h> has a #define.
8159
bd83aabe
PE
8160 mktime: merge <sys/types.h> change from gnulib
8161 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8162 since <time.t> is now guaranteed to define time_t.
8163
95770f14
PE
8164 mktime: merge HAVE_CONFIG_H change from gnulib
8165 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8166
5e1a27a9
L
81672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8168
0e44a77e
L
8169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8170 Use "neg %eax".
8171
5e1a27a9
L
8172 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8173 __rlim_t cast.
8174 (struct rusage): Use anonymous union to pad each field to
8175 __syscall_slong_t.
8176
46259bec
DM
81772012-05-21 David S. Miller <davem@davemloft.net>
8178
8179 * Makefules (o-iterator): Remove .s cases.
8180 (compile-command.s): Delete.
8181 (COMPILE.s): Delete.
8182 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8183
59f0c22e
JM
81842012-05-21 Joseph Myers <joseph@codesourcery.com>
8185
8186 * configure.in (libc_cv_predef_stack_protector): Only consider
8187 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8188 * configure: Regenerated.
8189
20c07380
L
81902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8191
bbb3154b
L
8192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8193 New macro. Use R*LP on int and pointer.
8194 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8195 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8196 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8197 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8198
20c07380
L
8199 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8200 [__WORDSIZE_TIME64_COMPAT32] instead of
8201 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8202 (struct utmp): Likewise.
8203 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8204 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8205 Renamed to ...
8206 (__WORDSIZE_TIME64_COMPAT32): This.
8207 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8208 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8209 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8210 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8211 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8212 (__WORDSIZE_TIME64_COMPAT32): New macro.
8213
d8d1017e
AJ
82142012-05-21 Andreas Jaeger <aj@suse.de>
8215
8216 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8217 only if [SHARED]. Add prototype for __wcschr_ia32.
8218
6c7fb145
RM
82192012-05-21 Roland McGrath <roland@hack.frob.com>
8220
8221 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8222 of %rbp unmolested in the jmp_buf while mangling the low bits.
8223 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8224 unmolested high bits of %rbp while demangling the low bits.
8225 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8226
66274218
AJ
82272012-05-21 Andreas Jaeger <aj@suse.de>
8228
07c58f8f
AJ
8229 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8230 * sunrpc/svc_simple.c: Use it for registerrpc.
8231 * sunrpc/xcrypt.c: Use it for passwd2des.
8232
66274218
AJ
8233 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8234
61f65140
L
82352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8236
8237 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8238 Don't define if [__SYSCALL_WORDSIZE != 32].
8239 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8240 New macro.
8241
5fefb436
AJ
82422012-05-21 Bruno Haible <bruno@clisp.org>
8243 Andreas Jaeger <aj@suse.de>
8244
8245 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8246 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8247 inptr and inend for must_buffer_ch.
8248 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8249 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8250 * stdio-common/Makefile (tests): Remove bug15.
8251 (bug15-ENV): Remove macro.
8252 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8253 anymore.
8254
d8e272ab
AJ
82552012-05-19 Andreas Jaeger <aj@suse.de>
8256 Roland McGrath <roland@hack.frob.com>
8257
8258 * manual/contrib.texi: Completely rewritten. It contains now an
8259 alphabetical list of contributors and their contributions.
8260
4a56a162
RH
82612012-05-21 Richard Henderson <rth@twiddle.net>
8262
8263 * misc/getauxval.c (__getauxval): Use unsigned long int.
8264 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8265 (getauxval): Use unsigned long int.
8266
d024d23c
L
82672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8268
8269 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8270
cbc00a03
RM
82712012-05-21 Roland McGrath <roland@hack.frob.com>
8272
8273 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8274 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8275 __alignof__ (long double).
8276
478143fa
AZ
82772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8278
8279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8280
c7683a6d
RH
82812012-05-20 Richard Henderson <rth@twiddle.net>
8282
8283 * misc/getauxval.c: New file.
8284 * misc/sys/auxv.h: New file.
8285 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8286 (routines): Add getauxval.
8287 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8288 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8289 * elf/dl-sysdep.c (_dl_auxv): Remove.
8290 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8291 * elf/dl-support.c (_dl_auxv): New variable.
8292 (_dl_aux_init): Initialize it.
8293 * manual/startup.texi (Auxiliary Vector): New node.
8294 * sysdeps/generic/bits/hwcap.h: New file.
8295 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8296 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8297 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8298 * sysdeps/sparc/sysdep.h: ... here. Include it.
8299 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8300 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8302 Update.
c7683a6d
RH
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8311
a6f1845d
AZ
83122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8313
8314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8315
cbcbe830
DM
83162012-05-19 David S. Miller <davem@davemloft.net>
8317
8318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8319
e0b16cc2
JM
83202012-05-19 Joseph Myers <joseph@codesourcery.com>
8321
8322 [BZ #14123]
8323 * math/s_ccosh.c: Include <float.h>
8324 (__ccosh): Avoid internal overflow calculating sinh and cosh
8325 values before multiplying by sin and cos values.
8326 * math/s_ccoshf.c: Likewise.
8327 * math/s_ccoshl.c: Likewise.
8328 * math/s_csin.c: Likewise.
8329 * math/s_csinf.c: Likewise.
8330 * math/s_csinl.c: Likewise.
8331 * math/s_csinh.c: Likewise.
8332 * math/s_csinhf.c: Likewise.
8333 * math/s_csinhl.c: Likewise.
8334 * math/libm-test.inc (ccos_test): Add more tests.
8335 (ccosh_test): Likewise.
8336 (csin_test): Likewise.
8337 (csinh_test): Likewise.
8338 * sysdeps/i386/fpu/libm-test-ulps: Update.
8339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8340
6ad13e08
L
83412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8342
f66f0ce8
L
8343 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8344 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8345
6ad13e08
L
8346 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8347
b1d072a7
JM
83482012-05-19 Joseph Myers <joseph@codesourcery.com>
8349
8350 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8351 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8352 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8353 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8354 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8355 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8356 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8357 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8358 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8359 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8360 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8361 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8362 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8363 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8364 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8365 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8366 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8367 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8368 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8369 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8370 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8371 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8372 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8373 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8374 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8375 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8376 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8377 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8378 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8379 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8380 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8381
9eae47cb
AJ
83822012-05-18 Andreas Jaeger <aj@suse.de>
8383
8384 * csu/.gitignore: Delete.
8385
bb07f69f
L
83862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8387
8388 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8389 (timex): Use __syscall_slong_t.
8390
e6bdb741
AJ
83912012-05-18 Andreas Jaeger <aj@suse.de>
8392 Carlos O'Donell <carlos_odonell@mentor.com>
8393
8394 * manual/install.texi (Configuring and compiling): Update
8395 description about files modified in the source directory.
d6c33fda 8396 * INSTALL: Regenerated.
e6bdb741 8397
1b74487e
L
83982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8401 value. Use "or" to set return value to -1.
8402 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8403 negate return value.
8404
a88b64b9
TMQMF
84052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8406
8407 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8408 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8409 failure if the compiler has Graphite support disabled.
8410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8411 Likewise.
8412 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8413 CFLAGS-memmove.c): Likewise.
8414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8415 Likewise.
8416
3707636e
L
84172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8418
610b8622
L
8419 * sysdeps/x86_64/x32/_itoa.h: New file.
8420
7cd195df
L
8421 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8422 getdents system call only if kernel and user dirents have the
8423 same d_ino and d_off.
8424
94b07d20
L
8425 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8426 LLONG_MAX != LONG_MAX.
8427 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8428 (_fitoa_word): Likewise.
8429
18298070
L
8430 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8431 years.
8432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8433 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8434 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8435
553c7ea4
L
8436 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8437 include <bits/wordsize.h>. Check __x86_64__ instead of
8438 __WORDSIZE.
8439 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8440 if __x86_64__ is defined. Use anonymous union on fpstate.
8441
3707636e
L
8442 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8443 anonymous union.
8444
b53ef01a
AS
84452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8446
37fb1dc0
AS
8447 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8448 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8449 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8450 Refer to _rtld_local_ro instead of _rtld_global_ro.
8451 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8452 Likewise.
8453 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8454 Likewise.
8455 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8456 Likewise.
8457 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8458 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8459 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8460
b53ef01a
AS
8461 * sysdeps/powerpc/powerpc32/dl-machine.c
8462 (__elf_machine_runtime_setup) [PROF]: Don't reference
8463 _dl_prof_resolve.
8464
7a185db2
AJ
84652012-05-18 Andreas Jaeger <aj@suse.de>
8466
8467 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8468 function only available for GCCs before 3.4 since GCC 3.4
8469 introduced a builtin.
8470 (lrint): Likewise.
8471 (llrintf): Likewise.
8472 (llrint): Likewise.
8473 (fmaxf): Likewise.
8474 (fmax): Likewise.
8475 (fminf): Likewise.
8476 (fmin): Likewise.
8477 (rint): Likewise.
8478 (rintf): Likewise.
8479 (nearbyint): Likewise.
8480 (nearbyintf): Likewise.
8481 (ceil): Likewise.
8482 (ceilf): Likewise.
8483 (floor): Likewise.
8484 (floorf): Likewise.
8485
3e5aef87
L
84862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8487
428bd707
L
8488 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8489 on both fields and cast pointer to __syscall_ulong_t.
8490
3e5aef87
L
8491 * bits/types.h (__fsword_t): New type.
8492 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8493 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8495 (__FSWORD_T_TYPE): Likewise.
8496 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8497 (__FSWORD_T_TYPE): Likewise.
8498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8499 (__FSWORD_T_TYPE): Likewise.
8500 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8501 (__FSWORD_T_TYPE): Likewise.
8502 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8503 __SWORD_TYPE with __fsword_t.
8504 (statfs64): Likewise.
8505
1ba7c3dc
DM
85062012-05-17 David S. Miller <davem@davemloft.net>
8507
8508 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8509
59910343
AJ
85102012-05-17 Andreas Jaeger <aj@suse.de>
8511
8512 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8513 warning.
8514
2e4c1e9e
L
85152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8518
de7f5ce7
AJ
85192012-05-17 Andreas Jaeger <aj@suse.de>
8520
8521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8522 when it is used.
8523
286abc3d
CM
85242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8525
8526 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8527
477cc68e
L
85282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8529
8530 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8531 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8532
1a0994f5
CD
85332012-05-17 Andreas Jaeger <aj@suse.de>
8534 Carlos O'Donell <carlos_odonell@mentor.com>
8535
8536 [BZ #14059]
8537 * sysdeps/x86_64/multiarch/init-arch.h
8538 (bit_YMM_Usable): Rename to...
8539 (bit_AVX_Usable): ... this.
8540 (bit_FMA4_Usable): New macro.
8541 (bit_XMM_state): New macro.
8542 (bit_YMM_state): New macro.
8543 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8544 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8545 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8546 (CPUID_OSXSAVE): New macro.
8547 (CPUID_AVX): New macro.
8548 (CPUID_FMA4): New macro.
8549 (index_YMM_Usable): Rename to...
8550 (index_AVX_Usable): ... this.
8551 (HAS_AVX): Use HAS_ARCH_FEATURE.
8552 (HAS_FMA4): Likewise.
8553 (HAS_YMM_USABLE): Remove.
8554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8555 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8556 are present.
8557 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8558 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8559 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8560 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8561 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8562
0af797de
CM
85632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8564
8565 * math/libm-test.c: Support platforms without multiple rounding modes.
8566 * math/bug-nextafter.c: Support platforms without FP exceptions.
8567 * math/bug-nexttoward.c: Likewise.
8568 * math/test-fenv.c: Likewise.
8569 * math/test-misc.c: Likewise.
8570 * stdlib/bug-getcontext.c: Likewise.
8571
e39745ff
AJ
85722012-05-17 Andreas Jaeger <aj@suse.de>
8573
8574 * manual/examples/search.c (critter_cmp): Change signature to
8575 avoid warnings.
8576 * manual/string.texi (Collation Functions): Likewise.
8577
48970aba
L
85782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8579
8580 * bits/types.h: Fold copyright years.
8581 * bits/typesizes.h: Likewise.
8582 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8586 * time/time.h: Likewise.
8587
bedee953
PP
85882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8589
8590 [BZ #208]
8591 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8592 in instead of returning them. Return void.
8593 (__libc_mallinfo): Accumulate over all arenas.
8594 (__malloc_stats): Adjust for change in int_mallinfo interface.
8595
61653dfb
RM
85962012-05-16 Roland McGrath <roland@hack.frob.com>
8597
30b99d79
RM
8598 [BZ #10375]
8599 * configure.in (NM): Add AC_CHECK_TOOL for it.
8600 (libc_extra_cflags): New substituted variable.
8601 Check for -fstack-protector being used implicitly.
8602 * configure: Regenerated.
8603 * config.make.in (config-extra-cflags): New variable,
8604 gets @libc_extra_cflags@.
8605 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8606
61653dfb
RM
8607 [BZ #10375]
8608 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8609 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8610 * configure: Regenerated.
8611 * config.make.in (CPPUNDEFS): New substituted variable.
8612 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8613 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8614 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8615
661768bb
L
86162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8619 (mq_attr): Use __syscall_slong_t.
8620
d4261567
L
86212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8624 Check __x86_64__ instead of __WORDSIZE.
8625 (_STAT_VER_LINUX): Likewise.
8626 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8627 __syscall_ulong_t and __syscall_slong_t.
8628 (stat64): Likewise.
8629
cf3ff365
L
86302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8633
76cf3e4d
L
86342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8637
a637753a
L
86382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8639
8640 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8641 __syscall_ulong_t.
8642
d5e05119
L
8643 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8644 include <bits/wordsize.h>. Check __x86_64__ instead of
8645 __WORDSIZE.
8646 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8647 defined.
8648 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8649
f62ee380
L
8650 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8651 include <bits/wordsize.h>. Check __x86_64__ instead of
8652 __WORDSIZE.
8653 (user_regs_struct): Use "__extension__ unsigned long long"
8654 instead of "unsigned long" if __x86_64__ is defined.
8655 (user): Likewise. Pad after pointer field if __ILP32__ is
8656 defined.
8657
4e124ced
JM
86582012-05-16 Joseph Myers <joseph@codesourcery.com>
8659
6a3951a0
JM
8660 * configure.in (makeinfo): Require version 4.5 or later. Allow
8661 versions 5 to 9.
8662 * configure: Regenerated.
8663 * manual/install.texi (texinfo): Increase version requirement to
8664 4.5 or later.
8665 * INSTALL: Regenerated.
8666
4e124ced
JM
8667 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8668
953ca31a
L
86692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8672
617aca05
L
8673 * sysdeps/x86_64/x32/ffs.c: New file.
8674
5762f7ae
L
8675 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8676 __syscall_ulong_t.
8677 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8678 defined. Use __syscall_ulong_t.
8679 (shminfo): Use __syscall_ulong_t.
8680 (shm_info): Likewise.
8681
a26b6856
L
8682 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8683 __syscall_ulong_t.
8684
cb2b9ef7
L
8685 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8686 <bits/wordsize.h>.
8687 (msgqnum_t): Use __syscall_ulong_t.
8688 (msglen_t): Likewise.
8689 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8690 __syscall_ulong_t.
8691
34683bb0
L
8692 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8693 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8694
84a68786
L
8695 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8696
48baa5f1
L
8697 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8698 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8699
180be88b
L
8700 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8701 __syscall_slong_t.
8702
5e90c8ad
L
8703 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8704 include <bits/wordsize.h>. Check __x86_64__ instead of
8705 __WORDSIZE.
8706
23dfb58b
L
8707 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8708 "unsigned long long int" if __x86_64__ is defined.
8709 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8710
ce5d54b0
L
8711 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8712 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8713 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8714
13dc9eac
L
8715 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8716 <stdint.h>.
8717 (GET_PC): Cast to uintptr_t first.
8718 (GET_FRAME): Likewise.
8719 (GET_STACK): Likewise.
8720
a7895d15
L
8721 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8722 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8723 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8724 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8725 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8726 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8727 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8728 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8729 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8730 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8734 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8735 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8736 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8738 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8740 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8742 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8746 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8747 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8748 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8749 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8750
656416c9
AS
87512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8752
5bd66283
AS
8753 * Makerules (+depfiles): Also collect depfiles from .oS in
8754 $(extra-objs).
8755 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8756 .oS, $(libnldbl-routines)).
8757
656416c9
AS
8758 * Makerules (native-compile-mkdep-flags): Define.
8759 * sunrpc/Makefile (extra-objs): Add $(addprefix
8760 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8761 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8762 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8763 calling $(make-target-directory).
8764
a46f2169
L
87652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8766
8767 * bits/types.h (__snseconds_t): Removed.
8768 * time/time.h (struct timespec): Replace __snseconds_t with
8769 __syscall_slong_t.
8770 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8771 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8772 Likewise.
8773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8774 (__SNSECONDS_T_TYPE): Likewise.
8775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8776 (__SNSECONDS_T_TYPE): Likewise.
8777 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8778 (__SNSECONDS_T_TYPE): Likewise.
8779
6af6528b
L
87802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8781
8782 * sysdeps/mach/hurd/bits/typesizes.h
8783 (__SYSCALL_SLONG_TYPE): New macro.
8784 (__SYSCALL_ULONG_TYPE): Likewise.
8785
de986b56
L
87862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8787
8788 * bits/types.h (__syscall_slong_t): New type.
8789 (__syscall_ulong_t): Likewise.
8790
8791 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8792 (__SYSCALL_ULONG_TYPE): Likewise.
8793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8794 (__SYSCALL_SLONG_TYPE): Likewise.
8795 (__SYSCALL_ULONG_TYPE): Likewise.
8796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8797 (__SYSCALL_SLONG_TYPE): Likewise.
8798 (__SYSCALL_ULONG_TYPE): Likewise.
8799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8800 (__SYSCALL_SLONG_TYPE): Likewise.
8801 (__SYSCALL_ULONG_TYPE): Likewise.
8802
85736dc7
L
88032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8804
8805 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8806 Add sigaltstack-offsets.sym.
8807 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8808 <sigaltstack-offsets.h>.
8809 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8810 longjmp_msg pointer.
8811 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8812 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8813 signal stack.
8814 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8815
cc03b296
JM
88162012-05-15 Joseph Myers <joseph@codesourcery.com>
8817
a9538892
JM
8818 * elf/stackguard-macros.h: Remove file.
8819 * sysdeps/generic/stackguard-macros.h: New file.
8820 * sysdeps/i386/stackguard-macros.h: Likewise.
8821 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8822 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8823 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8824 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8825 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8826 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8827 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8828 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8829 <elf/stackguard-macros.h>.
8830
cc03b296
JM
8831 [BZ #14109]
8832 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8833 __aligned__ in attribute.
8834 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8835 (gregset_t): Likewise.
8836
93171016
L
88372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8838
8839 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8840 * sysdeps/x86_64/64/Implies-after: Here. New file.
8841 * sysdeps/x86_64/x32/Implies-after: New file.
8842
d86813a0
L
88432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8846 and access return value for _dl_profile_fixup. Use R10_LP to
8847 load frame size.
8848
2953ec75
L
88492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8850
8851 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8852
3b550e9e
L
88532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8854
8855 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8856 * sysdeps/x86_64/x32/sysdep.h: New file.
8857
eda41706
L
88582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8861 * sysdeps/x86_64/setjmp.S: Likewise.
8862
9ea01d93
AZ
88632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864
8865 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8866 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8867 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8868 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8869 remove unused global constant.
8870
02a91938
CM
88712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8872
8873 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8874 include of <not-cancel.h>.
8875
6540185f
RM
88762012-05-15 Roland McGrath <roland@hack.frob.com>
8877
8878 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8879
509072a0
AJ
88802012-05-15 Jeff Law <law@redhat.com>
8881 Andreas Jaeger <aj@suse.de>
8882
8883 [BZ #13594]
8884 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8885 out from...
8886 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8887 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8888 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8889 code changing __hst_map_handle.map.
8890
ba75122d
RM
88912012-05-15 Roland McGrath <roland@hack.frob.com>
8892
8893 * configure.in (sysnames): Look for Implies-before and Implies-after
8894 files.
8895 * configure: Regenerated.
8896
890d8bd8
L
88972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8898
8899 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8900 8-byte data alignment with LP_SIZE alignment.
8901
f6ee6623
L
89022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8903
8904 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8905 into R10_LP.
8906
ea2626f6
L
89072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8908
8909 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8910
085f715e
L
89112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8914 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8916 Likewise.
8917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8918
be8498fc
L
89192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8920
8921 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8922 (stackinfo_sub_sp): Likewise.
8923
70bc83b9
L
89242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8927 RAX_LP.
8928
9bc0b730
L
89292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8930
8931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8932 into R*_LP.
8933
6d2850e7
L
89342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8935
8936 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8937 sizes into R*_LP.
8938
3cb84561
L
89392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8940
8941 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8942
54e2ed81
L
89432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8944
8945 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8946 into R11_LP and load __x86_64_shared_cache_size_half into
8947 R8_LP.
8948
8a17f349
L
89492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8950
8951 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8952 R8_LP.
8953
777b1eea
AZ
89542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8955
8956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8957 logb for POWER7.
8958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8959 logbf for POWER7.
8960 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8961 logbl for POWER7.
8962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8963 powerpc32/power7/fpu/s_logb.c via #include.
8964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8965 powerpc32/power7/fpu/s_logbf.c via #include.
8966 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8967 powerpc32/power7/fpu/s_logbl.c via #include.
8968
d20d4ac2
JM
89692012-05-15 Joseph Myers <joseph@codesourcery.com>
8970
8971 * README.libm: Remove file.
8972
6cdef1ab
L
89732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8974
8975 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8976 count for x32. Use R*_LP and omit operand-size suffix.
8977
0b254d8f
L
89782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8981 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8982 * sysdeps/x86_64/x32/shlib-versions: New file.
8983
ceb809dc
RM
89842012-05-14 Roland McGrath <roland@hack.frob.com>
8985
8986 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8987 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8988 Use _dl_fatal_printf instead.
8989
37f1abd4
JM
89902012-05-14 Joseph Myers <joseph@codesourcery.com>
8991
8992 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8993 set if not set by the user. Do not allow for being unset.
8994 * sysdeps/unix/sysv/linux/configure: Regenerated.
8995
11de3a33
L
89962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8997
8998 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8999 the `q' suffix from lea and replace .quad with ASM_ADDR.
9000
e02f153a
L
90012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9002
9003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9004 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9005 instead of $17.
9006 (PTR_DEMANGLE): Likewise.
9007
520ae0fd
L
90082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9009
9010 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9011 (LP_OP): Likewise.
9012 (ASM_ADDR): Likewise.
9013 (RAX_LP): Likewise.
9014 (RBP_LP): Likewise.
9015 (RBX_LP): Likewise.
9016 (RCX_LP): Likewise.
9017 (RDI_LP): Likewise.
9018 (RSI_LP): Likewise.
9019 (RSP_LP): Likewise.
9020 (R8_LP): Likewise.
9021 (R9_LP): Likewise.
9022 (R10_LP): Likewise.
9023 (R10_LP): Likewise.
9024 (R11_LP): Likewise.
9025 (R12_LP): Likewise.
9026 (R13_LP): Likewise.
9027 (R14_LP): Likewise.
9028 (R15_LP): Likewise.
9029
b985be81
L
90302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9031
9032 * sysdeps/x86_64/x32/dl-machine.h: New file.
9033
6a4888ff
AJ
90342012-05-14 Andreas Jaeger <aj@suse.de>
9035
9036 * manual/Makefile (subdir): Remove export of subdir.
9037 (all): Remove target.
9038 (.PHONY): Remove all from list.
9039 (mkinstalldirs): Remove.
9040 (.PHONY): Remove installdirs from list.
9041 ($(inst_infodir)/libc.info): Use make-target-directory.
9042 (installdirs): Remove.
9043 (subdir_%): Remove.
9044 (glibc-targets): Remove.
9045 (lib): Remove.
9046 (stubs): Remove.
9047 ($(objpfx)stubs ../po/manual.pot): Remove.
9048 ($(objpfx)stamp%): Remove.
9049 (make-target-directory): Remove.
9050 (subdir_install): Remove.
9051 (routines): Remove.
9052 (aux): Remove.
9053 (sources): Remove.
9054 (objects): Remove.
9055 (headers): Remove.
9056
9057 [BZ #13750]
9058 * manual/.gitignore: Remove, it's not needed anymore.
9059 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9060 all files in it.
9061 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9062 directory.
9063 (texis): Renamed to $(objpfx)texis.
9064 (texis-path): New, contains path to generated files.
9065 (chapters.%): Use texis-path for complete path, add extra argument
9066 libc-texinfo.sh.
9067 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9068 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9069 (summary,texi, stamp-summary): Use complete path of
9070 files. Generate files in build dir.
9071 (dir-add.texi): Build in build dir.
9072 (libm-err.texi,stamp-libm-err): Likewise.
9073 (version.texi, stamp-version): Likewise.
9074 (.%c.texi): Likewise.
9075 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9076 (mostlyclean): Remove target.
9077 (realclean): Remove target.
9078 (generated): Add new variable with contents from mostlyclean and
9079 realclean, remove entries duplicated in common-mostlyclean, add
9080 stamp-libm-err and stamp-version.
9081 (generated-dirs): Add libc directory.
9082 ($(inst_infodir)/libc.info): Install files from build dir.
9083
9084 * manual/install.texi (Configuring and compiling): Adjust since
9085 the info files are not part of the tar ball anymore.
9086
7ac77294
AJ
90872012-05-14 Andreas Jaeger <aj@suse.de>
9088
9089 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9090 variable.
9091
ffb7875d
JM
90922012-05-14 Joseph Myers <joseph@codesourcery.com>
9093
9094 [BZ #13717]
9095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9096 to 2.2.0 where earlier.
9097 * sysdeps/unix/sysv/linux/configure: Regenerated.
9098 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9099 Remove conditional code.
9100 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9101 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9102 Remove conditional code.
9103 [!__NR_lchown]: Likewise.
9104 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9105 [__NR_lchown]: Likewise.
9106 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9107 comment referencing __ASSUME_LCHOWN_SYSCALL.
9108 * sysdeps/unix/sysv/linux/i386/sigaction.c
9109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9111 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9112 Remove conditional code.
9113 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9114 (__protocol_available): Remove #if 0 code.
9115 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9116 conditional code.
9117 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9118 * sysdeps/unix/sysv/linux/kernel-features.h
9119 (__ASSUME_GETCWD_SYSCALL): Don't define.
9120 (__ASSUME_REALTIME_SIGNALS): Likewise.
9121 (__ASSUME_PREAD_SYSCALL): Likewise.
9122 (__ASSUME_PWRITE_SYSCALL): Likewise.
9123 (__ASSUME_POLL_SYSCALL): Likewise.
9124 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9125 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9126 non-SPARC.
9127 (__ASSUME_SIOCGIFNAME): Don't define.
9128 (__ASSUME_MSG_NOSIGNAL): Likewise.
9129 (__ASSUME_SENDFILE): Define unconditionally.
9130 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9131 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9132 conditional code.
9133 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9134 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9135 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9136 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9137 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9138 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9139 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9153 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9164 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9165 Remove conditional code.
9166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9167 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9168 Remove conditional code.
9169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9170 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9171 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9172 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9173 Remove conditional code.
9174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9175 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9176 Remove conditional code.
9177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9178 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9179 Remove conditional code.
9180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9181 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9182 Remove conditional code.
9183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9184 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9185 Remove conditional code.
9186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9187 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9190 * sysdeps/unix/sysv/linux/sigaction.c
9191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9193 * sysdeps/unix/sysv/linux/sigpending.c
9194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9196 * sysdeps/unix/sysv/linux/sigprocmask.c
9197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9199 * sysdeps/unix/sysv/linux/sigsuspend.c
9200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9203 (__libc_missing_rt_sigs): Remove.
9204 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9205 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9206 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9207 Remove conditional code.
9208 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9209 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9210 return 1.
9211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9212 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9214 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9215
1bfb7291
AJ
92162012-05-14 Andreas Jaeger <aj@suse.de>
9217
caae5a81
AJ
9218 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9219 it's not used in glibc.
9220 (__coshm1): Likewise.
9221 (__acosh1p): Likewise.
9222 (__sgn): Likewise.
9223
1bfb7291
AJ
9224 * manual/string.texi (Copying and Concatenation): Add missing
9225 variable in concat example.
9226 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9227
c044d724
L
92282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9229
144c5467 9230 [BZ #14103]
c044d724
L
9231 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9232 __builtin_clzl with __builtin_clzll.
9233
2523c62b
L
92342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9235
9236 [BZ #14104]
9237 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9238 libc_freeres_ptr.
9239
d7bb4c42
LD
92402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9241
9242 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9243 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9244 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9245 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9246
9dc4e1fb
MF
92472012-05-14 Mike Frysinger <vapier@gentoo.org>
9248
9249 * NEWS: Update ia64 info.
9250
c7df0112
AS
92512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9254 used as bcopy.
9255
dc70356c
TS
92562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9257
9258 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9259 * sysdeps/unix/syscalls.list (dup3): Likewise.
9260 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9261 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9262
9fb1a21f
L
92632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9264
9265 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9266 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9267
4822a2a5
L
92682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9269
9270 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9271 thread pointer.
9272 (TLS_IE): Use mov/add instead of movq/addq to load thread
9273 pointer.
9274 (TLS_GD_PREFIX): New.
9275 (TLS_GD): Use it.
9276
842b81d6
DM
92772012-05-11 David S. Miller <davem@davemloft.net>
9278
9279 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9280 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9281 (_FPU_SETCW): Likewise.
9282
1cf463cd
L
92832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9284
9285 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9286 is 32-byte aligned.
9287
60cc4a18
AS
92882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9289
9290 [BZ #11837]
9291 * iconvdata/gb18030.c: Update tables.
9292 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9293 characters specially.
9294 (BODY for TO_LOOP): Add encoding of missing ranges.
9295
febb44a4
TS
92962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9297
9298 [BZ #13673]
9299 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9300 * sysdeps/mach/hurd/dup3.c: Likewise.
9301 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9302 * sysdeps/powerpc/memmove.c:: Likewise.
9303
0a10fb9e
L
93042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9307 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9308
df8a552f
L
93092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9310
9311 * elf/elf.h (R_X86_64_RELATIVE64): New.
9312 (R_X86_64_NUM): Updated.
9313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9314 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9315 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9316 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9317 tst-quad1pie tst-quad2pie
9318 (modules-names): Add tst-quadmod1 tst-quadmod2.
9319 ($(objpfx)tst-quad1): New dependency.
9320 ($(objpfx)tst-quad2): Likewise.
9321 ($(objpfx)tst-quad1pie): Likewise.
9322 ($(objpfx)tst-quad2pie): Likewise.
9323 * sysdeps/x86_64/tst-quad1.c: New file.
9324 * sysdeps/x86_64/tst-quad1pie.c: New file.
9325 * sysdeps/x86_64/tst-quad2.c: Likewise.
9326 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9327 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9328 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9329 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9330 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9331
f34d6f84
ST
93322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9333
f42d41d1
ST
9334 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9335 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9336 * streams/stropts.h (t_scalar_t): Define type.
9337
3c3571fc
ST
9338 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9339 (_PATH_PRESERVE): Set to "/var/lib".
9340 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9341
61f06bd3
ST
9342 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9343 instead of int.
9344
918d4d71
ST
9345 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9346 if __dir_mkfile succeeded.
9347
f34d6f84
ST
9348 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9349 checking for _hurd_dtablesize. Unlock it right after having
9350 finished _hurd_dtable allocation.
9351
10589b4a
TS
93522012-05-10 Thomas Schwinge <thomas@schwinge.name>
9353
674cdbc7
TS
9354 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9355 * sysdeps/mach/hurd/configure: Regenerated.
9356 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9357 special-casing to...
9358 * sysdeps/gnu/configure.in: ... this new file.
9359 * sysdeps/unix/sysv/linux/configure: Regenerated.
9360 * sysdeps/gnu/configure: New generated file.
9361
8e41b99f
TS
9362 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9363 for Linux: use nsec instead of usec, as well as:
9364 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9365 members of type struct timespec.
9366 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9367 New macros.
9368 (struct stat64): Likewise.
9369 (_STATBUF_ST_NSEC): New macro.
9370 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9371
10589b4a
TS
9372 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9373 __strtoul_internal rather than strtoul.
9374
63643c85
PT
93752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9376
9377 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9378 and reject them.
9379
3faebe6a
ST
93802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9381
9382 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9383 which preserves existing values.
9384 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9385
c6474b07
PT
93862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9387
9388 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9389 TIMEOUT values. Return EINVAL for NFDS values either negative or
9390 greater than FD_SETSIZE.
9391
1043890b
ST
93922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9393
9394 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9395 allocated, call __vm_protect to finish enabling the existing space, and
9396 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9397 allocate the remainder.
9398
37ed8b9b
PT
93992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9400
9401 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9402 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9403
db653660
ST
94042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9405
37ed8b9b
PT
9406 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9407 sysdeps/mach/hurd/readlink.c.
b29d4053 9408
db653660
ST
9409 * posix/tst-sysconf.c (posix_options): Only use
9410 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9411 _POSIX_SYNCHRONIZED_IO when they are defined
9412 * sysdeps/mach/hurd/bits/posix_opt.h:
9413 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9414 (_XOPEN_REALTIME): Undefine macro.
9415 (_XOPEN_REALTIME_THREADS): Undefine macro.
9416 (_XOPEN_SHM): Undefine macro.
9417 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9418 macro to -1.
9419 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9420 macro to -1.
9421 (_POSIX_ASYNC_IO): Undefine macro.
9422 (_POSIX_PRIORITIZED_IO): Undefine macro.
9423 (_POSIX_SPIN_LOCKS): Define macro to -1.
9424
ee16e894
ST
9425 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9426 SA_NODEFER, SA_RESETHAND.
9427 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9428 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9429 F_DUPFD_CLOEXEC.
9430
6103ae3b
TS
94312012-05-10 Thomas Schwinge <thomas@schwinge.name>
9432
9433 * elf/Makefile (pldd-modules): Define unconditionally.
9434
80b4e5f3
TS
94352012-05-10 Thomas Schwinge <thomas@schwinge.name>
9436
9437 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9438
edadcbd6
ST
94392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9440
9441 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9442 Return ENOENT when name is empty.
9443 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9444
80694780
TS
94452012-05-10 Thomas Schwinge <thomas@schwinge.name>
9446
1792c087
TS
9447 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9448
80694780
TS
9449 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9450
6b645f0d
ST
94512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9452
80694780
TS
9453 Fix mlock in all cases except non-readable pages.
9454 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9455 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9456
6b645f0d
ST
9457 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9458 (__mkdir): When path is `/', just fail with EEXIST.
9459 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9460
e468f8a3
TS
94612012-05-10 Thomas Schwinge <thomas@schwinge.name>
9462
9463 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9464 <sys/uio.h> (for writev).
9465 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9466 and <sys/param.h> (for MIN).
9467
a4186cff
PT
94682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9469
9470 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9471 REQUESTED_TIME. Properly set the remaining time and return EINTR
9472 if interrupted.
9473
510bbf14
TS
94742012-05-10 Thomas Schwinge <thomas@schwinge.name>
9475
9476 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9477 Depend on against $(link-rpcuserlibs).
9478
5d5722e8
ST
94792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9480
a4186cff
PT
9481 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9482 (__libc_stack_end): Do not use attribute_relro.
9483 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9484 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9485 to libthread-provided value.
a4186cff
PT
9486 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9487 attribute_relro.
5d5722e8 9488
37233df9
TS
94892012-05-10 Thomas Schwinge <thomas@schwinge.name>
9490
be971a2b
TS
9491 [BZ #3748]
9492 * bits/libc-lock.h (__libc_once_get): New macro.
9493 * sysdeps/mach/bits/libc-lock.h: Likewise.
9494 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9496 instead of using implementation details.
9497
37233df9
TS
9498 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9499 * libio/freopen.c: Likewise.
9500 * libio/freopen64.c: Likewise.
9501 * misc/syslog.c: Likewise.
9502 * nscd/connections.c: Likewise.
9503 * nscd/netgroupcache.c: Likewise.
9504 * sysdeps/posix/getcwd.c: Likewise.
9505
38de94a5
RM
95062012-05-10 Roland McGrath <roland@hack.frob.com>
9507
9508 * math/w_ilogbf.c: Add #include <limits.h>.
9509
67530489
ST
95102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9511
a4186cff 9512 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9513 path instead of returning without unlocking.
9514
67530489
ST
9515 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9516 immediate-write ioctls.
9517 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9518
5aa3a74a
TS
95192012-05-10 Thomas Schwinge <thomas@schwinge.name>
9520
18bad2ae
TS
9521 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9522 __builtin_frame_address instead of making assumptions about the
9523 location of the return address relative to DATA. Force early load of
9524 the return address.
9525 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9526 __builtin_frame_address.
9527
5aa3a74a
TS
9528 dup3 for GNU Hurd.
9529 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9530 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9531 implement dup3 and do some further code clean-ups.
9532 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9533 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9534
ecd0de9a
ST
95352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9536
cd9fa985
ST
9537 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9538
a4186cff
PT
9539 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9540 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9541 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9542 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9543 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9544 d->port.lock.
802ca5a5 9545
a4186cff
PT
9546 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9547 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9548 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9549
bcf55240
TS
95502012-05-10 Thomas Schwinge <thomas@schwinge.name>
9551
6960eb42
TS
9552 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9553 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9554 definitions.
9555
eb43375f
TS
9556 accept4 for GNU Hurd.
9557 * include/sys/socket.h (__libc_accept4): New prototype.
9558 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9559 to implement __libc_accept4.
9560 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9561 __libc_accept4.
9562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9563
bcf55240
TS
9564 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9565 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9566 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9567 signal-defines.sym.
9568
6178c55b
ST
95692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9570
a4186cff 9571 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9572
6f080c2f
TS
95732012-05-10 Thomas Schwinge <thomas@schwinge.name>
9574
9575 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9576 assertion on O_CLOEXEC flag.
9577 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9578 * hurd/intern-fd.c: Likewise.
9579 * hurd/port2fd.c: Likewise.
9580
bcfe3a54
ST
95812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9582
9583 [BZ #3906]
9584 * bits/in.h (IPV6_PKTINFO): Define new macro.
9585 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9586
89c9aa49
AZ
95872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9588
9589 [BZ #13954]
9590 [BZ #13955]
9591 [BZ #13956]
9592 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9594 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9595 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9598 * math/libm-test.inc (logb_test) : Additional logb tests.
9599
021db4be
AJ
96002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9601 Andreas Jaeger <aj@suse.de>
9602
9603 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9604 * configure: Regenerated.
9605 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9606 * config.make.in (link-obsolete-rpc): New substituted variable.
9607 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9608 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9609 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9610 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9611 so that libc.a contains the symbols.
9612 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9613 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9614 * sunrpc/auth_none.c: Likewise.
9615 * sunrpc/auth_unix.c: Likewise.
9616 * sunrpc/authdes_prot.c: Likewise.
9617 * sunrpc/authuxprot.c: Likewise.
9618 * sunrpc/clnt_gen.c: Likewise.
9619 * sunrpc/clnt_perr.c: Likewise.
9620 * sunrpc/clnt_raw.c: Likewise.
9621 * sunrpc/clnt_simp.c: Likewise.
9622 * sunrpc/clnt_tcp.c: Likewise.
9623 * sunrpc/clnt_udp.c: Likewise.
9624 * sunrpc/clnt_unix.c: Likewise.
9625 * sunrpc/des_crypt.c: Likewise.
9626 * sunrpc/des_soft.c: Likewise.
9627 * sunrpc/get_myaddr.c: Likewise.
9628 * sunrpc/key_call.c: Likewise.
9629 * sunrpc/key_prot.c: Likewise.
9630 * sunrpc/netname.c: Likewise.
9631 * sunrpc/pm_getmaps.c: Likewise.
9632 * sunrpc/pm_getport.c: Likewise.
9633 * sunrpc/pmap_clnt.c: Likewise.
9634 * sunrpc/pmap_prot.c: Likewise.
9635 * sunrpc/pmap_prot2.c: Likewise.
9636 * sunrpc/pmap_rmt.c: Likewise.
9637 * sunrpc/publickey.c: Likewise.
9638 * sunrpc/rpc_cmsg.c: Likewise.
9639 * sunrpc/rpc_common.c: Likewise.
9640 * sunrpc/rpc_dtable.c: Likewise.
9641 * sunrpc/rpc_prot.c: Likewise.
9642 * sunrpc/rpc_thread.c: Likewise.
9643 * sunrpc/rtime.c: Likewise.
9644 * sunrpc/svc.c: Likewise.
9645 * sunrpc/svc_auth.c: Likewise.
9646 * sunrpc/svc_raw.c: Likewise.
9647 * sunrpc/svc_run.c: Likewise.
9648 * sunrpc/svc_tcp.c: Likewise.
9649 * sunrpc/svc_udp.c: Likewise.
9650 * sunrpc/svc_unix.c: Likewise.
9651 * sunrpc/svcauth_des.c: Likewise.
9652 * sunrpc/xcrypt.c: Likewise.
9653 * sunrpc/xdr.c: Likewise.
9654 * sunrpc/xdr_array.c: Likewise.
9655 * sunrpc/xdr_float.c: Likewise.
9656 * sunrpc/xdr_intXX_t.c: Likewise.
9657 * sunrpc/xdr_mem.c: Likewise.
9658 * sunrpc/xdr_rec.c: Likewise.
9659 * sunrpc/xdr_ref.c: Likewise.
9660 * sunrpc/xdr_sizeof.c: Likewise.
9661 * sunrpc/xdr_stdio.c: Likewise.
9662
b5c086a2
RM
96632012-05-10 Roland McGrath <roland@hack.frob.com>
9664
9665 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9666 change. Update copyright years.
9667
6d74dd09
JM
96682012-05-10 Joseph Myers <joseph@codesourcery.com>
9669
9670 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9671
28e72501
MK
96722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9673 Joseph Myers <joseph@codesourcery.com>
9674 Paul Pluzhnikov <ppluzhnikov@google.com>
9675
9676 [BZ #14012]
9677 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9678 requiring rpcgen.
9679 [cross-compiling] (extra-libs): Likewise.
9680 [cross-compiling] (extra-libs-others): Likewise.
9681 [cross-compiling] (librpcsvc-routines): Likewise.
9682 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9683 [cross-compiling] (omit-deps): Likewise.
9684 (sunrpc-CPPFLAGS): New variable.
9685 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9686 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9687 (cross-rpcgen-objs): New variable.
9688 (extra-objs): Append $(cross-rpcgen-objs).
9689 ($(cross-rpcgen-objs)): New rule.
9690 ($(objpfx)cross-rpcgen): Likewise.
9691 (rpcgen-cmd): Define to use $(built-program-file). Expand
9692 comment.
9693 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9694 ($(objpfx)x%.stmp): Likewise.
9695 * sunrpc/proto.h [IS_IN_build] (_): Define.
9696 [IS_IN_build] (_libc_intl_domainname): Likewise.
9697
c8c59454
L
96982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9699
9700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9701 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9702 and R_X86_64_TPOFF64.
9703
6f27cd16
JM
97042012-05-10 Joseph Myers <joseph@codesourcery.com>
9705
9706 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9707 sysdeps/unix/sysv/syscalls.list.
9708 (stime): Likewise.
9709 (utime): Likewise.
9710 * sysdeps/unix/sysv/syscalls.list: Remove file.
9711
02467e1c
PE
97122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9713
9714 [BZ #3440]
9715 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9716 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9717 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9718 (__LC_IDENTIFICATION): Make these macros useful in #if
9719 expressions, as required by C99.
9720
da392631
AS
97212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9722
9723 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9724 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9725 after this.
9726
8115f29b
L
97272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9728
9729 * stdlib/longlong.h: Updated from GCC.
9730
bdd74070
AJ
97312012-05-09 Andreas Jaeger <aj@suse.de>
9732
edfe0dbe
AJ
9733 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9734 default is first entry.
9735 (run_mode): Set type.
9736 (main): Remove informal message about syslog.
9737 (options): Fix typo.
9738
bcfe3a54
ST
9739 [BZ #14053]
9740 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9741 to asm.
bcfe3a54
ST
9742 (lrint): Likewise.
9743 (llrintf): Likewise.
9744 (llrint): Likewise.
9745 (rint): Likewise.
9746 (rintf): Likewise.
9747 (nearbyint): Likewise.
9748 (nearbyintf): Likewise.
bdd74070 9749
91d8d69e
AJ
97502012-05-09 Andreas Jaeger <aj@suse.de>
9751 Pedro Alves <palves@redhat.com>
9752
9753 * nscd/nscd.c (run_mode): Use enum.
9754 (main): Cleanup coding style issue.
9755
bb90b80b
AJ
97562012-05-09 Alexandre Oliva <aoliva@redhat.com>
9757 Andreas Jaeger <aj@suse.de>
9758
bcfe3a54
ST
9759 * nscd/nscd.c (go_background): Replaced with...
9760 (run_mode): ... this.
bb90b80b 9761 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9762 (options): Add -F --foreground.
9763 (main): Implement it.
9764 (parse_opt): Parse it.
bb90b80b 9765
1a4b75a1
AJ
97662012-05-09 Andreas Jaeger <aj@suse.de>
9767
9768 [BZ #14083]
9769 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9770 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9771 -Wconversion warning.
9772 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9773 Likewise.
9774
b1cc2472
JM
97752012-05-09 Joseph Myers <joseph@codesourcery.com>
9776
9777 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9778 == 0.
9779 (LC_ALL): Use macro-int-constant.
9780 (LC_COLLATE): Likewise.
9781 (LC_CTYPE): Likewise.
9782 (LC_MESSAGES): Likewise.
9783 (LC_MONETARY): Likewise.
9784 (LC_NUMERIC): Likewise.
9785 (LC_TIME): Likewise.
9786 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9787 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9788 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9789 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9790 Specify type.
9791 [C99-based standards] (float_t): Expect type.
9792 [C99-based standards] (double_t): Expect type.
9793 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9794 type.
9795 [C99-based standards] (HUGE_VALL): Likewise.
9796 [C99-based standards] (INFINITY): Likewise.
9797 [C99-based standards] (NAN): Likewise.
9798 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9799 [C99-based standards] (FP_NAN): Likewise.
9800 [C99-based standards] (FP_NORMAL): Likewise.
9801 [C99-based standards] (FP_SUBNORMAL): Likewise.
9802 [C99-based standards] (FP_ZERO): Likewise.
9803 [C99-based standards] (FP_FAST_FMA): Use
9804 optional-macro-int-constant. Specify type. Require == 1.
9805 [C99-based standards] (FP_FAST_FMAF): Likewise.
9806 [C99-based standards] (FP_FAST_FMAL): Likewise.
9807 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9808 [C99-based standards] (FP_ILOGBNAN): Likewise.
9809 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9810 Specify type.
9811 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9812 [C99-based standards] (math_errhandling): Specify type.
9813 [ISO99 || ISO11] (signgam): Do not allow.
9814 [non-C99-based standards] (copysignf): Do not allow.
9815 [non-C99-based standards] (exp2f): Likewise.
9816 [non-C99-based standards] (log2f): Likewise.
9817 [non-C99-based standards] (modff): Allow.
9818 [non-C99-based standards] (erff): Do not allow.
9819 [non-C99-based standards] (erfcf): Likewise.
9820 [non-C99-based standards] (gammaf): Likewise.
9821 [non-C99-based standards] (hypotf): Likewise.
9822 [non-C99-based standards] (j0f): Likewise.
9823 [non-C99-based standards] (j1f): Likewise.
9824 [non-C99-based standards] (jnf): Likewise.
9825 [non-C99-based standards] (lgammaf): Likewise.
9826 [non-C99-based standards] (tgammaf): Likewise.
9827 [non-C99-based standards] (y0f): Likewise.
9828 [non-C99-based standards] (y1f): Likewise.
9829 [non-C99-based standards] (ynf): Likewise.
9830 [non-C99-based standards] (isnanf): Likewise.
9831 [non-C99-based standards] (acoshf): Likewise.
9832 [non-C99-based standards] (asinhf): Likewise.
9833 [non-C99-based standards] (atanhf): Likewise.
9834 [non-C99-based standards] (cbrtf): Likewise.
9835 [non-C99-based standards] (expm1f): Likewise.
9836 [non-C99-based standards] (ilogbf): Likewise.
9837 [non-C99-based standards] (log1pf): Likewise.
9838 [non-C99-based standards] (logbf): Likewise.
9839 [non-C99-based standards] (nextafterf): Likewise.
9840 [non-C99-based standards] (remainderf): Likewise.
9841 [non-C99-based standards] (rintf): Likewise.
9842 [non-C99-based standards] (scalbf): Likewise.
9843 [non-C99-based standards] (copysignl): Likewise.
9844 [non-C99-based standards] (exp2l): Likewise.
9845 [non-C99-based standards] (log2l): Likewise.
9846 [non-C99-based standards] (modfl): Allow.
9847 [non-C99-based standards] (erfl): Do not allow.
9848 [non-C99-based standards] (erfcl): Likewise.
9849 [non-C99-based standards] (gammal): Likewise.
9850 [non-C99-based standards] (hypotl): Likewise.
9851 [non-C99-based standards] (j0l): Likewise.
9852 [non-C99-based standards] (j1l): Likewise.
9853 [non-C99-based standards] (jnl): Likewise.
9854 [non-C99-based standards] (lgammal): Likewise.
9855 [non-C99-based standards] (tgammal): Likewise.
9856 [non-C99-based standards] (y0l): Likewise.
9857 [non-C99-based standards] (y1l): Likewise.
9858 [non-C99-based standards] (ynl): Likewise.
9859 [non-C99-based standards] (isnanl): Likewise.
9860 [non-C99-based standards] (acoshl): Likewise.
9861 [non-C99-based standards] (asinhl): Likewise.
9862 [non-C99-based standards] (atanhl): Likewise.
9863 [non-C99-based standards] (cbrtl): Likewise.
9864 [non-C99-based standards] (expm1l): Likewise.
9865 [non-C99-based standards] (ilogbl): Likewise.
9866 [non-C99-based standards] (log1pl): Likewise.
9867 [non-C99-based standards] (logbl): Likewise.
9868 [non-C99-based standards] (nextafterl): Likewise.
9869 [non-C99-based standards] (remainderl): Likewise.
9870 [non-C99-based standards] (rintl): Likewise.
9871 [non-C99-based standards] (scalbl): Likewise.
9872 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9873 [non-C99-based standards] (FP_*): Do not allow.
9874 [C99-based standards] (FP_*): Change to
9875 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9876 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9877 allow.
9878 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9879 (SIG_ERR): Likewise.
9880 [X/Open-based standards] (SIG_HOLD): Likewise.
9881 (SIG_IGN): Likewise.
9882 (SIGABRT): Use macro-int-constant. Specify type. Require
9883 positive value.
9884 (SIGFPE): Likewise.
9885 (SIGILL): Likewise.
9886 (SIGINT): Likewise.
9887 (SIGSEGV): Likewise.
9888 (SIGTER): Likewise.
9889 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9890 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9891 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9892 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9893 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9894 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9895 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9896 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9897 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9898 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9899 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9900 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9901 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9902 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9903 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9904 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9905 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9906 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9907 [X/Open-based standards] (SIGTRAP): Likewise.
9908 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9909 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9910 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9911 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9912 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9913 allow.
9914
b9f1922d
IW
99152012-05-08 Ian Wienand <ianw@vmware.com>
9916
9917 [BZ #14080]
9918 * time/tzset.c (__tzset_parse_tz): Update default rules for
9919 daylight time changes in the Energy Policy Act of 2005.
9920
1db86e88
AJ
99212012-05-09 Andreas Jaeger <aj@suse.de>
9922
9923 [BZ #13983]
9924 * elf/ldconfig.c (parse_conf): Change string to make clear that
9925 ldconfig only issued a warning if ld.so.conf does not exist.
9926
dee4a4e3
DM
99272012-05-08 David S. Miller <davem@davemloft.net>
9928
ee0db190
DM
9929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9930 movxtod instead of popping the value on the stack.
9931
dee4a4e3
DM
9932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9933
6a43ec98
CD
99342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9935
9936 * config.h.in: Add HAVE_ARM_PCS_VFP.
9937
05c2c961
RMG
99382012-05-08 Roland Mc Grath <roland@hack.frob.com>
9939
bcfe3a54
ST
9940 [BZ #13979]
9941 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9942 checking but the checks are disabled for any reason.
05c2c961 9943
4b30f61a
L
99442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9947 and ELF64_R_TYPE with ELFW(R_TYPE).
9948
eee2bc67
JM
99492012-05-08 Joseph Myers <joseph@codesourcery.com>
9950
7ea5391a
JM
9951 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9952 (ulimit): Likewise.
9953
eee2bc67
JM
9954 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9955 (settimeofday): Likewise.
9956
abb66a67
MF
99572012-05-08 Mike Frysinger <vapier@gentoo.org>
9958
9959 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9960 a struct th_u2 inside the union, and move tu_block/tu_code into
9961 a new th_u3 union of tu_block/tu_code inside of that. Move
9962 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9963 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9964 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9965 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9966 (th_stuff): Change to th_u1.tu_stuff.
9967 (th_data): Define.
9968 (th_msg): Change to th_u1.th_u2.tu_data.
9969
7f18b530
DM
99702012-05-07 David S. Miller <davem@davemloft.net>
9971
05760585
DM
9972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9973
7f18b530
DM
9974 [BZ #14074]
9975 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9976 (SETUP_PIC_REG): Use it.
9977 (SETUP_PIC_REG_LEAF): Use it.
9978
495fd99f
JM
99792012-05-07 Joseph Myers <joseph@codesourcery.com>
9980
9981 [BZ #13885]
9982 [BZ #13923]
9983 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9984 USE_AS_EXPM1L.
9985 (EXPL_FINITE): Likewise.
9986 (FLDLOG): Likewise.
9987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9988 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9989 e_expl.S.
9990 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9991 USE_AS_EXPM1L.
9992 (EXPL_FINITE): Likewise.
9993 (FLDLOG): Likewise.
9994 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9995 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9996 e_expl.S.
9997 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9998 test of -max_value argument for long double.
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10001
6693d694
DM
100022012-05-06 David S. Miller <davem@davemloft.net>
10003
10004 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10005 quad soft-float symbols whose references which are compiler
10006 generated.
10007 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10008
6c23e11c
JM
100092012-05-06 Joseph Myers <joseph@codesourcery.com>
10010
d8b82cad
JM
10011 [BZ #13884]
10012 [BZ #13914]
10013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10014 USE_AS_EXP10L.
10015 (EXPL_FINITE): Likewise.
10016 (FLDLOG): Likewise.
10017 (c0): Likewise.
10018 (c1): Likewise.
10019 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10020 Adjust comments for base varying.
10021 (__expl_finite): Change alias to EXPL_FINITE.
10022 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10023 e_expl.S.
10024 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10025 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10027 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10028 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10029 USE_AS_EXP10L.
10030 (EXPL_FINITE): Likewise.
10031 (FLDLOG): Likewise.
10032 (c0): Likewise.
10033 (c1): Likewise.
10034 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10035 Adjust comments for base varying.
10036 (__expl_finite): Change alias to EXPL_FINITE.
10037 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10038 tests for bugs.
10039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10040
6c23e11c
JM
10041 [BZ #14064]
10042 * math/libm-test.inc (check_float_internal): Correct ulp
10043 calculation for subnormal expected results.
10044
29ba805c
AJ
100452012-05-06 Andreas Jaeger <aj@suse.de>
10046
10047 * Makeconfig (+math-flags): New, set to -frounding-math.
10048 (+cflags): Add +math-flags so that all of glibc gets compiled with
10049 it.
10050
10051 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10052
7b17aeda
JM
100532012-05-05 Joseph Myers <joseph@codesourcery.com>
10054
5779f134
JM
10055 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10056 Disable one test.
10057
41498f4d
JM
10058 [BZ #13787]
10059 [BZ #13922]
10060 [BZ #14036]
10061 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10062 (__ieee754_expl): Allow for and saturate large arguments.
10063 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10064 (u_threshold): Likewise.
10065 (__exp): Call __ieee754_exp before checking for overflow and
10066 underflow.
10067 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10068 (u_threshold): Likewise.
10069 (__expf): Call __ieee754_expf before checking for overflow and
10070 underflow.
10071 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10072 (u_threshold): Likewise.
10073 (__expl): Call __ieee754_expl before checking for overflow and
10074 underflow.
10075 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10076 (__ieee754_expl): Allow for and saturate large arguments.
10077 * math/libm-test.inc (exp_test): Add another test. Do not allow
10078 missing overflow exception on overflow.
10079 (expm1_test): Do not allow missing overflow exception on overflow.
10080
6698b8bf
JM
10081 * sysdeps/i386/fpu/e_expl.c: Move to ...
10082 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10083 rather than using inline asm.
10084 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10085 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10086 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10087
7b17aeda
JM
10088 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10089 (nice): Likewise.
10090 (poll): Likewise.
10091 (signal): Likewise.
10092 (time): Likewise.
10093 (times): Likewise.
10094
f7c85819
JM
100952012-05-04 Joseph Myers <joseph@codesourcery.com>
10096
10097 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10098 sysdeps/unix/common/syscalls.list.
10099 (fchmod): Likewise.
10100 (fchown): Likewise.
10101 (ftruncate): Likewise.
10102 (getrusage): Likewise.
10103 (gettimeofday): Likewise.
10104 (setpgid): Likewise.
10105 (setregid): Likewise.
10106 (setreuid): Likewise.
10107 (sigaction): Likewise.
10108 (truncate): Likewise.
10109 (vhangup): Likewise.
10110 * sysdeps/unix/common/syscalls.list: Remove file.
10111 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10112 * sysdeps/unix/sysv/linux/Implies: Likewise.
10113
336270d0
L
101142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10118 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10119 Moved to ...
10120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10121 Here.
10122 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10123 to ...
10124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10125 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10126 to ...
10127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10128 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10129 to ...
10130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10131 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10132 to ...
10133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10134 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10135 to ...
10136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10137 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10138 to ...
10139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10140 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10141 to ...
10142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10143 Here.
10144 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10145 to ...
10146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10147 Here.
10148 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10149 to ...
10150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10151 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10152 Moved to ...
10153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10154 Here.
10155 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10156 to ...
10157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10158
d128e450
JM
101592012-05-04 Joseph Myers <joseph@codesourcery.com>
10160
fa8ee516
JM
10161 * sysdeps/unix/common/bits/dirent.h: Remove file.
10162 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10163
d128e450
JM
10164 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10165 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10166 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10167 * sysdeps/unix/bsd/isatty.c: Likewise.
10168 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10169 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10170 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10171
ff8faaf0 101722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10173
62881be4 10174 [BZ #13563]
31dc8730
AZ
10175 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10176 long double comparison inaccuracies.
10177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10179
6fef930c
AS
101802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10181
10182 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10184
8f203e6c
JM
101852012-05-04 Joseph Myers <joseph@codesourcery.com>
10186
10187 [BZ #14049]
10188 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10189 nonzero digits before rounding a hex value.
10190 * stdlib/tst-strtod.c (tests): Add another test.
10191
5197d9c2
AK
101922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10193
10194 * sysdeps/s390/fpu/libm-test-ulps: Update.
10195
f0c1dedf
AJ
101962012-05-03 Andreas Jaeger <aj@suse.de>
10197
10198 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10199 does not get optimized out.
10200 (malloc_opt_barrier): New.
10201
a65ef2ae 102022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10203 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10204
2b942cb7 10205 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10206 intermediate file deletion.
2b942cb7 10207 (generated): Add .symlist files.
a65ef2ae 10208
54b71e02
JM
102092012-05-03 Joseph Myers <joseph@codesourcery.com>
10210
10211 [BZ #13775]
10212 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10213 Redirect under this condition.
10214 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10215 [__USE_GNU] (__dprintf_chk): Not under this condition.
10216 [__USE_GNU] (__vdprintf_chk): Likewise.
10217 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10218 under this condition.
10219 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10220 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10221 [__USE_XOPEN2K8] (vdprintf): Likewise.
10222 [__USE_GNU] (__dprintf_chk): Not under this condition.
10223 [__USE_GNU] (__vdprintf_chk): Likewise.
10224 [__USE_GNU] (dprintf): Likewise.
10225 [__USE_GNU] (vdprintf): Likewise.
10226
d3dfcc41
RM
102272012-05-03 Roland McGrath <roland@hack.frob.com>
10228
10229 * elf/Makefile (common-generated): Set this instead of generated for
10230 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10231 $(all-built-dso)-derived lists.
10232
7ac30cc5
AJ
102332012-05-03 Andreas Jaeger <aj@suse.de>
10234
0c51e550
AJ
10235 * sysdeps/i386/fpu/libm-test-ulps: Update.
10236
7ac30cc5
AJ
10237 * FAQ: Removed.
10238 * FAQ.in: Likewise.
10239 * scripts/gen-FAQ.pl: Likewise.
10240 * manual/install.texi (Installation): Point to online location of
10241 FAQ.
10242 * Makefile (files-for-dist): Remove FAQ.
10243 (FAQ): Remove.
10244
d4c2917f
AM
102452012-05-02 Allan McRae <allan@archlinux.org>
10246
10247 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10248 (LDFLAGS-reldepmod5.so): Likewise.
10249 (LDFLAGS-reldep6mod1.so): Likewise.
10250 (LDFLAGS-reldep6mod4.so): Likewise.
10251 (LDFLAGS-reldep8mod3.so): Likewise.
10252 (LDFLAGS-unload4mod1.so): Likewise.
10253 (LDFLAGS-unload4mod2.so): Likewise.
10254 (LDFLAGS-tst-initorder): Likewise.
10255 (LDFLAGS-tst-initordera2.so): Likewise.
10256 (LDFLAGS-tst-initordera3.so): Likewise.
10257 (LDFLAGS-tst-initordera4.so): Likewise.
10258 (LDFLAGS-tst-initorderb2.so): Likewise.
10259 (LDFLAGS-noload): Likewise.
10260 (LDFLAGS-next): Likewise.
10261 (LDFLAGS-order2mod1.so): Likewise.
10262 (LDFLAGS-order2mod2.so): Likewise.
10263 (LDFLAGS-tst-initorder2): Likewise.
10264 (LDFLAGS-tst-initorder2a.so): Likewise.
10265 (LDFLAGS-tst-initorder2b.so): Likewise.
10266 (LDFLAGS-tst-initorder2c.so): Likewise.
10267 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10268
d77f993f
DM
102692012-05-02 David S. Miller <davem@davemloft.net>
10270
10271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10272
171a70b4
PP
102732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10274
10275 [BZ #14055]
10276 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10277
0be196ad
AJ
102782012-05-02 Andreas Jaeger <aj@suse.de>
10279
10280 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10281 since we manipulate rounding mode.
10282 (CPPFLAGS-test-idouble.c): Likewise.
10283 (CPPFLAGS-test-ifloat.c): Likewise.
10284 (CFLAGS-test-ldouble.c): Likewise.
10285 (CFLAGS-test-double.c): Likewise.
10286 (CFLAGS-test-float.c): Likewise.
10287 (CFLAGS-test-misc.c): Likewise.
10288 (CFLAGS-test-test-fenv.c): Likewise.
10289
4f9d04aa
AZ
102902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10291
2b942cb7
RM
10292 [BZ #2550]
10293 [BZ #2570]
10294 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10295 comparisons to determine direction to adjust input.
4f9d04aa 10296
82a79e7d
RM
102972012-05-01 Roland McGrath <roland@hack.frob.com>
10298
f5a01ca9
RM
10299 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10300 output to the target.
10301
90fe4186
RM
10302 * scripts/localplt.awk: New file.
10303 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10304 (check-localplt-CFLAGS): Variable removed.
10305 ($(all-built-dso:=.jmprel)): New static pattern rule.
10306 (generated): Add those targets.
10307 (localplt-built-dso): New variable.
10308 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10309
10310 * elf/check-localplt.c: File removed.
10311
82397ed6
RM
10312 * scripts/check-execstack.awk: New file.
10313 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10314 (check-execstack-CFLAGS): Variable removed.
10315 ($(objpfx)check-execstack.h): Target removed.
10316 ($(objpfx)execstack-default): New target.
10317 (generated): Add that instead of check-execstack.h.
10318 ($(all-built-dso:=.phdr)): New static pattern rule.
10319 (generated): Add those targets.
10320 * elf/check-execstack.c: File removed.
10321
82a79e7d
RM
10322 * scripts/check-textrel.awk: New file.
10323 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10324 (check-textrel-CFLAGS): Variable removed.
10325 (all-built-dso): Use := to define.o
10326 ($(all-built-dso:=.dyn)): New static pattern rule.
10327 (generated): Add those targets.
10328 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10329 * config.make.in (READELF): New substituted variable.
10330 * elf/check-textrel.c: File removed.
10331
62fde54f 103322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10333
615605c9
JM
10334 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10335 allow.
10336 * conform/data/ctype.h-data [C99-based standards] (isblank):
10337 Expect function.
10338 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10339 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10341 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10342 Specify type. Require positive value.
10343 (EILSEQ): Likewise.
10344 (ERANGE): Likewise.
10345 [ISO || POSIX] (EILSEQ): Do not expect.
10346 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10347 Specify type. Require positive value.
10348 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10349 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10350 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10351 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10352 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10353 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10354 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10355 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10356 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10357 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10358 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10359 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10360 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10361 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10362 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10363 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10364 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10365 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10366 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10367 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10368 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10369 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10376 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10383 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10411 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10412 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10413 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10422 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10423 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10424 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10425 Require >= 2.
10426 (FLT_ROUNDS): Expect as macro, not constant.
10427 (FLT_MANT_DIG): Use macro-int-constant.
10428 (DBL_MANT_DIG): Likewise.
10429 (LDBL_MANT_DIG): Likewise.
10430 (FLT_DIG): Likewise.
10431 (DBL_DIG): Likewise.
10432 (LDBL_DIG): Likewise.
10433 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10434 (DBL_MIN_EXP): Likewise.
10435 (LDBL_MIN_EXP): Likewise.
10436 (FLT_MAX_EXP): Use macro-int-constant.
10437 (DBL_MAX_EXP): Likewise.
10438 (LDBL_MAX_EXP): Likewise.
10439 (FLT_MAX_10_EXP): Likewise.
10440 (DBL_MAX_10_EXP): Likewise.
10441 (LDBL_MAX_10_EXP): Likewise.
10442 (FLT_MAX): Use macro-constant.
10443 (DBL_MAX): Likewise.
10444 (LDBL_MAX): Likewise.
10445 (FLT_EPSILON): Use macro-constant. Give upper bound.
10446 (DBL_EPSILON): Likewise.
10447 (LDBL_EPSILON): Likewise.
10448 (FLT_MIN): Likewise.
10449 (DBL_MIN): Likewise.
10450 (LDBL_MIN): Likewise.
10451 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10452 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10453 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10454 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10455 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10456 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10457 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10458 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10459 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10460 [ISO11] (FLT_TRUE_MIN): Likewise.
10461 [ISO11] (LDBL_TRUE_MIN): Likewise.
10462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10463 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10464 (SCHAR_MIN): Use macro-int-constant. Specify type.
10465 (SCHAR_MAX): Likewise.
10466 (UCHAR_MAX): Likewise.
10467 (CHAR_MIN): Likewise.
10468 (CHAR_MAX): Likewise.
10469 (MB_LEN_MAX): Use macro-int-constant.
10470 (SHRT_MIN): Use macro-int-constant. Specify type.
10471 (SHRT_MAX): Likewise.
10472 (USHRT_MAX): Likewise.
10473 (INT_MAX): Likewise.
10474 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10475 bound negative.
10476 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10477 bound with "U".
10478 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10479 bound with "L".
10480 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10481 bound negative. Suffix upper bound with "L".
10482 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10483 bound with "UL".
10484 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10485 Specify type.
10486 [C99-based standards] (LLONG_MAX): Likewise.
10487 [C99-based standards] (ULLONG_MAX): Likewise.
10488 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10489 == 0.
10490 [ISO11] (max_align_t): Require type.
10491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10492
c9140a62
JM
10493 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10494 from $CFLAGS, without defining away __attribute__ calls.
10495 (checknamespace): Use $CFLAGS_namespace.
10496
9af0bf29
JM
10497 * conform/conformtest.pl (@keywords): Only include C99 keywords
10498 for standards based on C99 or C11.
10499
343222a2
JM
10500 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10501 Disable tests.
10502 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10503 UNIX98]: Likewise.
10504
661f8cf0
JM
10505 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10506 usability of symbols in #if.
10507
ee74b9cb
JM
10508 * conform/conformtest.pl: If macro or constant types start
10509 "promoted:", expect the symbol to be of the following type
10510 promoted by the integer promotions.
62fde54f 10511
aafc49b3
JM
10512 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10513 in one place. Also handle "macro-constant".
10514
fefdf574
JM
10515 * conform/conformtest.pl: Only accept expected macro values with
10516 "==". Parse all "macro" lines in one place.
10517 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10518
f2d922fe
JM
10519 * conform/conformtest.pl: Handle braced types on "constant" lines
10520 instead of handling "typed-constant".
10521 * conform/data/signal.h-data: Use "constant" instead of
10522 "typed-constant".
10523
d22956c9
JM
10524 * conform/conformtest.pl: Handle "optional-" at start of lines in
10525 one place rather than duplicating several cases. Handle each
10526 format of "macro" line with initial "optional-".
10527
028e2e38
JM
10528 * conform/conformtest.pl: Only accept expected constant or
10529 optional-constant values with "==". Parse all "constant" lines in
10530 one place. Parse all "optional-constant" lines in one place.
10531 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10532 * conform/data/fmtmsg.h-data: Likewise.
10533 * conform/data/netinet/in.h-data: Likewise.
10534 * conform/data/tar.h-data: Likewise.
10535 * conform/data/limits.h-data: Use "==" form on "constant" and
10536 "optional-constant" lines.
10537
1b8f2850
JM
10538 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10539 Use -std=c99 for XOPEN2K.
10540 (@knownproblems): Remove.
10541 (newtoken): Don't check %isknown.
10542
a05a144b
JM
10543 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10544 Do not expect macro.
10545 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10557 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10558 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10559 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10560 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10561 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10562 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10563 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10564 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10565 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10566 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10567 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10568 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10569 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10570 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10571 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10572 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10573 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10574 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10575 [XPG3] (acosh): Likewise.
10576 [XPG3] (asinh): Likewise.
10577 [XPG3] (atanh): Likewise.
10578 [XPG3] (cbrt): Likewise.
10579 [XPG3] (expm1): Likewise.
10580 [XPG3] (ilogb): Likewise.
10581 [XPG3] (log1p): Likewise.
10582 [XPG3] (logb): Likewise.
10583 [XPG3] (nextafter): Likewise.
10584 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10585 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10586 [XPG3] (remainder): Likewise.
10587 [XPG3] (rint): Likewise.
10588 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10589 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10590 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10591 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10592 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10593 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10594 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10595 [UNIX98 || XOPEN2K] (scalb): Expect.
10596 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10597 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10598 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10599 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10600 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10601 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10602 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10603 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10604 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10605 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10606 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10607 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10608 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10609 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10610 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10611 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10612 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10616 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10618 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10625 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10626 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10634 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10635 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10643 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10647 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10648 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10649 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10654 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10655 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10733
73c5ebe3
JM
10734 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10735 _XOPEN_SOURCE_EXTENDED for XPG4.
10736
39c33b6c
JM
10737 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10738
62fde54f
JM
10739 * Makeconfig (localtime): Remove variable.
10740 (inst_localtime-file): Likewise.
10741
0741d64c
AS
107422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10743
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10745 Update.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10747 Update.
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10749 Update.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10751 Update.
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10753 Update.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10755 Update.
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10757 Update.
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10759 Update.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10761 Update.
10762
7cb029ee
JM
107632012-05-01 Joseph Myers <joseph@codesourcery.com>
10764
10765 [BZ #2550]
10766 [BZ #2570]
10767 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10768 comparisons to determine direction to adjust input.
10769 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10770 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10772 Likewise.
10773 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10774 Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10776 Likewise.
10777 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10778 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10779 Likewise.
10780 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10781 Likewise.
10782 * math/libm-test.inc (nexttoward_test): Add more tests.
10783
412bd966
AS
107842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10785
10786 [BZ #14040]
10787 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10788 in version GLIBC_2.1, not GLIBC_2.0.
10789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10790 Likewise.
10791
9568c0c2
JM
107922012-04-30 Joseph Myers <joseph@codesourcery.com>
10793
adfbc8ac
JM
10794 [BZ #13942]
10795 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10796 (1 - x) * (1 + x).
10797 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10798 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10799 * math/libm-test.inc (acos_test): Add more tests.
10800 (asin_test): Likewise.
10801 * sysdeps/i386/fpu/libm-test-ulps: Update.
10802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10803
5ba3cc69
JM
10804 [BZ #14034]
10805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10806 of square root.
10807 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10808 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10809 * math/libm-test.inc (acos_test_tonearest): New function.
10810 (acos_test_towardzero): Likewise.
10811 (acos_test_downward): Likewise.
10812 (acos_test_upward): Likewise.
10813 (asin_test_tonearest): Likewise.
10814 (asin_test_towardzero): Likewise.
10815 (asin_test_downward): Likewise.
10816 (asin_test_upward): Likewise.
10817 (main): Call the new functions.
10818 * sysdeps/i386/fpu/libm-test-ulps: Update.
10819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10820
9568c0c2
JM
10821 [BZ #13884]
10822 [BZ #13924]
10823 * math/e_exp10.c: Include <float.h>.
10824 (__ieee754_exp10): Handle underflow here rather than multiplying
10825 large negative argument by M_LN10.
10826 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10827 of __ieee754_expf.
10828 * math/e_exp10l.c: Include <float.h>.
10829 (__ieee754_exp10l): Handle underflow here rather than multiplying
10830 large negative argument by M_LN10l.
10831 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10832 spurious overflow exception on underflow.
10833
5ac3ea17
MP
108342012-04-29 Marek Polacek <polacek@redhat.com>
10835
10836 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10837 (__fortify_function): New macro.
10838 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10839 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10840 __extern_always_inline.
10841 * libio/bits/stdio2.h: Likewise.
10842 * libio/bits/stdio.h: Likewise.
10843 * string/string.h: Likewise.
10844 * string/bits/string3.h: Likewise.
10845 * include/stdio.h: Likewise.
10846 * stdlib/bits/stdlib.h: Likewise.
10847 * stdlib/stdlib.h: Likewise.
10848 * rt/bits/mqueue2.h: Likewise.
10849 * rt/mqueue.h: Likewise.
10850 * posix/bits/unistd.h: Likewise.
10851 * posix/unistd.h: Likewise.
10852 * io/bits/poll2.h: Likewise.
10853 * io/bits/fcntl2.h: Likewise.
10854 * io/fcntl.h: Likewise.
10855 * io/sys/poll.h: Likewise.
10856 * misc/bits/syslog.h: Likewise.
10857 * misc/bits/syslog-ldbl.h: Likewise.
10858 * misc/sys/syslog.h: Likewise.
10859 * socket/bits/socket2.h: Likewise.
10860 * socket/sys/socket.h: Likewise.
10861 * debug/tst-chk1.c: Likewise.
10862 * wcsmbs/bits/wchar2.h: Likewise.
10863 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10864 * wcsmbs/wchar.h: Likewise.
10865
ecf0ebfb
AJ
108662012-04-29 Andreas Jaeger <aj@suse.de>
10867
10868 * Makerules (tests): Remove enable-check-abi protection.
10869 (check-abi-warn): Remove.
10870 (check-abi-%): Remove check-abi-warn usage.
10871
10872 * configure.in: Remove check-abi configure option.
10873 * configure: Regenerated.
10874 * config.make.in (enable-check-abi): Remove.
10875
6d5c57fa
AS
108762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10877
24c5d07e 10878 [BZ #14033]
ded5180a
AS
10879 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10880 double functions to double *_finite functions.
10881
7e0d315d
AS
10882 [BZ #13941]
10883 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10884 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10885 LDBL_MIN_EXP.
10886 * stdio-common/Makefile (tests): Add tst-sprintf3.
10887 * stdio-common/tst-sprintf3.c: New file.
10888
6d5c57fa
AS
10889 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10890 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10891
0749ff8b
JM
108922012-04-28 Joseph Myers <joseph@codesourcery.com>
10893
10894 * conform/conformtest.pl: Remove duplicate typed-constant
10895 handling.
10896
8dbd5d7b
DM
108972012-04-28 David S. Miller <davem@davemloft.net>
10898
10899 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10900 (check-abi-%): Remove AWK script prerequisite and explicit
10901 abilist directory.
10902 (check-abi): Rewrite to just diff the symlist with the abilist.
10903 (config-tls, config-abi-config): Delete, no longer used.
10904 (update-abi-%): Remove AWK script and explicit abilist directory.
10905 (update-abi): Rewrite to simply compare and conditionally copy the
10906 symlist and the sysdep abilist file. Remove update-abi-config
10907 checks.
10908 * abilist/ld.abilist: Remove.
10909 * abilist/libBrokenLocale.abilist: Remove.
10910 * abilist/libanl.abilist: Remove.
10911 * abilist/libcrypt.abilist: Remove.
10912 * abilist/libdl.abilist: Remove.
10913 * abilist/librt.abilist: Remove.
10914 * abilist/libthread_db.abilist: Remove.
10915 * abilist/libutil.abilist: Remove.
10916 * scripts/extract-abilist.awk: Remove.
10917 * scripts/merge-abilist.awk: Remove.
10918 * sysdeps/generic/libcidn.abilist: New file.
10919 * sysdeps/generic/libnss_compat.abilist: New file.
10920 * sysdeps/generic/libnss_db.abilist: New file.
10921 * sysdeps/generic/libnss_dns.abilist: New file.
10922 * sysdeps/generic/libnss_files.abilist: New file.
10923 * sysdeps/generic/libnss_hesiod.abilist: New file.
10924 * sysdeps/generic/libnss_nis.abilist: New file.
10925 * sysdeps/generic/libnss_nisplus.abilist: New file.
10926 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10927 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10928 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10929 file.
10930 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10931 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10932 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10933 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10934 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10935 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10936 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10937 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10938 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10939 file.
10940 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10941 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10942 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10943 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10944 file.
10945 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10946 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10947 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10948 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10949 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10950 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10951 file.
10952 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10953 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10954 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10955 file.
10956 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10958 New file.
10959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10960 New file.
10961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10962 New file.
10963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10964 New file.
10965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10966 New file.
10967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10968 New file.
10969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10970 New file.
10971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10972 New file.
10973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10974 New file.
10975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10976 New file.
10977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10978 New file.
10979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10980 New file.
10981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10982 New file.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10984 file.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10986 New file.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10988 New file.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10990 file.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10992 New file.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10994 New file.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10996 file.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10998 New file.
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11000 New file.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11002 New file.
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11004 New file.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11006 New file.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11008 New file.
11009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11011 file.
11012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11013 New file.
11014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11015 file.
11016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11017 file.
11018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11019 file.
11020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11021 file.
11022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11023 file.
11024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11025 New file.
11026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11027 file.
11028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11029 file.
11030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11031 New file.
11032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11033 file.
11034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11036 file.
11037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11038 New file.
11039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11040 file.
11041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11042 file.
11043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11044 file.
11045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11046 file.
11047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11048 file.
11049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11050 New file.
11051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11052 file.
11053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11054 file.
11055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11056 New file.
11057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11058 file.
11059 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11060 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11061 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11062 file.
11063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11064 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11065 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11066 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11067 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11068 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11069 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11070 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11071 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11072 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11075 file.
11076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11077 New file.
11078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11079 file.
11080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11081 file.
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11083 file.
11084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11085 file.
11086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11087 file.
11088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11089 New file.
11090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11091 New file.
11092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11093 file.
11094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11095 New file.
11096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11097 file.
11098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11100 file.
11101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11104 file.
11105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11106 file.
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11108 file.
11109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11110 file.
11111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11112 file.
11113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11114 New file.
11115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11116 New file.
11117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11118 file.
11119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11120 New file.
11121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11122 file.
11123
41d73a1b
JM
111242012-04-28 Joseph Myers <joseph@codesourcery.com>
11125
11126 * conform/conformtest.pl: Fix typo in handling typed-constant from
11127 allow-header.
11128
28aeeda4
JM
111292012-04-27 Joseph Myers <joseph@codesourcery.com>
11130
adae8f5e
JM
11131 * README: Cut down references to pre-2.6 Linux kernels and
11132 Linuxthreads. Update lists of configurations in libc and ports
11133 and sort alphabetically. Say "or newer" with Linux kernel version
11134 requirements.
11135
28aeeda4
JM
11136 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11137
a462cb63
RA
111382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11139
11140 [BZ #887]
11141 * math/libm-test.inc (logb_test_downward): New test to expose
11142 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11143 rounding mode.
11144
6ad3493e
JM
111452012-04-27 Joseph Myers <joseph@codesourcery.com>
11146
11147 [BZ #14027]
11148 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11149 to be done.
11150 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11151 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11152
2ce4f015
JM
111532012-04-26 Joseph Myers <joseph@codesourcery.com>
11154
5aeb141a
JM
11155 * sysdeps/unix/i386/brk.S: Remove file.
11156 * sysdeps/unix/i386/dl-brk.S: Likewise.
11157 * sysdeps/unix/i386/pipe.S: Likewise.
11158 * sysdeps/unix/i386/sigreturn.S: Likewise.
11159 * sysdeps/unix/i386/syscall.S: Likewise.
11160 * sysdeps/unix/i386/vfork.S: Likewise.
11161 * sysdeps/unix/i386/wait.S: Likewise.
11162
7143acae
JM
11163 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11164 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11165
2ce4f015
JM
11166 * configure.in (arm*-none*): Do not allow without
11167 --enable-hacker-mode.
11168 (netbsd*): Remove case setting base_os.
11169 (386bsd*): Likewise.
11170 (freebsd*): Likewise.
11171 (bsdi*): Likewise.
11172 (osf*): Likewise.
11173 (sunos*): Likewise.
11174 (ultrix*): Likewise.
11175 (newsos*): Likewise.
11176 (dynix*): Likewise.
11177 (*bsd*): Likewise.
11178 (sysv*): Likewise.
11179 (isc*): Likewise.
11180 (esix*): Likewise.
11181 (sco*): Likewise.
11182 (minix*): Likewise.
11183 (irix4*): Likewise.
11184 (irix6*): Likewise.
11185 (solaris[2-9]*): Likewise.
11186 (none): Likewise.
11187 * configure: Regenerated.
11188
0ac229c8
AZ
111892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11190
11191 [BZ #11521]
11192 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11193 overflow or cancellation in calculating denominator.
11194 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11196 down expression to avoid unexpected rounding in newer GCCs.
11197 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11198
33f244f4
DM
111992012-04-26 David S. Miller <davem@davemloft.net>
11200
11201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11202 long-double compat symbols.
11203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11216
cfa1f3e8
DM
112172012-04-25 David S. Miller <davem@davemloft.net>
11218
11219 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11220 HWCAP_* values only after the memory barriers have been defined.
11221 (atomic_full_barrier): Define.
11222 (atomic_read_barrier): Define.
11223 (atomic_write_barrier): Define.
11224
6e236b92
SP
112252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11226
11227 * shlib-versions: Add libgcc_s version information.
11228 * sysdeps/generic/libgcc_s.h: Remove.
11229 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11230 libgcc_s.h.
11231 * sysdeps/gnu/unwind-resume.c: Likewise.
11232 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11233
aab39a09
DM
112342012-04-25 David S. Miller <davem@davemloft.net>
11235
11236 * sysdeps/unix/sparc/brk.S: Delete.
11237 * sysdeps/unix/sparc/dl-brk.S: Delete.
11238 * sysdeps/unix/sparc/pipe.S: Delete.
11239 * sysdeps/unix/sparc/sysdep.S: Delete.
11240 * sysdeps/unix/sparc/sysdep.h: Delete.
11241 * sysdeps/unix/sparc/vfork.S: Delete.
11242 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11243 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11245 ret_ERRVAL, r0, r1, MOVE): Define.
11246 (JUMPTARGET): Remove.
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11248 sysdeps/unix/sparc/sysdep.h
11249 (ENTRY, END): Remove.
11250 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11251
a3cc4f48
JM
112522012-04-25 Joseph Myers <joseph@codesourcery.com>
11253
2ed8cda2
JM
11254 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11255 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11256 -DIS_IN_build.
11257
35d76d59
JM
11258 * timezone/README: Update upstream location and email address for
11259 tzcode and tzdata.
11260 * timezone/zdump.c: Update from tzcode 2012b.
11261 * timezone/zic.c: Likewise.
11262
a3cc4f48
JM
11263 * configure.in (libc_cv_as_needed): Remove test.
11264 * configure: Regenerated.
11265 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11266 conditional definition.
11267 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11268 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11269 * config.make.in (have-as-needed): Remove variable.
11270
ceab42c3
SP
112712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11272 Paul Pluzhnikov <ppluzhnikov@google.com>
11273
11274 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11275 strings correctly.
11276
3ce2865f
CLT
112772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11278
11279 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11280 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11281 * sysdeps/sh/strlen.S: Likewise.
11282
f37e0d68
JM
112832012-04-24 Joseph Myers <joseph@codesourcery.com>
11284
ae186e9a
JM
11285 * sysdeps/unix/fork.S: Remove file.
11286 * sysdeps/unix/i386/fork.S: Likewise.
11287 * sysdeps/unix/sparc/fork.S: Likewise.
11288
b96914af
JM
11289 * sysdeps/unix/system.c: Remove file.
11290 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11291
f37e0d68
JM
11292 * sysdeps/unix/getegid.S: Remove file.
11293 * sysdeps/unix/geteuid.S: Likewise.
11294
87ef29ca
RM
112952012-04-24 Roland McGrath <roland@hack.frob.com>
11296
83bcd236
RM
11297 * scripts/check-localplt.awk: New file.
11298 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11299 of diff.
11300 * scripts/data/localplt-generic.data: Add a comment.
11301
87ef29ca
RM
11302 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11303 NODE when __dir_mkfile failed.
11304 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11305 Reported by Ludovic Courtès <ludo@gnu.org>.
11306
e5a6e567
AJ
113072012-04-24 Andreas Jaeger <aj@suse.de>
11308
11309 * Makerules (common-clean): Also remove gen-as-const-headers
11310 files.
11311
c1820385
JM
113122012-04-24 Joseph Myers <joseph@codesourcery.com>
11313
11314 * Makerules (native-compile): Do not change working directory for
11315 build. Use $(OUTPUT_OPTION) in command.
11316 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11317
94e02fc4
AZ
113182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319
11320 [BZ #13886]
11321 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11322 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11323 * math/libm-test.inc (floor_test): Add more tests.
11324 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11325
3a533ca3
JM
113262012-04-24 Joseph Myers <joseph@codesourcery.com>
11327
940ab4b3
JM
11328 * sysdeps/unix/getdents.c: Remove file.
11329 * sysdeps/unix/sysv/getdents.c: Likewise.
11330 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11331
90e037bd
JM
11332 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11333 sysdeps/unix/mman/syscalls.list.
11334 (mmap): Likewise.
11335 (mprotect): Likewise.
11336 (msync): Likewise.
11337 (munmap): Likewise.
11338 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11339 * sysdeps/unix/mman/syscalls.list: Remove.
11340 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11341
3a533ca3
JM
11342 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11343 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11344 * configure: Regenerated.
11345 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11346 $(libgcc_s_suffix).
11347 * config.make.in (libgcc_s_suffix): Remove variable.
11348
1ad743de
JM
113492012-04-23 Joseph Myers <joseph@codesourcery.com>
11350
4ad451e2
JM
11351 * sysdeps/unix/sysv/gethostname.c: Move to ...
11352 * sysdeps/posix/gethostname.c: ... here.
11353
5e37ce39
JM
11354 * sysdeps/unix/execve.S: Remove file.
11355
1ad743de
JM
11356 * sysdeps/unix/_exit.S: Remove file.
11357
4e681b5b
AJ
113582012-04-23 Andreas Jaeger <aj@suse.de>
11359
11360 [BZ #13739]
11361 * manual/Makefile: Remove make dist support, there's no
11362 need for a stand-alone documentation tar ball.
11363 (TEXI2DVI): Define always, it's not in Makeconfig.
11364 (dist): Removed.
11365 (tar-it): Removed.
11366 (edition): Removed.
11367 (glibc-doc-$(edition).tar): Removed
11368 (%.Z): Removed.
11369 (%.gz): Removed.
11370 (%.uu): Removed.
11371 (ETAGS): Remove, it's in Makeconfig.
11372 (move-if-change): Remove, it's in Makeconfig.
11373
c0baea34
PE
113742013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11375
11376 [BZ #13970]
11377 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11378 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11379 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11380 (strtod_l, strtof_l, strtold_l): Remove __wur.
11381 It is not necessarily an error to ignore strtol's return value.
11382 One can reliably look at the stored endptr to decide whether
11383 the number had valid syntax.
11384
7c0616fa
AJ
113852012-04-21 Andreas Jaeger <aj@suse.de>
11386
803cb6b7 11387 [BZ #13739]
7c0616fa
AJ
11388 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11389
b0fe253f
JM
113902012-04-21 Joseph Myers <joseph@codesourcery.com>
11391
11392 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11393 * sysdeps/unix/sysv/Versions: Remove file.
11394
8280f22d
MT
113952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11396
11397 [BZ #13927]
11398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11399
75ce411f 114002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11401
11402 [BZ #7064]
11403 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11404 version from __vm86.
11405
097d59fa
JM
114062012-04-20 Joseph Myers <joseph@codesourcery.com>
11407
a90f3bcb
JM
11408 * sysdeps/unix/common/lxstat.c: Remove file.
11409 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11410
edc7ea78
JM
11411 * sysdeps/unix/sysv/Makefile: Remove file.
11412
cb78c221
JM
11413 * sysdeps/unix/sysv/direct.h: Remove file.
11414
efa6a45f
JM
11415 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11416 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11417 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11418 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11419 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11420 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11421 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11422
9c9f2d0c
JM
11423 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11424
4541c83b
JM
11425 * sysdeps/unix/xmknod.c: Remove file.
11426 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11427
f5d153a0
JM
11428 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11429
aa746595
JM
11430 * sysdeps/unix/sysv/i386/time.S: Remove file.
11431
cce5905e
JM
11432 * sysdeps/unix/fxstat.c: Remove file.
11433 * sysdeps/unix/xstat.c: Likewise.
11434 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11435
37fa3841
JM
11436 * sysdeps/unix/sysv/sigaction.c: Remove file.
11437
ff1962a3
JM
11438 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11439 (sysdep_headers): Remove variable.
11440 [termio.h not in sysdep_headers] (generated): Likewise.
11441 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11442 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11443 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11444 * sysdeps/unix/sysv/tcflow.c: Likewise.
11445 * sysdeps/unix/sysv/tcflush.c: Likewise.
11446 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11447 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11448 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11449 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11450 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11451
e7740d31
JM
11452 * sysdeps/unix/siglist.c: Remove file.
11453
ee06f18b
JM
11454 * sysdeps/unix/getppid.S: Remove file.
11455
097d59fa
JM
11456 * sysdeps/unix/mkdir.c: Remove file.
11457 * sysdeps/unix/rmdir.c: Likewise.
11458
ff3d51ec
AS
114592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11460
11461 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11462 ERR_MAX value.
11463 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11464 errlist-compat value.
11465
50f81fd7
DM
114662012-04-18 David S. Miller <davem@davemloft.net>
11467
11468 * sysdeps/generic/memcopy.h (reg_char): Delete.
11469 * debug/strcat_chk.c: Use char, not reg_char.
11470 * debug/strcpy_chk.c: Likewise.
11471 * debug/strncat_chk.c: Likewise.
11472 * debug/strncpy_chk.c: Likewise.
11473 * string/memchr.c: Likewise.
11474 * string/memrchr.c: Likewise.
11475 * string/rawmemchr.c: Likewise.
11476 * string/strcat.c: Likewise.
11477 * string/strchr.c: Likewise.
11478 * string/strchrnul.c: Likewise.
11479 * string/strcmp.c: Likewise.
11480 * string/strcpy.c: Likewise.
11481 * string/strncat.c: Likewise.
11482 * string/strncmp.c: Likewise.
11483 * string/strncpy.c: Likewise.
11484
8ff41c46
WS
114852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11486
11487 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11488 __builtin_memcopy is called when src and dest ranges are known to not
11489 overlap.
11490
6b652f46
WS
114912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11492
11493 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11494 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11495 fwd_align_merge macro call.
11496 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11497 bwd_align_merge macro call.
11498 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11499
b282631e
WS
115002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11501
11502 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11503 bwd_align_merge macros.
11504 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11505 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11506 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11507
95aa737c
DM
115082012-04-18 David S. Miller <davem@davemloft.net>
11509
11510 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11511
7a99a614
AJ
115122012-04-18 Andreas Jaeger <aj@suse.de>
11513
11514 [BZ# 6794]
11515 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11516 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11517 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11518
11519 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11520 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11521 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11522
11523 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11524 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11525 Adjust for changed ldbl-128 files.
11526
11527 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11528 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11529 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11530
e5270c23
DM
115312012-04-17 David S. Miller <davem@davemloft.net>
11532
11533 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11534
fb5e92c9
AS
115352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11536
11537 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11538 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11539 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11540 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11541 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11542 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11543
76da7265
AZ
115442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11545
11546 [BZ #6794]
11547 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11548 * math/libm-test.inc: Add ilogb errno and exception tests.
11549 * math/w_ilogb.c: New file: ilogb wrapper.
11550 * math/w_ilogbf.c: New file: ilogbf wrapper.
11551 * math/w_ilogbl.c: New file: ilogbl wrapper.
11552 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11553 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11554 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11555 exception being thrown with 0.0 as argument.
11556 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11557 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11558 exception being thrown with 0.0 as argument.
11559 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11560 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11561 exception being thrown with 0.0 as argument.
11562 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11563 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11564 exception being thrown with 0.0 as argument.
11565 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11566 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11567 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11568 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11569 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11570 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11571 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11572 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11573 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11574
0396e69d
PB
115752012-04-17 Petr Baudis <pasky@ucw.cz>
11576
11577 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11578 with altivec.
11579
750b5926
MP
115802012-04-16 Marek Polacek <polacek@redhat.com>
11581
11582 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11583
751728a1
MP
115842012-04-16 Marek Polacek <polacek@redhat.com>
11585
11586 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11587 operands of fdivp instruction.
11588
34a27407
L
115892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11590
11591 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11592 * elf/tst-auditmod3b.c: Likewise.
11593 * elf/tst-auditmod4b.c: Likewise.
11594 * elf/tst-auditmod5b.c: Likewise.
11595 * elf/tst-auditmod6b.c: Likewise.
11596 * elf/tst-auditmod6c.c: Likewise.
11597 * elf/tst-auditmod7b.c: Likewise.
11598 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11599 * sysdeps/x86_64/preconfigure.in: Likewise.
11600 * sysdeps/x86_64/preconfigure: Regenerated.
11601
7e73e17d
L
116022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11603
11604 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11605 __ILP32__.
11606
c7a6ab72
AB
116072012-04-13 Antoine Balestrat <merkil33@gmail.com>
11608
11609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11610 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11611
a9e8e0e0
CL
116122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11613
11614 [BZ #13973]
11615 * locale/iso-639.def: Fix gl language name. Spotted by
11616 Yaron Shahrabani.
11617
ec98af7d
RM
116182012-04-12 Roland McGrath <roland@hack.frob.com>
11619
11620 [BZ #2074]
11621 * libio/libio.h (__io_write_fn): Update comment.
11622
247c3ede
PB
116232012-04-12 Petr Baudis <pasky@ucw.cz>
11624
11625 [BZ #2074]
11626 * stdio.texi (Hook Functions): The user provided writer function
11627 is not allowed to return -1.
11628
55939d6d
DM
116292012-04-11 David S. Miller <davem@davemloft.net>
11630
11631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11632
90020f5a
MF
116332012-04-11 Mike Frysinger <vapier@gentoo.org>
11634
11635 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11636 Add a leading slash to rtkaio.
11637
288f9098
JM
116382012-04-11 Jim Meyering <meyering@redhat.com>
11639
90020f5a
MF
11640 [BZ #11959]
11641 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11642 It is not necessarily an error to ignore fwrite's return
11643 value. One can reliably use ferror to test for errors after
11644 the fact.
288f9098 11645
4be2b570
L
116462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11647
11648 * bits/types.h (__snseconds_t): New type.
11649 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11650
11651 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11653 (__SNSECONDS_T_TYPE): Likewise.
11654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11655 (__SNSECONDS_T_TYPE): Likewise.
11656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11657 (__SNSECONDS_T_TYPE): Likewise.
11658
288f9098 116592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11660
11661 [BZ #2636]
11662 * manual/time.texi (Processor Time): Return type of times is
11663 elapsed real time since an arbitrary point in the past.
11664 (CPU Time): Move CLK_TCK from here...
11665 (Processor Time): ...to here. Correct description.
11666 * manual/conf.texi (Constants for Sysconf): Correct description of
11667 _SC_CLK_TCK.
11668
d7dd4413
DM
116692012-04-10 David S. Miller <davem@davemloft.net>
11670
11671 [BZ #13967]
11672 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11673 where the is a gap between DT_REL(A) and DT_JMPREL.
11674
b46068fc
L
116752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11676
11677 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11678 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11679 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11680
73d65cc3
SP
116812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11682
11683 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11684 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11685 (dl_main): Handle --inhibit-cache.
11686 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11687 _dl_inhibit_cache.
11688 * elf/dl-load.c (_dl_map_object): Use it.
11689 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11690
bcc8d661
JM
116912012-04-09 Joseph Myers <joseph@codesourcery.com>
11692
8f9a2fae
JM
11693 [BZ #13872]
11694 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11695 (__ieee754_powl): Saturate large exponents rather than testing for
11696 overflow of y*log2(x).
11697 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11698 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11699 exceptions.
11700
bcc8d661
JM
11701 [BZ #11521]
11702 * math/s_ctan.c: Include <float.h>.
11703 (__ctan): Avoid internal overflow or cancellation in calculating
11704 denominator.
11705 * math/s_ctanf.c: Likewise.
11706 * math/s_ctanl.c: Likewise.
11707 * math/s_ctanh.c: Likewise.
11708 * math/s_ctanhf.c: Likewise.
11709 * math/s_ctanhl.c: Likewise.
11710 * math/libm-test.inc (ctan_test): Add more tests.
11711 (ctanh_test): Likewise.
11712 * sysdeps/i386/fpu/libm-test-ulps: Update.
11713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11714
823fbbb4
AJ
117152012-04-09 Andreas Jaeger <aj@suse.de>
11716
03879793
AJ
11717 [BZ #6894]
11718 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11719 is an optional BSD extension.
11720
823fbbb4
AJ
11721 [BZ #10254]
11722 * manual/stdio.texi (Opening Streams): Document additional fopen
11723 parameters.
11724
8de131cb
RM
117252012-04-09 Roland McGrath <roland@hack.frob.com>
11726
11727 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11728 %eax without telling the compiler.
11729
c0ed9d7d
CD
117302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11731
11732 [BZ # 13963]
11733 * manual/install.texi: Use sourceware.org.
11734
c483f6b4
JM
117352012-04-09 Joseph Myers <joseph@codesourcery.com>
11736
d7dd9453
JM
11737 [BZ #13873]
11738 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11739 (__ieee754_pow): Generate overflow and underflow using huge*huge
11740 and tiny*tiny rather than just returning constant infinity or zero
11741 for large exponents.
11742 * math/libm-test.inc (pow_test): Require overflow exceptions for
11743 applicable cases of large exponents.
11744
c483f6b4
JM
11745 [BZ #706]
11746 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11747 (__ieee754_pow): Use iterative multiplication algorithm only for
11748 integer exponents with absolute value below 1024. Check for odd
11749 integer exponents when using algorithm for real exponents.
11750 * math/libm-test.inc (pow_test): Add more tests.
11751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11752
d2de7579
JM
117532012-04-08 Joseph Myers <joseph@codesourcery.com>
11754
11755 [BZ #13705]
11756 * math/libm-test.inc (exp_test): Do not allow overflow exception
11757 on underflow test.
11758
f77f1232
AJ
117592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11760
11761 [BZ #13705]
11762 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11763 instead of __kernel_standard_f.
11764
3884932b
MF
117652012-04-08 Mike Frysinger <vapier@gentoo.org>
11766
11767 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11768 * sysdeps/x86_64/memset_chk.S: Likewise.
11769
54472e9c
AJ
117702012-04-08 Andreas Jaeger <aj@suse.de>
11771
6ab0fbfc
AJ
11772 [BZ #10153]
11773 * manual/startup.texi (Environment Access): Describe return value
11774 for putenv and setenv.
11775
61efba8c
AJ
11776 [BZ #6895]
11777 * manual/filesys.texi (Directory Entries): Add description for
11778 DT_LNK.
11779
95c3f29a
AJ
11780 [BZ #6890]
11781 * manual/filesys.texi (Directory Entries): Clarify that it's file
11782 system not operating system in the description of DT_UNKNOWN.
11783
54472e9c
AJ
11784 [BZ #6578]
11785 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11786
624254b1
SC
117872012-04-08 Stephen Compall <s11@member.fsf.org>
11788
11789 [BZ #6649]
11790 * manual/llio.texi (Opening and Closing Files): Add cross
11791 reference to explain mode argument.
11792
1e4920e0
MF
117932012-04-07 Mike Frysinger <vapier@gentoo.org>
11794
11795 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11796 * sysdeps/x86_64/memset_chk.S: Likewise.
11797
5ed848f3
DM
117982012-04-07 David S. Miller <davem@davemloft.net>
11799
11800 * elf/elf.h (R_SPARC_WDISP10): Define.
11801 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11802 R_SPARC_SIZE32.
11803 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11804 R_SPARC_SIZE64 and R_SPARC_H34.
11805
96154cd8
CD
118062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11807
11808 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11809 conditions and remove no longer applicable assertion.
11810
9904dc47
L
118112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11812
11813 * bits/byteswap.h: Include <features.h>.
11814 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11815 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11816
f8887d0a
L
118172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * bits/byteswap.h (__bswap_16): Removed.
11820 Include <bits/byteswap-16.h> to get __bswap_16.
11821 * sysdeps/i386/bits/byteswap.h: Likewise.
11822 * sysdeps/s390/bits/byteswap.h: Likewise.
11823 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11824 * bits/byteswap-16.h: New file.
11825 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11826 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11827 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11828 * string/Makefile (headers): Add bits/byteswap-16.h.
11829
62470f60
PP
118302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11831
11832 [BZ #13895]
11833 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11834 extra indirection.
11835 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11836 * nss/tst-nss-static.c: New.
11837
4dad7bab
RM
118382012-04-06 Robert Millan <rmh@gnu.org>
11839
11840 [BZ #6486]
11841 * manual/llio.texi (File Position Primitive): lseek
11842 refers to WHENCE when it really means OFFSET.
11843
e9142a17
AJ
118442012-04-06 Andreas Jaeger <aj@suse.de>
11845
2c040eff
AJ
11846 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11847 strncmp declarations.
11848
e9142a17
AJ
11849 * abilist/libc.abilist: Add __poll and __ppoll.
11850
ff9f1c5f
DM
118512012-04-05 David S. Miller <davem@davemloft.net>
11852
dcd2ae90
DM
11853 * scripts/check-local-headers.sh: Accept a host triplet in the
11854 path matched by the exclude regexp.
11855
993eb054
DM
11856 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11857 definition.
11858 * sysdeps/powerpc/powerpc32/dl-machine.h
11859 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11860 * sysdeps/s390/s390-32/dl-machine.h
11861 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11862 * sysdeps/sparc/sparc32/dl-machine.h
11863 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11864 * sysdeps/sparc/sparc64/dl-machine.h
11865 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11866
ff9f1c5f
DM
11867 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11868 lazy binding.
48e2e132 11869 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11870 undefined symbol errors.
11871
48e2e132 11872 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11873 DT_NEEDED entries.
11874
e80d6f94
MM
118752012-04-05 Michael Matz <matz@suse.de>
11876
11877 [BZ #13592]
11878 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11879
349fa79f
AJ
118802012-04-05 Andreas Jaeger <aj@suse.de>
11881
11882 [BZ #13908]
11883 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11884 comment.
11885
f402708f
KK
118862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11887
11888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11889 which ROUND is no valid rounding mode.
11890
2ecccfc9
KK
118912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11892
11893 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11894 read again.
11895 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11896
8a53f50f
KK
118972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11898
11899 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11900 an exception using FPU order intentionally.
11901
119022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11903
11904 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11905 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11906 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11907 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11908
d653abb7
SJ
119092012-04-05 Simon Josefsson <simon@josefsson.org>
11910
11911 [BZ #12340]
11912 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11913 EINVAL when BUFLEN is too smal.
11914
c3b1bf7d
TS
119152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11916
11917 [BZ #13553]
11918 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11919 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11920
b1aa60f3
AJ
119212012-04-03 Andreas Jaeger <aj@suse.de>
11922
c3b1bf7d 11923 [BZ #13938]
67f60a26
AJ
11924 * manual/setjmp.texi (System V contexts): Fix sentence.
11925
b1aa60f3
AJ
11926 [BZ #13926]
11927 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11928 New macro for this case.
11929 [!__GNUC__] (__bswap_64): New inline function for this case.
11930 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11931 * bits/byteswap.h: Likewise.
11932 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11933 ull, guard with __GLIBC_HAVE_LONG_LONG.
11934
11935 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11936 __GLIBC_HAVE_LONG_LONG.
11937
11938 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11939 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11940
39c59c35
TMQMF
119412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11942
11943 [BZ #13691]
11944 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11945 inptr and inend, rather than using last_ch.
11946
135ffda8
DM
119472012-04-02 David S. Miller <davem@davemloft.net>
11948
11949 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11950 * stdio-common/printf-parse.h (read_int): Change return type to
11951 'int', return -1 on INT_MAX overflow.
11952 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11953 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11954 overflows INT_MAX. Check for overflow of in-format-string precision
11955 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11956 SIZE_MAX not INT_MAX for integer overflow test.
11957 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11958 skip the construct in the format string but do not record anything.
11959 * stdio-common/bug22.c: Adjust to test both width/prevision
11960 INT_MAX overflow as well as total length INT_MAX overflow. Check
11961 explicitly for proper errno values.
11962
228c019e
TS
119632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11964
302cadd3
TS
11965 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11966 CHAR_MAX.
11967 * string/test-strcmp.c [! WIDE]: Likewise.
11968 * time/tst-mktime2.c: Likewise for INT_MAX.
11969 * string/test-string.h: #include <sys/param.h> for MIN.
11970
228c019e
TS
11971 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11972 * sysdeps/i386/init-first.c (init): Likewise.
11973 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11974 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11975 * sysdeps/sh/init-first.c (init): Likewise.
11976
cfa633f5
UD
119772012-04-01 Ulrich Drepper <drepper@gmail.com>
11978
11979 * po/ru.po: Update from translation team.
d1635ef8 11980 * po/vi.po: Likewise.
cfa633f5 11981
6cd0a5ea
SP
119822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11983
11984 * resolv/nss_dns/dns-host.c: Merge copyright years.
11985
4b43400f
LD
119862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11987
11988 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11989 Optimize memcpy with prefetch if
11990 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11991 src, dst pointers have unequal 16 byte alignments.
11992
48c41d04
SP
119932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11994
11995 [BZ #13928]
11996 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11997 from a CNAME entry and return the minimum ttl for the query.
11998 (gaih_getanswer_slice): Likewise.
11999
b8dc394d
JL
120002012-03-30 Jeff Law <law@redhat.com>
12001
12002 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12003 due to long keys.
12004 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12005 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12006
2f5a5ed0
JL
12007 * resolv/nss_dns/dns-host.c: Update copyright year.
12008
1d39e359
UD
120092012-03-30 Ulrich Drepper <drepper@gmail.com>
12010
c030f70c 12011 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12012 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12013
1d39e359
UD
12014 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12015 comments for sendmmsg.
12016
120172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12018
12019 [BZ #13691]
12020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12021 with only 1 character between 0x0041 and 0x01b0.
12022 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12023 * wcsmbs/tst-mbsnrtowcs.c: New file.
12024
20fde227
DM
120252012-03-29 David S. Miller <davem@davemloft.net>
12026
12027 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12028 small copies by hand.
12029
984a4237
JL
120302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12031
12032 [BZ #13761]
12033 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12034 _nss_compat_initgroups_dyn): Fall back to malloc/free
12035 for large group memberships.
12036
18c9d62b
DM
120372012-03-28 David S. Miller <davem@davemloft.net>
12038
88d85d4f
DM
12039 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12040 that branches into memcpy.
12041 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12044 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12046 bits.
12047 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12048 implementation too.
12049 * sysdeps/sparc/mempcpy.S: New file.
12050
e5aa83e1
DM
12051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12052 the IFUNC routine in the libc case.
12053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12054
88570753
DM
12055 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12056 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12057 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12058 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12059 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12060 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12061 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12062 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12063
249d7567
DM
12064 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12065 loop to 256 bytes instead of 64 bytes and fix test signedness.
12066
18c9d62b
DM
12067 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12068 * sysdeps/sparc/sparc32/Makefile: rather than here...
12069 * sysdeps/sparc/sparc64/Makefile: and here.
12070
05f3d1f6
UD
120712012-03-28 Ulrich Drepper <drepper@gmail.com>
12072
12073 * malloc/mallocbug.c: Avoid warnings about unused variables.
12074
86ae07a8
JL
120752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12076
12077 [BZ #13760]
12078 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12079 in the right place. Discard and retry query if response is
12080 larger than input buffer size.
12081
41bf21a1
JM
120822012-03-28 Joseph Myers <joseph@codesourcery.com>
12083
d6270972
JM
12084 [BZ #369]
12085 [BZ #2678]
12086 [BZ #3866]
12087 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12088 x for large integer exponent.
12089 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12090 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12091 sign of result as needed afterwards.
12092 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12093 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12094 result for underflowing pow the same as for overflow.
12095 (__kernel_standard_l): Handle powl overflow and underflow here
12096 rather than calling __kernel_standard.
12097 * math/libm-test.inc (pow_test): Add more tests.
12098
414fca03 12099 [BZ #3868]
41bf21a1
JM
12100 [BZ #13879]
12101 [BZ #13910]
12102 [BZ #13911]
12103 [BZ #13912]
12104 [BZ #13913]
12105 [BZ #13915]
12106 [BZ #13916]
12107 [BZ #13917]
12108 [BZ #13918]
12109 [BZ #13919]
12110 [BZ #13920]
12111 [BZ #13921]
12112 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12113 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12114 (__kernel_standard_l): New function.
12115 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12116 __kernel_standard.
12117 * math/w_acosl.c (__acosl): Likewise.
12118 * math/w_asinl.c (__asinl): Likewise.
12119 * math/w_atan2l.c (__atan2l): Likewise.
12120 * math/w_atanhl.c (__atanhl): Likewise.
12121 * math/w_coshl.c (__coshl): Likewise.
12122 * math/w_exp10l.c (__exp10l): Likewise.
12123 * math/w_exp2l.c (__exp2l): Likewise.
12124 * math/w_fmodl.c (__fmodl): Likewise.
12125 * math/w_hypotl.c (__hypotl): Likewise.
12126 * math/w_j0l.c (__j0l, __y0l): Likewise.
12127 * math/w_j1l.c (__j1l, __y1l): Likewise.
12128 * math/w_jnl.c (__jnl, __ynl): Likewise.
12129 * math/w_lgammal.c (__lgammal): Likewise.
12130 * math/w_log10l.c (__log10l): Likewise.
12131 * math/w_log2l.c (__log2l): Likewise.
12132 * math/w_logl.c (__logl): Likewise.
12133 * math/w_powl.c (__powl): Likewise.
12134 * math/w_remainderl.c (__remainderl): Likewise.
12135 * math/w_scalbl.c (sysv_scalbl): Likewise.
12136 * math/w_sinhl.c (__sinhl): Likewise.
12137 * math/w_sqrtl.c (__sqrtl): Likewise.
12138 * math/w_tgammal.c (__tgammal): Likewise.
12139 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12140 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12141 * math/libm-test.inc (acos_test): Add more tests.
12142 (acosh_test): Likewise.
12143 (asin_test): Likewise.
12144 (atanh_test): Likewise.
12145 (exp_test): Likewise.
12146 (exp10_test): Likewise.
12147 (exp2_test): Likewise.
12148 (expm1_test): Likewise.
12149 (lgamma_test): Likewise.
12150 (log_test): Likewise.
12151 (log10_test): Likewise.
12152 (log1p_test): Likewise.
12153 (log2_test): Likewise.
12154 (pow_test): Do not allow some spurious overflow exceptions.
12155 (sqrt_test): Add more tests.
12156 (tgamma_test): Likewise.
12157 (y0_test): Likewise.
12158 (y1_test): Likewise.
12159 (yn_test): Likewise.
12160
dd62fda6
AB
121612012-03-27 Anton Blanchard <anton@samba.org>
12162
12163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12164 MAP_HUGETLB.
12165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12168
1e3cdfda
AJ
121692012-03-27 David S. Miller <davem@davemloft.net>
12170
b855ab85
DM
12171 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12172
1e3cdfda
AJ
12173 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12174 have-as-vis3 check.
12175
121762012-03-27 Andreas Jaeger <aj@suse.de>
12177
12178 * sysdeps/x86_64/elf/configure.in: Moved to ...
12179 * sysdeps/x86_64/configure.in: ... here.
12180 * sysdeps/x86_64/elf/start.S: Moved to ...
12181 * sysdeps/x86_64/start.S: ... here.
12182 * sysdeps/x86_64/elf/configure: Delete.
12183
12184 * sysdeps/x86_64/configure.in: Merge contents from
12185 sysdeps/i386/configure.in (without i686 check).
12186
12187 * sysdeps/i386/elf/Versions: Merge into ...
12188 * sysdeps/i386/Versions: ... this.
12189 * sysdeps/i386/elf/Versions: Delete file.
12190 * sysdeps/i386/elf/start.S: Moved to ...
12191 * sysdeps/i386/start.S: ...here.
12192 * sysdeps/i386/elf/configure.in: Merge into...
12193 * sysdeps/i386/configure.in: ...here.
12194 * sysdeps/i386/elf/configure.in: Delete file.
12195 * sysdeps/i386/elf/configure: Delete file.
12196
12197 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12198 * debug/backtracesyms.c: ... here.
12199 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12200 * debug/backtracesymsfd.c: ... here.
12201 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12202 * sysdeps/generic/ifunc-sel.h: ... here.
12203
12204 * sysdeps/unix/i386/start.c: Delete file.
12205 * sysdeps/unix/sparc/start.c: Delete file.
12206 * sysdeps/unix/start.c: Delete file.
12207
12208 * sysdeps/sh/elf/configure.in: Moved to ...
12209 * sysdeps/sh/configure.in: ... here.
12210 * sysdeps/sh/elf/start.S: Moved to ...
12211 * sysdeps/sh/start.S: ... here.
12212 * sysdeps/sh/elf/configure: Delete file.
12213
12214 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12215 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12216 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12217 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12218 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12219 * sysdeps/powerpc/powerpc64/start.S: here.
12220 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12221 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12222 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12223 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12224 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12225
12226 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12227 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12228 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12229 * sysdeps/powerpc/powerpc32/start.S: ... here.
12230 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12231 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12232 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12233
12234 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12235 * sysdeps/powerpc/ifunc-sel.h: ... here.
12236 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12237 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12238
12239 * sysdeps/sparc/elf/configure.in: Moved to ...
12240 * sysdeps/sparc/configure.in: ... here.
12241 * sysdeps/sparc/elf/configure: Delete file.
12242 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12243 * sysdeps/sparc/sparc32/start.S: ... here.
12244 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12245 * sysdeps/sparc/sparc64/start.S: ... here.
12246 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12247 * sysdeps/sparc/sparc32/Makefile: ... this.
12248 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12249 * sysdeps/sparc/sparc64/Makefile: ... this.
12250
12251 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12252 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12253 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12254 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12255 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12256 * sysdeps/s390/s390-32/setjmp.S: ... here.
12257 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12258 * sysdeps/s390/s390-32/configure.in: ... here.
12259 * sysdeps/s390/s390-32/elf/configure: Delete file.
12260 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12261 * sysdeps/s390/s390-32/start.S: ... here.
12262
12263 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12264 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12265 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12266 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12267 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12268 * sysdeps/s390/s390-64/setjmp.S: ... here.
12269 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12270 * sysdeps/s390/s390-64/configure.in: ... here
12271 * sysdeps/s390/s390-64/elf/configure: Delete file.
12272 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12273 * sysdeps/s390/s390-64/start.S: ... here.
12274 * sysdeps/s390/s390-64/elf/configure: Delete.
12275
12276 * configure.in: Remove support for elf directories in sysdeps.
12277
12278 * configure: Regenerated.
12279 * sysdeps/i386/configure: Regenerated.
12280 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12281 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12282 * sysdeps/s390/s390-32/configure: Regenerated.
12283 * sysdeps/s390/s390-64/configure: Regenerated.
12284 * sysdeps/sh/configure: Regenerated.
12285 * sysdeps/sparc/configure: Regenerated.
12286 * sysdeps/x86_64/configure: Regenerated.
12287
a3f61311
AS
122882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12289
c876e002
AS
12290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12291
a3f61311
AS
12292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12293 denormal result into account.
12294
ac4c54f0
RM
122952012-03-25 Roland McGrath <roland@hack.frob.com>
12296
12297 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12298 Reported by Allan McRae <allan@archlinux.org>.
12299
6a9b9c02
JL
123002012-03-23 Jeff Law <law@redhat.com>
12301
12302 * nss/getnssent.c (__nss_getent): Fix typo.
12303
4c42a0c1
DM
123042012-03-23 David S. Miller <davem@davemloft.net>
12305
12306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12307
1532c7ac
L
123082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12309
12310 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12311 to pad to uint64_t for each field.
12312 (dl_tls_index): Replace unsigned long with uint64_t.
12313
3ff42526
PP
123142012-03-23 Daniel Jacobowitz <dmj@google.com>
12315 Paul Pluzhnikov <ppluzhnikov@google.com>
12316
12317 [BZ #6528]
12318 * grp/Makefile (otherlibs): Don't set it.
12319 * inet/Makefile (otherlibs): Likewise.
12320 * login/Makefile (otherlibs): Likewise.
12321 * nscd/Makefile (otherlibs): Likewise.
12322 * posix/Makefile (otherlibs): Likewise.
12323 * pwd/Makefile (otherlibs): Likewise.
12324 * rt/Makefile (otherlibs): Likewise.
12325 * sunrpc/Makefile (otherlibs): Likewise.
12326 * nss/Makefile (otherlibs): Likewise.
12327 Add libnss_files to routines and static-only-routines.
12328 ($(objpfx)getent): Remove rule.
12329 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12330 static-only-routines.
12331
7c69cd14
JM
123322012-03-22 Joseph Myers <joseph@codesourcery.com>
12333
12334 [BZ #13892]
12335 * math/s_cexp.c: Include <float.h>.
12336 (__cexp): Handle exp result overflowing not necessarily
12337 overflowing both real and imaginary parts of result.
12338 * math/s_cexpf.c: Likewise.
12339 * math/s_cexpl.c: Likewise.
12340 * math/libm-test.inc (cexp_test): Add more tests.
12341 * sysdeps/i386/fpu/libm-test-ulps: Update.
12342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343
81b035fe
L
123442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12345
12346 * include/link.h (ELFW): New macro.
12347 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12348 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12349
1da7940c
L
123502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12351
12352 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12353 with uint64_t.
12354
b749dbb9
L
123552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12358 declaration.
12359 (struct La_x32_retval): Likewise.
12360
2ff87f3f
L
123612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12362
12363 * sysdeps/x86_64/preconfigure.in: New file.
12364 * sysdeps/x86_64/preconfigure: New generated file.
12365
c0df8e69
JM
123662012-03-22 Joseph Myers <joseph@codesourcery.com>
12367
48e44791
JM
12368 [BZ #13824]
12369 * math/e_exp2l.c: Include <float.h>.
12370 (__ieee754_exp2l): Handle overflow and underflow cases
12371 separately. Only pass fractional part of argument to
12372 __ieee754_expl.
12373 * math/libm-test.inc (exp2_test): Add more tests.
12374
c0df8e69
JM
12375 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12376 negating x to take absolute value.
12377 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12378 Likewise.
12379 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12380 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12381 Likewise.
12382 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12383 computing low part if x was negated.
12384 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12385
c8e43ba7
L
123862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12387
12388 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12389 la_x32_gnu_pltexit.
12390 (pltexit): Cast int_retval to ptrdiff_t.
12391 * elf/tst-auditmod3b.c: Likewise.
12392 * elf/tst-auditmod4b.c: Likewise.
12393 * elf/tst-auditmod5b.c: Likewise.
12394 * elf/tst-auditmod6b.c: Likewise.
12395 * elf/tst-auditmod6c.c: Likewise.
12396 * elf/tst-auditmod7b.c: Likewise.
12397
12398 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12399 and x32_gnu_pltexit.
12400
12401 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12402 __ELF_NATIVE_CLASS.
12403 (La_x32_regs): New macro.
12404 (La_x32_retval): Likewise.
12405 (la_x32_gnu_pltenter): New function prototype.
12406 (la_x32_gnu_pltexit): Likewise.
12407
7998fa78
AS
124082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12409
dcb33988
AS
12410 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12411 exponent.
12412
233fc563
AS
12413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12414
7998fa78
AS
12415 * configure.in (libc_cv_cc_nofma): Check for option to disable
12416 generation of FMA instructions.
12417 * configure: Regenerate.
12418 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12419 * sysdeps/ieee754/dbl-64/Makefile: New file.
12420 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12421 Remove brandred-fma4.
12422 (CFLAGS-brandred-fma4.c): Remove.
12423 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12424 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12425 define.
12426 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12427 define.
12428
8e95c99a
L
124292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12432 LLONG_MAX != LONG_MAX.
12433 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12434 (_fitoa_word): Likewise.
12435 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12436 LLONG_MAX != LONG_MAX.
12437 * stdio-common/_itowa.h: Include <_itoa.h>.
12438 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12439 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12440 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12441 only if not defined.
12442 (_ITOA_WORD_TYPE): Likewise.
12443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12444 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12445
6f4db457
DM
124462012-03-21 David S. Miller <davem@davemloft.net>
12447
12448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12449
7785fe5a
L
124502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12451
12452 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12453 of x86_64 when setting libc_cv_slibdir, libdir and
12454 libc_cv_localedir.
12455 * sysdeps/unix/sysv/linux/configure: Regenerated.
12456
4535cd55
JM
124572012-03-21 Joseph Myers <joseph@codesourcery.com>
12458
12459 * manual/lang.texi (Old Varargs): Remove section.
12460 (How Variadic): Update menu.
12461 (va_start): Do not mention varargs.h.
12462
17228132
TS
124632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12464 Joseph Myers <joseph@codesourcery.com>
12465
12466 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12467 link test.
12468 * configure: Regenerated.
12469
8149f976
TS
124702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12471
05f3d1f6
UD
12472 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12473 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12474 conformtest.pl
8149f976 12475
1a4ac776
JM
124762012-03-21 Joseph Myers <joseph@codesourcery.com>
12477
be22ce65
JM
12478 * NOTES: Remove.
12479 * Makefile (files-for-dist): Remove NOTES.
12480 (NOTES): Remove rule.
12481 * README: Don't refer to NOTES.
12482 * manual/creature.texi: Don't include macros.texi.
12483 * manual/intro.texi (creature.texi): Remove comment referring to
12484 NOTES.
12485
40b601fb
JM
12486 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12487 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12488 * configure: Regenerated.
12489 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12490 LIBC_TRY_CC_OPTION.
12491 (libc_cv_as_i686): Likewise.
12492 (libc_cv_cc_avx): Likewise.
12493 (libc_cv_cc_sse2avx): Likewise.
12494 (libc_cv_cc_fma4): Likewise.
12495 (libc_cv_cc_novzeroupper): Likewise.
12496 * sysdeps/i386/configure: Regenerated.
12497
1a4ac776
JM
12498 [BZ #13883]
12499 * sysdeps/i386/fpu/s_cexp.S: Remove.
12500 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12501 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12502 * math/libm-test.inc (cexp_test): Add more tests.
12503 * sysdeps/i386/fpu/libm-test-ulps: Update.
12504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12505
a458e7fe
AM
125062012-03-21 Allan McRae <allan@archlinux.org>
12507
12508 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12509
0cb7efc5
JM
125102012-03-21 Joseph Myers <joseph@codesourcery.com>
12511
12512 [BZ #13871]
12513 * math/w_exp2.c: Do not include <float.h>.
12514 (o_threshold, u_threshold): Remove.
12515 (__exp2): Calculate result before checking finiteness and calling
12516 __kernel_standard.
12517 * math/w_exp2f.c: Likewise.
12518 * math/w_exp2l.c: Likewise.
12519 * math/libm-test.inc (exp2_test): Require overflow exception for
12520 1e6 input.
2460d3aa
JM
12521
12522 [BZ #3866]
12523 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12524 range of signed 64-bit integers before using fistpll. Remove
12525 checks for whether integers fit in mantissa bits.
12526 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12527 the range of signed 32-bit integers before using fistpl. Remove
12528 checks for whether integers fit in mantissa bits.
12529 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12530 (__ieee754_powl): Test for y outside the range of signed 64-bit
12531 integers before using fistpll. Reduce 64-bit values to 63-bit
12532 ones as needed.
12533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12534 divide-by-zero is raised for zero to large negative powers.
12535 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12536 (__ieee754_powl): Test for y outside the range of signed 64-bit
12537 integers before using fistpll. Reduce 64-bit values to 63-bit
12538 ones as needed.
12539 * math/libm-test.inc (pow_test): Add more tests.
12540
eb96ffb0
L
125412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12542
12543 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12544 <stdio-common/_itoa.h>.
12545 * debug/segfault.c: Likewise.
12546 * elf/dl-cache.c: Likewise.
12547 * elf/dl-minimal.c: Likewise.
12548 * elf/dl-misc.c: Likewise.
12549 * elf/dl-sysdep.c: Likewise.
12550 * elf/dl-version.c: Likewise.
12551 * elf/rtld.c: Likewise.
12552 * hurd/hurdsock.c: Likewise.
12553 * hurd/lookup-retry.c: Likewise.
12554 * malloc/malloc.c: Likewise.
12555 * malloc/mtrace.c: Likewise.
12556 * nscd/nscd_getgr_r.c: Likewise.
12557 * nscd/nscd_getpw_r.c: Likewise.
12558 * nscd/nscd_getserv_r.c: Likewise.
12559 * posix/getopt_init.c: Likewise.
12560 * posix/wordexp.c: Likewise.
12561 * stdio-common/_itoa.c: Likewise.
12562 * stdio-common/printf_fphex.c: Likewise.
12563 * stdio-common/vfprintf.c: Likewise.
12564 * string/_strerror.c: Likewise.
12565 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12566 * sysdeps/i386/i686/hp-timing.h: Likewise.
12567 * sysdeps/mach/_strerror.c: Likewise.
12568 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12569 * sysdeps/mach/hurd/sethostid.c: Likewise.
12570 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12571 * sysdeps/mach/xpg-strerror.c: Likewise.
12572 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12573 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12574 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12575 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12576 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12577 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12579 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12580 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12581 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12582 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12583 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12584 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12585 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12586 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12587 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12588 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12589 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12590 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12591 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12592 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12593
12594 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12595
12596 * stdio-common/_itoa.h: Moved to ...
12597 * sysdeps/generic/_itoa.h: Here.
12598
12599 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12600
12601 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12602 instead of "_itoa.h" and "_itowa.h".
12603 * stdio-common/vfprintf.: Likewise.
12604
d1af992d
L
126052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12606
12607 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12608 <bits/wordsize.h>.
12609 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12610 (__signbit): Likwise.
12611 (llrintf): Likwise.
12612 (llrint): Likwise.
12613
114883e0
L
126142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12615
12616 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12617 __WORDSIZE != 64.
12618
c135cc1b
JM
126192012-03-20 Joseph Myers <joseph@codesourcery.com>
12620
12621 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12622 OVERFLOW_EXCEPTION_OK.
12623 * math/libm-test.inc ("Philosophy"): Update comment about
12624 exception testing.
12625 (OVERFLOW_EXCEPTION): Define.
12626 (OVERFLOW_EXCEPTION_OK): Likewise.
12627 (INVALID_EXCEPTION_OK): Renumber.
12628 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12629 (IGNORE_ZERO_INF_SIGN): Likewise.
12630 (test_exceptions): Handle FE_OVERFLOW.
12631 (exp10_test): Expect overflow exceptions.
12632 (exp2_test): Likewise.
12633 (expm1_test): Likewise.
12634 (nextafter_test): Likewise.
12635 (pow_test): Likewise.
12636 (scalbn_test): Likewise.
12637 (scalbln_test): Likewise.
12638
95443d88
L
126392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12640
12641 * sysdeps/x86_64/bits/atomic.h
12642 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12643 64bit integer.
12644 (atomic_exchange_acq): Likewise.
12645 (__arch_exchange_and_add_body): Likewise.
12646 (__arch_add_body): Likewise.
12647 (atomic_add_negative): Likewise.
12648 (atomic_add_zero): Likewise.
12649
490df6c4
L
126502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12651
c2722551 12652 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12653 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12654
5e52b189
L
126552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12656
12657 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12658 Check __x86_64__ instead of __WORDSIZE.
12659
a9879d4c
L
126602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12663
5df98260
DM
126642012-03-19 David S. Miller <davem@davemloft.net>
12665
e1497744
DM
12666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12667
5df98260
DM
12668 * sysdeps/sparc/fpu/fenv_private.h: New file.
12669 * sysdeps/sparc/fpu/math_private.h: Use it.
12670 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12671 Remove.
12672 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12673 (libc_feholdexcept_setroundl): Remove.
12674 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12675 Remove.
12676 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12677 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12678
b4c35121
L
126792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12680
12681 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12682 int64_t instead of long int.
12683 (INSERT_WORDS64): Likwise.
12684
56965fd7
L
126852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12688 _Unwind_GetCFA return to _Unwind_Ptr first.
12689
83d1aec8
JM
126902012-03-19 Joseph Myers <joseph@codesourcery.com>
12691
1897ad44
JM
12692 [BZ #13629]
12693 * math/s_clog.c: Include <float.h>.
12694 (__clog): Scale large or subnormal inputs.
12695 * math/s_clogf.c: Likewise.
12696 * math/s_clogl.c: Likewise.
12697 * math/s_clog10.c: Include <float.h>.
12698 (M_LOG10_2): Define.
12699 (__clog10): Scale large or subnormal inputs.
12700 * math/s_clog10f.c: Likewise.
12701 * math/s_clog10l.c: Likewise.
12702 * math/libm-test.inc (clog_test): Add more tests.
12703 (clog10_test): Likewise.
12704 * sysdeps/i386/fpu/libm-test-ulps: Update.
12705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12706
7726d6a9
JM
12707 [BZ #11451]
12708 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12709 x and y.
12710 * math/libm-test.inc (atan2_test): Add another test.
12711
83d1aec8
JM
12712 * Makerules (common-objdir-compile): Remove.
12713 * sysdeps/unix/Makefile (config-generated): Do not add
12714 $(unix-generated) to variable.
12715 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12716 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12717 Remove rule.
12718 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12719 Likewise.
12720 [generic bits/local_lim.h] (before-compile): Do not append to
12721 variable.
12722 [generic bits/local_lim.h] (common-generated): Likewise.
12723 [generic sys/param.h] (before-compile): Do not append to variable.
12724 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12725 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12726 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12727 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12728 include.
12729 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12730 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12731 [generic sys/param.h] ($(addprefix
12732 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12733 [generic sys/param.h] (common-generated): Do not append to
12734 variable.
12735 [generic sys/param.h] (sysdep_headers): Likewise.
12736 [generic bits/errno.h] (before-compile): Do not append to
12737 variable.
12738 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12739 rule.
12740 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12741 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12742 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12743 [generic bits/errno.h] (common-generated): Do not append to
12744 variable.
12745 [generic bits/ioctls.h] (before-compile): Do not append to
12746 variable.
12747 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12748 rule.
12749 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12750 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12751 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12752 rule.
12753 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12754 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12755 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12756 [generic bits/ioctls.h] (common-generated): Do not append to
12757 variable.
12758 [generic sys/syscall.h] (syscall.h): Remove variable.
12759 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12760 rule.
12761 [generic sys/syscall.h] (before-compile): Do not append to
12762 variable.
12763 [generic sys/syscall.h] (common-generated): Likewise.
12764 * sysdeps/unix/errnos-tmpl.c: Remove file.
12765 * sysdeps/unix/errnos.awk: Likewise.
12766 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12767 * sysdeps/unix/ioctls.awk: Likewise.
12768 * sysdeps/unix/mk-local_lim.c: Likewise.
12769 * sysdeps/unix/snarf-ioctls: Likewise.
12770
4851a949
RH
127712012-03-19 Richard Henderson <rth@twiddle.net>
12772
bd37f2ee
RH
12773 * sysdeps/i386/fpu/fenv_private.h: New file.
12774 * sysdeps/i386/fpu/math_private.h: Use it.
12775 (math_opt_barrier, math_force_eval): Remove.
12776 (libc_feholdexcept_setround_53bit): Remove.
12777 (libc_feupdateenv_53bit): Remove.
12778 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12779 (math_opt_barrier, math_force_eval): Remove.
12780 (libc_feholdexcept): Remove.
12781 (libc_feholdexcept_setround): Remove.
12782 (libc_fetestexcept, libc_fesetenv): Remove.
12783 (libc_feupdateenv_test): Remove.
12784 (libc_feupdateenv, libc_feholdsetround): Remove.
12785 (libc_feresetround): Remove.
12786
d0adc922
RH
12787 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12788 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12789
0fe0f1f8
RH
12790 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12791 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12792 (libc_feupdateenv_testl): New.
12793 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12794 (libc_feupdateenv_testf): New.
12795 (libc_feupdateenv): Use libc_feupdateenv_test.
12796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12798
eb92c487
RH
12799 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12800 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12801 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12802 (libc_feresetround_noex): New.
12803 (libc_feresetround_noexf): New.
12804 (libc_feresetround_noexl): New.
12805 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12806 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12807 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12808 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12809 SET_RESTORE_ROUND.
12810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12812 (__cos): Likewise.
12813 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12814 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12815 SET_RESTORE_ROUND_NOEX.
12816 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12817 SET_RESTORE_ROUND_NOEXF.
12818 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12819 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12820 (libc_feholdsetroundf): New.
12821 (libc_feresetround, libc_feresetroundf): New.
12822
7d2e8012
RH
12823 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12824 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12825 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12826
b4dabbb4
RH
12827 * sysdeps/generic/math_private.h: Include <fenv.h>.
12828 (default_libc_feholdexcept): New.
12829 (default_libc_feholdexcept_setround): New.
12830 (default_libc_fesetenv, default_libc_feupdateenv): New.
12831 (libc_feholdexcept): Only define if undefined.
12832 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12833 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12834 (libc_feholdexcept_setroundl): Likewise.
12835 (libc_feholdexcept_setround_53bit): Likewise.
12836 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12837 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12838 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12839 (libc_feupdateenv_53bit): Likewise.
12840 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12841 (libc_feholdexcept): Convert from macro to inline function.
12842 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12843 (libc_fesetenv, libc_feupdateenv): Likewise.
12844
4851a949
RH
12845 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12846 not previously defined.
12847 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12848 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12849 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12850 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12851 * sysdeps/ieee754/flt-32/math_private.h: New file.
12852 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12853 math_private.h below SET_FLOAT_WORD.
12854 (__isnan, __isinf_ns, __finite): Remove.
12855 (__isnanf, __isinf_nsf, __finitef): Remove.
12856
e79d442e
AS
128572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12858
12859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12860
90b80344
DM
128612012-03-17 David S. Miller <davem@davemloft.net>
12862
12863 [BZ #6471]
12864 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12865 for 2.16.
12866
edc21804
DM
128672012-03-16 David S. Miller <davem@davemloft.net>
12868
77e927af
DM
12869 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12870 warnings.
12871
374976dd
DM
12872 [BZ #6471]
12873 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12874 properly.
12875 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12876 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12877 sysdep_routines when subdir is sysvipc.
12878 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12879 __getshmlba helper.
12880
edc21804
DM
12881 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12882
473c3ef3
L
128832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12884
12885 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12886 [__LP64__].
12887
eb0f39b6
L
128882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12889
12890 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12891 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12892 (__lround): Renamed to ...
12893 (__llround): This. Replace long int with long long int.
12894 Define lround functions as aliases of llround functions.
12895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12896
6b6cd74b
L
128972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12898
12899 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12900 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12901 adresses to uintptr_t. Replace "long int" and "unsigned long
12902 int" with "greg_t" on va_arg.
12903
f1a77b01
L
129042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12907 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12908
12909 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12910 Move e_machine check before EI_CLASS check. Handle x32
12911 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12912 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12913 SKIP_EM_IA_64 and include
12914 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12915
12916 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12917 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12918 (add_system_dir): New macro.
12919
12920 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12921 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12922
11b90b9f
JM
129232012-03-16 Joseph Myers <joseph@codesourcery.com>
12924
c36e1d23
JM
12925 [BZ #2551]
12926 [BZ #2552]
12927 [BZ #2553]
12928 [BZ #2554]
12929 [BZ #2562]
12930 [BZ #2563]
12931 [BZ #2565]
12932 [BZ #2566]
12933 [BZ #2576]
12934 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12935 (y0): Likewise.
12936 * math/w_j0f.c (j0f): Likewise.
12937 (y0f): Likewise.
12938 * math/w_j0l.c (__j0l): Likewise.
12939 (__y0l): Likewise.
12940 * math/w_j1.c (j1): Likewise.
12941 (y1): Likewise.
12942 * math/w_j1f.c (j1f): Likewise.
12943 (y1f): Likewise.
12944 * math/w_j1l.c (__j1l): Likewise.
12945 (__y1l): Likewise.
12946 * math/w_jn.c (jn): Likewise.
12947 (yn): Likewise.
12948 * math/w_jnf.c (jnf): Likewise.
12949 (ynf): Likewise.
12950 * math/w_jnl.c (__jnl): Likewise.
12951 (__ynl): Likewise.
12952 * math/libm-test.inc (j0_test): Add more tests.
12953 (j1_test): Likewise.
12954 (jn_test): Likewise. Add trailing semicolon to existing test.
12955 (y0_test): Likewise.
12956 (y1_test): Likewise.
12957 * sysdeps/i386/fpu/libm-test-ulps: Update.
12958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12959
11b90b9f
JM
12960 [BZ #13851]
12961 [BZ #13854]
12962 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12963 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12964 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12965 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12966 (__tanl): Set errno for infinite argument.
12967 * sysdeps/i386/fpu/mptan.c: Remove.
12968 * sysdeps/i386/fpu/s_tan.S: Likewise.
12969 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12970 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12971 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12972 * math/libm-test.inc (tan_test): Add more tests and enable more
12973 tests for double and long double.
12974 * sysdeps/i386/fpu/libm-test-ulps: Update.
12975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12976
6a1bd2a1
JK
129772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12978
12979 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12980 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12981
10a803e0
RM
129822012-03-16 Roland McGrath <roland@hack.frob.com>
12983
12984 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12985 * configure.in: Use it for both main tree and add-ons.
12986 * configure: Regenerated.
12987
f196c7f7
L
129882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12989
12990 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12991
8848d99d
JM
129922012-03-16 Joseph Myers <joseph@codesourcery.com>
12993
96cbe7f4
JM
12994 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12995 in comment.
12996
8848d99d
JM
12997 [BZ #13851]
12998 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12999 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13000 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13001 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13002 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13003 infinite argument.
13004 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13006 != 0 for prec == 2.
13007 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13008 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13009 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13010 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13011 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13012 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13013 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13014 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13015 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13016 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13017 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13018 * math/libm-test.inc (cos_test): Add more tests and enable more
13019 tests for long double.
13020 (sin_test): Likewise.
13021 (sincos_test): Likewise.
13022 * sysdeps/i386/fpu/libm-test-ulps: Update.
13023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13024
dd7f4703
DM
130252012-03-16 David S. Miller <davem@davemloft.net>
13026
13027 * sysdeps/sparc/fpu/math_private.h: New file.
13028
006f1daa
DM
130292012-03-15 David S. Miller <davem@davemloft.net>
13030
c0c83bc8
DM
13031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13032 file.
e6a62e18 13033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13035 file.
e6a62e18
DM
13036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13041 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13042 sysdep routines.
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13044
88cb87d9
DM
13045 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13046 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13047
006f1daa 13048 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13050 sparc-ifunc.h
006f1daa 13051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13053 Likewise.
13054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13055 Likewise.
006f1daa
DM
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13060 Likewise.
006f1daa
DM
13061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13066 Likewise.
13067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13068 Likewise.
006f1daa
DM
13069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13093
11e0098e
AS
130942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13095
13096 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13097 scaling.
13098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13099
e85b09d0
AJ
131002012-03-15 Andreas Jaeger <aj@suse.de>
13101
13102 [BZ #13852]
13103 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13104 ieee754/flt-32 implementation for sin, cos and sincos.
13105 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13106 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13107 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13108 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13109 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13110 ieee754/flt-32 implementation for tan.
13111
13112 * math/libm-test.inc (cos_test): Enable some large input tests for
13113 float as well
13114 (sin_test): Likewise.
13115 (sincos_test): Likewise.
13116 (tan_test): Add tests for large input.
13117
13118 * sysdeps/i386/fpu/libm-test-ulps: Update.
13119
81c64153
AJ
131202012-03-15 Andreas Jaeger <aj@suse.de>
13121
13122 [BZ #13658]
13123 * math/libm-test.inc (cos_test): Add more test cases.
13124 (sin_test): Likewise.
13125 (sincos_test): Likewise.
13126
7bbfa5c6
AJ
131272012-03-15 Andreas Jaeger <aj@suse.de>
13128
13129 [BZ #13837]
13130 * math/libm-test.inc (cos_test): Add a test case for large input
13131 value.
13132 (sin_test): Likewise.
13133 (sincos_test): Likewise.
13134
131352012-03-15 Andreas Jaeger <aj@suse.de>,
13136 Joseph Myers <joseph@codesourcery.com>
13137
13138 [BZ #13658]
0671f479 13139 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13140 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13141 * sysdeps/i386/fpu/branred.c: Likewise.
13142 * sysdeps/i386/fpu/dosincos.c: Likewise.
13143 * sysdeps/i386/fpu/mpa.c: Likewise.
13144 * sysdeps/i386/fpu/s_cos.S: Likewise.
13145 * sysdeps/i386/fpu/s_sin.S: Likewise.
13146 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13147 * sysdeps/i386/fpu/sincos32.c: Likewise.
13148
13149 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13150 Define.
13151 (libc_feupdateenv_53bit): Define.
13152 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13153 Define.
13154 (libc_feupdateenv_53bit): Define.
13155
13156 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13157 53 bit (without extend i386 double precision).
13158
13159 * math/libm-test.inc (sincos_test): Add tests for large input.
13160 (sin): Likewise.
13161 (cos): Likewise.
13162
13163 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13164
9cad04ea
AS
131652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13166
13167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13168
f7062b9a
DM
131692012-03-15 David S. Miller <davem@davemloft.net>
13170
13171 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13172 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13173 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13174 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13187 file.
f7062b9a 13188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13190 file.
f7062b9a 13191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13193 file.
f7062b9a 13194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13196 file.
f7062b9a
DM
13197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13199 fmin/fmax sysdep routines.
13200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13201
7bd951ff
DM
132022012-03-14 David S. Miller <davem@davemloft.net>
13203
559398ab
DM
13204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13233 routines.
13234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13235 file.
559398ab 13236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13238 file.
559398ab 13239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13241 file.
559398ab 13242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13244 file.
559398ab 13245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13247 file.
559398ab 13248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13250 file.
13251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13252 file.
13253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13254 file.
13255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13256 file.
13257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13258 New file.
13259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13260 file.
13261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13262 file.
559398ab 13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13265 file.
559398ab 13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13268 file.
559398ab 13269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13271 file.
559398ab 13272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13274 VIS3 routines.
559398ab
DM
13275
13276 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13277 New file.
13278
5a1c1e32
DM
13279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13280
eae47a36
DM
13281 * sysdeps/sparc/configure.in: New file.
13282 * sysdeps/sparc/configure: Generate.
13283 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13284 * configure: Regenerate.
13285 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13286 * config.make.in (have-as-vis3): New.
13287 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13288 available use -Av9d instead of -Av9a.
13289 * sysdeps/sparc/sparc64/Makefile: Likewise.
13290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13292 New file.
13293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13294 file.
13295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13296 New file.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13298 file.
eae47a36
DM
13299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13304
c0c83bc8
DM
13305 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13306 fzeros/fnegs to load 0x80000000 into a float register instead of
13307 using the stack.
7bd951ff
DM
13308 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13309
bd951ccb
JM
133102012-03-14 Joseph Myers <joseph@codesourcery.com>
13311
13312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13313 bits/syscall.h.
13314 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13315 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13316 ($(inst_includedir)/bits/syscall.h): Remove rule.
13317 ($(objpfx)bits/syscall.d): Include instead of
13318 $(objpfx)syscall-list.d.
13319 (generated): Change syscall-list.h and syscall-list.d to
13320 bits/syscall.h and bits/syscall.d.
13321
bb4e6db2
RM
133222012-03-14 Roland McGrath <roland@hack.frob.com>
13323
13324 [BZ #13846]
13325 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13326
aa4a2ae1
JM
133272012-03-14 Joseph Myers <joseph@codesourcery.com>
13328
e456826d
JM
13329 [BZ #13841]
13330 * math/s_csqrt.c: Include <float.h>.
13331 (__csqrt): Scale large or subnormal inputs.
13332 * math/s_csqrtf.c: Likewise.
13333 * math/s_csqrtl.c: Likewise.
13334 * math/libm-test.inc (csqrt_test): Add more tests.
13335 * sysdeps/i386/fpu/libm-test-ulps: Update.
13336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13337
aa4a2ae1
JM
13338 [BZ #13840]
13339 * math/libm-test.inc (hypot_test): Add more tests.
13340
7c10fd35
DM
133412012-03-13 David S. Miller <davem@davemloft.net>
13342
13343 [BZ #13840]
13344 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13345 double-precision for the calculation instead of scaling.
13346
f453b98b
JM
133472012-03-13 Joseph Myers <joseph@codesourcery.com>
13348
13349 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13350 manipulate bits before adding and subtracting TWO52[sx].
13351 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13352 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13353 Likewise.
13354 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13355
09a3453f
DM
133562012-03-13 David S. Miller <davem@davemloft.net>
13357
8e59da90
DM
13358 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13359 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13360 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13361 rtld-global-offsets.h
13362 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13363
2a8ab7f2
DM
13364 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13365 large parameters.
13366
10f62770
DM
13367 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13368
5f0bdb18
DM
13369 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13370 'err' in the ifdef scope in which it is actually used.
13371
09a3453f
DM
13372 * nss/nss_db/db-init.c: Include string.h
13373
b4b2eb5e
DM
133742012-03-12 David S. Miller <davem@davemloft.net>
13375
98bb2f1c
DM
13376 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13377 masking out of the most significant byte of random value used.
13378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13379 Fix coding style in previous change.
13380
b4b2eb5e
DM
13381 * sysdeps/unix/sysv/linux/kernel-features.h
13382 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13383 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13384 expression.
13385 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13386 later.
13387
6e226b09
DM
133882012-03-11 David S. Miller <davem@davemloft.net>
13389
a1bcbd40
DM
13390 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13391 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13392 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13393 for 'resultvar' otherwise things get truncated on 64-bit.
13394
cb9d6174
DM
13395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13396 Fix masking out of the most significant byte of random value used.
13397
6e226b09
DM
13398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13399
058c132d
AS
134002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13401
13402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13403
2d2cd515
DM
134042012-03-09 David S. Miller <davem@davemloft.net>
13405
13406 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13407 variables with appropriate CPP guards.
13408 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13409 frame pointer, not the stack pointer. Correct layout comments. Fix test
13410 on resulting framesize and the management of the outregs buffer for pltexit.
13411 Preserve floating point return values across _dl_call_pltexit call.
13412 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13413 framesize and the management of the outregs buffer for pltexit.
13414 Preserve floating point return values across _dl_call_pltexit
13415 call.
13416 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13417 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13418 (print_exit): Fix format string for return register value.
13419
9a07f9d0
JM
134202012-03-10 Joseph Myers <joseph@codesourcery.com>
13421
13422 * sunrpc/Makefile (others): Add rpcgen.
13423 ($(objpfx)rpcgen): Remove special build rule and dependency on
13424 libc.
13425 * sunrpc/rpcgen.c: New file.
13426
547b5e30
PE
134272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13428
c524201a
PE
13429 [BZ #13673]
13430 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13431 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13432 * sysdeps/i386/crti.S: Likewise.
13433 * sysdeps/i386/crtn.S: Likewise.
13434 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13435 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13436 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13437 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13438 * sysdeps/sh/crti.S: Likewise.
13439 * sysdeps/sh/crtn.S: Likewise.
13440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13441
7b6235f2
PE
13442 [BZ #13673]
13443 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13444 with URL.
13445 * locale/programs/locfile-kw.gperf: Likewise.
13446 * locale/programs/charmap-kw.h: Regenerated.
13447 * locale/programs/locfile-kw.h: Likewise.
13448
547b5e30
PE
13449 [BZ #13673]
13450 * intl/plural.y: Replace FSF snail mail address with URL.
13451 * intl/plural.c: Regenerated.
13452
5f0a5dae
RH
134532012-03-09 Richard Henderson <rth@twiddle.net>
13454
13455 * include/math_private.h: Remove file.
13456 * math/math_private.h: Move file ...
13457 * sysdeps/generic/math_private.h: ... here.
13458
b8c03620
RH
13459 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13460 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13461 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13462
4e234f5d 13463 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13464 and <math_private.h>.
13465 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13466 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13467 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13468 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13469 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13470 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13477 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13479 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13489 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13558 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13560 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13561 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13562 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13563 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13564 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13565 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13566 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13567 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13568 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13569 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13578 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13579 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13581 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13582 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13583 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13585 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13586 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13587 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13588 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13589 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13591 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13592 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13593 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13594 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13595 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13596 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13597 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13598 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13599 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13600 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13601 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13602 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13603 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13604 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13606 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13608 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13609 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13613 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13614 * sysdeps/ieee754/k_standard.c: Likewise.
13615 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13628 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13629 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13632 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13730 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13734 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13737 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13742 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13747 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13751 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13764 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13775 * sysdeps/ieee754/s_lib_version.c: Likewise.
13776 * sysdeps/ieee754/s_matherr.c: Likewise.
13777 * sysdeps/ieee754/s_signgam.c: Likewise.
13778 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13780 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13781 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13784 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13785 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13786 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13787 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13788 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13789 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13790 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13791 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13792 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13794 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13795 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13796 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13799
1991fa03
JM
138002012-03-09 Joseph Myers <joseph@codesourcery.com>
13801
13802 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13803 * sunrpc/rpc_main.c: Likewise.
13804 * sunrpc/rpc_svcout.c: Likewise.
13805
60d6f5a6
DM
138062012-03-09 David S. Miller <davem@davemloft.net>
13807
13808 * include/math_private.h: New file.
13809
4962050e
JM
138102012-03-09 Joseph Myers <joseph@codesourcery.com>
13811
02a6f887
JM
13812 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13813 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13814 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13815 from <bits/socket_type.h>.
13816 (enum __socket_type): Don't define here.
13817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13819 bits/socket_type.h.
13820
c6e013c1
JM
13821 [BZ #13566]
13822 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13823 checking __USE_GNU.
13824
4962050e
JM
13825 * Makerules ($(inst_includedir)/%.h): New rule.
13826 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13827 (install-others): Remove variable setting.
13828 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13829
38842f45
RH
138302012-03-08 Richard Henderson <rth@twiddle.net>
13831
67bb6da6
RH
13832 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13833 from macro to inline function; merge with the
13834 !__LIBC_INTERNAL_MATH_INLINES version.
13835 (__ieee754_sqrtf): Likewise.
13836
15194b4b
RH
13837 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13838 to inline function.
13839 (__rintf, __floor, __floorf): Likewise.
13840
64e21ede
RH
13841 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13842 macro to inline function.
13843 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13844
38842f45
RH
13845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13846 not <math/math_private.h>.
13847
c64bf5fe
DM
138482012-03-08 David S. Miller <davem@davemloft.net>
13849
13850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13851 copyright year.
13852 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13853
82d86f28
TS
138542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13855
13856 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13857 normalization.
13858 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13859 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13860
aea5d727
UD
138612012-03-08 Ulrich Drepper <drepper@gmail.com>
13862
13863 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13864 be defined individually, they must be defined as a block. Define
13865 S for printing a string instead of hidint the different by using a
13866 macro for adding the 'l'.
13867 * stdio-common/tst-fphex-wide.c: Adjust.
13868
70bca0a3
MP
138692012-03-07 Marek Polacek <polacek@redhat.com>
13870
13871 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13872
65b81130
MP
138732012-03-08 Marek Polacek <polacek@redhat.com>
13874
13875 [BZ #13806]
13876 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13877 * stdio-common/tst-fphex.c: Define a few macros to make the
13878 test reusable. Use them.
13879 * stdio-common/tst-fphex-wide.c: New file.
13880
07037eeb
JM
138812012-03-08 Joseph Myers <joseph@codesourcery.com>
13882
a7a93d50
JM
13883 [BZ #6911]
13884 * manual/macros.texi (gnusystems): New macro.
13885 (nongnusystems): Likewise.
13886 (gnulinuxhurdsystems): Likewise.
13887 (gnuhurdsystems): Likewise..
13888 (gnulinuxsystems): Likewise.
13889 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13890 variants of the GNU system, not "GNU system".
13891 * manual/conf.texi: Likewise.
13892 * manual/errno.texi: Likewise. Update example of errno macro
13893 expansion.
13894 * manual/filesys.texi: Likewise.
13895 (getumask): Document as specific to GNU/Hurd.
13896 * manual/install.texi: Likewise. Reword some references to
13897 GNU/Linux.
13898 * manual/intro.texi: Likewise.
13899 * manual/io.texi: Likewise.
13900 (File Name Portability): Detail which constraints are inapplicable
13901 to all GNU systems and which are only inapplicable to GNU/Hurd.
13902 * manual/job.texi: Likewise.
13903 * manual/llio.texi: Likewise.
13904 (O_NOCTTY): Document as present on GNU/Linux.
13905 * manual/maint.texi: Likewise.
13906 * manual/memory.texi: Likewise.
13907 * manual/pattern.texi: Likewise.
13908 * manual/pipe.texi: Likewise.
13909 * manual/process.texi: Likewise.
13910 * manual/resource.texi: Likewise.
13911 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13912 child on GNU/Hurd.
13913 * manual/setjmp.texi: Likewise.
13914 * manual/signal.texi: Likewise.
13915 * manual/startup.texi: Likewise.
13916 * manual/stdio.texi: Likewise.
13917 * manual/terminal.texi: Likewise.
13918 (ONLCR): Document as POSIX.
13919 (OXTABS): Document availability on GNU/Linux as XTABS.
13920 (ONOEOT): Document availability separately from other bits.
13921 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13922 * manual/time.texi: Likewise.
13923 * manual/users.texi: Likewise.
13924 * INSTALL: Regenerated.
13925 * sysdeps/gnu/errlist.c: Regenerated.
13926
07037eeb
JM
13927 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13928 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13929 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13930 puts.
13931 * configure: Regenerated.
13932
d1d3431a
JM
139332012-03-07 Joseph Myers <joseph@codesourcery.com>
13934
af6a1e37
JM
13935 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13936 default includes instead of AC_HEADER_CHECK.
13937 * sysdeps/i386/configure: Regenerated.
13938
d1d3431a
JM
13939 [BZ #10716]
13940 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13941 * math/s_cacoshf.c (__cacoshf): Likewise.
13942 * math/s_cacoshl.c (__cacoshl): Likewise.
13943 * math/s_casinh.c (__casinh): Set signs of result from argument.
13944 * math/s_casinhf.c (__casinhf): Likewise.
13945 * math/s_casinhl.c (__casinhl): Likewise.
13946 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13947 (casinh_test): Add more tests.
13948 * sysdeps/i386/fpu/libm-test-ulps: Update.
13949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13950
482ff4da
UD
139512012-03-07 Ulrich Drepper <drepper@gmail.com>
13952
872fda05
UD
13953 * po/zh_TW.po: Update from translation team.
13954
a4300c7a
UD
13955 * login/Makefile (distribute): Remove variable.
13956 * catgets/Makefile: Likewise.
13957 * mach/Makefile: Likewise.
13958 * malloc/Makefile: Likewise.
13959 * misc/Makefile: Likewise.
13960 * iconv/Makefile: Likewise.
13961 * nscd/Makefile: Likewise.
13962 * hurd/Makefile: Likewise.
13963 * manual/Makefile: Likewise.
13964 * locale/Makefile: Likewise.
13965 * intl/Makefile: Likewise.
13966 * conform/Makefile: Likewise.
13967 * nss/Makefile: Likewise.
13968 * time/Makefile: Likewise.
13969 * soft-fp/Makefile: Likewise.
13970 * dirent/Makefile: Likewise.
13971 * gmon/Makefile: Likewise.
13972 * po/Makefile: Likewise.
13973 * rt/Makefile: Likewise.
13974 * socket/Makefile: Likewise.
13975 * math/Makefile: Likewise.
13976 * signal/Makefile: Likewise.
13977 * debug/Makefile: Likewise.
13978 * elf/Makefile: Likewise.
13979 * timezone/Makefile: Likewise.
13980 * stdlib/Makefile: Likewise.
13981 * iconvdata/Makefile: Likewise.
13982 * sunrpc/Makefile: Likewise.
13983 * io/Makefile: Likewise.
13984 * argp/Makefile: Likewise.
13985 * inet/Makefile: Likewise.
13986 * hesiod/Makefile: Likewise.
13987 * grp/Makefile: Likewise.
13988 * csu/Makefile: Likewise.
13989 * wctype/Makefile: Likewise.
13990 * crypt/Makefile: Likewise.
13991 * libio/Makefile: Likewise.
13992 * string/Makefile: Likewise.
13993 * nis/Makefile: Likewise.
13994 * resolv/Makefile: Likewise.
13995 * stdio-common/Makefile: Likewise.
13996 * wcsmbs/Makefile: Likewise.
13997 * dlfcn/Makefile: Likewise.
13998 * posix/Makefile: Likewise.
13999
3b7c4e74 14000 [BZ #6959]
482ff4da
UD
14001 * timezone/Makefile: Don't install timezone files, just the programs
14002 and scripts.
14003
f72ed77d
UD
140042012-03-06 Ulrich Drepper <drepper@gmail.com>
14005
a000466f
UD
14006 * nss/databases.def: Add missing gshadow entry.
14007
f72ed77d
UD
14008 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14009
a53b7a4e
MP
140102012-03-06 Marek Polacek <polacek@redhat.com>
14011
14012 [BZ #13726]
14013 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14014 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14015 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14016 * stdio-common/tst-long-dbl-fphex.c: New file.
14017
e9258400
DM
140182012-03-06 David S. Miller <davem@davemloft.net>
14019
14020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14021 (set_obp_int): New function.
14022 (get_obp_int): New function.
14023 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14025 Avoid unused variable warnings on 'val' and use builtin_expect.
14026 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14027 __builtin_expect.
e9258400
DM
14028 (INLINE_CLONE_SYSCALL): Likewise.
14029
3bd2c723
DM
140302012-03-05 David S. Miller <davem@davemloft.net>
14031
14032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14033
bbb78d03
AS
140342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14035
884c5db4
AS
14036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14037
bbb78d03
AS
14038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14039 only for |x| >= 40.
14040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14041
1c9f702a 140422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14043
14044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14045 Replace gettimeofday with __vdso_gettimeofday.
14046
7be16f82
RM
14047 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14048 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14049 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14050
14051 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14052 time with __vdso_time.
14053
ed58a00f
JM
140542012-03-05 Joseph Myers <joseph@codesourcery.com>
14055
14056 * manual/lang.texi (size_t): Note types to which size_t may be
14057 equivalent with the GNU C Library, but do not describe when
14058 differences between them are significant.
14059
30ee4ced
AJ
140602012-03-05 Andreas Jaeger <aj@suse.de>
14061
14062 * sysdeps/i386/fpu/libm-test-ulps: Update.
14063
b7cd39e8
JM
140642012-03-05 Joseph Myers <joseph@codesourcery.com>
14065
14066 [BZ #3976]
14067 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14068 (__ieee754_pow): Save and restore rounding mode and use
14069 round-to-nearest for main computations.
14070 * math/libm-test.inc (pow_test_tonearest): New function.
14071 (pow_test_towardzero): Likewise.
14072 (pow_test_downward): Likewise.
14073 (pow_test_upward): Likewise.
14074 (main): Call the new functions.
14075 * sysdeps/i386/fpu/libm-test-ulps: Update.
14076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14077
14078 [BZ #3976]
14079 * math/libm-test.inc (cosh_test_tonearest): New function.
14080 (cosh_test_towardzero): Likewise.
14081 (cosh_test_downward): Likewise.
14082 (cosh_test_upward): Likewise.
14083 (sinh_test_tonearest): Likewise.
14084 (sinh_test_towardzero): Likewise.
14085 (sinh_test_downward): Likewise.
14086 (sinh_test_upward): Likewise.
14087 (main): Call the new functions.
14088 * sysdeps/i386/fpu/libm-test-ulps: Update.
14089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14090
6c6a98c9
TV
140912012-03-05 Tom de Vries <tom@codesourcery.com>
14092
14093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14094 default stack guard is set in last bytes.
14095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14096
21bb2d2e 140972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14098
21bb2d2e 14099 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14100
21bb2d2e
AJ
14101 [BZ #13656]
14102 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14103 possibly allocate from heap instead of stack.
14104 * stdio-common/bug-vfprintf-nargs.c: New file.
14105 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14106
c6922934
AS
141072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14108
14109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14110
bc957d53
MP
141112012-03-03 Marek Polacek <polacek@redhat.com>
14112
14113 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14114 * math/math_private.h: Likewise.
14115 * stdlib/tst-strtod.c: Likewise.
14116 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14117 * sysdeps/x86_64/bits/atomic.h: Likewise.
14118
6358490d
DM
141192012-03-02 David S. Miller <davem@davemloft.net>
14120
14121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14125 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14126 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14127 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14128 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14129
01ae168d
RM
141302012-03-02 Roland McGrath <roland@hack.frob.com>
14131
d9a17c07
RM
14132 [BZ #13792]
14133 * manual/examples/README: New file, says the example source files
14134 can be used under GPL>=2.
14135 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14136 line containing just "*/".
14137 * manual/examples/add.c: Add copyright header (GPL>=2).
14138 * manual/examples/argp-ex1.c: Likewise.
14139 * manual/examples/argp-ex2.c: Likewise.
14140 * manual/examples/argp-ex3.c: Likewise.
14141 * manual/examples/argp-ex4.c: Likewise.
14142 * manual/examples/atexit.c: Likewise.
14143 * manual/examples/db.c: Likewise.
14144 * manual/examples/dir.c: Likewise.
14145 * manual/examples/dir2.c: Likewise.
14146 * manual/examples/execinfo.c: Likewise.
14147 * manual/examples/filecli.c: Likewise.
14148 * manual/examples/filesrv.c: Likewise.
14149 * manual/examples/fmtmsgexpl.c: Likewise.
14150 * manual/examples/genpass.c: Likewise.
14151 * manual/examples/inetcli.c: Likewise.
14152 * manual/examples/inetsrv.c: Likewise.
14153 * manual/examples/isockad.c: Likewise.
14154 * manual/examples/longopt.c: Likewise.
14155 * manual/examples/memopen.c: Likewise.
14156 * manual/examples/memstrm.c: Likewise.
14157 * manual/examples/mkfsock.c: Likewise.
14158 * manual/examples/mkisock.c: Likewise.
14159 * manual/examples/mygetpass.c: Likewise.
14160 * manual/examples/pipe.c: Likewise.
14161 * manual/examples/popen.c: Likewise.
14162 * manual/examples/rprintf.c: Likewise.
14163 * manual/examples/search.c: Likewise.
14164 * manual/examples/select.c: Likewise.
14165 * manual/examples/setjmp.c: Likewise.
14166 * manual/examples/sigh1.c: Likewise.
14167 * manual/examples/sigusr.c: Likewise.
14168 * manual/examples/stpcpy.c: Likewise.
14169 * manual/examples/strdupa.c: Likewise.
14170 * manual/examples/strftim.c: Likewise.
14171 * manual/examples/strncat.c: Likewise.
14172 * manual/examples/subopt.c: Likewise.
14173 * manual/examples/swapcontext.c: Likewise.
14174 * manual/examples/termios.c: Likewise.
14175 * manual/examples/testopt.c: Likewise.
14176 * manual/examples/testpass.c: Likewise.
14177 * manual/examples/timeval_subtract.c: Likewise.
14178
01ae168d
RM
14179 [BZ #13792]
14180 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14181 function to ...
14182 * manual/timeval_subtract.c.texi: ... here, new file.
14183
49efa33d
DM
141842012-03-02 David S. Miller <davem@davemloft.net>
14185
14186 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14187
28afd92d
JM
141882012-03-02 Joseph Myers <joseph@codesourcery.com>
14189
804360ed
JM
14190 [BZ #3976]
14191 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14192 (__sin): Save and restore rounding mode and use round-to-nearest
14193 for all computations.
14194 (__cos): Save and restore rounding mode and use round-to-nearest
14195 for all computations.
14196 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14197 <fenv.h>.
14198 (tan): Save and restore rounding mode and use round-to-nearest for
14199 all computations.
14200 * math/libm-test.inc (cos_test_tonearest): New function.
14201 (cos_test_towardzero): Likewise.
14202 (cos_test_downward): Likewise.
14203 (cos_test_upward): Likewise.
14204 (sin_test_tonearest): Likewise.
14205 (sin_test_towardzero): Likewise.
14206 (sin_test_downward): Likewise.
14207 (sin_test_upward): Likewise.
14208 (tan_test_tonearest): Likewise.
14209 (tan_test_towardzero): Likewise.
14210 (tan_test_downward): Likewise.
14211 (tan_test_upward): Likewise.
14212 (main): Call the new functions.
14213 * sysdeps/i386/fpu/libm-test-ulps: Update.
14214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14215
a6d06d7b
JM
14216 [BZ #10135]
14217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14218 small n, then large n, before computing and testing k+n.
14219 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14221 Likewise.
14222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14223 Likewise.
14224 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14225 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14232 * math/libm-test.inc (scalbn_test): Add more tests.
14233 (scalbln_test): Likewise.
14234
07e12bb3
JM
14235 * manual/filesys.texi (mode_t): Describe constraints on size and
14236 signedness, not exact equivalence to a particular type.
14237 (ino_t): Likewise.
14238 (ino64_t): Likewise.
14239 (dev_t): Likewise.
14240 (nlink_t): Likewise.
14241 (blkcnt_t): Likewise.
14242 (blkcnt64_t): Likewise.
14243 * manual/llio.texi (off_t): Likewise.
14244
28afd92d
JM
14245 [BZ #3976]
14246 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14247 (__ieee754_exp): Save and restore rounding mode and use
14248 round-to-nearest for all computations.
14249 * math/libm-test.inc (exp_test_tonearest): New function.
14250 (exp_test_towardzero): Likewise.
14251 (exp_test_downward): Likewise.
14252 (exp_test_upward): Likewise.
14253 (main): Call the new functions.
14254 * sysdeps/i386/fpu/libm-test-ulps: Update.
14255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14256
b1eeb65d
CD
142572012-03-01 Chris Demetriou <cgd@google.com>
14258
14259 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14260 have predictable order.
14261
53362a4b
DM
142622012-03-01 David S. Miller <davem@davemloft.net>
14263
3c969083
DM
14264 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14265
759707de
DM
14266 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14267 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14268 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14269 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14270
dfdb8ff2
DM
14271 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14272 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14273 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14275 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14276 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14277 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14278 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14279 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14280
ead89f96
DM
14281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14282
7f66bd07
DM
14283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14284 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14286
53362a4b
DM
14287 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14289 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14290 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14291 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14294 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14296 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14297 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14301 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14303 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14304 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14305 * sysdeps/sparc/elf/configure: Regenerated.
14306
7b1902cb
JM
143072012-03-01 Joseph Myers <joseph@codesourcery.com>
14308
bec039bc
JM
14309 * configure.in (AS, LD): Require binutils 2.20 or later.
14310 * configure: Regenerated.
14311 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14312 as required minimum version.
14313 * INSTALL: Regenerated.
14314
7b1902cb
JM
14315 [BZ #2541]
14316 [BZ #4108]
14317 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14318 before squaring exponent.
14319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14320 bottom long double and 27 bits of top long double before squaring
14321 exponent.
14322 * math/libm-test.inc (erfc_test): Add more tests.
14323 * sysdeps/i386/fpu/libm-test-ulps: Update.
14324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14326
f775c276
KT
143272012-03-01 Kai Tietz <ktietz@redhat.com>
14328
14329 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14330 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14331 containing bit-fields.
14332 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14333 * soft-fp/single.h (_FP_UNION_S): Likewise.
14334 * soft-fp/double.h (_FP_UNION_D): Likewise.
14335
5b8a4d4a
JM
143362012-02-29 Joseph Myers <joseph@codesourcery.com>
14337
0bab47b6
JM
14338 [BZ #13786]
14339 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14340 not include ../strcmp.S.
14341 [USE_AS_STRNCASECMP_L]: Likewise.
14342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14343 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14344 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14345 (__strncasecmp_l_ia32): Define as alias to
14346 __strncasecmp_l_nonascii.
14347
0fcad3e2
JM
14348 [BZ #5794]
14349 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14350 * sysdeps/i386/fpu/libm-test-ulps: Update.
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352
5b8a4d4a
JM
14353 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14355
8fdceb2e
JL
143562012-02-29 Jeff Law <law@redhat.com>
14357
14358 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14359 out of bounds read.
14360
1f393a11
MP
143612012-02-29 Marek Polacek <polacek@redhat.com>
14362
14363 [BZ #13706]
14364 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14365 * elf/Makefile: Add rules to run tst-unused-dep.out.
14366
8847f037
DM
143672012-02-28 David S. Miller <davem@davemloft.net>
14368
14369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14375
169d7f11
JM
143762012-02-29 Joseph Myers <joseph@codesourcery.com>
14377
14378 * math/libm-test.inc (llround_test): Move one test from
14379 lround_test. Use TEST_f_L in moved test.
14380 (lround_test): Move misplaced test to llround_test. Add testcase
14381 from bug 2561.
14382
39adf059
UD
143832012-02-28 Ulrich Drepper <drepper@gmail.com>
14384
14385 * sysdeps/x86_64/fpu/e_expf.S: New file.
14386 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14387
71b5d1c5
SB
143882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14389
14390 [BZ #13637]
14391 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14392 of remain_len that may cause incomplete multi-byte character and
14393 false match.
14394 * posix/bug-regex33.c: New file.
14395 * posix/Makefile (tests): Add bug-regex33.
14396
1f77f049
JM
143972012-02-28 Joseph Myers <joseph@codesourcery.com>
14398
14399 * manual/macros.texi: New file.
14400 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14401 * manual/libc.texinfo: Include macros.texi.
14402 * manual/creatute.texi: Likewise.
14403 * manual/install.texi: Likewise.
14404 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14405 @glibcadj{} in references to the GNU C Library.
14406 * manual/charset.texi: Likewise.
14407 * manual/conf.texi: Likewise.
14408 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14409 when not using those macros.
14410 * manual/creature.texi: Likewise.
14411 * manual/crypt.texi: Likewise.
14412 * manual/errno.texi: Likewise.
14413 * manual/filesys.texi: Likewise.
14414 * manual/header.texi: Likewise.
14415 * manual/install.texi: Likewise.
14416 * manual/intro.texi: Likewise.
14417 * manual/io.texi: Likewise.
14418 * manual/job.texi: Likewise.
14419 * manual/lang.texi: Likewise.
14420 * manual/libc.texiinfo: Likewise.
14421 * manual/llio.texi: Likewise.
14422 * manual/locale.texi: Likewise.
14423 * manual/maint.texi: Likewise.
14424 * manual/math.texi: Likewise.
14425 * manual/memory.texi: Likewise.
14426 * manual/message.texi: Likewise.
14427 * manual/nss.texi: Likewise.
14428 * manual/pattern.texi: Likewise.
14429 * manual/process.texi: Likewise.
14430 * manual/resource.texi: Likewise.
14431 * manual/search.texi: Likewise.
14432 * manual/setjmp.texi: Likewise.
14433 * manual/signal.texi: Likewise.
14434 * manual/socket.texi: Likewise.
14435 * manual/startup.texi: Likewise.
14436 * manual/stdio.texi: Likewise.
14437 * manual/string.texi: Likewise.
14438 * manual/sysinfo.texi: Likewise.
14439 * manual/syslog.texi: Likewise.
14440 * manual/terminal.texi: Likewise.
14441 * manual/time.texi: Likewise.
14442 * manual/users.texi: Likewise.
14443 * INSTALL: Regenerated.
14444 * NOTES: Regenerated.
d40c5d54 14445 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14446
450bf206
AS
144472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14448
14449 * include/dirent.h: Include <dirstream.h> before
14450 <dirent/dirent.h>.
14451
741a235b
DM
144522012-02-28 David S. Miller <davem@davemloft.net>
14453
14454 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14455 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14456 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14458
d6b5aa58
DM
144592012-02-27 David S. Miller <davem@davemloft.net>
14460
1aff59a3
DM
14461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14463 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14464 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14465
d6b5aa58
DM
14466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14467 frame pointer instead of stack pointer relative arg slot.
14468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14471
433f48bf
CD
144722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14473
14474 [BZ #3992]
14475 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14476
d674b76d
DM
144772012-02-27 David S. Miller <davem@davemloft.net>
14478
14479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14485 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14486 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14487
0e7727f7
JM
144882012-02-27 Joseph Myers <joseph@codesourcery.com>
14489
14490 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14491 later. Allow versions 5-9.
43be4ca2 14492 * configure: Regenerated.
0e7727f7
JM
14493 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14494 required minimum version and 4.6 as recommended version. Do not
14495 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14496 * INSTALL: Regenerated.
0e7727f7 14497
a78bc654
DM
144982012-02-27 David S. Miller <davem@davemloft.net>
14499
428d5830
DM
14500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14506 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14508
a78bc654
DM
14509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14510 manipulate bits before adding and subtracting TWO112[sx].
14511 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14512
4579f81c
RM
145132012-02-27 Roland McGrath <roland@hack.frob.com>
14514
36c8acb4
RM
14515 [BZ #13775]
14516 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14517 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14518 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14519 being in POSIX, because they are in 1003.1-2008.
14520
84ad622b
RM
14521 * rt/tst-aio.c: Include <fcntl.h>.
14522 * rt/tst-aio7.c: Likewise.
14523 * rt/tst-aio64.c: Likewise.
14524
4579f81c
RM
14525 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14526
abd923db
JM
145272012-02-27 Joseph Myers <joseph@codesourcery.com>
14528
14529 * manual/install.texi (--with-headers): Describe headers as
14530 interface headers, not private headers.
14531 (Specific advice for GNU/Linux systems): Describe use of headers
14532 from "make headers_install", not private headers from older
14533 kernels.
43be4ca2 14534 * INSTALL: Regenerated.
abd923db
JM
14535 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14536 Change to 2.6.19.
14537 * sysdeps/unix/sysv/linux/configure: Regenerated.
14538
6664049b
JM
14539 * manual/llio.texi (fclean): Remove documentation.
14540
bb8b6697
JM
14541 * manual/Makefile (libc-texi-generated): New variable. Include
14542 version.texi.
14543 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14544 $(libc-texi-generated), not duplicated list of files.
14545 (version.texi, stamp-version): New rules.
14546 (realclean): Remove $(libc-texi-generated), not individual files
14547 from that list. Do not remove dir-add.texinfo.
14548 * manual/libc.texinfo: Comment out uses of edition numbers and
14549 references to printed manual. Remove last-updated dates.
14550 (EDITION): Comment out.
14551 (ISBN): Likewise.
14552 (VERSION, UPDATED): Remove.
14553 (version.texi): Include.
14554
12e5c3b9
AS
145552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14556
14557 * sysdeps/posix/spawni.c: Include <signal.h>.
14558 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14559 * sysdeps/pthread/aio_fsync.c: Likewise.
14560
4efeffc1 145612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14562
ba63ba08
UD
14563 * conform/Makefile (tests): Run only when not cross-compiling and
14564 when fast-check is not defined.
14565
d94a4670
UD
14566 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14567 * conform/data/limits.h-data: Fixes for POSIX2008.
14568 * conform/run-conformtest.sh: Run all tests.
14569 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14570 headers.
14571 * include/bits/dlfcn.h: Likewise.
14572 * include/langinfo.h: Likewise.
14573 * include/monetary.h: Likewise.
14574 * include/sys/poll.h: Likewise.
14575
14576 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14577 for __USE_GNU.
14578 * posix/spawn.h: Define __need_sigset_t.
14579 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14580 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14581 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14582 to get sigevent_t only.
14583 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14584 only for __USE_GNU.
14585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14587 process_vm_writev only for __USE_GNU.
14588 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14589
14590 * conform/Makefile: For now ignore errors from run-conformtest.
14591 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14592 POSIX to avoid namespace pollution. Don't prepend headers.
14593 * conform/data/aio.h-data: Fixes for POSIX testing.
14594 * conform/data/fcntl.h-data: Likewise.
14595 * conform/data/glob.h-data: Likewise.
14596 * conform/data/grp.h-data: Likewise.
14597 * conform/data/pthread.h-data: Likewise.
14598 * conform/data/pwd.h-data: Likewise.
14599 * conform/data/signal.h-data: Likewise.
14600 * conform/data/spawn.h-data: Likewise.
14601 * conform/data/stdio.h-data: Likewise.
14602 * conform/data/stdlib.h-data: Likewise.
14603 * conform/data/stropts.h-data: Likewise.
14604 * conform/data/sys/mman.h-data: Likewise.
14605 * conform/data/sys/stat.h-data: Likewise.
14606 * conform/data/sys/types.h-data: Likewise.
14607 * conform/data/sys/wait.h-data: Likewise.
14608 * conform/data/time.h-data: Likewise.
14609 * conform/data/unistd.h-data: Likewise.
14610 * conform/data/utime.h-data: Likewise.
14611
14612 * io/sys/stat.h: fchmod was always in POSIX.
14613 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14614 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14615 * rt/aio.h: Define __need_timespec before including <time.h>.
14616 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14617 struct. Add forward declaration of pthread_attr_t and use it in
14618 sigevent.
14619 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14621 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14622 always remove CLK_TCK definition.
14623
c20105c3
AS
146242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14625
14626 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14627
7a270350
UD
146282012-02-25 Ulrich Drepper <drepper@gmail.com>
14629
31341567
UD
14630 * conform/run-conformtest.sh: New file.
14631 * conform/Makefile: Run run-conformtest for tests.
14632 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14633 support.
14634
14635 * conform/data/uchar.h-data: New file.
14636 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14637 * conform/data/arpa/inet.h-data: Likewise.
14638 * conform/data/assert.h-data: Likewise.
14639 * conform/data/complex.h-data: Likewise.
14640 * conform/data/cpio.h-data: Likewise.
14641 * conform/data/ctype.h-data: Likewise.
14642 * conform/data/dirent.h-data: Likewise.
14643 * conform/data/dlfcn.h-data: Likewise.
14644 * conform/data/errno.h-data: Likewise.
14645 * conform/data/fcntl.h-data: Likewise.
14646 * conform/data/float.h-data: Likewise.
14647 * conform/data/fmtmsg.h-data: Likewise.
14648 * conform/data/fnmatch.h-data: Likewise.
14649 * conform/data/ftw.h-data: Likewise.
14650 * conform/data/glob.h-data: Likewise.
14651 * conform/data/grp.h-data: Likewise.
14652 * conform/data/iconv.h-data: Likewise.
14653 * conform/data/inttypes.h-data: Likewise.
14654 * conform/data/langinfo.h-data: Likewise.
14655 * conform/data/libgen.h-data: Likewise.
14656 * conform/data/limits.h-data: Likewise.
14657 * conform/data/locale.h-data: Likewise.
14658 * conform/data/math.h-data: Likewise.
14659 * conform/data/monetary.h-data: Likewise.
14660 * conform/data/mqueue.h-data: Likewise.
14661 * conform/data/ndbm.h-data: Likewise.
14662 * conform/data/net/if.h-data: Likewise.
14663 * conform/data/netdb.h-data: Likewise.
14664 * conform/data/netinet/in.h-data: Likewise.
14665 * conform/data/nl_types.h-data: Likewise.
14666 * conform/data/poll.h-data: Likewise.
14667 * conform/data/pthread.h-data: Likewise.
14668 * conform/data/pwd.h-data: Likewise.
14669 * conform/data/regex.h-data: Likewise.
14670 * conform/data/sched.h-data: Likewise.
14671 * conform/data/search.h-data: Likewise.
14672 * conform/data/semaphore.h-data: Likewise.
14673 * conform/data/setjmp.h-data: Likewise.
14674 * conform/data/signal.h-data: Likewise.
14675 * conform/data/spawn.h-data: Likewise.
14676 * conform/data/stdarg.h-data: Likewise.
14677 * conform/data/stdio.h-data: Likewise.
14678 * conform/data/stdlib.h-data: Likewise.
14679 * conform/data/string.h-data: Likewise.
14680 * conform/data/strings.h-data: Likewise.
14681 * conform/data/stropts.h-data: Likewise.
14682 * conform/data/sys/ipc.h-data: Likewise.
14683 * conform/data/sys/mman.h-data: Likewise.
14684 * conform/data/sys/msg.h-data: Likewise.
14685 * conform/data/sys/resource.h-data: Likewise.
14686 * conform/data/sys/select.h-data: Likewise.
14687 * conform/data/sys/sem.h-data: Likewise.
14688 * conform/data/sys/shm.h-data: Likewise.
14689 * conform/data/sys/socket.h-data: Likewise.
14690 * conform/data/sys/stat.h-data: Likewise.
14691 * conform/data/sys/statvfs.h-data: Likewise.
14692 * conform/data/sys/time.h-data: Likewise.
14693 * conform/data/sys/timeb.h-data: Likewise.
14694 * conform/data/sys/times.h-data: Likewise.
14695 * conform/data/sys/types.h-data: Likewise.
14696 * conform/data/sys/uio.h-data: Likewise.
14697 * conform/data/sys/un.h-data: Likewise.
14698 * conform/data/sys/utsname.h-data: Likewise.
14699 * conform/data/sys/wait.h-data: Likewise.
14700 * conform/data/syslog.h-data: Likewise.
14701 * conform/data/tar.h-data: Likewise.
14702 * conform/data/termios.h-data: Likewise.
14703 * conform/data/utime.h-data: Likewise.
14704 * conform/data/utmpx.h-data: Likewise.
14705 * conform/data/varargs.h-data: Likewise.
14706 * conform/data/wchar.h-data: Likewise.
14707 * conform/data/wctype.h-data: Likewise.
14708 * conform/data/wordexp.h-data: Likewise.
14709
14710 * include/stropts.h: New file.
14711 * include/uchar.h: New file.
14712 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14713 * include/assert.h: Likewise.
14714 * include/ctype.h: Likewise.
14715 * include/dirent.h: Likewise.
14716 * include/dlfcn.h: Likewise.
14717 * include/fcntl.h: Likewise.
14718 * include/fnmatch.h: Likewise.
14719 * include/glob.h: Likewise.
14720 * include/grp.h: Likewise.
14721 * include/libio.h: Likewise.
14722 * include/locale.h: Likewise.
14723 * include/math.h: Likewise.
14724 * include/net/if.h: Likewise.
14725 * include/netdb.h: Likewise.
14726 * include/netinet/in.h: Likewise.
14727 * include/pthread.h: Likewise.
14728 * include/pwd.h: Likewise.
14729 * include/regex.h: Likewise.
14730 * include/sched.h: Likewise.
14731 * include/search.h: Likewise.
14732 * include/setjmp.h: Likewise.
14733 * include/signal.h: Likewise.
14734 * include/stdio.h: Likewise.
14735 * include/stdlib.h: Likewise.
14736 * include/string.h: Likewise.
14737 * include/sys/cdefs.h: Likewise.
14738 * include/sys/mman.h: Likewise.
14739 * include/sys/msg.h: Likewise.
14740 * include/sys/resource.h: Likewise.
14741 * include/sys/select.h: Likewise.
14742 * include/sys/socket.h: Likewise.
14743 * include/sys/stat.h: Likewise.
14744 * include/sys/statvfs.h: Likewise.
14745 * include/sys/time.h: Likewise.
14746 * include/sys/times.h: Likewise.
14747 * include/sys/uio.h: Likewise.
14748 * include/sys/utsname.h: Likewise.
14749 * include/sys/wait.h: Likewise.
14750 * include/termios.h: Likewise.
14751 * include/time.h: Likewise.
14752 * include/ulimit.h: Likewise.
14753 * include/unistd.h: Likewise.
14754 * include/utime.h: Likewise.
14755 * include/wchar.h: Likewise.
14756 * include/wctype.h: Likewise.
14757 * include/wordexp.h: Likewise.
14758
14759 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14760
7a270350
UD
14761 * time/time.h: TIME_UTC must be a macro.
14762 Make timespec_get available for ISO C11 only as well.
14763
7724defc
UD
147642012-02-24 Ulrich Drepper <drepper@gmail.com>
14765
14766 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14767 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14768
6b1d1d46
JM
147692012-02-24 Joseph Myers <joseph@codesourcery.com>
14770
14771 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14772
0f8bbd69
JM
147732012-02-24 Joseph Myers <joseph@codesourcery.com>
14774
14775 * manual/texinfo.tex: Update to version 2012-01-19.16.
14776
66ab80bc
JM
147772012-02-24 Joseph Myers <joseph@codesourcery.com>
14778
14779 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14780
74981cc5
RM
147812012-02-24 Roland McGrath <roland@hack.frob.com>
14782
ee968201
RM
14783 [BZ #13738]
14784 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14785 * manual/fdl-1.3.texi: New file.
14786 * manual/fdl-1.1.texi: File removed.
14787
74981cc5
RM
14788 [BZ #13738]
14789 * manual/libc.texinfo (FDL_VERSION): New @set.
14790 Use it for mention of FDL in cover text.
14791 (Documentation License): Use it in @include file name.
14792
7bb764bc
JM
147932012-02-22 Joseph Myers <joseph@codesourcery.com>
14794 Roland McGrath <roland@hack.frob.com>
14795
14796 [BZ #5461]
14797 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14798 not LONG_LONG_MAX and LONG_LONG_MIN.
14799 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14800 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14801 name.
14802 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14803
6cbeae47
JM
148042012-02-22 Joseph Myers <joseph@codesourcery.com>
14805
14806 [BZ #2547]
14807 [BZ #11365]
14808 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14809 manipulate bits before adding and subtracting TWO23[sx].
14810 * math/libm-test.inc (nearbyint_test): Add more tests.
14811
fe45ce09
JM
148122012-02-22 Joseph Myers <joseph@codesourcery.com>
14813
14814 [BZ #2548]
14815 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14816 bits before adding and subtracting TWO23[sx].
14817 * math/libm-test.inc (rint_test): Add more tests.
14818 (rint_test_tonearest): Likewise.
14819 (rint_test_towardzero): Likewise.
14820 (rint_test_downward): Likewise.
14821 (rint_test_upward: Likewise.
14822
ff3b3d82
JM
148232012-02-22 Joseph Myers <joseph@codesourcery.com>
14824
14825 [BZ #10110]
14826 * include/stdc-predef.h: New file. Extracted from features.h.
14827 * include/features.h: Include stdc-predef.h.
14828 * Makefile (headers): Add stdc-predef.h.
14829 * CONFORMANCE (Compiler limitations): Update.
14830
ef0aab35
JM
148312012-02-22 Joseph Myers <joseph@codesourcery.com>
14832
14833 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14834
58639409
DM
148352012-02-21 David S. Miller <davem@davemloft.net>
14836
14837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14839
c0e70b25
DM
148402012-02-20 David S. Miller <davem@davemloft.net>
14841
14842 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14843 using a normal save/restore sequence, rather than allocating a
14844 dummy stack frame just to store a frame pointer and restore.
14845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14846
fb06851d
JM
148472012-02-21 Joseph Myers <joseph@codesourcery.com>
14848
14849 * manual/install.texi: Fix stray word in line-wrapped comment.
14850
7a8b71c3
DM
148512012-02-20 David S. Miller <davem@davemloft.net>
14852
d510c123
DM
14853 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14854 both binutils and gcc support GOTDATA.
14855
0722d7c2
DM
14856 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14857 "rd %pc" in the PIC register setup sequences.
14858
3d2b3019
DM
14859 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14860 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14863 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14868 (SYSCALL_ERROR_HANDLER): Likewise.
14869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14872 (SYSCALL_ERROR_HANDLER): Likewise.
14873
c80098a9
DM
14874 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14875 (HAVE_GCC_GOTDATA): New.
14876 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14877 relocation support in both binutils and gcc.
14878 * sysdeps/sparc/elf/configure: Regenerate.
14879
3a2545a0
DM
14880 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14881 * sysdeps/sparc/sparc32/elf/configure: Delete.
14882 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14883 * sysdeps/sparc/sparc64/elf/configure: Delete.
14884 * sysdeps/sparc/elf/configure.in: New file.
14885 * sysdeps/sparc/elf/configure: Generate.
14886
7a8b71c3
DM
14887 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14888 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14890 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14891 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14892
f1e86fca
JM
148932012-02-21 Joseph Myers <joseph@codesourcery.com>
14894
14895 * manual/install.texi: Do not mention specific glibc version
14896 numbers.
14897 * manual/libc.texinfo (VERSION, UPDATED): Update.
14898 (@copying): Use @copyright{} and range of years.
14899
0e7dfaef
JM
149002012-02-21 Joseph Myers <joseph@codesourcery.com>
14901
14902 [BZ #13695]
14903 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14904 [crti.S not in sysdirs] (generated): Do not append.
14905 [crti.S not in sysdirs] (omit-deps): Likewise.
14906 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14907 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14908 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14909 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14910 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14911 Likewise.
14912 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14913 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14914 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14915 * csu/defs.awk: Remove file.
14916 * sysdeps/generic/initfini.c: Likewise.
14917 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14918 variable.
14919 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14920 Likewise.
14921
599af3ca
JM
149222012-02-20 Joseph Myers <joseph@codesourcery.com>
14923
14924 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14925 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14929 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14930 <bits/epoll.h>.
14931 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14932 (__EPOLL_PACKED): Define to empty if not defined by
14933 <bits/epoll.h>.
14934 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14936 bits/epoll.h.
14937
0e499750
JM
149382012-02-20 Joseph Myers <joseph@codesourcery.com>
14939
14940 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14941 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14942 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14944 <bits/timerfd.h>.
14945 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14947 bits/timerfd.h.
14948
5ad91f6e
JM
149492012-02-20 Joseph Myers <joseph@codesourcery.com>
14950
14951 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14952 in C locale.
14953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14957
06b99b02
AJ
149582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14959
14960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14962
7638c0fd
AS
149632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14964
14965 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14966 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14967 defined.
14968 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14969 Likewise.
14970 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14971 entry for 2.16.
14972
92221550
AJ
149732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14974
14975 * math/w_acos.c: Use non-signaling floating-point comparisons.
14976 * math/w_acosf.c: Likewise.
14977 * math/w_acosh.c: Likewise.
14978 * math/w_acoshf.c: Likewise.
14979 * math/w_acoshl.c: Likewise.
14980 * math/w_acosl.c: Likewise.
14981 * math/w_asin.c: Likewise.
14982 * math/w_asinf.c: Likewise.
14983 * math/w_asinl.c: Likewise.
14984 * math/w_atanh.c: Likewise.
14985 * math/w_atanhf.c: Likewise.
14986 * math/w_atanhl.c: Likewise.
14987 * math/w_exp2.c: Likewise.
14988 * math/w_exp2f.c: Likewise.
14989 * math/w_exp2l.c: Likewise.
14990 * math/w_j0.c: Likewise.
14991 * math/w_j0f.c: Likewise.
14992 * math/w_j0l.c: Likewise.
14993 * math/w_j1.c: Likewise.
14994 * math/w_j1f.c: Likewise.
14995 * math/w_j1l.c: Likewise.
14996 * math/w_jn.c: Likewise.
14997 * math/w_jnf.c: Likewise.
14998 * math/w_log.c: Likewise.
14999 * math/w_log10.c: Likewise.
15000 * math/w_log10f.c: Likewise.
15001 * math/w_log10l.c: Likewise.
15002 * math/w_log2.c: Likewise.
15003 * math/w_log2f.c: Likewise.
15004 * math/w_log2l.c: Likewise.
15005 * math/w_logf.c: Likewise.
15006 * math/w_logl.c: Likewise.
15007 * math/w_sqrt.c: Likewise.
15008 * math/w_sqrtf.c: Likewise.
15009 * math/w_sqrtl.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15013 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15014 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15015
ebaf36eb
JM
150162012-02-19 Joseph Myers <joseph@codesourcery.com>
15017
15018 [BZ #9739]
15019 * manual/string.texi (strnlen): Use correct parameter name in
15020 equivalent expression.
15021
71c254a6
JM
150222012-02-19 Joseph Myers <joseph@codesourcery.com>
15023
15024 [BZ #11174]
15025 * manual/users.texi (seteuid): Consistently use neweuid for
15026 argument name.
15027
16d2c631
JM
150282012-02-19 Joseph Myers <joseph@codesourcery.com>
15029
15030 [BZ #13704]
15031 * manual/nss.texi (Services in the NSS configuration): Correct
15032 list of services in example configuration file.
15033
cd837b09
NB
150342012-02-19 Nick Bowler <nbowler@draconx.ca>
15035
15036 [BZ #11322]
15037 * manual/arith.texi: Remove statements about negative zero
15038 behaving identically to zero.
15039
02c4bbad
JM
150402012-02-18 Joseph Myers <joseph@codesourcery.com>
15041
15042 [BZ #5993]
15043 * manual/install.texi: Do not document upgrading from libc5.
15044
366842e7
JM
150452012-02-18 Joseph Myers <joseph@codesourcery.com>
15046
15047 [BZ #4596]
15048 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15049
dd54084d
DM
150502012-02-18 David S. Miller <davem@davemloft.net>
15051
15052 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15053 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15054 %o7 across the call.
15055 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15056 instead.
15057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15058 SETUP_PIC_REG_LEAF.
15059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15060 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15061 * sysdeps/sparc/crtn.S: Likewise.
15062
2bcc53a3
UD
150632012-02-17 Ulrich Drepper <drepper@gmail.com>
15064
15065 * aout/Makefile: Remove.
15066
09c093b5
RK
150672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15068
15069 [BZ #13058]
15070 * manual/examples/argp-ex1.c (main): Format definition in GNU
15071 style.
15072 * manual/examples/argp-ex2.c (main): Likewise.
15073 * manual/examples/argp-ex3.c (main): Likewise.
15074 * manual/examples/argp-ex4.c (main): Likewise.
15075 * manual/examples/longopt.c (main): Use new-style prototype
15076 definition.
15077 * manual/examples/strncat.c (main): Specify return type and use
15078 (void) for arguments.
15079 * manual/examples/subopt.c (main): Use char **argv argument.
15080
2ee633a2
JM
150812012-02-17 Joseph Myers <joseph@codesourcery.com>
15082
15083 [BZ #5077]
15084 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15085 rounding modes.
15086
0520adde
FB
150872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15088
15089 [BZ #6907]
15090 * manual/string.texi (strchr): Change when strchrnul is
15091 recommended.
15092
3f4081cd
DGM
150932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15094
15095 [BZ #174]
15096 * manual/locale.texi (setlocale): Document LOCPATH.
15097
d1b10e78
JM
150982012-02-17 Joseph Myers <joseph@codesourcery.com>
15099
15100 [BZ #10210]
15101 * manual/process.texi (execle): Move @dots{} before last argument.
15102
79c6869c
PB
151032012-02-17 Paul Bolle <pebolle@tiscali.nl>
15104
15105 [BZ #12047]
15106 * manual/charset.texi (Generic Charset Conversion): Fix typo
15107 (LC_TYPE -> LC_CTYPE).
15108
cc6e48bc
NB
151092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15110
15111 [BZ #5805]
15112 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15113 (scalbnf): Likewise.
15114 (scalbnl): Likewise.
15115 (scalbln): Likewise.
15116 (scalblnf): Likewise.
15117 (scalblnl): Likewise.
15118 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15119 (vwarnx): Likewise.
15120 (verr): Likewise.
15121 (verrx): Likewise.
15122 * manual/filesys.texi (telldir): Use braces around return type.
15123 * manual/llio.texi (mmap): Add space after comma.
15124 (mmap64): Likewise.
15125 * manual/math.texi (jn): Use @var{} on parameter names.
15126 (jnf): Likewise.
15127 (jnl): Likewise.
15128 (yn): Likewise.
15129 (ynf): Likewise.
15130 (ynl): Likewise.
15131 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15132 line.
15133 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15134 "...".
15135 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15136 (sched_get_priority_max): Likewise.
15137 * manual/signal.texi (sigvec): Add space after comma.
15138 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15139 names.
15140 (if_indextoname): Likewise.
15141 (if_freenameindex): Likewise.
15142 (sendto): Use ',' instead of '.' in prototype.
15143 * manual/startup.texi (syscall): Use @dots{} instead of literal
15144 "...".
15145 * manual/stdio.texi (__fpending): Separate initial words of
15146 paragraph from @deftypefun line.
15147 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15148 "...".
15149 (vsyslog): Use @var{} on parameter names.
15150 * manual/terminal.texi (stty): Use @var{} on parameter names.
15151 * manual/users.texi (getutmp): Use @var{} on parameter names.
15152 (getutmpx): Likewise.
15153
5b23062f
JM
151542012-02-17 Joseph Myers <joseph@codesourcery.com>
15155
15156 [BZ #6884]
15157 * manual/stdio.texi (fopen): Fix typos in description of
15158 ",ccs=STRING".
15159
8dee4833
AJ
151602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15161
15162 [BZ #4026]
15163 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15164 get clock_id definition.
15165
9078ce93
TS
151662012-02-17 Thomas Schwinge <thomas@schwinge.name>
15167
15168 [BZ #4822]
15169 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15170 (madvise): Cast every argument to void on its own.
15171
3835c55f
JM
151722012-02-17 Joseph Myers <joseph@codesourcery.com>
15173
15174 [BZ #9902]
15175 * manual/startup.texi (Exit Status): Fix typo.
15176
35c47e37
JM
151772012-02-17 Joseph Myers <joseph@codesourcery.com>
15178
15179 [BZ #10140]
15180 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15181 * manual/examples/argp-ex2.c: Likewise.
15182 * manual/examples/argp-ex3.c: Likewise.
15183
e3b69ca7
RH
151842012-02-16 Richard Henderson <rth@redhat.com>
15185
15186 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15187 * sysdeps/s390/s390-32/initfini.c: Remove.
15188 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15189 * sysdeps/s390/s390-64/initfini.c: Remove.
15190
df83af67
KK
151912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15192
15193 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15194 compiler output for sysdeps/generic/initfini.c.
15195 * sysdeps/sh/elf/initfini.c: Remove file.
15196
f63f3380
DM
151972012-02-16 David S. Miller <davem@davemloft.net>
15198
fb59b3a4
DM
15199 [BZ #11494]
15200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15201
f63f3380
DM
15202 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15203 * sysdeps/sparc/crti.S: New file.
15204 * sysdeps/sparc/crtn.S: New file.
15205 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15206 * sysdeps/sparc/sparc64/Makefile: Likewise.
15207
df6a4a4a
MF
152082012-02-15 Mike Frysinger <vapier@gentoo.org>
15209
6dd8f3dc 15210 [BZ #3335]
df6a4a4a
MF
15211 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15212
1cac7236
RM
152132012-02-15 Roland McGrath <roland@hack.frob.com>
15214
d2c736f8
RM
15215 [BZ #4822]
15216 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15217
1cac7236
RM
15218 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15219 (write, read, close): Likewise.
15220 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15221
8e475601
JM
152222012-02-15 Joseph Myers <joseph@codesourcery.com>
15223
15224 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15225 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15226 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15227 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15228 <bits/signalfd.h>.
15229 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15231 bits/signalfd.h.
15232
ed656b40
MP
152332012-02-14 Marek Polacek <polacek@redhat.com>
15234
15235 * sysdeps/x86_64/crti.S: New file.
15236 * sysdeps/x86_64/crtn.S: New file.
15237 * sysdeps/x86_64/elf/initfini.c: Remove file.
15238
2a979d3a
JM
152392012-02-13 Joseph Myers <joseph@codesourcery.com>
15240
15241 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15242 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15243 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15244 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15245 <bits/inotify.h>.
15246 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15248 bits/inotify.h.
15249
2a418ac3
JM
152502012-02-13 Joseph Myers <joseph@codesourcery.com>
15251
15252 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15254 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15255 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15256 <bits/eventfd.h>.
15257 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15259 bits/eventfd.h.
15260
fb779be7
TS
152612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15262
e19e83c5
RM
15263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15264 __feraiseexcept instead of feraiseexcept.
7c35ffed 15265
fb779be7
TS
15266 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15267 nanosleep invocations.
15268 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15269 strings, and add error checking for a nanosleep invocations.
15270
59ba27a6
PE
152712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15272
15273 Replace FSF snail mail address with URLs, as per GNU coding standards.
15274 Most of the snail mail addresses were wrong anyway, and omitting
15275 them makes the source code easier to maintain. Almost all of the
15276 changes are to license notices and to locale LC_IDENTIFICATION
15277 addresses, except for this one:
15278 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15279 not its snail mail address.
15280
57b957eb
RH
152812012-02-09 Richard Henderson <rth@twiddle.net>
15282
af850b1c
RH
15283 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15284 of kernel-features.h.
15285
57b957eb
RH
15286 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15287
6b73181a
MP
152882012-02-08 Marek Polacek <polacek@redhat.com>
15289
15290 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15291 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15292 * sysdeps/gnu/_G_config.h: Likewise.
15293 * sysdeps/generic/_G_config.h: Likewise.
15294
26ecc33a
AS
152952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15296
6c6dbc63
AS
15297 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15298 tests.
15299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15300
e216c012
AS
15301 * sysdeps/powerpc/powerpc32/crti.S: New file.
15302 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15303 * sysdeps/powerpc/powerpc64/crti.S: New file.
15304 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15305
26ecc33a
AS
15306 * Makeconfig (have-initfini): Don't set.
15307 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15308 * configure.in (nopic_initfini): Don't substitute.
15309 * config.h.in (HAVE_INITFINI): Don't #undef.
15310 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15311 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15312
3add8e13
JM
153132012-02-08 Joseph Myers <joseph@codesourcery.com>
15314
15315 Support crti.S and crtn.S provided directly by architectures.
15316 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15317 [crti.S in sysdirs] (omit-deps): Likewise.
15318 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15319 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15320 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15321 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15322 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15323 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15324 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15325 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15326 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15327 compiler output for sysdeps/generic/initfini.c.
15328 * sysdeps/i386/elf/Makefile: Remove file.
15329 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15330
a22f12b4
MP
153312012-02-07 Marek Polacek <polacek@redhat.com>
15332
15333 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15334 * sysdeps/gnu/_G_config.h: Likewise.
15335 * sysdeps/mach/hurd/_G_config.h: Likewise.
15336
148cf100
MP
153372012-02-07 Marek Polacek <polacek@redhat.com>
15338
15339 * math/Makefile (tests): Add tst-CMPLX2.
15340 * math/tst-CMPLX2.c: New file.
15341
cfdc0dd7
AS
153422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15343
84ba42c4
AS
15344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15345
cfdc0dd7
AS
15346 * math/libm-test.inc (jn_test): Add missing L suffix.
15347
622c86f4
MP
153482012-02-06 Marek Polacek <polacek@redhat.com>
15349
15350 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15351 * sysdeps/i386/fpu/e_powf.S: Likewise.
15352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15355 * sysdeps/i386/fpu/e_pow.S: Likewise.
15356 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15358 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15359 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15360 * sysdeps/i386/fpu/e_log2.S: Likewise.
15361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15363 * sysdeps/i386/fpu/e_powl.S: Likewise.
15364 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15365 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15366 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15367 * sysdeps/i386/fpu/e_logl.S: Likewise.
15368 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15369 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15374 * sysdeps/i386/fpu/e_log.S: Likewise.
15375 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15376 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15377 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15378 * sysdeps/i386/fpu/e_logf.S: Likewise.
15379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15381 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15382 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15384 * sysdeps/i386/fpu/e_log10.S: Likewise.
15385 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15387 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15388 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15390 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15391 * sysdeps/i386/asm-syntax.h: Likewise.
15392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15395 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15396 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15398 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15399 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15401 * sysdeps/powerpc/sysdep.h: Likewise.
15402 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15404
d4a54ac6
JM
154052012-02-06 Joseph Myers <joseph@codesourcery.com>
15406
15407 [BZ #411]
15408 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15409
314054ea
JM
154102012-02-06 Joseph Myers <joseph@codesourcery.com>
15411
15412 * sysdeps/i386/sysdep.h: Include <features.h>.
15413 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15414 version.
15415
d8e0ca50
JM
154162012-02-05 Joseph Myers <joseph@codesourcery.com>
15417
15418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15419 Define.
15420 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15421 LOAD_PIC_REG_STR.
15422
b1da7dd9
JM
154232012-02-03 Joseph Myers <joseph@codesourcery.com>
15424
15425 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15426 (SETUP_PIC_REG): Use GET_PC_THUNK.
15427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15428 macro.
15429
9a1d9254
JM
154302012-02-03 Joseph Myers <joseph@codesourcery.com>
15431
15432 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15433 for non-PIC compilation.
15434 (SETUP_PIC_REG): Add .p2align directive.
15435 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15436 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15438 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15457 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15458 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15467 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15468 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15469 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15470 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15473 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15474 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15476
65dc3b75
JM
154772012-02-03 Joseph Myers <joseph@codesourcery.com>
15478
15479 * math/tst-CMPLX.c: Include <stdio.h>.
15480
d55bf177
JM
154812012-01-31 Joseph Myers <joseph@codesourcery.com>
15482
15483 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15484 float.
15485 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15486 * sysdeps/sparc/bits/mathdef.h: Likewise.
15487
69db4f8f
MP
154882012-01-31 Marek Polacek <polacek@redhat.com>
15489
15490 * libio/libio.h: Don't define _PARAMS.
15491 * locale/programs/config.h: Don't define PARAMS.
15492 * stdlib/strtol_l.c: Likewise.
15493 (__strtol_l): Remove PARAMS from the prototype.
15494
41b81892
UD
154952012-01-31 Ulrich Drepper <drepper@gmail.com>
15496
3b49edc0
UD
15497 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15498 names. Just use the correct names. Remove unnecessary wrapper
15499 functions.
15500 * malloc/arena.c: Likewise.
15501 * malloc/hooks.c: Likewise.
15502
41b81892
UD
15503 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15504 ARENA_TEST says not to. Simplify test for creation of a new arena.
15505 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15506
27a25b6e
UD
155072012-01-30 Ulrich Drepper <drepper@gmail.com>
15508
15509 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15510 into tail calls.
15511 (update_get_addr): New function.
15512 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15513 GET_ADDR_MODULE parameter.
15514
c8a89e7d
JM
155152012-01-30 Joseph Myers <joseph@codesourcery.com>
15516
15517 * crypt/cert.c: Remove __STDC__ conditionals.
15518 * crypt/crypt-entry.c: Likewise.
15519 * crypt/crypt_util.c: Likewise.
15520 * libio/filedoalloc.c: Likewise.
15521 * libio/fileops.c: Likewise.
15522 * libio/genops.c: Likewise.
15523 * libio/iofclose.c: Likewise.
15524 * libio/iofdopen.c: Likewise.
15525 * libio/iofopen.c: Likewise.
15526 * libio/iofopen64.c: Likewise.
15527 * libio/iogetdelim.c: Likewise.
15528 * libio/iopopen.c: Likewise.
15529 * libio/obprintf.c: Likewise.
15530 * libio/oldfileops.c: Likewise.
15531 * libio/oldiofclose.c: Likewise.
15532 * libio/oldiofdopen.c: Likewise.
15533 * libio/oldiofopen.c: Likewise.
15534 * libio/oldiopopen.c: Likewise.
15535 * libio/wfiledoalloc.c: Likewise.
15536 * libio/wgenops.c: Likewise.
15537 * locale/programs/xmalloc.c: Likewise.
15538 * misc/syslog.c: Likewise.
15539 * stdio-common/xbug.c: Likewise.
15540 * string/memchr.c: Likewise.
15541 * string/memcmp.c: Likewise.
15542 * string/memrchr.c: Likewise.
15543 * string/rawmemchr.c: Likewise.
15544 * sysdeps/posix/getcwd.c: Likewise.
15545 * time/strftime_l.c: Likewise.
15546
3b100462
JM
155472012-01-30 Joseph Myers <joseph@codesourcery.com>
15548
15549 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15550 * config.make.in (config-cflags-sse2avx): Define.
15551 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15552 Fix typo.
15553
607998af
CM
155542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15555
15556 * scripts/config.guess: Update from upstream config git repository.
15557 * scripts/config.sub: Likewise.
15558
3601428f
CM
155592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15560
3ac8b282
CM
15561 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15562 (EM_NUM): Update.
15563 (R_TILEPRO_*, R_TILEGX_*): New macros.
15564
e034841e
CM
15565 * scripts/firstversions.awk: Fix bug in version range handling.
15566
540d7568
CM
15567 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15568
3601428f
CM
15569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15570
463de862
CM
15571 * include/sys/epoll.h: New file.
15572 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15573 libc_hidden_def.
15574
73139a76
UD
155752012-01-28 Ulrich Drepper <drepper@gmail.com>
15576
96bc5b45
UD
15577 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15578 Avoid unnecessary __WORDSIZE == 64 test.
15579 (fmaxf): Use VEX format if possible.
15580 (fmax): Likewise.
15581 (fminf): Likewise.
15582 (fmin): Likewise.
15583
56f6f6a2
UD
15584 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15585 * math/math_private.h: Remove libc_fegetround* and
15586 libc_fesetround*.
15587 * sysdeps/i386/configure.in: Check for -msse2avx.
15588 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15589 also if SSE2AVX is defined.
15590 Remove libc_fegetround* and libc_fesetround*.
15591 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15592 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15594 of HAS_YMM_USABLE.
15595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15600
73139a76
UD
15601 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15602
d73f93a4
AZ
156032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15604
15605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15606 size is not set.
15607 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15608
6ee65ed6
UD
156092012-01-27 Ulrich Drepper <drepper@gmail.com>
15610
15611 [BZ #13618]
15612 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15613 relocation.
15614 * Makeconfig (libm): Define.
15615 * elf/Makefile: Add rules to build and run tst-relsort1.
15616 * elf/tst-relsort1.c: New file.
15617 * elf/tst-relsort1mod1.c: New file.
15618 * elf/tst-relsort1mod2.c: New file.
15619
8db21882
JM
156202012-01-27 Joseph Myers <joseph@codesourcery.com>
15621
15622 * math/s_ldexp.c: Remove __STDC__ conditionals.
15623 * math/s_ldexpf.c: Likewise.
15624 * math/s_ldexpl.c: Likewise.
15625 * math/s_nextafter.c: Likewise.
15626 * math/s_nexttowardf.c: Likewise.
15627 * math/s_significand.c: Likewise.
15628 * math/s_significandf.c: Likewise.
15629 * math/s_significandl.c: Likewise.
15630 * math/w_jnl.c: Likewise.
15631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15638 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15643 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15645 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15653 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15655 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15656 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15666 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15667 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15668 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15669 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15670 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15671 * sysdeps/ieee754/k_standard.c: Likewise.
15672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15679 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15680 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15681 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15751 * sysdeps/ieee754/s_matherr.c: Likewise.
15752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15756
965a54a4
JM
157572012-01-26 Joseph Myers <joseph@codesourcery.com>
15758
15759 * crypt/md5.h: Remove __STDC__ conditionals.
15760 * libio/libioP.h: Likewise.
15761 * locale/programs/config.h: Likewise.
15762 * sysdeps/generic/sysdep.h: Likewise.
15763 * sysdeps/i386/asm-syntax.h: Likewise.
15764 * sysdeps/s390/asm-syntax.h: Likewise.
15765 * sysdeps/unix/sysdep.h: Likewise.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15768
7071ad79
JM
157692012-01-26 Joseph Myers <joseph@codesourcery.com>
15770
15771 * libio/libio.h: Remove __STDC__ conditionals.
15772 * malloc/obstack.h: Likewise.
15773 * math/complex.h: Likewise.
15774 * math/math.h: Likewise.
15775 * sysdeps/generic/_G_config.h: Likewise.
15776 * sysdeps/gnu/_G_config.h: Likewise.
15777 * sysdeps/mach/hurd/_G_config.h: Likewise.
15778 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15779 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15780 * sysdeps/sparc/bits/mathdef.h: Likewise.
15781
afc5ed09
UD
157822012-01-26 Ulrich Drepper <drepper@gmail.com>
15783
15784 [BZ #13583]
15785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15786 Clean up HAS_* macros.
afc5ed09 15787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15788 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15789 possible.
15790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15791 HAS_AVX.
15792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15797
bdb6de1d
JM
157982012-01-25 Joseph Myers <joseph@codesourcery.com>
15799
15800 * elf/tst-unique3.cc (gets): Remove declaration.
15801 * elf/tst-unique3lib.cc (gets): Likewise.
15802 * elf/tst-unique3lib2.cc (gets): Likewise.
15803 * elf/tst-unique4.cc (gets): Likewise.
15804
b15549e6
UD
158052012-01-24 Ulrich Drepper <drepper@gmail.com>
15806
15807 * include/stdio.h: Add C++ protection. Add gets declarations and
15808 definitions.
15809 * debug/tst-chk1.c: Don't declare gets here.
15810 * stdio-common/tst-gets.c: Likewise.
15811
a037381f
JM
158122012-01-24 Joseph Myers <joseph@codesourcery.com>
15813
15814 * posix/glob: Remove directory.
15815
f1d4aa75
JM
158162012-01-24 Joseph Myers <joseph@codesourcery.com>
15817
15818 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15819
81c0c964
PT
158202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15821
15822 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15823 of the non-standard EPFNOSUPPORT.
15824
0ea698ae
ST
158252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15826
15827 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15828 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15829 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15830
d220b117
UD
158312012-01-21 Ulrich Drepper <drepper@gmail.com>
15832
15833 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15834
3e1aa84e
UD
158352012-01-20 Ulrich Drepper <drepper@gmail.com>
15836
15837 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15838 transient errors.
15839 * nscd/grpcache.c (cache_addgr): Likewise.
15840 * nscd/hstcache.c (cache_addhst): Likewise.
15841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15842 * nscd/pwdcache.c (cache_addpw): Likewise.
15843 * nscd/servicescache.c (cache_addserv): Likewise.
15844
400aa020
UD
158452012-01-16 Ulrich Drepper <drepper@gmail.com>
15846
d77e7869
UD
15847 * malloc/malloc.c: Various cleanups.
15848 * malloc/hooks.c: Likewise.
15849
400aa020
UD
15850 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15851 * stdlib/bug-fmtmsg1.c: New file.
15852
15853 * stdlib/fmtmsg.c (init): Add missing unlock.
15854 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15855
e0a309cf
MP
158562012-01-12 Marek Polacek <polacek@redhat.com>
15857
15858 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15859 and _GNU_SOURCE.
15860
929d11c7
WS
158612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15862
15863 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15865 macro to ensure uniqueness of label name.
15866 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15867 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15868
41d0e869
UD
158692012-01-11 Ulrich Drepper <drepper@gmail.com>
15870
0cc5ed3b
UD
15871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15872
41d0e869
UD
15873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15874 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15877
a47a831a
UD
158782012-01-10 Ulrich Drepper <drepper@gmail.com>
15879
daa891c0
UD
15880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15881
15882 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15883 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15884 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15885
e58ef0f2
UD
15886 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15887
a47a831a 15888 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15889 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15892
15893 * math/bits/math-finite.h: Add ldexp support.
15894
a0bfc9c7
MP
158952012-01-10 Marek Polacek <polacek@redhat.com>
15896
15897 * locale/programs/localedef.h (show_archive_content): Add noreturn
15898 attribute.
15899
d6e97a1d
UD
159002012-01-09 Ulrich Drepper <drepper@gmail.com>
15901
15902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15903
d5835c26
UD
159042012-01-08 Ulrich Drepper <drepper@gmail.com>
15905
e5f484c6
UD
15906 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15907
d5835c26
UD
15908 * io/Makefile (headers): Add bits/poll2.h.
15909
d1f741e9
WS
159102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15911
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15913 typo #include statement.
15914
ec09c1c4
UD
159152012-01-08 Ulrich Drepper <drepper@gmail.com>
15916
15917 * include/sys/cdefs.h: Define __attribute_alloc_size.
15918 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15919 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15920 * elf/pldd.c: Likewise.
15921 * iconv/iconv_charmap.c: Likewise.
15922 * iconv/iconvconfig.c: Likewise.
15923 * iconv/strtab.c: Likewise.
15924 * locale/programs/locale.c: Likewise.
15925 * locale/programs/localedef.h: Likewise.
15926 * locale/programs/simple-hash.c: Likewise.
15927 * nscd/nscd.h: Likewise.
15928 * nss/makedb.c: Likewise.
15929 * sysdeps/generic/ldconfig.h: Likewise.
15930 * locale/programs/localedef.c: Remove xmalloc prototype.
15931 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15932
20b38e03
PP
159332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15934
15935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15936 appropriate.
15937
a0da5fe1
UD
159382012-01-08 Ulrich Drepper <drepper@gmail.com>
15939
1d5a644a 15940 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15941 * math/tst-CMPLX.c: New file.
1d5a644a 15942
8784a6db
UD
15943 * math/complex.h (CMPLXL): Fix typo.
15944
d9a216c0
UD
15945 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15946 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15947 GLIBC_2.16.
15948 * debug/tst-chk1.c: Add poll and ppoll tests.
15949 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15950 * include/sys/poll.h: Add hidden proto for ppoll.
15951 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15952 * sysdeps/mach/hurd/ppoll.c: Likewise.
15953 * io/ppoll.c: Likewise.
15954 * debug/poll_chk.c: New file.
15955 * debug/ppoll_chk.c: New file.
15956 * include/bits/poll2.h: New file.
15957 * io/bits/poll2.h: New file.
15958
ac097f5c
UD
15959 [BZ #1350]
15960 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15961
2119dcfa
UD
15962 * configure.in: static is always set to yes. Remove.
15963 * config.make.in: Don't set build-static.
15964 * Makeconfig: Remove use of build-static.
15965 * dlfcn/Makefile: Likewise.
15966 * elf/Makefile: Likewise.
15967 * math/Makefile: Likewise.
15968 * misc/Makefile: Likewise.
15969 * nptl/Makefile: Likewise.
15970 * sysdeps/mach/hurd/Makefile: Likewise.
15971
121766a9
UD
15972 * configure.in: PWD_P is not used anymore.
15973 * config.make.in: Remove PWD_P entry.
15974
51a1d39c 15975 * configure.in: Remove last remnants of RANLIB.
8720d066 15976 No need to check for signed size_t anymore.
215f4bdc
UD
15977 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15978 and IA-64.
3857022a 15979 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15980 * aclocal.m4: Likewise.
15981
d3ed7225
UD
15982 * wcsmbs/mbrtoc16.c: Implement using towc function.
15983 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15984 * wcsmbs/wcsmbsload.c: Likewise.
15985 * iconv/gconv_simple.c: Likewise.
15986 * iconv/gconv_int.h: Likewise.
15987 * iconv/gconv_builtin.h: Likewise.
15988 * iconv/iconv_prog.c: Remove CHAR16 handling.
15989
15990 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15991
15992 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15993
a0da5fe1
UD
15994 * configure.in: Remove --with-elf and --enable-bounded options.
15995 Dont set base_machine for ia64. More non-ELF conditions removed.
15996 Remove testing and setting of leading underscore information.
15997 * config.make.in (build-bounded): Set to no.
15998 * config.h.in: Remove NO_UNDERSCORES entry.
15999 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16000 them.
16001 * csu/start.c: Remove !NO_UNDERSCORE code.
16002 * locale/localeinfo.h: Likewise.
16003 * sysdeps/generic/machine-gmon.h: Likewise.
16004 * sysdeps/generic/sysdep.h: Likewise.
16005 * sysdeps/i386/sysdep.h: Likewise.
16006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16007 * sysdeps/mach/sysdep.h: Likewise.
16008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16010 * sysdeps/sh/sysdep.h: Likewise.
16011 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16012 * sysdeps/unix/i386/sysdep.S: Likewise.
16013 * sysdeps/unix/sparc/start.c: Likewise.
16014 * sysdeps/unix/sparc/sysdep.S: Likewise.
16015 * sysdeps/unix/sparc/sysdep.h: Likewise.
16016 * sysdeps/unix/start.c: Likewise.
16017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16018 * sysdeps/x86_64/sysdep.h: Likewise.
16019
df78418a
UD
160202012-01-07 Ulrich Drepper <drepper@gmail.com>
16021
a784e502
UD
16022 [BZ #13553]
16023 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16024 for non-gcc.
16025 * argp/argp-fmtstream.h: Use const instead __const.
16026 * argp/argp.h: Likewise.
16027 * assert/assert.h: Likewise.
16028 * bits/fenv.h: Likewise.
16029 * bits/sched.h: Likewise.
16030 * bits/sigset.h: Likewise.
16031 * bits/sigthread.h: Likewise.
16032 * catgets/nl_types.h: Likewise.
16033 * conform/data/pthread.h-data: Likewise.
16034 * crypt/crypt-private.h: Likewise.
16035 * crypt/crypt.h: Likewise.
16036 * crypt/crypt_util.c: Likewise.
16037 * ctype/ctype.h: Likewise.
16038 * debug/execinfo.h: Likewise.
16039 * debug/mbsnrtowcs_chk.c: Likewise.
16040 * debug/mbsrtowcs_chk.c: Likewise.
16041 * debug/wcsnrtombs_chk.c: Likewise.
16042 * debug/wcsrtombs_chk.c: Likewise.
16043 * debug/wcstombs_chk.c: Likewise.
16044 * dirent/dirent.h: Likewise.
16045 * dlfcn/dlfcn.h: Likewise.
16046 * elf/neededtest4.c: Likewise.
16047 * grp/grp.h: Likewise.
16048 * gshadow/gshadow.h: Likewise.
16049 * iconv/gconv.h: Likewise.
16050 * iconv/gconv_int.h: Likewise.
16051 * iconv/gconv_simple.c: Likewise.
16052 * iconv/iconv.h: Likewise.
16053 * iconv/loop.c: Likewise.
16054 * iconv/skeleton.c: Likewise.
16055 * include/aio.h: Likewise.
16056 * include/aliases.h: Likewise.
16057 * include/argz.h: Likewise.
16058 * include/arpa/inet.h: Likewise.
16059 * include/assert.h: Likewise.
16060 * include/dirent.h: Likewise.
16061 * include/dlfcn.h: Likewise.
16062 * include/execinfo.h: Likewise.
16063 * include/fcntl.h: Likewise.
16064 * include/fenv.h: Likewise.
16065 * include/glob.h: Likewise.
16066 * include/grp.h: Likewise.
16067 * include/libintl.h: Likewise.
16068 * include/mntent.h: Likewise.
16069 * include/netdb.h: Likewise.
16070 * include/pwd.h: Likewise.
16071 * include/rpc/netdb.h: Likewise.
16072 * include/sched.h: Likewise.
16073 * include/search.h: Likewise.
16074 * include/shadow.h: Likewise.
16075 * include/signal.h: Likewise.
16076 * include/stdio.h: Likewise.
16077 * include/stdlib.h: Likewise.
16078 * include/string.h: Likewise.
16079 * include/sys/socket.h: Likewise.
16080 * include/sys/stat.h: Likewise.
16081 * include/sys/statfs.h: Likewise.
16082 * include/sys/statvfs.h: Likewise.
16083 * include/sys/syslog.h: Likewise.
16084 * include/sys/time.h: Likewise.
16085 * include/sys/uio.h: Likewise.
16086 * include/time.h: Likewise.
16087 * include/unistd.h: Likewise.
16088 * include/utmp.h: Likewise.
16089 * include/wchar.h: Likewise.
16090 * include/wctype.h: Likewise.
16091 * inet/aliases.h: Likewise.
16092 * inet/arpa/inet.h: Likewise.
16093 * inet/netinet/ether.h: Likewise.
16094 * inet/netinet/in.h: Likewise.
16095 * intl/libintl.h: Likewise.
16096 * io/bits/fcntl2.h: Likewise.
16097 * io/fcntl.h: Likewise.
16098 * io/ftw.h: Likewise.
16099 * io/sys/poll.h: Likewise.
16100 * io/sys/stat.h: Likewise.
16101 * io/sys/statfs.h: Likewise.
16102 * io/sys/statvfs.h: Likewise.
16103 * io/utime.h: Likewise.
16104 * libio/bits/stdio.h: Likewise.
16105 * libio/bits/stdio2.h: Likewise.
16106 * libio/libio.h: Likewise.
16107 * libio/libioP.h: Likewise.
16108 * libio/stdio.h: Likewise.
16109 * locale/lc-ctype.c: Likewise.
16110 * locale/locale.h: Likewise.
16111 * login/utmp.h: Likewise.
16112 * malloc/arena.c: Likewise.
16113 * malloc/malloc.c: Likewise.
16114 * malloc/malloc.h: Likewise.
16115 * malloc/mcheck.c: Likewise.
16116 * malloc/mtrace.c: Likewise.
16117 * math/bits/mathcalls.h: Likewise.
16118 * math/fenv.h: Likewise.
16119 * math/math_private.h: Likewise.
16120 * misc/bits/error.h: Likewise.
16121 * misc/bits/syslog.h: Likewise.
16122 * misc/err.h: Likewise.
16123 * misc/error.h: Likewise.
16124 * misc/fstab.h: Likewise.
16125 * misc/mntent.h: Likewise.
16126 * misc/regexp.h: Likewise.
16127 * misc/search.h: Likewise.
16128 * misc/sgtty.h: Likewise.
16129 * misc/sys/mman.h: Likewise.
16130 * misc/sys/syslog.h: Likewise.
16131 * misc/sys/uio.h: Likewise.
16132 * misc/sys/xattr.h: Likewise.
16133 * misc/ttyent.h: Likewise.
16134 * nis/rpcsvc/ypclnt.h: Likewise.
16135 * nss/nss.h: Likewise.
16136 * posix/bits/unistd.h: Likewise.
16137 * posix/fnmatch.h: Likewise.
16138 * posix/glob.h: Likewise.
16139 * posix/sched.h: Likewise.
16140 * posix/spawn.h: Likewise.
16141 * posix/sys/wait.h: Likewise.
16142 * posix/unistd.h: Likewise.
16143 * posix/wordexp.h: Likewise.
16144 * pwd/pwd.h: Likewise.
16145 * resolv/netdb.h: Likewise.
16146 * resource/sys/resource.h: Likewise.
16147 * rt/aio.h: Likewise.
16148 * rt/bits/mqueue2.h: Likewise.
16149 * rt/mqueue.h: Likewise.
16150 * shadow/shadow.h: Likewise.
16151 * signal/signal.h: Likewise.
16152 * socket/send.c: Likewise.
16153 * socket/sendto.c: Likewise.
16154 * socket/sys/socket.h: Likewise.
16155 * stdio-common/printf.h: Likewise.
16156 * stdlib/bits/stdlib.h: Likewise.
16157 * stdlib/fmtmsg.h: Likewise.
16158 * stdlib/monetary.h: Likewise.
16159 * stdlib/stdlib.h: Likewise.
16160 * stdlib/ucontext.h: Likewise.
16161 * streams/stropts.h: Likewise.
16162 * string/argz.h: Likewise.
16163 * string/bits/string2.h: Likewise.
16164 * string/string.h: Likewise.
16165 * string/strings.h: Likewise.
16166 * sunrpc/rpc/auth.h: Likewise.
16167 * sunrpc/rpc/auth_des.h: Likewise.
16168 * sunrpc/rpc/clnt.h: Likewise.
16169 * sunrpc/rpc/netdb.h: Likewise.
16170 * sunrpc/rpc/pmap_clnt.h: Likewise.
16171 * sunrpc/rpc/xdr.h: Likewise.
16172 * sysdeps/generic/inttypes.h: Likewise.
16173 * sysdeps/generic/net/if.h: Likewise.
16174 * sysdeps/generic/sys/swap.h: Likewise.
16175 * sysdeps/gnu/net/if.h: Likewise.
16176 * sysdeps/gnu/utmpx.h: Likewise.
16177 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16178 * sysdeps/i386/i486/bits/string.h: Likewise.
16179 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16180 * sysdeps/s390/bits/string.h: Likewise.
16181 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16182 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16183 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16184 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16185 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16186 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16187 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16188 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16189 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16190 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16191 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16192 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16193 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16195 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16201 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16203 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16204 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16205 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16206 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16207 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16209 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16210 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16211 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16212 * sysvipc/sys/ipc.h: Likewise.
16213 * sysvipc/sys/msg.h: Likewise.
16214 * sysvipc/sys/sem.h: Likewise.
16215 * sysvipc/sys/shm.h: Likewise.
16216 * termios/termios.h: Likewise.
16217 * time/sys/time.h: Likewise.
16218 * time/time.h: Likewise.
16219 * wcsmbs/bits/wchar2.h: Likewise.
16220 * wcsmbs/uchar.h: Likewise.
16221 * wcsmbs/wchar.h: Likewise.
16222 * wctype/wctype.h: Likewise.
16223
0269750c
UD
16224 [BZ #13551]
16225 * Makeconfig: Remove all but ELF support including AIX support.
16226 * Makerules: Likewise.
16227 * config.h.in: Likewise.
16228 * config.make.in: Likewise.
16229 * configure: Likewise.
16230 * configure.in: Likewise.
16231 * csu/Makefile: Likewise.
16232 * csu/version.c: Likewise.
16233 * debug/Makefile: Likewise.
16234 * dlfcn/Makefile: Likewise.
16235 * elf/Makefile: Likewise.
16236 * extra-lib.mk: Likewise.
16237 * iconv/Makefile: Likewise.
16238 * include/libc-symbols.h: Likewise.
16239 * include/shlib-compat.h: Likewise.
16240 * resolv/Makefile: Likewise.
16241 * resolv/res_libc.c: Likewise.
16242 * rt/Makefile: Likewise.
16243 * sysdeps/i386/asm-syntax.h: Likewise.
16244 * sysdeps/i386/sysdep.h: Likewise.
16245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16246 * sysdeps/mach/sysdep.h: Likewise.
16247 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16248 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16249 * sysdeps/s390/asm-syntax.h: Likewise.
16250 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16252 * sysdeps/sh/sysdep.h: Likewise.
16253 * sysdeps/unix/sparc/sysdep.h: Likewise.
16254 * sysdeps/wordsize-32/divdi3.c: Likewise.
16255 * sysdeps/x86_64/sysdep.h: Likewise.
16256
00bbd29b
UD
16257 * argp/Versions: Remove _argp_unlock_xxx.
16258
16259 [BZ #13559]
16260 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16261 * abilist/libBrokenLocale.abilist: Likewise.
16262 * abilist/libanl.abilist: Likewise.
16263 * abilist/libc.abilist: Likewise.
16264 * abilist/libcrypt.abilist: Likewise.
16265 * abilist/libdl.abilist: Likewise.
16266 * abilist/libm.abilist: Likewise.
16267 * abilist/libnsl.abilist: Likewise.
16268 * abilist/libpthread.abilist: Likewise.
16269 * abilist/libresolv.abilist: Likewise.
16270 * abilist/librt.abilist: Likewise.
16271 * abilist/libthread_db.abilist: Likewise.
16272 * abilist/libutil.abilist: Likewise.
16273 * abilist/libnss_db.abilist: New file.
16274
16275 * scripts/abilist.awk: Add support for indirect functions.
16276
a2693a0e
UD
16277 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16278
3f05895f
UD
16279 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16280
ecb6fb48
UD
16281 * shlib-versions: Remove entries for ports architectures.
16282
664f8cb9
UD
16283 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16284 files in ports.
16285 * elf/stackguard-macros.h: Remove support for IA-64.
16286 * elf/tst-auditmod1.c: Likewise.
16287 * sysdeps/generic/ldsodefs.h: Likewise.
16288
7ae81d88
UD
16289 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16290 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16291 configure files.
16292
bdeba135
UD
16293 [BZ #13552]
16294 * configure.in: Remove --enable-omitfp support.
16295 * FAQ.in: Adjust.
16296 * config.make.in: Likewise.
16297 * Makeconfig: Likewise.
16298 * manual/install.texi: Likewise.
16299
d75a0a62
UD
16300 In case anyone cares, the IA-64 architecture could move to ports.
16301 * sysdeps/ia64/*: Removed.
16302 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16303 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16304
dcc9756b
UD
16305 [BZ #13555]
16306 * configure.in: Remove entries for unsupported architectures.
16307
d3761ebc 16308 [BZ #13533]
9954432e
UD
16309 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16310 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16311 routines.
16312 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16313 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16314 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16315 fall back to using wcrtomb.
16316 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16317 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16318 renaming.
16319 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16320 * wcsmbs/tst-c16c32-1.c: New file.
16321
16322 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16323 local variable.
16324
c3a87236
UD
16325 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16326
28926a1b
UD
16327 * elf/tst-unique3.cc: Add explicit declaration of gets.
16328 * elf/tst-unique3lib.cc: Likewise.
16329 * elf/tst-unique3lib2.cc: Likewise.
16330 * elf/tst-unique4.cc: Likewise.
16331
df78418a
UD
16332 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16333
8ecd6b2a
JM
163342012-01-06 Joseph Myers <joseph@codesourcery.com>
16335
16336 [BZ #13566]
16337 * assert/assert.h (static_assert): Don't define for C++.
16338 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16339 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16340
9f115170
UD
163412012-01-03 Ulrich Drepper <drepper@gmail.com>
16342
5e0d0300
UD
16343 * iconv/loop.c (single loop): Fix assertion in storing of
16344 remaining bytes.
16345
9f115170
UD
16346 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16347
81fb02b0
UD
163482012-01-01 Ulrich Drepper <drepper@gmail.com>
16349
16350 * posix/getconf.c: Update copyright year.
16351 * nss/getent.c: Likewise.
a316c1f6 16352 * nss/makedb.c: Likewise.
81fb02b0
UD
16353 * iconv/iconvconfig.c: Likewise.
16354 * iconv/iconv_prog.c: Likewise.
16355 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16356 * elf/pldd.c: Likewise.
16357 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16358 * catgets/gencat.c: Likewise.
16359 * csu/version.c: Likewise.
16360 * elf/ldd.bash.in: Likewise.
16361 * elf/sprof.c (print_version): Likewise.
16362 * locale/programs/locale.c: Likewise.
16363 * locale/programs/localedef.c: Likewise.
a316c1f6 16364 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16365 * nscd/nscd.c (print_version): Likewise.
16366 * debug/xtrace.sh: Likewise.
16367 * malloc/memusage.sh: Likewise.
16368 * malloc/mtrace.pl: Likewise.
16369 * debug/catchsegv.sh: Likewise.
16370
2ba92745
JJ
163712011-12-30 Jakub Jelinek <jakub@redhat.com>
16372
16373 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16374 pure attribute.
16375
dadebdae
UD
163762011-12-24 Ulrich Drepper <drepper@gmail.com>
16377
d3761ebc 16378 [BZ #13533]
db6af3eb
UD
16379 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16380 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16381 transformations.
16382 * iconv/gconv_int.h: Likewise.
16383 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16384 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16385 from libc for GLIBC_2.16.
16386 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16387 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16388 * wcsmbs/uchar.h: Really define mbstate_t.
16389 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16390 * wcsmbs/c16rtomb.c: New file.
16391 * wcsmbs/mbrtoc16.c: New file.
16392 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16393 for C/POSIX locale.
16394 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16395 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16396
dadebdae
UD
16397 * wcsmbs/wchar.h: Add missing __restrict.
16398
67371b56
UD
163992011-12-23 Ulrich Drepper <drepper@gmail.com>
16400
74033a25
UD
16401 [BZ #13532]
16402 * time/Makefile (routines): Add timespec_get.
16403 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16404 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16405 timespec for ISO C11.
16406 * time/timespec_get.c: New file.
16407 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16408 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16409
380d7e87
UD
16410 [BZ #13531]
16411 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16412 * stdlib/stdlib.h: Declare aligned_alloc.
16413 * Versions.def: Add GLIBC_2.16 for libc.
16414 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16415
4e9e7a35
UD
16416 [BZ 13527]
16417 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16418 ISO C11.
16419
380d7e87 16420 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16421 code.
16422
03a71829
UD
16423 [BZ #13528]
16424 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16425
839e283e
UD
16426 [BZ #13529]
16427 * assert/assert.h (static_assert): Define.
16428
ce5294e2 16429 * version.h: Update for 2.16 development version.
90fa7312 16430
8d44e150 16431 [BZ #13526]
d7809905
UD
16432 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16433 _ISOC11_SOURCE.
16434
c0da14cd
UD
16435 * version.h (RELEASE): Bump for 2.15 release.
16436 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16437
530a3249
MP
16438 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16439 Patch by Marek Polacek <mpolacek@redhat.com>.
16440
67371b56
UD
16441 * bits/byteswap.h: Protect long long constants with __extension__.
16442 * sysdeps/i386/bits/byteswap.h: Likewise.
16443 * sysdeps/ia64/bits/byteswap.h: Likewise.
16444 * sysdeps/s390/bits/byteswap.h: Likewise.
16445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16446
15db4de1
LD
164472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16448
16449 [BZ #13540]
bbe315ea
LD
16450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16451 destination buffer.
15db4de1
LD
16452 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16453
2b2596b1
MP
164542011-12-23 Marek Polacek <polacek@redhat.com>
16455
16456 * elf/dl-addr.c (determine_info): Add inline keyword.
16457 * elf/tst-auditmod4b.c (check_avx): Likewise.
16458 * elf/tst-auditmod6b.c (check_avx): Likewise.
16459 * elf/tst-auditmod6c.c (check_avx): Likewise.
16460 * elf/tst-auditmod7b.c (check_avx): Likewise.
16461
70c6c246
UD
164622011-12-23 Ulrich Drepper <drepper@gmail.com>
16463
16464 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16465 !__SSE_MATH__.
16466
c044cf14
LD
164672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16468
15db4de1 16469 [BZ #13540]
c044cf14
LD
16470 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16471 processing for last bytes.
16472
6b13d9d9
BH
164732011-08-06 Bruno Haible <bruno@clisp.org>
16474
d455f537
BH
16475 [BZ #13061]
16476 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16477 U+0385, not to U+1FEE.
16478
6b13d9d9
BH
16479 [BZ #13062]
16480 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16481 entry for U+00A5 U+0301.
16482
db910efd
UD
164832011-12-22 Ulrich Drepper <drepper@gmail.com>
16484
27deeafc
UD
16485 [BZ #13166]
16486 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16487 buffer for the output is too small.
16488
aed9d171
UD
16489 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16490 optimization.
16491
db910efd
UD
16492 [BZ #13185]
16493 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16494 SSE flags if possible.
16495
2bd779ae
LD
164962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16497
e7f9dac3 16498 [BZ #13540]
2bd779ae
LD
16499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16500 processing for last bytes.
16501
154bfc16
JM
165022011-12-22 Joseph Myers <joseph@codesourcery.com>
16503
16504 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16505 (syscall-list-default-options, syscall-list-default-condition)
16506 (syscall-list-includes): Define.
16507 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16508 list of ABIs and options and #if conditions for each ABI. Do not
16509 handle common syscalls between ABIs specially.
16510 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16511 Remove.
16512 (syscall-list-variants, syscall-list-32bit-options)
16513 (syscall-list-32bit-condition, syscall-list-64bit-options)
16514 (syscall-list-64bit-condition): Define.
16515 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16516 (syscall-list-variants, syscall-list-32bit-options)
16517 (syscall-list-32bit-condition, syscall-list-64bit-options)
16518 (syscall-list-64bit-condition): Define.
16519 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16520 Remove.
16521 (syscall-list-variants, syscall-list-32bit-options)
16522 (syscall-list-32bit-condition, syscall-list-64bit-options)
16523 (syscall-list-64bit-condition): Define.
16524 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16525 Remove.
16526 (syscall-list-variants, syscall-list-32bit-options)
16527 (syscall-list-32bit-condition, syscall-list-64bit-options)
16528 (syscall-list-64bit-condition): Define.
16529
21eaf3a5
UD
165302011-12-22 Ulrich Drepper <drepper@gmail.com>
16531
16c6f992
UD
16532 * locale/iso-639.def: Add brx entry.
16533
41043168
UD
16534 [BZ #13328]
16535 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16536 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16537
21eaf3a5
UD
16538 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16539 __feraiseexcept_renamed.
16540
e3a851a2
UD
165412011-12-21 Ulrich Drepper <drepper@gmail.com>
16542
4920765e
UD
16543 [BZ #13538]
16544 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16545 EPOLLET with unsigned values.
16546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16548
e3a851a2
UD
16549 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16550 to large cancellation.
16551 * math/s_cacoshf.c: Likewise.
16552 * math/s_cacoshl.c: Likewise.
16553
b27e24b8
RK
165542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16555
16556 [BZ #13305]
aebefeee 16557 [BZ #12786]
b27e24b8
RK
16558 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16559 * math/s_cacoshf.c: Likewise.
16560 * math/s_cacoshl.c: Likewise.
16561
ee190f67
UD
165622011-12-21 Ulrich Drepper <drepper@gmail.com>
16563
16564 [BZ #13439]
16565 * iconv/gconv.h: Define __GCONV_SWAP.
16566 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16567 * iconvdata/utf-16.c: Likewise.
16568 * iconvdata/utf-32.c: Likewise.
16569
707f25df
AS
165702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16571
16572 [BZ #13524]
16573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16574 numerator after shifting it by one limb.
16575
d2daaa1e
RÁE
165762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16577
16578 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16579 under [__USE_EXTERN_INLINES].
16580
a4647e72
UD
165812011-12-17 Ulrich Drepper <drepper@gmail.com>
16582
16583 [BZ #13446]
16584 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16585
f0b264f1
AZ
165862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16587
16588 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16589 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16590 optimized code.
16591 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16593 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16594 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16595 for strncasecmp/strncasecmp_l compilation.
16596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16597 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16598
8ef4f244
MP
165992011-12-08 Marek Polacek <mpolacek@redhat.com>
16600
16601 [BZ #13484]
16602 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16603 of __asm__.
16604
97ac2654
UD
166052011-12-17 Ulrich Drepper <drepper@gmail.com>
16606
16607 [BZ #13506]
16608 * time/tzfile.c (__tzfile_read): Check values from file header.
16609
91d2a845
WS
166102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16611
16612 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16613 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16614 * powerpc/powerpc32/dl-start.S: Likewise.
16615 * powerpc/powerpc32/elf/start.S: Likewise.
16616 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16617 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16618 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16619 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16620 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16621 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16622 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16623 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16624 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16625 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16626 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16627 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16628 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16629 * powerpc/powerpc32/memset.S: Likewise.
16630 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16631 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16632 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16633 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16634 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16635 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16636 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16637 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16638 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16639 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16640 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16641 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16642 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16643
a1267ba1
AZ
166442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16645
16646 * math/libm-test.inc: Added more nearbyint tests.
16647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16651
ad8ac1bd
RL
166522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16653
16654 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16655 FD_CLOEXEC.
16656
1d3e4b61
UD
166572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16658
16659 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16660 Add wcscpy-ssse3 wcscpy-c.
16661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16662 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16663 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16664 * sysdeps/x86_64/wcschr.S: New file.
16665 * sysdeps/x86_64/wcsrchr.S: New file.
16666 * string/test-strcmp.c: Remove checking of wcscmp function for
16667 wrong alignments.
16668 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16669 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16670 wcsrchr-sse2 wcsrchr-c.
16671 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16672 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16673 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16674 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16675 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16676 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16677 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16678 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16680 * wcsmbc/wcschr.c (WCSCHR): New macro.
16681
5b330a2d
UD
166822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16683
16684 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16685 * wcsmbs/test-wcsrchr.c: New file.
16686 * string/test-strrchr.c: Add wcsrchr support.
16687 (WIDE): New macro.
16688 * wcsmbs/test-wcscpy.c: New file.
16689 * string/test-strcpy.c: Add wcscpy support.
16690 (WIDE): New macro.
26428b7c 16691
f039c043
UD
166922011-12-10 Ulrich Drepper <drepper@gmail.com>
16693
16694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16695 the inner loop.
16696
850fb039
AS
166972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16698
16699 [BZ #13472]
16700 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16701
4efbd5cb
UD
167022011-12-04 Ulrich Drepper <drepper@gmail.com>
16703
52ff5dd0 16704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16705 Minor optimizations.
52ff5dd0 16706
4efbd5cb
UD
16707 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16708 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16709 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16710
8a426e12
UD
167112011-12-03 Ulrich Drepper <drepper@gmail.com>
16712
aff2453d
UD
16713 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16714 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16715 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16716 for gcc to avoid warnings.
16717 * inet/Makefile (tests): Add tst-checks.
16718 * inet/tst-checks.c: New file.
16719
16720 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16721 warning.
16722
16723 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16724 __wmemcmp_sse2.
16725
16726 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16727 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16728
8a426e12
UD
16729 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16730
9bea3473
UD
167312011-12-02 Ulrich Drepper <drepper@gmail.com>
16732
3a965496
UD
16733 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16734 problem.
16735
9bea3473
UD
16736 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16737
f101631b
UD
167382011-11-29 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16741 conditional on GCC version.
16742 (__arch_compare_and_exchange_val_8_acq)
16743 (__arch_compare_and_exchange_val_16_acq)
16744 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16745 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16746 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16747
a98275aa
UD
167482011-12-02 Joseph Myers <joseph@codesourcery.com>
16749
16750 * sysdeps/sh/backtrace.c: New file.
16751
d4cc29a2
AS
167522011-12-02 Andreas Schwab <schwab@redhat.com>
16753
16754 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16755 parenthesis.
16756
6257af2d
AS
167572011-12-01 Andreas Schwab <schwab@redhat.com>
16758
16759 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16760 falling back to utime.
16761
b5f44c1a
AS
167622011-11-30 Andreas Schwab <schwab@redhat.com>
16763
16764 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16765 expectations for float.
16766
f3a6cc0a
AS
167672011-11-29 Andreas Schwab <schwab@redhat.com>
16768
16769 * locale/weight.h (findidx): Add parameter len.
16770 * locale/weightwc.h (findidx): Likewise.
16771 * posix/fnmatch_loop.c (FCT): Adjust caller.
16772 * posix/regcomp.c (build_equiv_class): Likewise.
16773 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16774 * posix/regexec.c (check_node_accept_bytes): Likewise.
16775 * string/strcoll_l.c (STRCOLL): Likewise.
16776 * string/strxfrm_l.c (STRXFRM): Likewise.
16777
9d65ea3a
UD
167782011-11-17 Ulrich Drepper <drepper@gmail.com>
16779
16780 * Makefile.in: Remove CVSOPT handling.
16781 * configure.in: Remove use of AC_REVISION.
16782 * iconvdata/Makefile (distribute): No need to filter out CVS.
16783 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16784 handling.
16785
5583a086
AS
167862011-11-16 Andreas Schwab <schwab@redhat.com>
16787
16788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16789 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16790 [USE_AS_STRNCASECMP_L]: Likewise.
16791 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16792 NO_TLS_DIRECT_SEG_REFS.
16793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16794 Fix argument offsets for non-PIC.
16795 [USE_AS_STRNCASECMP_L]: Likewise.
16796 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16797 NO_TLS_DIRECT_SEG_REFS.
16798
d62a8200
UD
167992011-11-15 Ulrich Drepper <drepper@gmail.com>
16800
9d65ea3a 16801 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16802 O_CLOEXEC.
16803 * locale/loadlocale.c (_nl_load_locale): Likewise.
16804
09f93bd3
AS
168052011-11-15 Andreas Schwab <schwab@redhat.com>
16806
446514f9
AS
16807 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16808 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16809 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16810 (SYSCALL_GETTIME): Set errno on error.
16811
09f93bd3
AS
16812 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16813 count references to noai6ai_cached.
16814
312be3f9
UD
168152011-11-15 Ulrich Drepper <drepper@gmail.com>
16816
16817 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16818
16819 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16820 FD_CLOEXEC for /proc/self/maps.
16821
16822 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16823 FD_CLOEXEC for /proc/meminfo.
16824
16825 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16826 gai.conf.
16827
16828 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16829 FD_CLOEXEC for given file.
16830
16831 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16832
16833 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16834 FD_CLOEXEC for /etc/hosts.
16835 (_gethtent): Likewise.
16836
16837 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16838
16839 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16840 cancellation and set FD_CLOEXEC for /etc/netgroup.
16841
16842 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16843 reading /etc/publickey.
16844
16845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16846 allow cancellation when reading /etc/group.
16847
16848 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16849 cancellation.
16850 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16851
16852 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16853 when using data file.
16854
16855 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16856
16857 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16858 (write_nis_obj): Use "c" and "e" in fopen.
16859
16860 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16861
16862 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16863
16864 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16865
16866 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16867
16868 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16869 locale.alias.
16870
16871 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16872
16873 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16874
16875 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16876
16877 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16878 file parsing and set FD_CLOEXEC.
16879
82af0fa8
UD
168802011-11-14 Ulrich Drepper <drepper@gmail.com>
16881
16882 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16883
a5fb313c
AS
168842011-11-14 Andreas Schwab <schwab@redhat.com>
16885
16886 * malloc/arena.c (arena_get2): Don't call reused_arena when
16887 _int_new_arena failed.
16888
6abf3465
UD
168892011-11-14 Ulrich Drepper <drepper@gmail.com>
16890
16891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16892 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16896 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16897 to compile strcasecmp and strncasecmp.
16898 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16899 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16900
16901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16902
76e3966e
UD
169032011-11-13 Ulrich Drepper <drepper@gmail.com>
16904
16905 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16906 locale-defines.sym to gen-as-const-headers.
16907 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16908 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16910 to compile strcasecmp and strncasecmp.
16911 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16912 strcasecmp_l and strncasecmp_l.
16913 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16914 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16915 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16917 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16918 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16919 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16920 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16921 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16922 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16923 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16924
ab26144e
UD
169252011-11-12 Ulrich Drepper <drepper@gmail.com>
16926
7edb22ef
UD
16927 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16928 result of SYSDEP_GETTIME_CPU to retval.
16929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16930 parameter list to macro. Remove trailing semicolon. Adjust users.
16931
9694fc44
UD
16932 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16933 variable.
16934
8ad89ef8
UD
16935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16936 mantissa words.
16937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16938
0c822ef9
UD
16939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16940 from unused variable.
16941
874e0564
UD
16942 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16943 DWARF definitions.
16944 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16945 for assembling.
16946
3a2edc79
UD
16947 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16948 over namespaces.
16949
f3c2577f
UD
16950 * sunrpc/rpc_prot.c (rejected): Fix case value.
16951
294ce126
UD
16952 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16953 unsigned long long int to avoid warnings in shift.
16954
5e2b63c6
UD
16955 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16956 of use of trans.
16957 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16958 variable tmp.
16959
e7f4b08e
UD
16960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16961 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16963
ab26144e
UD
16964 * nis/nis_table.c (nis_list): Use variable of correct type for
16965 result of __follow_path call.
16966
8a6d5255
AZ
169672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16968
16969 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16970 of math functions ceil, trunc, floor, round, and sqrt, when
16971 avaliable on the platform.
16972 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16973 name clash.
16974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16975 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16976 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16977
aaddc98c
MP
169782011-10-30 Marek Polacek <mpolacek@redhat.com>
16979
16980 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16982
95b7042b
RM
169832011-11-11 Roland McGrath <roland@hack.frob.com>
16984
16985 * include/unistd.h: Fix __readlink return type.
16986 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16987
57769839
UD
169882011-11-11 Ulrich Drepper <drepper@gmail.com>
16989
16990 * stdlib/ucontext.h: Undo last change for makecontext.
16991
edc5984d
AS
169922011-11-11 Andreas Schwab <schwab@redhat.com>
16993
98591e58
AS
16994 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16995
edc5984d
AS
16996 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16997 * setjmp/setjmp.h: Mark functions as non-leaf.
16998 * setjmp/bits/setjmp2.h: Likewise.
16999 * stdlib/ucontext.h: Likewise.
17000
77cdc054
AS
170012011-11-10 Andreas Schwab <schwab@redhat.com>
17002
17003 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17004 (reused_arena): Don't check arena limit.
17005 (arena_get2): Atomically check arena limit.
17006
fe72eebd
UD
170072011-11-08 Ulrich Drepper <drepper@gmail.com>
17008
5f078c32
UD
17009 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17010 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17011
fe72eebd
UD
17012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17013 instructions.
17014
ae1bc2fa
AS
170152011-11-07 Andreas Schwab <schwab@redhat.com>
17016
7583a88d
AS
17017 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17018 handler when locking.
17019
ae1bc2fa
AS
17020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17021 Fix size of allocated buffer.
17022
10fb0bfa
AS
170232011-11-04 Andreas Schwab <schwab@redhat.com>
17024
998832a4
AS
17025 [BZ #10103]
17026 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17027 declarations for long double functions.
17028 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17029
10fb0bfa
AS
17030 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17031
3d7ba52b
AS
170322011-11-03 Andreas Schwab <schwab@redhat.com>
17033
a9ae54a1
AS
17034 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17035 installed.
17036
3d7ba52b
AS
17037 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17038 is disabled.
17039
bc8db248
ST
170402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17041
17042 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17043
45b96dd6
AS
170442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17045
647776f6
AS
17046 * include/alloca.h (stackinfo_alloca_round): Define.
17047 (extend_alloca): Use it.
17048 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17049 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17050 here.
17051
d91a8b93
AS
17052 * scripts/check-local-headers.sh: Ignore libaudit.h.
17053
45b96dd6
AS
17054 * nscd/Makefile (extra-objs): Make recursively expanded.
17055
432d41ce
UD
170562011-11-01 Ulrich Drepper <drepper@gmail.com>
17057
34372fc6
UD
17058 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17060
fadb59f8
UD
17061 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17062 * posix/tst-rfc3484-2.c: Likewise.
17063 * posix/tst-rfc3484-3.c: Likewise.
17064
78239589
UD
17065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17066 process_vm_writev.
17067 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17068 process_vm_writev.
17069 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17070 process_vm_writev from libc using GLIBC_2.15 version.
17071
432d41ce
UD
17072 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17073
02f9c6cf
PP
170742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17075
17076 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17077 stack usage.
17078
3a2c0242
UD
170792011-10-31 Ulrich Drepper <drepper@gmail.com>
17080
f4ec4833
UD
17081 [BZ #13367]
17082 * nss/getent.c (initgroups_keys): Show error message in case no group
17083 names are given.
17084
3a2c0242
UD
17085 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17086 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17087 __bump_nl_timestamp.
17088 * nscd/connections (nscd_init): When host database is served open
17089 netlink socket and request notification about configuration changes.
17090 (main_loop_poll): Track netlink file descriptor and bump timestamp
17091 in case data becomes available.
17092 (main_loop_epoll): Likewise.
17093 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17094 (database_pers_head): Add extra_data fileds.
17095 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17096 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17097 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17098 Adjust caller.
17099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17100 in6ai data, call __free_in6ai.
17101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17102 Add -DHAVE_NETLINK.
17103 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17104 interface information. Reuse previous data if netlink timestamp
17105 is not changed.
17106 (__bump_nl_timestamp): New function.
17107 (__free_in6ai): New function.
17108
636064eb
UD
171092011-10-30 Ulrich Drepper <drepper@gmail.com>
17110
17111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17112 close_not_cancel_no_status here.
17113 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17114
9beb2334
UD
171152011-10-29 Ulrich Drepper <drepper@gmail.com>
17116
6ef76f3b
UD
17117 [BZ #13276]
17118 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17119 return value.
17120
0ffc4f3e 17121 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17122 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17123 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17124
cb95113e
UD
171252011-07-03 Andreas Jaeger <aj@suse.de>
17126
17127 [BZ #10709]
17128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17129 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17130 * math/libm-test.inc (sin_test): Add test case.
17131
a1b560ff
UD
171322011-10-29 Ulrich Drepper <drepper@gmail.com>
17133
c9aaface
UD
17134 [BZ #13337]
17135 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17137
d272e7f1
UD
17138 * elf/chroot_canon.c (chroot_canon): Cleanups.
17139
1bc33071
UD
17140 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17141
1760874d
TJ
17142 [BZ #13335]
17143 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17144 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17145
51d91b18
UD
17146 * string/test-strchr.c: Make usable for strchrnul testing.
17147 * string/test-strchrnul.c: New file.
17148 * string/Makefile (strop-tests): Add strchrnul.
17149
a1b560ff 17150 * po/it.po: Update from translation team.
b611fb81 17151 * po/es.po: Likewise.
a1b560ff 17152
a5b81e1f
UD
171532011-10-28 Ulrich Drepper <drepper@gmail.com>
17154
fd52bc6d
UD
17155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17156 the three constants needed as parameters. Drop the others.
17157 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17158 __m128i_strloadu_tolower.
52e4b9eb
UD
17159 Create and initialize variable zero and use it in all the places
17160 where _mm_setzero_si128 was used.
fd52bc6d 17161
a5b81e1f
UD
17162 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17163 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17164 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17166 anymore.
17167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17170 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17171 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17172 __mpranred, __mptan.
17173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17181 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17182
b4343346
AS
171832011-10-28 Andreas Schwab <schwab@redhat.com>
17184
0c92d8a8
AS
17185 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17186 redefine if SHARED.
17187 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17188
b4343346
AS
17189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17190 wide char related routines to wcsmbs subdir.
17191
3871f58f
AS
171922011-10-27 Andreas Schwab <schwab@redhat.com>
17193
17194 [BZ #13344]
17195 * misc/sys/cdefs.h (__THROWNL): Define.
17196 * posix/unistd.h: Use __THREADNL instead of __THREAD
17197 for memory synchronization functions.
17198
94d44d9f
RM
171992011-10-26 Roland McGrath <roland@hack.frob.com>
17200
21b64b15 17201 [BZ #13349]
94d44d9f
RM
17202 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17203 doesn't exist.
17204 * manual/stdio.texi (Obstack Streams): Node removed.
17205
f6ce9294
AS
172062011-10-26 Andreas Schwab <schwab@redhat.com>
17207
80479147
AS
17208 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17211
f6ce9294
AS
17212 * math/math_private.h (math_force_eval): Allow non-addressable
17213 arguments.
17214 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17215
618280a1
UD
172162011-10-25 Ulrich Drepper <drepper@gmail.com>
17217
e0016b11
UD
17218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17219 file is not needed.
17220
17221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17228 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17229 Add AVX variants.
17230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17235 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17236 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17238 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17239 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17240 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17241 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17246 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17247 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17248 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17249
17250 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17251 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17252
618280a1
UD
17253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17254 place. Use VEX encoding when compiling for AVX.
17255
37822576
AS
172562011-10-25 Andreas Schwab <schwab@redhat.com>
17257
1f1e1947
AS
17258 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17259 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17260
37822576
AS
17261 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17262
31ea014d
UD
172632011-10-25 Ulrich Drepper <drepper@gmail.com>
17264
d7826aa1 17265 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17266 useless if() expression.
d7826aa1
UD
17267 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17283 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17286
31ea014d
UD
17287 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17288
16437fec
AS
172892011-10-25 Andreas Schwab <schwab@redhat.com>
17290
17291 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17292 condition.
17293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17294
31d3cc00
UD
172952011-10-25 Ulrich Drepper <drepper@gmail.com>
17296
17297 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17298 .text section. Avoid duplicate constants.
17299 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17308 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17309 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17311 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17312 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17313 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17323 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17328 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17329 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17341 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17343 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17344
58985aa9
UD
173452011-10-24 Ulrich Drepper <drepper@gmail.com>
17346
202c9deb
UD
17347 * sysdeps/x86_64/dla.h: Move to ...
17348 * sysdeps/x86_64/fpu/dla.h: ...here.
17349 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17350 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17351
af968f62
UD
17352 * config.make.in: Add have-mfma4 entry.
17353 * configure.in: Substitute libc_cv_cc_fma4.
17354 * math/Makefile (dbl-only-routines): Add sincostab.
17355 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17356 Use __sincostab not sincos.
17357 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17358 name is a macro.
17359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17363 using __copysign.
17364 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17365 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17366 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17367 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17368 and __inv.
17369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17370 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17371 __copysign.
17372 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17373 define aliases when function name is a macro.
17374 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17375 sysdeps/ieee754/dbl-64/sincos.tbl.
17376 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17377 fma4-enabled routines.
17378 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17379 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17380 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17381 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17382 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17388 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17389 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17390 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17391 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17393 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17394 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17396 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17397 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17398 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17399 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17405 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17406 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17407 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17408
58985aa9
UD
17409 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17410 rename.
17411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17419
a201fbcf
AS
174202011-10-24 Andreas Schwab <schwab@redhat.com>
17421
17422 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17423
fc2ee42a
LD
174242011-10-23 Ulrich Drepper <drepper@gmail.com>
17425
bb3129bd
UD
17426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17427
0275fff8
UD
17428 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17429 prediction.
17430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17431
2fa2ae85
UD
17432 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17433 Remove unused variable magic_bits.
17434 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17435
fc2ee42a
LD
17436 * string/strnlen.c: Define and use STRNLEN macro.
17437 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17438 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17440 * wcsmbs/wcslen.c: Define and use WCSLEN.
17441 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17442 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17443 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17444 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17445 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17446 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17448
ce7dd29f
LD
174492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17450
17451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17452 strnlen-sse2-no-bsf.
17453 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17455 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17456 Add strnlen support.
17457 (USE_AS_STRNLEN): New macro.
17458 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17459 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17460 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17461 * sysdeps/x86_64/wcslen.S: New file.
17462
979c70a3
MZ
174632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17464
17465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17466 XMM-moves are used for copying on small sizes.
17467
2d09f82f
LD
174682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17469
17470 * wcsmbs/Makefile (strop-tests): Add wcschr.
17471 * wcsmbs/test-wcschr.c: New file.
17472 * string/test-strchr.c: Update.
17473 Add wcschr support.
17474 (WIDE): New macro.
17475
619fccca
LD
174762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17477
2d09f82f 17478 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17479 * wcsmbs/test-wcslen.c: New file.
17480 * string/test-strlen.c: Update.
17481 Add wcslen support.
17482 (WIDE): New macro.
17483
09f699ea
UD
174842011-10-23 Ulrich Drepper <drepper@gmail.com>
17485
17486 * po/it.po: Update from translation team.
17487
95584d3b
LD
174882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17489
17490 * sysdeps/x86_64/wcscmp.S: Update.
17491 Fix wrong comparison semantics.
17492 wcscmp shall use signed comparison not unsigned.
17493 Don't use substraction to avoid overflow bug.
17494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17495 * wcsmbc/wcscmp.c: Likewise.
17496 * string/test-strcmp.c: Likewise.
17497 Add new tests to check cases with negative values.
17498
c8b3296b
UD
174992011-10-23 Ulrich Drepper <drepper@gmail.com>
17500
17501 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17502 * sysdeps/x86_64/dla.h: ...here. New file.
17503 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17512
246ad57a
AS
175132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17514
17515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17516 __ynl_finite aliases.
17517
a1a87169
UD
175182011-10-22 Ulrich Drepper <drepper@gmail.com>
17519
0d355eb7
UD
17520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17521
a1a87169
UD
17522 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17523 define DLA_FMA.
17524 [DLA_FMA] (EMULV): Use DLA_FMA.
17525 [DLA_FMA] (MUL12): Use EMULV.
17526 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17527 that are not needed.
17528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17535
ee2aafe0
AS
175362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17537
17538 * math/s_nan.c: Undef __nan.
17539 * math/s_nanf.c: Undef __nanf.
17540 * math/s_nanl.c: Undef __nanl.
17541 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17542 "math_private.h".
17543
bc62c2fb
UD
175442011-10-22 Ulrich Drepper <drepper@gmail.com>
17545
77425c63
UD
17546 * math/s_catan.c: Add branch predictions.
17547 * math/s_catanf.c: Likewise.
17548 * math/s_catanh.c: Likewise.
17549 * math/s_catanhf.c: Likewise.
17550 * math/s_catanhl.c: Likewise.
17551 * math/s_catanl.c: Likewise.
17552 * math/s_cexp.c: Likewise.
17553 * math/s_cexpf.c: Likewise.
17554 * math/s_cexpl.c: Likewise.
17555 * math/s_clog.c: Likewise.
17556 * math/s_clog10.c: Likewise.
17557 * math/s_clog10f.c: Likewise.
17558 * math/s_clog10l.c: Likewise.
17559 * math/s_clogf.c: Likewise.
17560 * math/s_clogl.c: Likewise.
17561 * math/s_csqrt.c: Likewise.
17562 * math/s_csqrtf.c: Likewise.
17563 * math/s_csqrtl.c: Likewise.
17564 * math/s_ctanf.c: Likewise.
17565 * math/s_ctanh.c: Likewise.
17566 * math/s_ctanhf.c: Likewise.
17567 * math/s_ctanhl.c: Likewise.
17568 * math/s_ctanl.c: Likewise.
17569
bc62c2fb
UD
17570 * math/math_private.h: Define __nan, __nanf, __nanl.
17571 * math/s_cacosh.c: Include <math_private.h>.
17572 * math/s_cacoshl.c: Likewise.
17573 * math/s_casinh.c: Likewise.
17574 * math/s_casinhf.c: Likewise.
17575 * math/s_casinhl.c: Likewise.
17576 * math/s_ccos.c: Rely entire on ccosh.
17577 * math/s_ccosf.c: Rely entire on ccoshf.
17578 * math/s_ccosl.c: Rely entirely on ccoshl.
17579 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17580 Remove tests for FE_INVALID.
17581 * math/s_ccoshf.c: Likewise.
17582 * math/s_ccoshl.c: Likewise.
17583 * math/s_csin.c: Likewise.
17584 * math/s_csinf.c: Likewise.
17585 * math/s_csinh.c Likewise.
17586 * math/s_csinhf.c: Likewise.
17587 * math/s_csinhl.c: Likewise.
17588 * math/s_csinl.c: Likewise.
17589 * math/s_ctan.c: Likewise.
17590 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17591 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17593
8ec250a4
UD
175942011-10-21 Ulrich Drepper <drepper@gmail.com>
17595
c196fed8
UD
17596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17597 compilation problems.
17598
8ec250a4
UD
17599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17600 __builtin_expect.
17601
8d4f46c6
UD
176022011-10-20 Ulrich Drepper <drepper@gmail.com>
17603
ed72b654
UD
17604 * sysdeps/i386/configure.in: Test for -mfma4 option.
17605 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17606 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17607 COMMON_CPUID_INDEX_80000001.
17608 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17609 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17610 use it if FMA3 is not supported.
17611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17612
8d4f46c6
UD
17613 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17614 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17615
d45c60c2
AS
176162011-10-20 Andreas Schwab <schwab@redhat.com>
17617
17618 [BZ #12892]
17619 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17620 it would create a cycle with a link time dependency.
17621
d9a4d2ab
UD
176222011-10-19 Ulrich Drepper <drepper@gmail.com>
17623
855d1560
UD
17624 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17625 instruction.
17626 * string/Makefile (strop-tests): Add rawmemchr.
17627 * string/test-rawmemchr.c: New file.
17628
d9a4d2ab
UD
17629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17631 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17632 when compiling str{,n}casecmp and when AVX is available. Hook up
17633 new optimized code in initializers.
17634
8f3b1ffe
AS
176352011-10-19 Andreas Schwab <schwab@redhat.com>
17636
17637 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17638 __feraiseexcept instead of feraiseexcept.
17639
d38f1dba
UD
176402011-10-18 Ulrich Drepper <drepper@gmail.com>
17641
d9a8d0ab
UD
17642 * math/math_private.h: Define defaults for libc_fetestexcept and
17643 libc_feupdateenv.
17644 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17645 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17650 libc_fetestexcept and libc_feupdateenv.
17651
4855e3dd
UD
17652 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17653 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17654 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17655 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17656 libc_feholdexcept_setround.
17657
581d30e3
UD
17658 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17659 Add s_nearbyint-c and s_nearbyintf-c.
17660 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17661 nearbyintf inlines.
17662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17663 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17664 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17666
d38f1dba
UD
17667 * math/math_private.h: Define defaults for libc_fegetround,
17668 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17669 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17670 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17672 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17673 standard functions.
17674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17675 Remove comments and hacks for old compiler versions.
17676 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17677 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17678 libc_feholdexceptl.
17679
caa6c9d8
AS
176802011-10-18 Andreas Schwab <schwab@redhat.com>
17681
17682 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17683 (__feraiseexcept_renamed): Add __NTH.
17684 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17685 namespace violations.
17686
97c066e6
UD
176872011-10-17 Ulrich Drepper <drepper@gmail.com>
17688
99ce7b04
UD
17689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17690
1004d182
UD
17691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17692
228a984d
UD
17693 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17694 recently added interfaces.
17695 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17696
c8553a6a
UD
17697 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17698 about macro parameter expansion.
17699
ed22dcf6
UD
17700 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17701 __NO_MATH_INLINES is defined. Cleanups.
17702
17703 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17704 and __floorf is target has SSE4.1.
17705 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17709
b171c137
UD
17710 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17711 name.
17712 (floorf): Likewise.
17713
97c066e6
UD
17714 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17715
629f62ef
AS
177162011-10-17 Andreas Schwab <schwab@redhat.com>
17717
49a43d80
AS
17718 * misc/sys/cdefs.h: Fix last change.
17719
629f62ef
AS
17720 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17721 database lookup.
17722
e453f6cd
UD
177232011-10-16 Ulrich Drepper <drepper@gmail.com>
17724
aa78043a
UD
17725 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17726
ad0f5cad
UD
17727 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17734 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17736 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17737 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17738 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17739 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17740 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17742 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17743 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17744 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17746 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17748 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17749
17750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17751 ceil, ceilf, floor, floorf.
17752
17753 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17754 Perform IRELATIVE relocations last.
17755
e453f6cd
UD
17756 * elf/do-rel.h: Add another parameter nrelative, replacing the
17757 local variable with the same name. Change name of the function
17758 to end in Rel or Rela (uppercase).
17759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17760 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17761 elf_dynamic_do_##reloc function.
17762
fd5bdc09
UD
177632011-10-15 Ulrich Drepper <drepper@gmail.com>
17764
79b195b5
UD
17765 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17766 is sufficient, at least on modern CPUs.
17767
d4a28569
UD
17768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17769
b61099b5
UD
17770 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17772
bcf01e6d
UD
17773 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17774 __expl_finite.
17775 * math/bits/math-finite.h: Add entries for exp.
17776 * math/e_expl.c: Add __*_finite alias.
17777 * sysdeps/i386/fpu/e_exp.S: Likewise.
17778 * sysdeps/i386/fpu/e_expf.S: Likewise.
17779 * sysdeps/i386/fpu/e_expl.c: Likewise.
17780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17787
ba1a0d59
UD
17788 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17789 is sufficient, at least on modern CPUs.
17790
fd5bdc09
UD
17791 * ctype/ctype-info.c (__ctype_init): Define.
17792 * include/ctype.h (__ctype_init): Declare.
17793 (__ctype_b_loc): The variable is always initialized.
17794 (__ctype_toupper_loc): Likewise.
17795 (__ctype_tolower_loc): Likewise.
17796 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17797 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17798
7872cfb0
AS
177992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17800
b468825a
AS
17801 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17802
7872cfb0
AS
17803 * configure.in: Also look in $cxxmachine/include for C++ system
17804 headers.
17805
be13f7bf
LD
178062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17807
17808 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17809 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17810 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17811 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17813 (USE_AS_WMEMCMP): New macro.
17814 Fixing indents.
17815 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17816 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17817 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17818 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17820 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17821 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17823 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17824 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17826 (USE_AS_WMEMCMP): New macro.
17827 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17828 * sysdeps/string/test-memcmp.c: Update.
17829 Fix simple_wmemcmp.
17830 Add new tests.
17831 * wcsmbs/wmemcmp.c: Update.
17832 (WMEMCMP): New macro.
17833 Fix overflow bug.
17834
556a2007
AJ
178352011-10-12 Andreas Jaeger <aj@suse.de>
17836
17837 [BZ #13268]
17838 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17839
538faaa7
UD
178402011-10-15 Ulrich Drepper <drepper@gmail.com>
17841
ab6737ff
UD
17842 * libio/iofwide.c (do_length): Avoid warning.
17843
538faaa7
UD
17844 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17845
396a21b1
UD
178462011-10-14 Ulrich Drepper <drepper@gmail.com>
17847
cdf2901f
UD
17848 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17849
38ad40ce
UD
17850 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17851 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17852 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17853 * sysdeps/i386/i686/fpu/e_log.S: New file.
17854 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17855 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17856
396a21b1
UD
17857 * ctype/ctype.h: Add support for inlined isXXX functions when
17858 compiling C++ code.
17859
6b1f68c9
AS
178602011-10-14 Andreas Schwab <schwab@redhat.com>
17861
349290c0
AS
17862 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17863
6b1f68c9
AS
17864 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17865
f2282d42
RM
178662011-10-13 Roland McGrath <roland@hack.frob.com>
17867
17868 [BZ #13291]
17869 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17870
5298ffa8
AS
178712011-10-13 Andreas Schwab <schwab@redhat.com>
17872
714fad23
AS
17873 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17874 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17875 feraiseexcept.
17876
81dcc7fb
AS
17877 * sysdeps/x86_64/memrchr.S: Check for zero size.
17878
5298ffa8
AS
17879 * string/stratcliff.c: Add memrchr tests.
17880
951fbcec
LD
178812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17882
17883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17884 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17885 rawmemchr-sse2 rawmemchr-sse2-bsf.
17886 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17887 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17888 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17889 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17890 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17891 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17892 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17893 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17894 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17895 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17896 * string/memrchr.c (MEMRCHR): New macro.
17897
0ac5ae23
UD
178982011-10-12 Ulrich Drepper <drepper@gmail.com>
17899
17900 Add integration with gcc's -ffinite-math-only and optimize wrapper
17901 functions in libm.
17902 * Versions.def: Define GLIBC_2.15 version for libm.
17903 * math/Makefile (headers): Add bits/math-finite.h.
17904 * math/bits/math-finite.h: New file.
17905 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17906 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17907 * math/e_acoshl.c: Add __*_finite alias.
17908 * math/e_acosl.c: Likewise.
17909 * math/e_asinl.c: Likewise.
17910 * math/e_atan2l.c: Likewise.
17911 * math/e_atanhl.c: Likewise.
17912 * math/e_coshl.c: Likewise.
17913 * math/e_exp10.c: Likewise.
17914 * math/e_exp10f.c: Likewise.
17915 * math/e_exp10l.c: Likewise.
17916 * math/e_exp2l.c: Likewise.
17917 * math/e_fmodl.c: Likewise.
17918 * math/e_gammal_r.c: Likewise.
17919 * math/e_hypotl.c: Likewise.
17920 * math/e_j0l.c: Likewise.
17921 * math/e_j1l.c: Likewise.
17922 * math/e_jnl.c: Likewise.
17923 * math/e_lgammal_r.c: Likewise.
17924 * math/e_log10l.c: Likewise.
17925 * math/e_log2l.c: Likewise.
17926 * math/e_logl.c: Likewise.
17927 * math/e_powl.c: Likewise.
17928 * math/e_sinhl.c: Likewise.
17929 * math/e_sqrtl.c: Likewise.
17930 * math/e_scalb.c: Completely rewritten and optimized.
17931 * math/e_scalbf.c: Likewise.
17932 * math/e_scalbl.c: Likewise.
17933 * math/w_acos.c: Likewise.
17934 * math/w_acosf.c: Likewise.
17935 * math/w_acosl.c: Likewise.
17936 * math/w_acosh.c: Likewise.
17937 * math/w_acoshf.c: Likewise.
17938 * math/w_acoshl.c: Likewise.
17939 * math/w_asin.c: Likewise.
17940 * math/w_asinf.c: Likewise.
17941 * math/w_asinl.c: Likewise.
17942 * math/w_atan2.c: Likewise.
17943 * math/w_atan2f.c: Likewise.
17944 * math/w_atan2l.c: Likewise.
17945 * math/w_atanh.c: Likewise.
17946 * math/w_atanhf.c: Likewise.
17947 * math/w_atanhl.c: Likewise.
17948 * math/w_exp10.c: Likewise.
17949 * math/w_exp10f.c: Likewise.
17950 * math/w_exp10l.c: Likewise.
17951 * math/w_fmod.c: Likewise.
17952 * math/w_fmodf.c: Likewise.
17953 * math/w_fmodl.c: Likewise.
17954 * math/w_j0.c: Likewise.
17955 * math/w_j0f.c: Likewise.
17956 * math/w_j0l.c: Likewise.
17957 * math/w_j1.c: Likewise.
17958 * math/w_j1f.c: Likewise.
17959 * math/w_j1l.c: Likewise.
17960 * math/w_jn.c: Likewise.
17961 * math/w_jnf.c: Likewise.
17962 * math/w_log.c: Likewise.
17963 * math/w_logf.c: Likewise.
17964 * math/w_logl.c: Likewise.
17965 * math/w_log10.c: Likewise.
17966 * math/w_log10f.c: Likewise.
17967 * math/w_log10l.c: Likewise.
17968 * math/w_log2.c: Likewise.
17969 * math/w_log2f.c: Likewise.
17970 * math/w_log2l.c: Likewise.
17971 * math/w_pow.c: Likewise.
17972 * math/w_powf.c: Likewise.
17973 * math/w_powl.c: Likewise.
17974 * math/w_remainder.c: Likewise.
17975 * math/w_remainderf.c: Likewise.
17976 * math/w_remainderl.c: Likewise.
17977 * math/w_scalb.c: Likewise.
17978 * math/w_scalbf.c: Likewise.
17979 * math/w_scalbl.c: Likewise.
17980 * math/w_sqrt.c: Likewise.
17981 * math/w_sqrtf.c: Likewise.
17982 * math/w_sqrtl.c: Likewise.
17983 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17984 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17985 used.
17986 * math/math_private.h: Declare __kernel_standard_f.
17987 * math/w_cosh.c: Remove cruft and optimize a bit.
17988 * math/w_coshf.c: Likewise.
17989 * math/w_coshl.c: Likewise.
17990 * math/w_exp2.c: Likewise.
17991 * math/w_exp2f.c: Likewise.
17992 * math/w_exp2l.c: Likewise.
17993 * math/w_hypot.c: Likewise.
17994 * math/w_hypotf.c: Likewise.
17995 * math/w_hypotl.c: Likewise.
17996 * math/w_lgamma.c: Likewise.
17997 * math/w_lgamma_r.c: Likewise.
17998 * math/w_lgammaf.c: Likewise.
17999 * math/w_lgammaf_r.c: Likewise.
18000 * math/w_lgammal.c: Likewise.
18001 * math/w_lgammal_r.c: Likewise.
18002 * math/w_sinh.c: Likewise.
18003 * math/w_sinhf.c: Likewise.
18004 * math/w_sinhl.c: Likewise.
18005 * math/w_tgamma.c: Likewise.
18006 * math/w_tgammaf.c: Likewise.
18007 * math/w_tgammal.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18010 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18011 Minor optimizations. Pretty printing. Remove cruft.
18012 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18015 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18016 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18017 * sysdeps/i386/fpu/e_asin.S: Likewise.
18018 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18019 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18020 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18021 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18025 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18026 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18027 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18028 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18029 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18030 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18031 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18032 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18033 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18034 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18035 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18036 * sysdeps/i386/fpu/e_log.S: Likewise.
18037 * sysdeps/i386/fpu/e_log10.S: Likewise.
18038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18040 * sysdeps/i386/fpu/e_log2.S: Likewise.
18041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18042 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18043 * sysdeps/i386/fpu/e_logf.S: Likewise.
18044 * sysdeps/i386/fpu/e_logl.S: Likewise.
18045 * sysdeps/i386/fpu/e_pow.S: Likewise.
18046 * sysdeps/i386/fpu/e_powf.S: Likewise.
18047 * sysdeps/i386/fpu/e_powl.S: Likewise.
18048 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18049 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18050 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18054 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18055 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18056 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18082 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18083 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18150 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18154 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18155 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18156 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18157 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18158 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18159 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18160 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18162 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18163 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18164 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18165 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18167 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18168 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18169 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18170 (__isnanf): Likewise.
18171 (__isinf_ns): Likewise.
18172 (__isinf_nsf): Likewise.
18173 (__finite): Likewise.
18174 (__finitef): Likewise.
18175 (__ieee754_sqrt): Define as macro.
18176 (__ieee754_sqrtf): Define as macro.
18177 (__ieee754_sqrtl): Define as macro.
18178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18179 inlined copy.
18180 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18181 __FINITE_MATH_ONLY__ consistent.
18182 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18183
12cc2fcd
AS
181842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18185
a843a204
AS
18186 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18187 of rawmemchr.
18188
12cc2fcd
AS
18189 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18190
c853acd5
UD
181912011-10-09 Ulrich Drepper <drepper@gmail.com>
18192
18193 * po/ja.po: Update from translation team.
18194
c658d255
RM
181952011-10-08 Roland McGrath <roland@hack.frob.com>
18196
110946e4
RM
18197 * locale/programs/locarchive.c (prepare_address_space): New function.
18198 (create_archive, enlarge_archive, open_archive): Use it.
18199
50604220
RM
18200 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18201 inside [SHARED], where it is used.
18202
c658d255
RM
18203 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18204
18205 * nss/getent.c (netgroup_keys): Remove unused variable.
18206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18207
6a621eb7
UD
182082011-10-08 Ulrich Drepper <drepper@gmail.com>
18209
7edb55ce
UD
18210 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18211 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18215 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18216 * math/Makefile (libm-calls): Add s_isinf_ns.
18217 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18218 * math/multc3.c: Likewise.
18219 * math/s_casin.c: Likewise.
18220 * math/s_casinf.c: Likewise.
18221 * math/s_casinl.c: Likewise.
18222 * math/s_ccos.c: Likewise.
18223 * math/s_ccosf.c: Likewise.
18224 * math/s_ccosl.c: Likewise.
18225 * math/s_ctan.c: Likewise.
18226 * math/s_ctanf.c: Likewise.
18227 * math/s_ctanh.c: Likewise.
18228 * math/s_ctanhf.c: Likewise.
18229 * math/s_ctanhl.c: Likewise.
18230 * math/s_ctanl.c: Likewise.
18231 * math/w_fmod.c: Likewise.
18232 * math/w_fmodf.c: Likewise.
18233 * math/w_fmodl.c: Likewise.
18234 * math/w_remainder.c: Likewise.
18235 * math/w_remainderf.c: Likewise.
18236 * math/w_remainderl.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18238 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18239 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18241 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18242 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18243 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18244 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18245
187da0ae
UD
18246 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18247 of the number.
18248 * stdio-common/printf_fphex.c: Likewise.
18249 * stdio-common/printf_size.c: Likewise.
18250
9277c064
UD
18251 * math/e_exp10.c: Include math_private.h using <...> not "...".
18252 * math/e_exp10f.c: Likewise.
18253 * math/e_exp10l.c: Likewise.
18254 * math/e_exp2l.c: Likewise.
18255 * math/e_j0l.c: Likewise.
18256 * math/e_j1l.c: Likewise.
18257 * math/e_jnl.c: Likewise.
18258 * math/e_lgammal_r.c: Likewise.
18259 * math/e_rem_pio2l.c: Likewise.
18260 * math/e_scalb.c: Likewise.
18261 * math/e_scalbf.c: Likewise.
18262 * math/e_scalbl.c: Likewise.
18263 * math/k_cosl.c: Likewise.
18264 * math/k_sinl.c: Likewise.
18265 * math/k_tanl.c: Likewise.
18266 * math/s_cacoshf.c: Likewise.
18267 * math/s_catan.c: Likewise.
18268 * math/s_catanf.c: Likewise.
18269 * math/s_catanh.c: Likewise.
18270 * math/s_catanhf.c: Likewise.
18271 * math/s_catanhl.c: Likewise.
18272 * math/s_catanl.c: Likewise.
18273 * math/s_ccosh.c: Likewise.
18274 * math/s_ccoshf.c: Likewise.
18275 * math/s_ccoshl.c: Likewise.
18276 * math/s_cexp.c: Likewise.
18277 * math/s_cexpf.c: Likewise.
18278 * math/s_cexpl.c: Likewise.
18279 * math/s_clog.c: Likewise.
18280 * math/s_clog10.c: Likewise.
18281 * math/s_clog10f.c: Likewise.
18282 * math/s_clog10l.c: Likewise.
18283 * math/s_clogf.c: Likewise.
18284 * math/s_clogl.c: Likewise.
18285 * math/s_csin.c: Likewise.
18286 * math/s_csinf.c: Likewise.
18287 * math/s_csinh.c: Likewise.
18288 * math/s_csinhf.c: Likewise.
18289 * math/s_csinhl.c: Likewise.
18290 * math/s_csinl.c: Likewise.
18291 * math/s_csqrt.c: Likewise.
18292 * math/s_csqrtf.c: Likewise.
18293 * math/s_csqrtl.c: Likewise.
18294 * math/s_ctan.c: Likewise.
18295 * math/s_ctanf.c: Likewise.
18296 * math/s_ctanh.c: Likewise.
18297 * math/s_ctanhf.c: Likewise.
18298 * math/s_ctanhl.c: Likewise.
18299 * math/s_ctanl.c: Likewise.
18300 * math/s_ldexp.c: Likewise.
18301 * math/s_ldexpf.c: Likewise.
18302 * math/s_ldexpl.c: Likewise.
18303 * math/s_significand.c: Likewise.
18304 * math/s_significandf.c: Likewise.
18305 * math/s_significandl.c: Likewise.
18306 * math/w_acos.c: Likewise.
18307 * math/w_acosf.c: Likewise.
18308 * math/w_acosh.c: Likewise.
18309 * math/w_acoshf.c: Likewise.
18310 * math/w_acoshl.c: Likewise.
18311 * math/w_acosl.c: Likewise.
18312 * math/w_asin.c: Likewise.
18313 * math/w_asinf.c: Likewise.
18314 * math/w_asinl.c: Likewise.
18315 * math/w_atan2.c: Likewise.
18316 * math/w_atan2f.c: Likewise.
18317 * math/w_atan2l.c: Likewise.
18318 * math/w_atanh.c: Likewise.
18319 * math/w_atanhf.c: Likewise.
18320 * math/w_atanhl.c: Likewise.
18321 * math/w_cosh.c: Likewise.
18322 * math/w_coshf.c: Likewise.
18323 * math/w_coshl.c: Likewise.
18324 * math/w_dremf.c: Likewise.
18325 * math/w_exp10.c: Likewise.
18326 * math/w_exp10f.c: Likewise.
18327 * math/w_exp10l.c: Likewise.
18328 * math/w_exp2.c: Likewise.
18329 * math/w_exp2f.c: Likewise.
18330 * math/w_fmod.c: Likewise.
18331 * math/w_fmodf.c: Likewise.
18332 * math/w_fmodl.c: Likewise.
18333 * math/w_hypot.c: Likewise.
18334 * math/w_hypotf.c: Likewise.
18335 * math/w_hypotl.c: Likewise.
18336 * math/w_j0.c: Likewise.
18337 * math/w_j0f.c: Likewise.
18338 * math/w_j0l.c: Likewise.
18339 * math/w_j1.c: Likewise.
18340 * math/w_j1f.c: Likewise.
18341 * math/w_j1l.c: Likewise.
18342 * math/w_jn.c: Likewise.
18343 * math/w_jnf.c: Likewise.
18344 * math/w_jnl.c: Likewise.
18345 * math/w_lgamma.c: Likewise.
18346 * math/w_lgamma_r.c: Likewise.
18347 * math/w_lgammaf.c: Likewise.
18348 * math/w_lgammaf_r.c: Likewise.
18349 * math/w_lgammal.c: Likewise.
18350 * math/w_lgammal_r.c: Likewise.
18351 * math/w_log.c: Likewise.
18352 * math/w_log10.c: Likewise.
18353 * math/w_log10f.c: Likewise.
18354 * math/w_log10l.c: Likewise.
18355 * math/w_log2.c: Likewise.
18356 * math/w_log2f.c: Likewise.
18357 * math/w_log2l.c: Likewise.
18358 * math/w_logf.c: Likewise.
18359 * math/w_logl.c: Likewise.
18360 * math/w_pow.c: Likewise.
18361 * math/w_powf.c: Likewise.
18362 * math/w_powl.c: Likewise.
18363 * math/w_remainder.c: Likewise.
18364 * math/w_remainderf.c: Likewise.
18365 * math/w_remainderl.c: Likewise.
18366 * math/w_scalb.c: Likewise.
18367 * math/w_scalbf.c: Likewise.
18368 * math/w_scalbl.c: Likewise.
18369 * math/w_sinh.c: Likewise.
18370 * math/w_sinhf.c: Likewise.
18371 * math/w_sinhl.c: Likewise.
18372 * math/w_sqrt.c: Likewise.
18373 * math/w_sqrtf.c: Likewise.
18374 * math/w_sqrtl.c: Likewise.
18375 * math/w_tgamma.c: Likewise.
18376 * math/w_tgammaf.c: Likewise.
18377 * math/w_tgammal.c: Likewise.
18378
6a621eb7
UD
18379 * po/ja.po: Update from translation team.
18380
bf582445
AJ
183812011-09-29 Andreas Jaeger <aj@suse.de>
18382
f9efbf3a
AJ
18383 [BZ #13179]
18384 * sunrpc/netname.c (netname2host): Fix logic.
18385
bf582445
AJ
18386 [BZ #6779]
18387 [BZ #6783]
18388 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18389 correctly.
18390 * math/w_remainder.c (__remainder): Likewise.
18391 * math/w_remainderf.c (__remainderf): Likewise.
18392 * math/libm-test.inc (remainder_test): Add test cases.
18393
48693bea
AK
183942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18395
18396 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18397 sdiv_qrnnd.
18398
42622229
LD
183992011-10-07 Ulrich Drepper <drepper@gmail.com>
18400
18401 * string/test-memcmp.c: Avoid unncessary #defines.
18402 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18403
093ecf92
LD
184042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18405
18406 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18407 Use new sse2 version for core i3 - i7 as it's faster
18408 than sse42 version.
18409 (bit_Prefer_PMINUB_for_stringop): New.
18410 * sysdeps/x86_64/rawmemchr.S: Update.
18411 Replace with faster SSE2 version.
18412 * sysdeps/x86_64/memrchr.S: New file.
18413 * sysdeps/x86_64/memchr.S: Update.
18414 Replace with faster SSE2 version.
18415
fde56e5c
MP
184162011-09-12 Marek Polacek <mpolacek@redhat.com>
18417
18418 * elf/dl-load.c (lose): Add cast to avoid warning.
18419
21fd49a9
UD
184202011-10-07 Ulrich Drepper <drepper@gmail.com>
18421
5a06e643
UD
18422 * po/ca.po: Update from translation team.
18423
684ae515
UD
18424 * inet/getnetgrent_r.c: Hook up nscd.
18425 * nscd/Makefile (routines): Add nscd_netgroup.
18426 (nscd-modules): Add netgroupcache.
18427 (CFLAGS-netgroupcache.c): Define.
18428 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18429 (cache_search): Add const to second parameter.
18430 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18431 INNETGR.
18432 (dbs): Add netgrdb entry.
18433 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18434 (verify_persistent_db): Handle netgrdb.
18435 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18436 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18437 GETFDNETGR.
18438 (netgroup_response_header): Define.
18439 (innetgroup_response_header): Define.
18440 (datahead): Add netgroup_response_header and innetgroup_response_header
18441 elements.
18442 * nscd/nscd.conf: Add entries for netgroup cache.
18443 * nscd/nscd.h (dbtype): Add netgrdb.
18444 (_PATH_NSCD_NETGROUP_DB): Define.
18445 (netgroup_iov_disabled): Declare.
18446 (xmalloc, xcalloc, xrealloc): Move declarations here.
18447 (cache_search): Adjust prototype.
18448 Add netgroup-related prototypes.
18449 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18450 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18451 (__nscd_innetgr): Declare.
18452 * nscd/selinux.c (perms): Use access_vector_t as element type and
18453 add netgroup-related initializers.
18454 * nscd/netgroupcache.c: New file.
18455 * nscd/nscd_netgroup.c: New file.
18456 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18457 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18458 For four parameters use innetgr.
18459 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18460 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18461 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18462 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18463
21fd49a9
UD
18464 * nscd/connections.c (register_traced_file): Don't register file
18465 for disabled databases.
18466
054c0457
UD
184672011-10-06 Ulrich Drepper <drepper@gmail.com>
18468
32b63198
UD
18469 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18470
054c0457
UD
18471 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18472 from tree and freeing node.
18473
64031225
JO
184742011-09-25 Jiri Olsa <jolsa@redhat.com>
18475
18476 * nss/nsswitch.c (__nss_database_lookup): Handle
18477 nss_parse_service_list out of memory case.
18478
0490345c
JO
184792011-09-15 Jiri Olsa <jolsa@redhat.com>
18480
18481 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18482 out of memory case.
18483
3a62d00d
AS
184842011-10-04 Andreas Schwab <schwab@redhat.com>
18485
18486 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18487 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18488 pass it down.
18489 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18490 elf_machine_rela, elf_machine_lazy_rel.
18491 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18492 (ELF_DYNAMIC_DO_REL): Likewise.
18493 (ELF_DYNAMIC_DO_RELA): Likewise.
18494 (ELF_DYNAMIC_RELOCATE): Likewise.
18495 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18496 to ELF_DYNAMIC_DO_REL.
18497 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18498 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18499 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18500 elf_machine_rela.
18501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18502 skip_ifunc, don't call ifunc function if non-zero.
18503 (elf_machine_rela): Likewise.
18504 (elf_machine_lazy_rel): Likewise.
18505 (elf_machine_lazy_rela): Likewise.
18506 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18507 (elf_machine_lazy_rel): Likewise.
18508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18509 Likewise.
18510 (elf_machine_lazy_rel): Likewise.
18511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18512 Likewise.
18513 (elf_machine_lazy_rel): Likewise.
18514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18515 (elf_machine_lazy_rel): Likewise.
18516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18517 (elf_machine_lazy_rel): Likewise.
18518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18519 (elf_machine_lazy_rel): Likewise.
18520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18521 (elf_machine_lazy_rel): Likewise.
18522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18523 (elf_machine_lazy_rel): Likewise.
18524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18525 (elf_machine_lazy_rel): Likewise.
18526
68577918
UD
185272011-09-28 Ulrich Drepper <drepper@gmail.com>
18528
18529 * nss/nss_files/files-init.c (_nss_files_init): Use static
18530 initialization for all the *_traced_file variables.
18531
68822d74
AS
185322011-09-28 Andreas Schwab <schwab@redhat.com>
18533
18534 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18535
2056100b
RM
185362011-09-27 Roland McGrath <roland@hack.frob.com>
18537
18538 [BZ #13226]
18539 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18540
32c76b63
AS
185412011-09-27 Andreas Schwab <schwab@redhat.com>
18542
18543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18544 Reread the line before reparsing it.
18545
bf972c9d
AS
185462011-09-26 Andreas Schwab <schwab@redhat.com>
18547
18548 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18549
e057a1b5
JM
185502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18551 Maxim Kuvyrkov <maxim@codesourcery.com>
18552 Joseph Myers <joseph@codesourcery.com>
18553
18554 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18555 if needed for __stack_chk_guard.
18556
bc7e1c36
RM
185572011-09-19 Roland McGrath <roland@hack.frob.com>
18558
ecb1482f
RM
18559 * sysdeps/posix/spawni.c (script_execute): Always define it.
18560 It will be optimized away if unused.
18561 (maybe_script_execute): New function.
18562 (__spawni): Call it.
18563
bc7e1c36
RM
18564 * Makerules: Don't include tls.make.
18565 (config-tls): Always set to thread.
18566 * tls.make.c: File removed.
18567
1c3b002b
MF
185682011-09-19 Mike Frysinger <vapier@gentoo.org>
18569
18570 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18571 * config.make.in (CPPFLAGS-config): New substituted variable.
18572
2840865d
UD
185732011-09-15 Ulrich Drepper <drepper@gmail.com>
18574
88738eb6
UD
18575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18576
cbf645a6 18577 [BZ #13192]
2840865d
UD
18578 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18579 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18580
b402e91a
RM
185812011-09-15 Roland McGrath <roland@hack.frob.com>
18582
18583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18584 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18586 (CALL_FAIL): Likewise.
18587 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18588 (CALL_FAIL): Macro removed.
18589 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18590
4c1a1f71
UD
185912011-09-15 Ulrich Drepper <drepper@gmail.com>
18592
18593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18594 for __FINITE_MATH_ONLY__ == 1.
18595
edc121be
AS
185962011-09-15 Andreas Schwab <schwab@redhat.com>
18597
18598 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18599 __ieee754_sqrt instead of sqrt.
18600 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18601 __ieee754_sqrtf instead of sqrtf.
18602 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18603 __floorf instead of floorf.
18604 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18605 __floorf, __truncf instead of floorf, truncf.
18606
cd205654
UD
186072011-09-14 Ulrich Drepper <drepper@gmail.com>
18608
ee4d0315
UD
18609 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18610
cd205654
UD
18611 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18612 __extern_always_inline.
18613 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18614 32-bit.
18615
48b67d71
AS
186162011-09-14 Andreas Schwab <schwab@redhat.com>
18617
18618 * elf/rtld.c (dl_main): Also relocate in dependency order when
18619 doing symbol dependency testing.
18620
1ae12c75
AS
186212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18622
18623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18624 Always define `refsym'.
18625
995a80df
AS
186262011-09-13 Andreas Schwab <schwab@redhat.com>
18627
e529793b
AS
18628 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18629 (__FD_ELT): Renamed from __FDELT.
18630 * misc/bits/select2.h (__FD_ELT): Likewise.
18631 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18632 __FD_MASK instead of __FDELT, __FDMASK.
18633 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18634 Likewise.
18635 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18636 Likewise.
18637
52d4fef8
AS
18638 * elf/Makefile (gen-ldd): Fix pattern.
18639
995a80df
AS
18640 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18641 (init_tls): Likewise.
18642
8682f8b0
UD
186432011-09-12 Ulrich Drepper <drepper@gmail.com>
18644
18645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18646
de82006d
AS
186472011-09-12 Andreas Schwab <schwab@redhat.com>
18648
a7c8e6a1
AS
18649 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18650 `struct cmsghdr *' instead of `void *'.
18651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18652 Likewise.
18653
0f31fe77
AS
186542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18655
18656 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18657 if non-absolute.
18658 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18659 ldd_rewrite_script.
0f31fe77 18660
32b4c839
UD
186612011-09-11 Ulrich Drepper <drepper@gmail.com>
18662
83cd1420
UD
18663 * configure.in: Remove --with-tls option.
18664 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18665 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18666 out in case it is missing.
18667 * sysdeps/ia64/elf/configure.in: Likewise.
18668 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18669 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18670 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18671 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18672 * sysdeps/sh/elf/configure.in: Likewise.
18673 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18674 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18675 * sysdeps/x86_64/elf/configure.in: Likewise.
18676 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18677 * sysdeps/mach/hurd/tls.h: Likewise.
18678
633f745d
UD
18679 [BZ #13067]
18680 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18681
f318beb8
UD
18682 [BZ #13090]
18683 * configure.in: Fix use of AC_INIT.
18684
32b4c839
UD
18685 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18686
3ce1f295
UD
186872011-09-10 Ulrich Drepper <drepper@gmail.com>
18688
bb016596
UD
18689 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18690 __set_errno.
8e58439c
UD
18691 * malloc/hooks.c: Likewise.
18692
aebae053 18693 [BZ #11929]
02d46fc4
UD
18694 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18695 variables statically.
18696 (narenas): Initialize.
18697 (list_lock): Initialize.
bb016596
UD
18698 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18699 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18700 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18701 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18702 Add initializers to main_arena and mp_.
18703 (malloc_state): Remove pagesize member. Change all users to use
18704 GLRO(dl_pagesize).
18705
18706 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18707 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18708 is always initialized.
18709
22a89187
UD
18710 * malloc/malloc.c: Removed unused configurations and dead code.
18711 * malloc/arena.c: Likewise.
18712 * malloc/hooks.c: Likewise.
02d46fc4 18713 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18714
d063d164
UD
18715 * include/tls.h: Removed. USE___THREAD must always be defined.
18716 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18717 * elf/dl-libc.c: Likewise.
18718 * elf/dl-tsd.c: Likewise.
18719 * include/errno.h: Likewise.
18720 * include/netdb.h: Likewise.
18721 * include/resolv.h: Likewise.
18722 * inet/herrno-loc.c: Likewise.
18723 * inet/herrno.c: Likewise.
18724 * malloc/arena.c: Likewise.
18725 * malloc/hooks.c: Likewise.
18726 * malloc/malloc.c: Likewise.
18727 * resolv/res-state.c: Likewise.
18728 * resolv/res_libc.c: Likewise.
18729 * sysdeps/i386/dl-machine.h: Likewise.
18730 * sysdeps/ia64/dl-machine.h: Likewise.
18731 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18733 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18734 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18735 * sysdeps/sh/dl-machine.h: Likewise.
18736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18737 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18738 * sysdeps/unix/i386/sysdep.S: Likewise.
18739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18740 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18745 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18750 * sysdeps/x86_64/dl-machine.h: Likewise.
18751 * tls.make.c: Likewise.
18752
3ce1f295
UD
18753 * configure.in: Remove --with-__thread option. Make tests for
18754 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18755 tls_model attribute fail if no support is available. Remove
18756 USE_IN_LIBIO.
18757 * Makeconfig: Adjust for dropped configure option. All features are
18758 now mandatory.
18759 * Makerules: Likewise.
18760 * Versions.def: Likewise.
18761 * argp/argp-fmtstream.c: Likewise.
18762 * argp/argp-fmtstream.h: Likewise.
18763 * argp/argp-help.c: Likewise.
18764 * assert/assert.c: Likewise.
18765 * config.h.in: Likewise.
18766 * config.make.in: Likewise.
18767 * configure: Likewise.
18768 * configure.in: Likewise.
18769 * csu/Versions: Likewise.
18770 * csu/init.c: Likewise.
18771 * elf/tst-audit2.c: Likewise.
18772 * elf/tst-tls10.c: Likewise.
18773 * elf/tst-tls10.h: Likewise.
18774 * elf/tst-tls11.c: Likewise.
18775 * elf/tst-tls12.c: Likewise.
18776 * elf/tst-tls14.c: Likewise.
18777 * elf/tst-tlsmod11.c: Likewise.
18778 * elf/tst-tlsmod12.c: Likewise.
18779 * elf/tst-tlsmod13.c: Likewise.
18780 * elf/tst-tlsmod13a.c: Likewise.
18781 * elf/tst-tlsmod14a.c: Likewise.
18782 * elf/tst-tlsmod15b.c: Likewise.
18783 * elf/tst-tlsmod16a.c: Likewise.
18784 * elf/tst-tlsmod16b.c: Likewise.
18785 * elf/tst-tlsmod7.c: Likewise.
18786 * elf/tst-tlsmod8.c: Likewise.
18787 * elf/tst-tlsmod9.c: Likewise.
18788 * gmon/gmon.c: Likewise.
18789 * grp/fgetgrent_r.c: Likewise.
18790 * grp/putgrent.c: Likewise.
18791 * hurd/fopenport.c: Likewise.
18792 * include/libc-symbols.h: Likewise.
18793 * include/tls.h: Likewise.
18794 * intl/gettextP.h: Likewise.
18795 * intl/loadinfo.h: Likewise.
18796 * locale/global-locale.c: Likewise.
18797 * locale/localeinfo.h: Likewise.
18798 * mach/devstream.c: Likewise.
18799 * malloc/arena.c: Likewise.
18800 * malloc/set-freeres.c: Likewise.
18801 * misc/err.c: Likewise.
18802 * misc/getttyent.c: Likewise.
18803 * misc/mntent_r.c: Likewise.
18804 * posix/getopt.c: Likewise.
18805 * posix/wordexp.c: Likewise.
18806 * pwd/fgetpwent_r.c: Likewise.
18807 * resolv/Versions: Likewise.
18808 * resolv/res_hconf.c: Likewise.
18809 * shadow/fgetspent_r.c: Likewise.
18810 * shadow/putspent.c: Likewise.
18811 * stdio-common/printf_fphex.c: Likewise.
18812 * stdio-common/tmpfile.c: Likewise.
18813 * stdlib/abort.c: Likewise.
18814 * stdlib/fmtmsg.c: Likewise.
18815 * sunrpc/auth_unix.c: Likewise.
18816 * sunrpc/clnt_perr.c: Likewise.
18817 * sunrpc/clnt_tcp.c: Likewise.
18818 * sunrpc/clnt_udp.c: Likewise.
18819 * sunrpc/clnt_unix.c: Likewise.
18820 * sunrpc/openchild.c: Likewise.
18821 * sunrpc/svc_simple.c: Likewise.
18822 * sunrpc/svc_tcp.c: Likewise.
18823 * sunrpc/svc_udp.c: Likewise.
18824 * sunrpc/svc_unix.c: Likewise.
18825 * sunrpc/xdr.c: Likewise.
18826 * sunrpc/xdr_array.c: Likewise.
18827 * sunrpc/xdr_rec.c: Likewise.
18828 * sunrpc/xdr_ref.c: Likewise.
18829 * sunrpc/xdr_stdio.c: Likewise.
18830
1248c1c4
PB
188312011-09-09 Ulrich Drepper <drepper@gmail.com>
18832
18833 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18834
188352011-07-03 Andreas Jaeger <aj@suse.de>
18836
18837 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18838 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18839 regenerate with gen-libm-tests.pl.
18840
188412010-05-12 Petr Baudis <pasky@suse.cz>
18842
18843 [BZ #11589]
18844 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18845 around j0() zero points by switching to j1().
18846 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18849 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18850
f22e1074
UD
188512011-09-09 Ulrich Drepper <drepper@gmail.com>
18852
f19009c1
UD
18853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18854 instead of 0.
18855 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18856 instead of 0. .
18857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18858 Patch in part by Pavel Roskin <proski@gnu.org>.
18859
3f8cc204
UD
18860 [BZ #13138]
18861 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18862 realloc.
18863 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18864 Free memory block if necessary.
18865
f22e1074
UD
18866 [BZ #12847]
18867 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18868 be NULL. Don't lock in this case.
18869
0a2349f9
RM
188702011-09-09 Roland McGrath <roland@hack.frob.com>
18871
18872 * elf/elf.h (ELFOSABI_GNU): New macro.
18873 (ELFOSABI_LINUX): Define to that.
18874
f3cdd467
DZ
188752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18876
18877 * string/strncat.c (strncat): Undef the symbol in case it has been
18878 defined in bits/string.h.
18879
74718d13
UD
188802011-09-09 Ulrich Drepper <drepper@gmail.com>
18881
633e9e0f
UD
18882 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18883
0a2349f9 18884 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18885 link map.
18886
f9924780
AJ
188872011-08-17 Andreas Jaeger <aj@suse.de>
18888
18889 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18890
7f5517aa
PP
188912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18892 Ian Lance Taylor <iant@google.com>
18893
18894 * math/libm-test.inc (lround_test): New testcase.
18895 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18896
762011fe
UD
188972011-09-08 Ulrich Drepper <drepper@gmail.com>
18898
92963737
UD
18899 * Makefile: Remove support for automatic cvs check-ins.
18900 * Makerules: Likewise.
18901 * config.make.in: Likewise.
18902 * configure.in: Likewise.
18903 * intl/Makefile: Likewise.
18904 * locale/Makefile: Likewise.
18905 * po/Makefile: Likewise.
18906 * posix/Makefile: Likewise.
18907 * sysdeps/gnu/Makefile: Likewise.
18908 * sysdeps/mach/hurd/Makefile: Likewise.
18909 * sysdeps/sparc/sparc32/Makefile: Likewise.
18910
b0727fd8
JS
18911 [BZ #13118]
18912 * posix/Makefile (bug-regex32-ENV): Define.
18913 Patch by John Stanley <jpsinthemix@verizon.net>.
18914
a0f33f99
UD
18915 * misc/Makefile (headers): Add bits/select2.h.
18916 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18917 * misc/bits/select2.h: New file.
18918 * include/bits/select2.h: New file.
18919 * debug/Makefile (routines): Add fdelt_chk.
18920 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18921 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18922 FD_ISSET.
18923 * debug/fdelt_chk.c: New file.
18924
762011fe
UD
18925 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18926 * wcsmbs/test-wmemcmp.c: Likewise.
18927 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18928 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18929
189302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18931
18932 * string/Makefile (strop-tests): Add memcmp.
18933 * string/test-wmemcmp.c: New file.
18934 * string/test-memcmp.c: Add wmemcmp support.
18935
7f513ec8
RM
189362011-09-08 Roland McGrath <roland@hack.frob.com>
18937
0442afb4
RM
18938 [BZ #13153]
18939 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18940 2011-07-19 change.
18941
7f513ec8
RM
18942 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18943 garbage value in a __mach_port_mod_refs call in the cases of the
18944 task-self and thread-self ports.
18945
a12b2239
ST
189462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18947
18948 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18949
610f9ab4
AS
189502011-09-08 Andreas Schwab <schwab@redhat.com>
18951
7f513ec8 18952 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18953
48882a1a
LD
189542011-09-07 Ulrich Drepper <drepper@gmail.com>
18955
b49865be
UD
18956 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18957
fdc86bc9
UD
18958 * elf/dl-libc.c (dlerror_run): Pass back error code from
18959 dl_catch_error.
18960
c966526a
UD
18961 [BZ #13123]
18962 * elf/dl-load.c (lose): Free l_origin if it is valid.
18963
48882a1a
LD
18964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18965 names.
18966 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18969 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18971 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18972
77a2a8b4
AZ
189732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18974
18975 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18976 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18977 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18978 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18979 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18980 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18981 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18982 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18983 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18984 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18985
24f579d8
AM
189862011-08-15 Alan Modra <amodra@gmail.com>
18987
18988 [BZ #13092]
18989 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18990 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18991 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18992 ppc_mcount to static-only-routines.
18993 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18994 __mcount_internal.
18995 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18996 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18997
3d4837df
UD
189982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18999
19000 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19001 for finite and infinity parameters.
19002
22700377
WS
190032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19004
19005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19006 and add nop instructions for throughput optimization.
19007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19008
5025581e
WS
190092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19010
19011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19012 aligned copy for power7 with vector-scalar instructions.
19013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19014
08a300c9
L
190152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19016
19017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19018 AVX check.
19019
59178ef9
AS
190202011-09-07 Andreas Schwab <schwab@redhat.com>
19021
19022 [BZ #13144]
19023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19024 last change.
19025
e38ba7ab
UD
190262011-09-07 Ulrich Drepper <drepper@gmail.com>
19027
19028 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19029 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19030 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19031 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19032 clock_gettime.
19033
d53a73ac
UD
190342011-09-06 Ulrich Drepper <drepper@gmail.com>
19035
fc8bffcc
UD
19036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19037 Forgot to demangle the pointer.
19038
ceaa0c5d
UD
19039 * sysdeps/i386/sysdep.h: Define atom_text_section.
19040 * sysdeps/x86_64/sysdep.h: Likewise.
19041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19042 section with atom_text_section.
19043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19045 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19048
a77d3c17
UD
19049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19051 already be defined. Change to take two parameters and don't assign
19052 result to variable. Adjust all users.
19053 Define INTERNAL_GETTIME if not already defined.
19054 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19055 call.
19056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19057 HAVE_CLOCK_GETTIME_VSYSCALL.
19058 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19059
d53a73ac
UD
19060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19061 gettimeofday vsyscall, just use time.
19062
a8f84144
AS
190632011-09-06 Andreas Schwab <schwab@redhat.com>
19064
19065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19066 <errno.h>.
19067
ef606249
UD
190682011-09-06 Ulrich Drepper <drepper@gmail.com>
19069
19070 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19071 syscall on x86-64.
19072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19073 syscall.
19074 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19076 syscall if possible.
19077
6585cb60
UD
190782011-09-05 Ulrich Drepper <drepper@gmail.com>
19079
19080 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19081 e_ident. Don't pass to find_mapsXX.
19082 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19083
a5f524e4
LD
190842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19085
19086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19087 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19088 * sysdeps/x86_64/multiarch/strchr.S: Update.
19089 Check bit_slow_BSF bit.
19090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19091 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19093
554881ef
UD
190942011-09-05 Ulrich Drepper <drepper@gmail.com>
19095
d96de963
UD
19096 [BZ #13134]
19097 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19098 before glibc 2.15.
19099 (tryshell): Define.
19100 (__spawni): Change last parameter to be flag. Test
19101 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19102 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19103 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19104 * posix/spawni.c: Likewise.
19105 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19106 * posix/spawnp.c: Likewise. Change normal version to use
19107 SPAWN_XFLAGS_USE_PATH.
19108 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19109 SPAWN_XFLAGS_TRY_SHELL.
19110
d48e5868
UD
19111 [BZ #13150]
19112 * posix/glob.h: Remove gcc 1.x support.
19113
554881ef
UD
19114 [BZ #13068]
19115 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19116
693fb948
LD
191172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19118
19119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19120 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19121 strrchr-sse2-bsf
19122 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19123 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19125 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19128
1b48c537
UD
191292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19130
49d42c37
UD
19131 * sysdeps/x86_64/wcscmp.S: New file.
19132
1b48c537
UD
19133 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19134 wcscmp-c wcscmp-sse2
19135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19136 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19137 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19138 * wcsmbs/wcscmp.c: Allow renaming.
19139
15c95c5d
DM
191402011-09-05 David S. Miller <davem@davemloft.net>
19141
19142 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19143 stack slot, rather than the struct return pointer slot.
19144 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19145 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19147 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19148
2f0ad8f3
UD
191492011-09-05 Ulrich Drepper <drepper@gmail.com>
19150
d88ae418
UD
19151 * po/ja.po: Update from translation team.
19152
2f0ad8f3
UD
19153 [BZ #13144]
19154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19155 kernel in 64-bit binaries.
19156
5f4318d1
DM
191572011-09-01 David S. Miller <davem@davemloft.net>
19158
19159 * elf/elf.h (HWCAP_SPARC_*): Move to..
19160 * sysdeps/sparc/sysdep.h: this new file and add new values.
19161 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19162 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19163 _DL_HWCAP_COUNT to 24.
19164 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19165 entries.
19166 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19167 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19168 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19170 instead of magic constants.
19171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19172
3ba57516
DM
191732011-08-31 David S. Miller <davem@davemloft.net>
19174
19175 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19177 Reimplement to do errno handling inline.
19178 (SYSCALL_ERROR_HANDLER): New macro.
19179 (__SYSCALL_STRING): Do not do errno handling in asm.
19180 (__CLONE_SYSCALL_STRING): Delete.
19181 (__INTERNAL_SYSCALL_STRING): Delete.
19182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19183 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19184 (PSEUDO): Reimplement to do errno handling inline.
19185 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19186 (SYSCALL_ERROR_HANDLER): New macro.
19187 (__SYSCALL_STRING): Do not do errno handling in asm.
19188 (__CLONE_SYSCALL_STRING): Delete.
19189 (__INTERNAL_SYSCALL_STRING): Delete.
19190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19191 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19192 i386.
19193 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19194 (inline_syscall*): Add 'err' argument.
19195 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19196 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19197 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19198 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19199
19200 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19201 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19202
2bc17433
AS
192032011-08-30 Andreas Schwab <schwab@redhat.com>
19204
19205 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19206
fbeb5f4d
JO
192072011-08-29 Jiri Olsa <jolsa@redhat.com>
19208
19209 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19210 directive.
19211
ad69cc26
DM
192122011-08-24 David S. Miller <davem@davemloft.net>
19213
19214 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19215
39dd69df
AS
192162011-08-24 Andreas Schwab <schwab@redhat.com>
19217
19218 * elf/Makefile: Add rules to build and run unload8 test.
19219 * elf/unload8.c: New file.
19220 * elf/unload8mod1.c: New file.
19221 * elf/unload8mod1x.c: New file.
19222 * elf/unload8mod2.c: New file.
19223 * elf/unload8mod3.c: New file.
19224
19225 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19226 it wasn't used.
19227
2c0b250a
DM
192282011-08-23 David S. Miller <davem@davemloft.net>
19229
19230 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19231 subtract stack bias.
19232 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19233 %sp not %fp in calculations.
19234 (_JMPBUF_UNWINDS_ADJ): Likewise.
19235
22044b48
DM
19236 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19237 (aio_suspend): Call it to force an exception region around the
19238 AIO_MISC_WAIT() invocation.
19239
2cae4995
AS
192402011-08-23 Andreas Schwab <schwab@redhat.com>
19241
19242 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19243 backslash.
19244
873a772e
AJ
192452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19246
19247 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19248 protection macro.
19249 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19250 and <dl-machine.h>.
19251 (Elf64_FuncDesc): Remove.
19252
25ad0df1
DM
192532011-08-22 David S. Miller <davem@davemloft.net>
19254
19255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19256 sigaltstack check, add missing cfi directives.
19257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19258 missing cfi directives, and sigaltstack handling.
19259
e888bcbe
AS
192602011-08-16 Andreas Schwab <schwab@redhat.com>
19261
19262 [BZ #11724]
19263 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19264 object is seen twice.
19265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19266
19267 * elf/Makefile (distribute): Add tst-initorder2.c.
19268 (tests): Add tst-initorder2.
19269 (modules-names): Add tst-initorder2a tst-initorder2b
19270 tst-initorder2c tst-initorder2d. Add rules to build them.
19271 ($(objpfx)tst-initorder2.out): New rule.
19272 * elf/tst-initorder2.c: New file.
19273 * elf/tst-initorder2.exp: New file.
19274
87162f46
AS
192752011-08-22 Andreas Schwab <schwab@redhat.com>
19276
70538b7f
AS
19277 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19278
f55ffe58
AS
19279 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19280 dependencies back to end of function.
19281
87162f46
AS
19282 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19283 $(elfobjdir)/ld.so.
19284
91b392a4
UD
192852011-08-21 Ulrich Drepper <drepper@gmail.com>
19286
19287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19288 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19290 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19291 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19292 of __vdso_gettimeofday.
19293 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19294 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19295 attribute_hidden.
19296 (_libc_vdso_platform_setup): Remove initialization of
19297 __vdso_gettimeofday and __vdso_time.
19298
5c43483f
UD
192992011-08-20 Ulrich Drepper <drepper@gmail.com>
19300
775a77e7
UD
19301 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19302 and fgetc_unlocked.
19303 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19304 getc_unlocked.
89f447ed 19305
49c74ba9
UD
19306 * elf/dl-open.c (add_to_global): Report additions to the global scope
19307 for LD_DEBUG=scopes.
19308 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19309 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19310
5c43483f
UD
19311 [BZ #13114]
19312 * stdio-common/Makefile (tests): Add bug24.
19313 * stdio-common/bug24.c: New file.
19314
a101b025
AJ
193152011-08-19 Andreas Jaeger <aj@suse.de>
19316
19317 [BZ #13114]
19318 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19319 non-existant file when using close-on-exec mode.
19320
c88f1766
UD
193212011-08-20 Ulrich Drepper <drepper@gmail.com>
19322
0276a718
UD
19323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19324 the very first instruction.
19325
c88f1766
UD
19326 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19327 the CFI state in the end.
19328 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19329 inclusion of dl-trampoline.h.
19330 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19331
51ccffa0
AS
193322011-08-19 Andreas Schwab <schwab@redhat.com>
19333
94d7165f
AS
19334 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19335 expectations for long double.
19336
51ccffa0
AS
19337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19338 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19339
fd708658 193402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19341
19342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19343 artificual limit depends upon the system page size.
19344
44f0a71e
UD
193452011-08-17 Ulrich Drepper <drepper@gmail.com>
19346
19347 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19348 * resolv/Makefile: Define CFLAGS-libresolv.
19349
8de79a24
AS
193502011-08-17 Andreas Schwab <schwab@redhat.com>
19351
19352 * nss/makedb.c (compute_tables): Make variables used in nested
19353 function static.
19354
27724598
UD
193552011-08-17 Ulrich Drepper <drepper@gmail.com>
19356
c5305d88
UD
19357 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19358 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19359 if buffer was too small.
19360
27724598
UD
19361 * elf/pldd.c (main): Attach to all threads in the process.
19362 Rewrite /proc handling to use *at functions.
19363
076fe015
UD
193642011-08-16 Ulrich Drepper <drepper@gmail.com>
19365
174baab3
UD
19366 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19367 specifies first scope to show.
19368 (dl_open_worker): Update callers. Move printing scope of new
19369 object to before the relocation.
44f0a71e 19370 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19371 * sysdeps/generic/ldsodefs.h: Update declaration.
19372
076fe015
UD
19373 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19374 string for the scope number.
19375
a60df2c3
UD
193762011-08-14 Ulrich Drepper <drepper@gmail.com>
19377
19378 * nscd/servicescache.c (cache_addserv): Make sure written is always
19379 initialized.
19380
5e4287d1
RM
193812011-08-14 Roland McGrath <roland@hack.frob.com>
19382
85ae0589
RM
19383 * sysdeps/i386/i486/bits/atomic.h
19384 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19385 statement expression, so as to suppress "set but not used" warning.
19386 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19387
69f63097
RM
19388 * string/strncat.c (STRNCAT): Use prototype definition.
19389
675456ef
RM
19390 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19391 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19392 -Iprograms here.
19393 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19394 (localedef-modules): Add localedef.
19395 (locale-modules): Add locale.
19396
5e4287d1
RM
19397 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19398 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19399 to avoid a warning.
19400
9c96ff23
DM
194012011-08-14 David S. Miller <davem@davemloft.net>
19402
19403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19404 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19405
f9ddf089
UD
194062011-08-13 Ulrich Drepper <drepper@gmail.com>
19407
44f0a71e 19408 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19409 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19410 * elf/rtld.c (dl_main): Set l_name of vDSO.
19411 Call _dl_show_scope when DL_DEBUG_SCOPES.
19412 (process_dl_debug): Recognize scopes flag and also set it for all.
19413 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19414 Declare _dl_show_scope.
19415
1dc27704
UD
19416 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19417 (do_dlopen): Pass caller_dlopen to dl_open.
19418 (__libc_dlopen_mode): Initialize caller_dlopen.
19419
f9ddf089
UD
19420 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19421 of libc. Make tolower call locale-independent. Optimize a bit by
19422 using isdigit instead of isalnum.
19423 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19424
9ac533d3
UD
194252011-08-12 Ulrich Drepper <drepper@gmail.com>
19426
19427 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19428 was a dependency or dynamically loaded.
19429
89edf2e9
UD
194302011-08-11 Ulrich Drepper <drepper@gmail.com>
19431
8e999d29
UD
19432 * intl/l10nflist.c: Allow architecture-specific pop function.
19433 * sysdeps/x86_64/l10nflist.c: New file.
19434
89edf2e9
UD
19435 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19436 classification.
19437
14d96785
AS
194382011-08-10 Andreas Schwab <schwab@redhat.com>
19439
19440 * include/dirent.h: Add libc_hidden_proto for scandirat and
19441 scandirat64. Don't declare __scandirat64.
19442 * dirent/scandirat.c: Add libc_hidden_def.
19443 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19444 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19445
6761ac04
DM
194462011-08-10 David S. Miller <davem@davemloft.net>
19447
19448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19449 enum.
19450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19453
c55fbd1e
UD
194542011-08-09 Ulrich Drepper <drepper@gmail.com>
19455
19456 * Versions.def [libc]: Add GLIBC_2.15.
19457 * dirent/Makefile (routines): Add scandirat and scandirat64.
19458 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19459 GLIBC_2.15.
19460 * dirent/dirent.h: Declare scandirat and scandirat64.
19461 * dirent/scandirat.c: New file.
19462 * dirent/scandirat64.c: New file.
19463 * sysdeps/wordsize-64/scandirat.c: New file.
19464 * sysdeps/wordsize-64/scandirat64.c: New file.
19465 * dirent/opendir.c: Define opendirat.
19466 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19467 using scandirat.
19468 * dirent/scandir64.c: Adjust for scandir.c change.
19469 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19470 __scandirat64, and __scandir_cancel_handler.
19471 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19472 additional parameter and use openat instead of open (outside of ld.so).
19473 Add new __opendir as wrapper around __opendirat.
19474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19475 here without requiring old scandirat implementation.
19476
879165f2
UD
194772011-08-08 Ulrich Drepper <drepper@gmail.com>
19478
19479 * dirent/scandir.c (cancel_handler): Renamed to
19480 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19481 defined. Adjust users.
19482 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19483 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19484
cb7e923b
UD
194852011-08-04 Ulrich Drepper <drepper@gmail.com>
19486
16292edd
UD
19487 * string/test-string.h (IMPL): Use __STRING to expand name and then
19488 stringify it.
19489
cb7e923b
UD
19490 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19491 of cleanups.
19492
cff82933
LD
194932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19494
19495 * string/Makefile: Update.
19496 (strop-tests): Append strncat.
19497 * string/test-wcscmp.c: New file.
19498 New comprehensive test for wcscmp.
19499 * string/test-strcmp.c: Update.
19500 (WIDE): New define.
19501
9be9bfcc
AS
195022011-07-22 Andreas Schwab <schwab@redhat.com>
19503
19504 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19505 line.
19506
2e96f1c7
AS
195072011-07-26 Andreas Schwab <schwab@redhat.com>
19508
19509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19510 encoding to ACE if AI_IDN.
19511
85188888
JJ
195122011-08-01 Jakub Jelinek <jakub@redhat.com>
19513
19514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19515 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19516
5fa16e9b
LD
195172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19518
19519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19520 Fix overflow bug in strncat.
19521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19522
19523 * string/test-strncat.c: Update.
19524 Add new tests for checking overflow bugs.
19525
195262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19527
19528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19529 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19530 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19531 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19533 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19534 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19535 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19536 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19537
19538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19539 (USE_AS_STRCAT): Define.
19540 Add strcat and strncat support.
19541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19542
8c1a459f
AS
195432011-07-25 Andreas Schwab <schwab@redhat.com>
19544
19545 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19546 __n bigger than INT_MAX+1.
19547 (__strncmp_g): Likewise.
19548
bba33c28
UD
195492011-07-23 Ulrich Drepper <drepper@gmail.com>
19550
798be72d
UD
19551 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19552 * libio/stido.h: Likewise.
19553
8accd4dc
UD
19554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19555 (AF_NFC): Define.
19556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19557 (AF_NFC): Define.
19558
cbff0d96
UD
19559 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19564
9191c04a
UD
19565 [BZ #13021]
19566 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19567 installed.
19568
bba33c28
UD
19569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19570 typo.
19571 (_dl_x86_64_save_sse): Likewise.
19572
90f139dd
UD
195732011-07-22 Ulrich Drepper <drepper@gmail.com>
19574
1aae088a
UD
19575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19576 OSXSAVE.
19577 (_dl_x86_64_save_sse): Likewise.
19578
8e2045f5
UD
19579 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19580
90f139dd
UD
19581 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19582
1d002f25
AS
195832011-07-21 Andreas Schwab <schwab@redhat.com>
19584
19585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19586 change.
19587 (_dl_x86_64_save_sse): Use correct AVX check.
19588
21137f89
UD
195892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19590
19591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19592 bug in strncpy/strncat.
19593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19594
a65c0b7a
UD
195952011-07-21 Ulrich Drepper <drepper@gmail.com>
19596
19597 * string/tester.c (test_strcat): Add tests for different alignments
19598 of source and destination.
19599 (test_strncat): Likewise.
19600
6986b98a
UD
196012011-07-20 Ulrich Drepper <drepper@gmail.com>
19602
90bb2039
UD
19603 [BZ #12852]
19604 * posix/glob.c (glob): Check passed in values before using them in
19605 expressions to avoid some overflows.
19606 (glob_in_dir): Likewise.
19607
5644ef54
UD
19608 [BZ #13007]
19609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19610 check for AVX enablement so that we don't crash with old kernels and
19611 new hardware.
19612 * elf/tst-audit4.c: Add same checks here.
19613 * elf/tst-audit6.c: Likewise.
19614
19615 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19616
bfc9dc9b
AS
196172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19618
19619 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19620
702e64bb
UD
196212011-07-20 Ulrich Drepper <drepper@gmail.com>
19622
19623 * po/cs.po: Update from translation team.
19624 * po/bg.po: Likewise.
19625
295e904f
MP
196262011-07-12 Marek Polacek <mpolacek@redhat.com>
19627
19628 * misc/sys/cdefs.h: Add support for const attribute.
19629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19630 to gnu_dev_{major,minor,makedev} functions.
19631
3ff94596
MP
196322011-07-20 Marek Polacek <mpolacek@redhat.com>
19633
19634 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19635
28b59fca
AS
196362011-07-20 Andreas Schwab <schwab@redhat.com>
19637
19638 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19639 strlen results.
19640
19df733e
AK
196412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19642
19643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19644 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19645 register in order to avoid conflicts with the soft frame pointer
19646 being held in r11 when necessary.
19647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19648 (INTERNAL_VSYSCALL_NCS): Likewise.
19649
c8835729
MP
196502011-07-14 Marek Polacek <mpolacek@redhat.com>
19651
19652 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19653 * elf/dl-fini.c (_dl_fini): Adjust caller.
19654 * elf/dl-close.c (_dl_close_worker): Likewise.
19655 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19656
b902330c
MP
196572011-07-15 Marek Polacek <mpolacek@redhat.com>
19658
8991e135
MP
19659 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19660 "aux_cache->nlibs < 0".
19661
b902330c
MP
19662 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19663 in the reload-count case.
19664
99710781
LD
196652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19666
19667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19668 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19669 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19671 * sysdeps/x86_64/multiarch/strcat.S: New file.
19672 * sysdeps/x86_64/multiarch/strncat.S: New file.
19673 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19675 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19676 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19678 (USE_AS_STRCAT): Define.
19679 Add strcat and strncat support.
19680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19682 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19683 * string/strncat.c: Update.
19684 (USE_AS_STRNCAT): Define.
19685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19686 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19687 and i7.
19688 * sysdeps/x86_64/multiarch/init-arch.h
19689 (bit_Prefer_PMINUB_for_stringop): New.
19690 (index_Prefer_PMINUB_for_stringop): Likewise.
19691 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19692 bit_Prefer_PMINUB_for_stringop.
19693
7dc6bd90
UD
196942011-07-19 Ulrich Drepper <drepper@gmail.com>
19695
19696 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19697 buffer64.
19698 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19699 of casting of buffer.
19700 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19701 buffer32 and buffer64.
19702 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19703 writes instead of casting of buffer.
19704 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19705 buffer32.
19706 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19707 casting of buffer.
19708
e0e72284
AS
197092011-07-19 Andreas Schwab <schwab@redhat.com>
19710
19711 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19712
feb1eb0b
UD
197132011-07-19 Ulrich Drepper <drepper@gmail.com>
19714
19715 * nscd/nscd.c (termination_handler): Don't do anything for a database
19716 if it has not yet been initialized.
19717
298711ff
UD
197182011-07-18 Ulrich Drepper <drepper@gmail.com>
19719
19720 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19721
197222011-07-15 Marek Polacek <mpolacek@redhat.com>
19723
19724 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19725
f9d68389
UD
197262011-07-18 Ulrich Drepper <drepper@gmail.com>
19727
19728 * po/nl.po: Update from translation team.
19729 * po/sv.po: Likewise.
19730
db290cf5
RM
197312011-07-16 Roland McGrath <roland@hack.frob.com>
19732
19733 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19734 now disallowed by GCC.
5c550700 19735
fd5e21c7
RM
19736 * configure.in (use-default-link): Default to yes if a test -shared
19737 link meets our qualifications.
19738 * configure: Regenerated.
19739
5c550700
RM
19740 * config.make.in (output-format): New variable.
19741 * configure.in: Check for ld --print-output-format support.
19742 * configure: Regenerated.
19743 * Makerules ($(common-objpfx)format.lds)
19744 [$(output-format) != unknown]: Just use $(output-format),
19745 instead of the linker-script munging.
19746
9fa2c032
RM
197472011-07-14 Roland McGrath <roland@hack.frob.com>
19748
a6928d51
RM
19749 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19750 of $(common-objpfx)shlib.lds.
19751 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19752
661607b3
RM
19753 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19754 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19755
9fa2c032
RM
19756 * configure.in (-z relro check): Adjust test code to add a large
19757 writable data section after it.
19758 * configure: Regenerated.
19759
defe9061
RM
197602011-07-11 Roland McGrath <roland@hack.frob.com>
19761
19762 * configure.in (-z relro check): Fix test code to make the variable
19763 truly const.
19764 * configure: Regenerated.
19765
319b9ad4
UD
197662011-07-11 Ulrich Drepper <drepper@gmail.com>
19767
19768 * nscd/nscd.h (struct traced_file): Define.
19769 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19770 elements. Add traced_files.
19771 (inotify_fd): Declare.
19772 (register_traced_file): Declare.
19773 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19774 (inotify_fd): Export.
19775 (resolv_conf_descr): Remove.
19776 (nscd_init): Move inotify descriptor creation to main.
19777 Don't register files for notification here.
19778 (register_traced_file): New function.
19779 (invalidate_cache): Don't use reset_res to determine whether to call
19780 res_init, go through the list of registered files.
19781 (main_loop_poll): The inotify descriptors are now stored in the
19782 structures for the traced files.
19783 (main_loop_epoll): Likewise
19784 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19785 to __nss_disable_nscd.
19786 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19787 for a database anymore. Check the records for all the registered
19788 files instead.
19789 * nss/Makefile (libnss_files-routines): Add files-init.
19790 (libnss_db-routines): Add db-init.
19791 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19792 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19793 * nss/nss_db/db-init.c: New file.
19794 * nss/nss_files/files-init.c: New file.
19795 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19796 __nss_lookup_function.
19797 (__nss_lookup_function): Call nss_load_library.
19798 (nss_load_all_libraries): New function.
19799 (__nss_disable_nscd): Take parameter with callback function for files
19800 to register. Set is_nscd. Load all the DSOs for the NSS modules
19801 used for the cached services.
19802 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19803 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19804 options for features to all the files in nscd.
19805
19806 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19807
23bee3e8
RM
198082011-07-10 Roland McGrath <roland@hack.frob.com>
19809
19810 * csu/elf-init.c (__libc_csu_init): Comment typo.
19811
46a5b7f0
UD
198122011-07-09 Ulrich Drepper <drepper@gmail.com>
19813
19814 * po/pl.po: Update from translation team.
19815 * po/ja.po: Likewise.
19816 * po/ru.po: Likewise.
19817 * po/ko.po: Likewise.
19818 * po/fr.po: Likewise.
19819
d30cf5bb
RM
198202011-07-09 Roland McGrath <roland@hack.frob.com>
19821
113ddea4
RM
19822 * configure.in (.ctors/.dtors header and trailer check):
19823 Use an empirical test on a built program.
19824 * configure: Regenerated.
19825
574920b4
RM
19826 * configure.in (-z relro check): Use an empirical test on a built DSO.
19827 Detect, but do not require, on ia64.
19828 * configure: Regenerated.
19829
d30cf5bb
RM
19830 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19831 Update tests that use readelf to use $READELF instead.
19832 * configure: Regenerated.
19833
8538fdb3
UD
198342011-07-08 Ulrich Drepper <drepper@gmail.com>
19835
19836 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19837 if the result is not used.
19838
04d08991
AJ
198392011-07-05 Andreas Jaeger <aj@suse.de>
19840
19841 [BZ#9696]
19842 * stdlib/tst-strtod.c: Add testcase.
19843
de283087
AD
198442011-07-07 Ulrich Drepper <drepper@gmail.com>
19845
4e5f31c8 19846 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19847 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19848 The latter has a higher limit. Take additional parameter to pass to
19849 the new function.
19850 (__pathconf): Pass file to __statfs_link_max.
19851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19852 __statfs_link_max.
19853 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19854 __statfs_link_max.
19855
de283087
AD
19856 [BZ #12868]
19857 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19859 Handle Lustre.
19860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19861 (__statfs_filesize_max): Likewise.
19862 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19863
c75fa153
AJ
198642011-07-05 Andreas Jaeger <aj@suse.de>
19865
19866 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19867
1a544854
UD
198682011-07-06 Marek Polacek <mpolacek@redhat.com>
19869
19870 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19871 `status' variable.
19872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19873 Likewise.
19874
6f0eec67
UD
198752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * Makefile (strop-tests): Add strncat.
19878 * string/test-strncat.c: New file.
19879
aae30307
UD
198802011-06-30 Marek Polacek <mpolacek@redhat.com>
19881
19882 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19883
c0cfb5eb
UD
198842011-06-21 Andreas Jaeger <aj@suse.de>
19885
19886 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19887 Copy rule from iconvdata/Makefile.
19888
01636b21
UD
198892011-07-06 Ulrich Drepper <drepper@gmail.com>
19890
19891 [BZ #12922]
19892 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19893 but no long options are defined, just return 'W'.
19894
9895c8bc
UD
198952011-06-22 Marek Polacek <mpolacek@redhat.com>
19896
19897 [BZ #9696]
19898 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19899
5d4cf042
UD
199002011-07-06 Ulrich Drepper <drepper@gmail.com>
19901
19902 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19903 netgroups to read.
960e5535 19904 (innetgr): Likewise.
5d4cf042 19905
751eb97e
RM
199062011-07-05 Roland McGrath <roland@hack.frob.com>
19907
19908 * config.make.in (install_root): Default to $(DESTDIR).
19909
f15f1e45
UD
199102011-07-05 Ulrich Drepper <drepper@gmail.com>
19911
19912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19913
4e34ac6a
RM
199142011-07-02 Roland McGrath <roland@hack.frob.com>
19915
5e9b6af4
RM
19916 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19917
84f9ea0f
RM
19918 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19919 containing directory rather than embedding absolute directory names.
19920
ea5ee9f7
RM
19921 * scripts/check-local-headers.sh: Rewritten using awk.
19922 Match by word, not by line. Print error messages for matches.
19923 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19924
1b74661a
RM
19925 * Makerules [shlib-lds-flags empty]:
19926 ($(common-objpfx)libc_pic.opts): New target.
19927 ($(common-objpfx)libc_pic.os.clean): New target.
19928 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19929
19930 * config.make.in (OBJCOPY): New variable.
19931 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19932 * configure: Regenerated.
19933
f781ef40
RM
19934 * config.make.in (use-default-link): New variable.
19935 * configure.in (use_default_link): Grok --with-default-link to set it.
19936 * configure: Regenerated.
19937 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19938 (shlib-lds, shlib-lds-flags): Define to empty.
19939
2d4fa81e
RM
19940 * Makerules (shlib-lds): New variable.
19941 (shlib-lds-flags): New variable.
19942 (build-shlib, build-moduile, build-module-asneeded): Use it.
19943 ($(common-objpfx)libc.so): Use $(shlib-lds).
19944 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19945 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19946
31fffa6b
RM
19947 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19948 DT_FLAGS/DT_FLAGS_1 with zero flags.
19949
4e34ac6a
RM
19950 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19951 linker script munging.
19952
fcfc776b
UD
199532011-07-02 Ulrich Drepper <drepper@gmail.com>
19954
19955 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19956 as 128-bit value.
19957 * crypt/sha512.c (sha512_process_block): Perform total addition using
19958 128-bit if possible.
19959 (__sha512_finish_ctx): Likewise.
19960 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19961 as 64-bit value.
19962 * crypt/sha256.c (SWAP64): Define.
19963 (sha256_process_block): Perform total addition using 64-bit if
19964 possible.
19965 (__sha256_finish_ctx): Likewise.
19966
99231d9a
UD
199672011-07-01 Ulrich Drepper <drepper@gmail.com>
19968
19969 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19971 * nscd/hstcache.c (cache_addhst): Likewise.
19972 * nscd/grpcache.c (cache_addgr): Likewise.
19973 * nscd/aicache.c (addhstaiX): Likewise
19974 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19975
445b4a53
TK
199762011-07-01 Thorsten Kukuk <kukuk@suse.de>
19977
19978 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19980 * nscd/hstcache.c (cache_addhst): Likewise.
19981 * nscd/grpcache.c (cache_addgr): Likewise.
19982 * nscd/aicache.c (addhstaiX): Likewise
19983
6d4d8e8e
AS
199842011-07-01 Andreas Schwab <schwab@redhat.com>
19985
19986 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19987 domain only when needed.
19988
89f654c5
AS
199892011-06-30 Andreas Schwab <schwab@redhat.com>
19990
19991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19992 is always restored.
19993
cf3b23ff
UD
199942011-06-29 Ulrich Drepper <drepper@gmail.com>
19995
19996 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19997 are re-adding the entry.
19998 * nscd/servicescache.c (cache_addserv): Likewise.
19999
751626f9
AJ
200002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20001
20002 * sysdeps/generic/dl-irel.h: fix protection against multiple
20003 inclusions.
20004 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20005
9113ea1f
UD
200062011-06-28 Ulrich Drepper <drepper@gmail.com>
20007
5c0b8d90
UD
20008 [BZ #12935]
20009 * malloc/memusage.sh: Fix quoting in message.
20010 * debug/xtrace.sh: Likewise.
20011
9113ea1f
UD
20012 * configure.in: Remove support for --experimental-malloc option, make
20013 it the default.
20014 * config.make.in: Likewise.
20015 * malloc/Makefile: Likewise.
20016
a4172181
AS
200172011-06-27 Andreas Schwab <schwab@redhat.com>
20018
20019 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20020 two-byte characters.
20021
78a7eee7
RM
200222011-06-27 Roland McGrath <roland@hack.frob.com>
20023
62bede13
RM
20024 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20025 AC_CACHE_CHECK invocation.
20026 * configure: Regenerated.
20027
78a7eee7
RM
20028 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20029
5ce33a62
UD
200302011-06-27 Ulrich Drepper <drepper@gmail.com>
20031
034807a9
UD
20032 [BZ #12350]
20033 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20034 bit from old_res_options.
20035
4902da17
UD
20036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20037
5ce33a62
UD
20038 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20039 value type for setfct.
20040
c2344f56
L
200412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20042
20043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20044 __gettimeofday instead of gettimeofday.
20045
68468076
UD
200462011-06-26 Ulrich Drepper <drepper@gmail.com>
20047
20048 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20049
acb0d739
L
200502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20051
20052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20053
20054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20055 info.
20056
8912479f
L
200572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20058
20059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20060 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20061 strcpy-sse2-unaligned strncpy-sse2-unaligned
20062 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20063 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20064 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20065 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20066 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20069 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20070 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20071 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20072 (STRCPY): Support SSE2 and SSSE3 versions.
20073
d5495a11
UD
200742011-06-24 Ulrich Drepper <drepper@gmail.com>
20075
20076 [BZ #12874]
20077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20078 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20079 kernels which artificially limit size of requests.
20080
0b1cbaae
L
200812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20082
20083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20084 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20085 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20086 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20087 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20088 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20089 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20090 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20093 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20094 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20095 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20096 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20097 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20099 Enable unaligned load optimization for Intel Core i3, i5 and i7
20100 processors.
20101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20102 Define.
20103 (index_Fast_Unaligned_Load): Define.
20104 (HAS_FAST_UNALIGNED_LOAD): Define.
20105
07f494a0
MP
201062011-06-23 Marek Polacek <mpolacek@redhat.com>
20107
20108 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20109
fa3fc0fe
UD
201102011-06-22 Ulrich Drepper <drepper@gmail.com>
20111
20112 [BZ #12907]
20113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20114 until it is clear that the information is realy needed.
20115 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20116
e12df166
AS
201172011-06-22 Andreas Schwab <schwab@redhat.com>
20118
20119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20120
852eb34d
UD
201212011-06-22 Ulrich Drepper <drepper@gmail.com>
20122
84e2a551
UD
20123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20124 /sys/devices/system/cpu/online if it is usable.
20125
852eb34d
UD
20126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20127 reading the information from the /proc filesystem to once a second.
20128
6e502e19
UD
201292011-06-21 Andreas Jaeger <aj@suse.de>
20130
20131 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20132 NULL after inclusion of kernel headers.
20133
75d39ff2
UD
201342011-06-21 Ulrich Drepper <drepper@gmail.com>
20135
51f9aa6a
UD
20136 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20137 calls to internal_setent.
20138
c0244a9d
UD
20139 [BZ #12885]
20140 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20141 addresses using gethostbyname4_r ignore IPv4 addresses.
20142
c5e3c2ae
UD
20143 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20144 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20145
75d39ff2
UD
20146 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20147
42675c6f
DM
201482011-06-20 David S. Miller <davem@davemloft.net>
20149
20150 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20151 inclusions.
20152 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20153
20154 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20155 (elf_irel): Use it.
20156 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20157 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20158 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20159 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20160 * sysdeps/x86_64/dl-irel.h: Likewise.
20161
20162 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20163 * elf/dl-sym.c: Likewise.
20164
57912a71
UD
201652011-06-15 Ulrich Drepper <drepper@gmail.com>
20166
20167 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20168 need to dereference resplen2.
20169
ee22793d
AS
201702011-06-14 Andreas Schwab <schwab@redhat.com>
20171
20172 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20173
a9e836b0
UD
201742011-06-15 Ulrich Drepper <drepper@gmail.com>
20175
77fb9117
UD
20176 * Makeconfig: Define vardbdir and inst_vardbdir.
20177 * nss/Makefile: Add rules to install db-Makefile.
20178
40c1b22c
UD
20179 * nss/nss_db/db-XXX.c: Cleanup.
20180
9f2da732
UD
20181 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20182 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20183 GLIBC_PRIVATE.
20184 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20185 * nss/makedb.c: Implement -g option to specify that value strings
20186 are generated and should not be added to table iterated over for
20187 get*ent calls.
20188 * nss/nss_db/db-initgroups.c: New file.
20189
82e9a1f7
UD
20190 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20191 interface.
20192
c41af17e
UD
20193 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20194 (internal_getgrouplist): Adjust to name change.
20195 Update use_initgroups_entry if this is not the first call.
20196 * nss/databases.def: Add initgroups entry.
20197
a9e836b0
UD
20198 * nss/makedb.c (compute_tables): Check result of multiple hash table
20199 sizes to minimize maximum chain length.
20200
2666d441
UD
202012011-06-14 Ulrich Drepper <drepper@gmail.com>
20202
20203 * Versions.def: Add entry for libnss_db.
20204 * shlib-versions: Likewise.
20205 * nss/Makefile: Add rules to build libnss_db.
20206 * nss/Versions: Add libnss_db information. Organize libnss_files
20207 entries better.
20208 * nss/db-Makefile: Add gshadow support. Change rules for the new
20209 makedb progra. Some minor improvements to generate smaller files.
20210 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20211 here from...
20212 * nss/makedb.c: ...here.
20213 Improve database format to be smaller and require less memory at
20214 runtime.
20215 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20216 db anymore.
20217 * nss/nss_db/db-netgrp.c: Likewise.
20218 * nss/nss_db/db-open.c: Likewise.
20219 * nss/nss_files/flies-XXX.x: Adjust comments.
20220 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20221 * nss/nss_files/files-grp.c: Likewise.
20222 * nss/nss_files/files-hosts.c: Likewise.
20223 * nss/nss_files/files-network.c: Likewise.
20224 * nss/nss_files/files-proto.c: Likewise.
20225 * nss/nss_files/files-pwd.c: Likewise.
20226 * nss/nss_files/files-rpc.c: Likewise.
20227 * nss/nss_files/files-service.c: Likewise.
20228 * nss/nss_files/files-sgrp.c: Likewise.
20229 * nss/nss_files/files-spwd.c: Likewise.
20230 * nss/nss_db/db-alias.c: Removed.
20231 * nss/nss_db/dummy-db.h: Removed.
20232
9ee76b5a
UD
202332011-06-02 Ulrich Drepper <drepper@gmail.com>
20234
20235 * nss/makedb.c: Rewritten to not use database library.
20236 * nss/Makefile: Update to build new makedb program.
20237
c71ca1f8
AJ
202382011-06-14 Andreas Jaeger <aj@suse.de>
20239
20240 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20241 memset declaration.
20242
3154bfb8
UD
202432011-06-10 Andreas Schwab <schwab@redhat.com>
20244
20245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20246 tmpbuf.
20247
b350afab
RM
202482011-06-10 Roland McGrath <roland@hack.frob.com>
20249
decd4e50
RM
20250 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20251 * elf/Makefile ($(objpfx)ld.so): Likewise.
20252
5615eaf2
RM
20253 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20254 Don't list ld.so twice in dependencies.
20255
20256 * posix/bug-regex31.c: Include <stdlib.h>.
20257
20258 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20259
20260 * nis/nss_compat/compat-spwd.c
20261 (getspent_next_nss_netgr): Remove unused variable.
20262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20263
20264 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20265 nonmembers" output to use the right array.
20266
20267 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20268
20269 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20270
20271 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20272 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20273 * catgets/gencat.c (read_input_file): Likewise.
20274 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20275
20276 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20277 variable definition inside #if's controlling its use.
20278
20279 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20280
20281 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20282
20283 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20284
20285 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20286 unreachable code.
20287
20288 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20289
b68e08db
RM
20290 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20291 * configure: Regenerated.
20292
b350afab
RM
20293 * Makerules: Revert last change.
20294 * elf/Makefile: Likewise.
20295
28368601
RM
202962011-06-09 Roland McGrath <roland@hack.frob.com>
20297
20298 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20299 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20300 (reloc-link): Likewise.
20301
11988f8f
UD
203022011-06-09 Ulrich Drepper <drepper@gmail.com>
20303
20304 * elf/Makefile: Add rules to build pldd.
20305 * elf/pldd.c: New file.
20306 * elf/pldd-xx.c: New file.
20307
e80fab37
UD
203082011-06-07 Ulrich Drepper <drepper@gmail.com>
20309
20310 * version.h: Update for 2.15 development version.
20311
9b849836
DM
203122011-06-07 David S. Miller <davem@davemloft.net>
20313
20314 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20315 ifuncs.
20316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20317 elf_machine_lazy_rel): Likewise.
20318 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20320 elf_machine_lazy_rel): Likewise.
20321 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20322 dl_hwcap via passed in argument.
20323 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20324 Likewise.
20325
5a31b283
AK
203262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20327
20328 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20329
069e52f8
RM
203302011-06-06 Roland McGrath <roland@hack.frob.com>
20331
20332 [BZ #12849]
20333 * manual/fdl-1.1.texi: New file, verbatim from:
20334 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20335 * manual/lgpl-2.1.texi: New file, verbatim from:
20336 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20337 * manual/Makefile (licenses): New variable, list those new file names.
20338 (texis): Use it.
20339 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20340
20341 * manual/fdl.texi: File removed.
20342 * manual/lesser.texi: File removed.
20343 * manual/libc.texinfo (Copying, Documentation License):
20344 Use new @include file names, put @appendix directive before @include.
20345
f16846a5
JJ
203462011-06-04 Jakub Jelinek <jakub@redhat.com>
20347
20348 [BZ #12841]
20349 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20350 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20351 (mq_open): Add __NTH.
20352
3d29045b
L
203532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20354
20355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20356 Assume Intel Core i3/i5/i7 processor if AVX is available.
20357
8c297311
UD
203582011-05-31 Ulrich Drepper <drepper@gmail.com>
20359
20360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20361 typo.
20362
c8fc0c91
UD
203632011-05-31 Andreas Schwab <schwab@redhat.com>
20364
20365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20366 memory. Use alloca_account. Fix memory leak when retrying.
20367
5b27a807
UD
203682011-05-31 Ulrich Drepper <drepper@gmail.com>
20369
356f8bc6
UD
20370 * version.h (RELEASE): Bump for 2.14 release.
20371 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20372
5b27a807
UD
20373 * config.make.in (RANLIB): Remove entry.
20374
01f16ab0
UD
203752011-05-30 Ulrich Drepper <drepper@gmail.com>
20376
41fce8bd
UD
20377 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20378 (libc.pot): Work around missing support for .ksh extension in xgettext.
20379
4769ae77
UD
20380 [BZ #12684]
20381 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20382 if both request failed.
20383 (send_dg): In case of server errors clear resplen or *resplen2.
20384
6b1e7d19
UD
20385 [BZ #12454]
20386 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20387 when there are multiple maps.
20388 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20389 (_dl_fini): Remove test here.
20390
01f16ab0
UD
20391 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20392
b1ebd700
UD
203932011-05-29 Ulrich Drepper <drepper@gmail.com>
20394
7ae22829
UD
20395 [BZ #12350]
20396 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20397 bit from old_res_options.
20398 (gaih_inet): Likewise.
20399
553149f6 20400 [BZ #11099]
18a84741 20401 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20402 as signed.
20403
652ffab1
UD
20404 * resolv/res_init.c (res_setoptions): Make the code more compact.
20405
16985fd0
UD
20406 [BZ #11558]
20407 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20408 set RES_USEVC.
20409
0464f746
UD
20410 [BZ #11634]
20411 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20412
7d17596c
UD
20413 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20414
cf6bbbd7
UD
20415 [BZ #11781]
20416 * malloc/malloc.h: Declare malloc hook variables as volatile.
20417
13f1ab36
UD
20418 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20419 in last patch.
20420
b1ebd700
UD
20421 [BZ #11799]
20422 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20423 raise in the comment.
80e2212d
UD
20424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20427
ce67228d
UD
204282011-05-28 Ulrich Drepper <drepper@gmail.com>
20429
8887a920
UD
20430 [BZ #12811]
20431 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20432 grow the buffers more if it already has to be sufficient.
20433 (build_wcs_upper_buffer): Likewise.
20434 * posix/regexec.c (check_matching): Likewise.
20435 (clean_state_log_if_needed): Likewise.
20436 (extend_buffers): Don't enlarge buffers beyond size of the input
20437 buffer.
20438 Patches mostly by Emil Wojak <emil@wojak.eu>.
20439 * posix/bug-regex32.c: New file.
20440 * posix/Makefile (tests): Add bug-regex32.
20441
4f031072
UD
20442 * locale/findlocale.c (_nl_find_locale): Return right away if
20443 _nl_explode_name failed.
20444 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20445
d0478f0c
UD
20446 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20447
de81b246
UD
20448 * debug/xtrace.sh: Unify messages.
20449 * malloc/memusage.sh: Likewise.
20450
c738465a
UD
20451 [BZ #12813]
20452 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20453 time symbol from vDSO. Substitute with vsyscall if not available.
20454 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20455 __vdso_time.
20456
f1f929d7
UD
20457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20458 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20459 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20460 Add sendmmsg and internal_sendmmsg.
20461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20462 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20463 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20464
ce67228d
UD
20465 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20466 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20468
e57420c6
UD
204692011-05-27 Ulrich Drepper <drepper@gmail.com>
20470
a8509ca5
UD
20471 [BZ #12813]
20472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20473 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20474 available.
20475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20476 __vdso_getcpu.
20477
e57420c6
UD
20478 [BZ #12814]
20479 * iconvdata/Makefile (tests): Add bug-iconv9.
20480 * iconvdata/bug-iconv9.c: New file.
20481
4d07db15
AS
204822011-05-27 Andreas Schwab <schwab@redhat.com>
20483
20484 [BZ #12814]
20485 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20486
ea486f69
JJ
204872011-05-25 Jakub Jelinek <jakub@redhat.com>
20488
20489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20490 (struct user_regs_struct): Change intcs field back to cs.
20491
6f038433
UD
204922011-05-25 Ulrich Drepper <drepper@gmail.com>
20493
20494 * po/ja.po: Update from translation team.
20495
67f86a25
UD
204962011-05-23 Ulrich Drepper <drepper@gmail.com>
20497
20498 [BZ #12795]
20499 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20501
def7fbd6
AS
205022011-05-20 Andreas Schwab <schwab@redhat.com>
20503
20504 * stdlib/longlong.h: Update from GCC.
20505
f50ef8f1
AS
205062011-05-23 Andreas Schwab <schwab@redhat.com>
20507
20508 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20509 parameter name.
20510 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20511 Add parameter name.
20512 (__sysconf): Pass it down.
20513
de7ce8f1
UD
205142011-05-22 Ulrich Drepper <drepper@gmail.com>
20515
f2962a71
UD
20516 [BZ #12671]
20517 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20518 some situations.
20519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20520 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20521 add in in __libc_use_alloca calls. Adjust callers.
20522 (glob): Use malloc in some situations.
20523
de7ce8f1
UD
20524 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20525 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20526 pltexit.
20527
aec84f53
UD
205282011-05-21 Ulrich Drepper <drepper@gmail.com>
20529
05bb4a68
UD
20530 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20531 and CLOCK_BOOTTIME_ALARM.
20532
7ea72f99
UD
20533 [BZ #12782]
20534 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20535 is returned.
20536
7e4afad5
UD
20537 * string/_strerror.c (__strerror_r): Print negative errors as signed
20538 numbers.
20539
8e211fec
UD
20540 [BZ #12777]
20541 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20542 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20543 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20544
f7d82dc9
UD
20545 * configure.in: Fix typo in redirection and correct removal of test
20546 files in two cases.
20547
cc9e536d
UD
20548 [BZ #12788]
20549 * locale/setlocale.c (new_composite_name): Fix test to check for
20550 identical name of all categories.
20551
aec84f53
UD
20552 [BZ #12792]
20553 * libio/filedoalloc.c (local_isatty): New function.
20554 (_IO_file_doallocate): Use local_isatty.
20555 * stdio-common/perror.c (perror): In case a new stream is used
20556 forward the stream error.
20557 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20558 error flag.
20559
78e64fdc
RT
205602011-05-20 Ulrich Drepper <drepper@gmail.com>
20561
34a9094f
UD
20562 [BZ #11869]
20563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20564 alloca.
20565 * include/alloca.h (extend_alloca_account): Define.
20566
78e64fdc
RT
20567 [BZ #11857]
20568 * posix/regex.h: Fix comments with documentation of user-accessible
20569 fields after compilation and describe correct free'ing of pattern
20570 after re_compile_pattern.
20571 Patch by Reuben Thomas <rrt@sc3d.org>.
20572
457bddfc
RA
205732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20574
20575 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20576 and -mno-altivec to prevent the compiler from using Altivec and/or
20577 VSX instructions when the corresponding registers are not available.
20578
a4527b51
AS
205792011-05-19 Andreas Schwab <schwab@redhat.com>
20580
20581 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20582
ed690b2f
UD
205832011-05-19 Ulrich Drepper <drepper@gmail.com>
20584
20585 * libio/freopen.c (freopen): Use __dup2, not dup2.
20586 * libio/freopen64.c (freopen64): Likewise.
20587
8db73634
L
205882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20589
20590 [BZ #12775]
20591 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20592 * math/Makefile (tests): Add test-powl.
20593 (CFLAGS-test-powl.c): Define.
20594 * math/test-powl.c: New file.
20595
0a197a9d
L
205962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20597
20598 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20599
ee30c380
UD
206002011-05-17 Ulrich Drepper <drepper@gmail.com>
20601
20602 [BZ #11837]
20603 * iconvdata/gb18030.c: Update to GB18020-2005.
20604
6ce75379
UD
206052011-05-16 Ulrich Drepper <drepper@gmail.com>
20606
a4b89fd8
AR
20607 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20608 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20609 Patch by Aharon Robbins <arnold@skeeve.com>.
20610
ea389b12
UD
20611 [BZ #11892]
20612 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20613 on the stack.
20614
68a3f91f
UD
20615 [BZ #11895]
20616 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20617 through underflows.
20618
15cc7dd1
UD
20619 [BZ #12766]
20620 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20621 point to strings before performing equality test for error_one_per_line
20622 mode.
20623
f3799213
UD
20624 [BZ #11697]
20625 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20626
d79a9c94
UD
20627 [BZ #11820]
20628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20629 (struct user_fpregs_struct): Avoid __uint*_t types.
20630
56e5eb46
UD
20631 [BZ #6420]
20632 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20633 symbol info. Use it instead of calling _dl_addr locally.
20634 (lock_and_info): New function.
20635 (tr_freehook): Call lock_and_info and pass symbol info as additional
20636 parameter to tr_where.
20637 (tr_mallochook): Likewise.
20638 (tr_reallochook): Likewise.
20639 (tr_memalignhook): Likewise.
20640
6ce75379
UD
20641 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20642 used and couldn't be at all thread-safe.
20643
f8a3b5bf
UD
206442011-05-15 Ulrich Drepper <drepper@gmail.com>
20645
94b7cc37
UD
20646 * libio/freopen.c (freopen): Don't close old file descriptor
20647 before the new one is opened. Instead dup the new file descriptor
20648 to the old one after the new stream is created.
20649 * libio/freopen64.c (freopen64): Likewise.
20650 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20651 * libio/fileops.c (_IO_new_file_close_it): Handle new
20652 _IO_FLAGS2_NOCLOSE flag.
20653 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20654 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20655 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20656 _IO_FLAGS2_NOCLOSE flag.
20657 * include/unistd.h: Add hidden_proto for dup3.
20658 Define __have_dup3.
20659 * io/dup3.c: Define hidden symbol.
20660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20661
bd25564e
UD
20662 [BZ #7101]
20663 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20664 when an incomplete long option is used.
20665 * posix/tst-getopt_long1.c: New file.
20666 * posix/Makefile (tests): Add tst-getopt_long1.
20667
c84cfef4
UD
20668 [BZ #10138]
20669 * scripts/config.guess: Update from autoconf-2.68.
20670 * scripts/config.sub: Likewise.
20671
3b85df27
UD
20672 [BZ #10157]
20673 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20674 tests into ...
20675 (has_cpuclock): ...this. New function.
20676 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20677 macro here based on has_cpuclock code.
20678
15a856b1
UD
20679 [BZ #10149]
20680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20681 First byte (not low byte) is now always NUL.
20682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20683
05f399e6
UD
20684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20685 Use non-cancelable interfaces.
20686
10a52685 20687 [BZ #9809]
94ecc67d
UD
20688 * locale/iso-639.def: Add entry for Sorani.
20689
f8a3b5bf
UD
20690 [BZ #11901]
20691 * include/stdlib.h: Move include protection to the right place.
20692 Define abort_msg_s. Declare __abort_msg with it.
20693 * stdlib/abort.c (__abort_msg): Adjust type.
20694 * assert/assert.c (__assert_fail_base): New function. Majority
20695 of code from __assert_fail. Allocate memory for __abort_msg with
20696 mmap.
20697 (__assert_fail): Now call __assert_fail_base.
20698 * assert/assert-perr.c: Remove bulk of implementation. Use
20699 __assert_fail_base.
20700 * include/assert.hL Declare __assert_fail_base.
20701 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20702 mmap.
20703 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20704
1af4e298
UD
207052011-05-14 Ulrich Drepper <drepper@gmail.com>
20706
f8a3b5bf 20707 [BZ #11952]
d26dfc60
MG
20708 [BZ #12453]
20709 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20710 until all modules are registered in the DTV.
20711 * elf/Makefile: Add rules to build and run tst-tls19.
20712 * elf/tst-tls19.c: New file.
20713 * elf/tst-tls19mod1.c: New file.
20714 * elf/tst-tls19mod2.c: New file.
20715 * elf/tst-tls19mod3.c: New file.
20716 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20717
2fc54d6f
UD
20718 [BZ #12083]
20719 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20720 correctly.
20721
98d76b46
UD
20722 [BZ #12601]
20723 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20724 two-byte sequence errors.
20725 * iconvdata/Makefile (tests): Add bug-iconv8.
20726 * iconvdata/bug-iconv8.c: New file.
20727
da3c19ef
UD
20728 [BZ #12626]
20729 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20730 buf2 definition.
20731
ca408c15
UD
20732 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20733
d6f67f7d
UD
20734 [BZ #12432]
20735 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20736 (dummy_getcfa): New function.
20737 (init): Get _Unwind_GetCFA address, use dummy if not found.
20738 (backtrace_helper): In recursion check, also check whether CFA changes.
20739 (__backtrace): Completely initialize arg.
20740
1af4e298 20741 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20742 storing incomplete byte sequence in state object. Avoid testing for
20743 guaranteed too small input if we know there is enough data available.
1af4e298 20744
da62f81b
AS
207452011-05-11 Andreas Schwab <schwab@redhat.com>
20746
20747 * Makeconfig (+link-pie): Indent.
20748 * Rules (binaries-pie): Define if $(have-fpie) and
20749 $(build-shared).
20750 (binaries-shared): Also filter out $(binaries-pie).
20751 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20752 * nscd/Makefile (others-pie): Add nscd.
20753 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20754 ($(objpfx)nscd): Remove command override.
20755 * login/Makefile (others-pie): Add pt_chown.
20756 ($(objpfx)pt_chown): Remove command override.
20757 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20758 remove command overrides.
20759
fcabc0f8
UD
207602011-05-13 Ulrich Drepper <drepper@gmail.com>
20761
20030ae6
UD
20762 * libio/tst_putwc.c: Fix error messages.
20763
fcabc0f8
UD
20764 [BZ #12724]
20765 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20766 currently writing and seek to current position when not.
20767 * libio/Makefile (tests): Add bug-fclose1.
20768 * libio/bug-fclose1.c: New file.
20769
320a5dc0
PB
207702011-05-12 Ulrich Drepper <drepper@gmail.com>
20771
20772 [BZ #12511]
20773 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20774 don't set DF_1_NODELETE here.
20775 (do_lookup_x): When entering new entry test for copy relocation
20776 and if necessary set DF_1_NODELETE flag.
20777 * elf/tst-unique4.cc: New file.
20778 * elf/tst-unique4.h: New file.
20779 * elf/tst-unique4lib.cc: New file.
20780 * elf/Makefile: Add rules to build and run tst-unique4.
20781 Patch by Piotr Bury <pbury@goahead.com>.
20782
22836f52
UD
207832011-05-11 Ulrich Drepper <drepper@gmail.com>
20784
f574184a
UD
20785 [BZ #12052]
20786 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20787
e1fb097f
UD
20788 [BZ #12625]
20789 * misc/mntent_r.c (addmntent): Flush the stream after the output
20790
22836f52
UD
20791 [BZ #12393]
20792 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20793 (is_trusted_path_normalize): Skip initial colon. Append slash
20794 to empty buffer. Duplicate is_trusted_path code but allow
20795 constructed patch to be prefix.
20796 (is_dst): Allow $ORIGIN followed by /.
20797 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20798 Correct testing of result of is_trusted_path_normalize
20799 (decompose_rpath): Fix warning.
20800
7b3b0b2a
UD
208012011-05-10 Ulrich Drepper <drepper@gmail.com>
20802
20803 [BZ #11257]
20804 * grp/initgroups.c (internal_getgrouplist): When we found the service
20805 list through the initgroups entry in nsswitch.conf do not always
20806 continue on a successful lookup. Don't always use the
eac80ce2 20807 __nss_group_database value if it is set.
7b3b0b2a
UD
20808 * nss/nsswitch.conf (initgroups): Change action for successful db
20809 lookup to continue for compatibility.
20810
2a81eaa5
UD
208112011-05-09 Ulrich Drepper <drepper@gmail.com>
20812
be97a69e
UD
20813 [BZ #11532]
20814 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20815 and CP774 modules.
20816 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20817 and CP774 modules.
20818 * iconvdata/tst-tables.sh: Likewise.
20819 * iconvdata/cp770.c: New file.
20820 * iconvdata/cp771.c: New file.
20821 * iconvdata/cp772.c: New file.
20822 * iconvdata/cp773.c: New file.
20823 * iconvdata/cp774.c: New file.
20824 * iconvdata/testdata/CP770: New file.
20825 * iconvdata/testdata/CP770..UTF8: New file.
20826 * iconvdata/testdata/CP771: New file.
20827 * iconvdata/testdata/CP771..UTF8: New file.
20828 * iconvdata/testdata/CP772: New file.
20829 * iconvdata/testdata/CP772..UTF8: New file.
20830 * iconvdata/testdata/CP773: New file.
20831 * iconvdata/testdata/CP773..UTF8: New file.
20832 * iconvdata/testdata/CP774: New file.
20833 * iconvdata/testdata/CP774..UTF8: New file.
20834
20835 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20836 END CHARMAP line.
20837 * iconvdata/gen-8bit-gap.sh: Likewise.
20838 * iconvdata/gen-8bit.sh: Likewise.
20839
c1e9e399
UD
20840 * locale/iso-639.def: Add ary entry.
20841
24c55fb3 20842 [BZ #11258]
96b4b1b0
UD
20843 * locale/C-translit.h.in: Add U20A1 transliteration.
20844
bdc2f971
KB
20845 [BZ #12178]
20846 * locale/iso-639.def: Add wae entry.
20847 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20848
2952b117
UD
20849 [BZ #12545]
20850 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20851 for n.
20852
2a81eaa5
UD
20853 [BZ #12711]
20854 * locale/C-translit.h.in: Add entry for U20B9.
20855 Patch by pravin.d.s@gmail.com.
20856
28377d1b
UD
208572011-05-08 Ulrich Drepper <drepper@gmail.com>
20858
7fb90fb8
UD
20859 [BZ #12713]
20860 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20861 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20862 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20863 in rtld. Use *stat64.
7fb90fb8 20864 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20865 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20866 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20867 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20868 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20869 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20870 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20871 __fstatat64 macros.
7fb90fb8
UD
20872 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20873 * dirent/rewinddir.c: Add libc_hidden_def.
20874 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20875 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20876
28377d1b
UD
20877 * include/dirent.h (__alloc_dir): Add flags parameter.
20878 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20879 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20880 __alloc_dir.
20881 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20882 from fdopendir if O_CLOEXEC is already set.
20883
66bdbaa4
AM
208842011-03-15 Alan Modra <amodra@gmail.com>
20885
20886 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20887 l_tls_firstbyte_offset non-zero. Save padding offset in
20888 l_tls_firstbyte_offset for later use.
20889 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20890 freeing static tls block.
20891
95721191
JN
208922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20893
20894 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20895 where #ifdef was intended. The intent is to prevent ARG_MAX from
20896 being defined by the kernel headers.
20897
f87dfb1f
UD
208982011-05-07 Ulrich Drepper <drepper@gmail.com>
20899
20900 [BZ #12734]
20901 * resolv/resolv.h: Define RES_NOTLDQUERY.
20902 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20903 no-tld-query and set RES_NOTLDQUERY.
20904 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20905 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20906 modern BIND to search name as TLD unless forbidden.
20907
47c3cd7a
UD
209082011-05-07 Petr Baudis <pasky@suse.cz>
20909 Ulrich Drepper <drepper@gmail.com>
20910
20911 [BZ #12393]
20912 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20913 (is_trusted_path): ...to here.
c1e9ea35 20914 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20915 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20916 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20917
8a35c912
PP
209182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20919
20920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20921 __BEGIN/__END_DECLS.
20922
acd41f47
UD
209232011-05-06 Ulrich Drepper <drepper@gmail.com>
20924
20925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20926 NSS_STATUS_NOTFOUND if no record was found.
20927
597df647
AS
209282011-05-05 Andreas Schwab <schwab@redhat.com>
20929
20930 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20931 (headers-not-in-tirpc): Remove rpc/netdb.h
20932 * resolv/netdb.h: Revert last change.
20933
b9af1301
PP
209342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20935
20936 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20937 circular dependency between libgcc.a and libc.a.
20938
4e34d5f5
AS
209392011-05-05 Andreas Schwab <schwab@redhat.com>
20940
20941 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20942 * nis/Makefile: Don't install rpcsvc/*.
20943 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20944 instead of <rpc/types.h>.
20945 (MAXHOSTNAMELEN): Define.
20946
00ee369c
AS
209472011-05-03 Andreas Schwab <schwab@redhat.com>
20948
20949 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20950
0b592a30
MB
209512011-04-28 Maciej Babinski <mbabinski@google.com>
20952
20953 [BZ #12714]
20954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20955 gethostbyname4_r when IPv6 results are possible.
20956
6e04cbbe
UD
209572011-05-02 Ulrich Drepper <drepper@gmail.com>
20958
20959 [BZ #12723]
20960 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20961 _PC_PIPE_BUF handling.
20962
e4ecafe0
BH
209632011-04-30 Bruno Haible <bruno@clisp.org>
20964
20965 [BZ #12717]
20966 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20967 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20968 to 'int'.
20969 * inet/getnameinfo.c (getnameinfo): Likewise.
20970
125ee683
UD
209712011-04-29 Ulrich Drepper <drepper@gmail.com>
20972
20973 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20974 to groups setting in database lookup.
20975 * nss/nsswitch.conf: Add initgroups entry.
20976
b722481a
EB
209772011-04-22 Ulrich Drepper <drepper@gmail.com>
20978
20979 [BZ #12685]
20980 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20981 mode string.
20982 Patch by Eric Blake <eblake@redhat.com>.
20983
4df46dbd
L
209842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20985
20986 * sunrpc/Makefile (need-export-routines): Add svc_run.
20987 (routines): Remove svc_run.
20988 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20989 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20990 * sunrpc/svc_run.c (svc_run): Likewise.
20991 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20992
e84142d2
UD
209932011-04-21 Ulrich Drepper <drepper@gmail.com>
20994
20995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20996 problem in reallocation in last patch.
20997
877175d8
UD
209982011-04-20 Ulrich Drepper <drepper@gmail.com>
20999
21000 * sunrpc/Makefile: Move inclusion of Rules.
21001
ab8eed78
UD
210022011-04-19 Ulrich Drepper <drepper@gmail.com>
21003
21004 * nss/nss_files/files-initgroups.c: New file.
21005 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21006 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21007 _nss_files_initgroups_dyn.
21008
e3d8f584
RS
210092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21010
21011 * elf/elf.h (R_ARM_IRELATIVE): Define.
21012
af190f45
UD
210132011-04-19 Ulrich Drepper <drepper@gmail.com>
21014
21015 * po/ru.po: Update from translation team.
21016
53cf59ef
UD
210172011-04-17 Ulrich Drepper <drepper@gmail.com>
21018
21019 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21020 dependencies.
21021
4c559bcd
MF
210222011-02-06 Mike Frysinger <vapier@gentoo.org>
21023
21024 [BZ #12653]
21025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21026 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21030
4420675c
AS
210312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21032
21033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21034 differing bytes.
21035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21038
75ea32ab
UD
210392011-04-17 Ulrich Drepper <drepper@gmail.com>
21040
21041 [BZ #12420]
21042 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21043 storing it.
21044 * stdlib/bug-getcontext.c: New file.
21045 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21046
27390476
AK
210472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21048
21049 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21050 instructions into .machine "z9-109".
21051 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21052 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21053
10442705
AK
210542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21055
21056 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21057 between environment variables and auxiliary vector.
21058
7b57bfe5
UD
210592011-04-16 Ulrich Drepper <drepper@gmail.com>
21060
21061 * Makefile: Add rules to build linkobj/libc.so.
21062 * include/libc-symbols.h: Define libc_hidden_nolink.
21063 * include/rpc/auth.h: Mark functions which are to be hidden.
21064 * include/rpc/auth_des.h: Likewise.
21065 * include/rpc/auth_unix.h: Likewise.
21066 * include/rpc/clnt.h: Likewise.
21067 * include/rpc/des_crypt.h: Likewise.
21068 * include/rpc/key_prot.h: Likewise.
21069 * include/rpc/pmap_clnt.h: Likewise.
21070 * include/rpc/pmap_prot.h: Likewise.
21071 * include/rpc/pmap_rmt.h: Likewise.
21072 * include/rpc/rpc_msg.h: Likewise.
21073 * include/rpc/svc.h: Likewise.
21074 * include/rpc/svc_auth.h: Likewise.
21075 * include/rpc/xdr.h: Likewise.
21076 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21077 * nss/Makefile: Likewise.
21078 * sunrpc/Makefile: Don't install headers. Build library with normal
21079 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21080 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21081 for the compat linking library. Remove use of INTDEF/INTUSE.
21082 * sunrpc/auth_none.c: Likewise.
21083 * sunrpc/auth_unix.c: Likewise.
21084 * sunrpc/authdes_prot.c: Likewise.
21085 * sunrpc/authuxprot.c: Likewise.
21086 * sunrpc/clnt_gen.c: Likewise.
21087 * sunrpc/clnt_perr.c: Likewise.
21088 * sunrpc/clnt_raw.c: Likewise.
21089 * sunrpc/clnt_simp.c: Likewise.
21090 * sunrpc/clnt_tcp.c: Likewise.
21091 * sunrpc/clnt_udp.c: Likewise.
21092 * sunrpc/clnt_unix.c: Likewise.
21093 * sunrpc/des_crypt.c: Likewise.
21094 * sunrpc/des_soft.c: Likewise.
21095 * sunrpc/get_myaddr.c: Likewise.
21096 * sunrpc/key_call.c: Likewise.
21097 * sunrpc/key_prot.c: Likewise.
21098 * sunrpc/netname.c: Likewise.
21099 * sunrpc/pm_getmaps.c: Likewise.
21100 * sunrpc/pm_getport.c: Likewise.
21101 * sunrpc/pmap_clnt.c: Likewise.
21102 * sunrpc/pmap_prot.c: Likewise.
21103 * sunrpc/pmap_prot2.c: Likewise.
21104 * sunrpc/pmap_rmt.c: Likewise.
21105 * sunrpc/publickey.c: Likewise.
21106 * sunrpc/rpc_cmsg.c: Likewise.
21107 * sunrpc/rpc_common.c: Likewise.
21108 * sunrpc/rpc_dtable.c: Likewise.
21109 * sunrpc/rpc_prot.c: Likewise.
21110 * sunrpc/rpc_thread.c: Likewise.
21111 * sunrpc/rtime.c: Likewise.
21112 * sunrpc/svc.c: Likewise.
21113 * sunrpc/svc_auth.c: Likewise.
21114 * sunrpc/svc_authux.c: Likewise.
21115 * sunrpc/svc_raw.c: Likewise.
21116 * sunrpc/svc_run.c: Likewise.
21117 * sunrpc/svc_simple.c: Likewise.
21118 * sunrpc/svc_tcp.c: Likewise.
21119 * sunrpc/svc_udp.c: Likewise.
21120 * sunrpc/svc_unix.c: Likewise.
21121 * sunrpc/svcauth_des.c: Likewise.
21122 * sunrpc/xcrypt.c: Likewise.
21123 * sunrpc/xdr.c: Likewise.
21124 * sunrpc/xdr_array.c: Likewise.
21125 * sunrpc/xdr_float.c: Likewise.
21126 * sunrpc/xdr_intXX_t.c: Likewise.
21127 * sunrpc/xdr_mem.c: Likewise.
21128 * sunrpc/xdr_rec.c: Likewise.
21129 * sunrpc/xdr_ref.c: Likewise.
21130 * sunrpc/xdr_sizeof.c: Likewise.
21131 * sunrpc/xdr_stdio.c: Likewise.
21132
e6c61494
UD
211332011-04-10 Ulrich Drepper <drepper@gmail.com>
21134
21135 [BZ #12650]
21136 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21137 * sysdeps/ia64/dl-tls.h: Likewise.
21138 * sysdeps/powerpc/dl-tls.h: Likewise.
21139 * sysdeps/s390/dl-tls.h: Likewise.
21140 * sysdeps/sh/dl-tls.h: Likewise.
21141 * sysdeps/sparc/dl-tls.h: Likewise.
21142 * sysdeps/x86_64/dl-tls.h: Likewise.
21143 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21144
34fe483e
AS
211452011-03-14 Andreas Schwab <schwab@redhat.com>
21146
21147 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21148 rpath element also skip the following colon.
21149 (expand_dynamic_string_token): Add is_path parameter and pass
21150 down to DL_DST_REQUIRED and _dl_dst_substitute.
21151 (decompose_rpath): Call expand_dynamic_string_token with
21152 non-zero is_path. Ignore empty rpaths.
21153 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21154 with zero is_path.
21155
f12a32e6
AS
211562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21157
21158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21159 Make cancelable.
21160
38a7d692
UD
211612011-04-09 Ulrich Drepper <drepper@gmail.com>
21162
21163 [BZ #12655]
21164 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21165 Patch by Filipe David Manana <fdmanana@apache.org>.
21166
e451d22b
AS
211672011-04-07 Andreas Schwab <schwab@redhat.com>
21168
21169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21170 Maintain aligned stack.
21171 (CHECK_RSP): Remove unused macro.
21172
dedc7c7b
UD
211732011-04-03 Ulrich Drepper <drepper@gmail.com>
21174
21175 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21177
94521213
UD
211782011-04-02 Ulrich Drepper <drepper@gmail.com>
21179
21180 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21181
8cb700c0 21182 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21183
0354e355
L
211842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21185
21186 [BZ #12518]
21187 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21188 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21189 * sysdeps/x86_64/memmove.c: New file.
21190 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21191 (memcpy): Renamed to ...
21192 (__new_memcpy): This.
21193 (memcpy): Provide GLIBC_2_14 memcpy.
21194 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21195 (memcpy): Provide GLIBC_2_2_5 memcpy.
21196
8593482f
UD
211972011-04-01 Ulrich Drepper <drepper@gmail.com>
21198
21199 [BZ #12631]
21200 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21201
81a5726b
AS
212022011-03-30 Andreas Schwab <schwab@redhat.com>
21203
21204 * misc/syncfs.c: New file.
21205 * misc/Makefile (routines): Add syncfs.
21206 * posix/unistd.h: Declare syncfs.
21207 * sysdeps/unix/syscalls.list: Add syncfs.
21208
00e5419f
AS
212092011-04-01 Andreas Schwab <schwab@redhat.com>
21210
21211 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21212 open_by_handle_at.
21213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21218 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21220
748876bf
UD
212212011-04-01 Ulrich Drepper <drepper@gmail.com>
21222
658e451d
UD
21223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21230
748876bf
UD
21231 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21232 sync_file_range.c with -fexceptions.
21233 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21234 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21235 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21236 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21240 sync_file_range as cancellation point
21241 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21242 now a wrapper around __call_sync_file_range with cancellation handling.
21243 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21244 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21245 function name to __call_sync_file_range.
21246 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21247 Add call_sync_file_range.
748876bf 21248
6e63d5e1
AS
212492011-04-01 Andreas Schwab <schwab@redhat.com>
21250
21251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21252 bits/timex.h.
6e63d5e1 21253
46998f74
UD
212542011-04-01 Ulrich Drepper <drepper@gmail.com>
21255
4c1423ed
UD
21256 * iconv/iconv.h: Fix typo in comment.
21257 * io/fcntl.h: Likewise.
21258 * libio/stdio.h: Likewise.
21259 * posix/spawn.h: Likewise.
21260 * posix/unistd.h: Likewise.
21261 * stdlib/stdlib.h: Likewise.
21262 * time/time.h: Likewise.
21263 * wcsmbs/wchar.h: Likewise.
21264
158648c0
UD
21265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21266 open_by_handle): Add.
21267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21268 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21269 Augment a few comments.
21270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21275 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21276 open_by_handle.
21277
46998f74
UD
21278 * io/fcntl.h (AT_EMPTY_PATH): Define.
21279
83fe108b
UD
212802011-03-30 Ulrich Drepper <drepper@gmail.com>
21281
21282 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21283 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21284 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21285 to...
21286 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21287 * Versions.def: Add GLIBC_2.14.
21288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21289 Export.
83fe108b 21290
bb242059
UD
212912011-03-22 Ulrich Drepper <drepper@gmail.com>
21292
21293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21294 round counter.
21295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21296
c97a1282
L
212972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21298
21299 [BZ #12597]
21300 * string/test-strncmp.c (do_page_test): New function.
21301 (check2): Likewise.
21302 (test_main): Call check2.
21303 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21304
2a115601
UD
213052011-03-20 Ulrich Drepper <drepper@gmail.com>
21306
21307 [BZ #12587]
21308 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21309 Handle cache information in CPU leaf 4.
21310 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21311
8126d904
UD
213122011-03-18 Ulrich Drepper <drepper@gmail.com>
21313
042c49c6 21314 [BZ #12583]
8126d904
UD
21315 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21316 character representation.
21317 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21318
ccfe366e
RA
213192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21320
21321 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21322 END(__isnan) to END(__isnanf) to match function entry point/label
21323 EALIGN(__isnanf,...).
21324
c6e13027
JJ
213252011-03-10 Jakub Jelinek <jakub@redhat.com>
21326
21327 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21328
33f85a3f
UD
213292011-03-10 Ulrich Drepper <drepper@gmail.com>
21330
028478fa
UD
21331 [BZ #12510]
21332 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21333 copy from the symbol referenced in the relocation to initialize the
21334 used variable.
21335 Patch by Piotr Bury <pbury@goahead.com>.
21336 * elf/Makefile: Add rules to build and tst-unique3.
21337 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21338 * elf/tst-unique3.cc: New file.
21339 * elf/tst-unique3.h: New file.
21340 * elf/tst-unique3lib.cc: New file.
21341 * elf/tst-unique3lib2.cc: New file.
21342
33f85a3f
UD
21343 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21344
03592fc7
MF
213452011-03-10 Mike Frysinger <vapier@gentoo.org>
21346
21347 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21348 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21349 to _start.
03592fc7 21350
6a5ee102
UD
213512011-03-06 Ulrich Drepper <drepper@gmail.com>
21352
21353 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21354 to-be-loaded object along a path to loader is ld.so.
21355
7e4ba49c
HJ
213562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21357 Ulrich Drepper <drepper@gmail.com>
21358
21359 * sysdeps/x86_64/memset.S: After aligning destination, code
21360 branches to different locations depending on the value of
21361 misalignment, when multiarch is enabled. Fix this.
21362
213632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21364
21365 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21366 Set _x86_64_preferred_memory_instruction for AMD processsors.
21367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21368 Set bit_Prefer_SSE_for_memop for AMD processors.
21369
13a804de
UD
213702011-03-04 Ulrich Drepper <drepper@gmail.com>
21371
21372 * libio/fmemopen.c (fmemopen): Optimize a bit.
21373
9d25c392
AS
213742011-03-03 Andreas Schwab <schwab@redhat.com>
21375
21376 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21377
a5543c6a
RM
213782011-03-03 Roland McGrath <roland@redhat.com>
21379
21380 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21381
012d35f7
DM
213822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21383
7e4ba49c 21384 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21385 __bzero_ultra1 instead of __memset_ultra1.
21386
4bff6e01
AS
213872011-02-23 Andreas Schwab <schwab@redhat.com>
21388 Ulrich Drepper <drepper@gmail.com>
21389
21390 [BZ #12509]
21391 * include/link.h (struct link_map): Add l_orig_initfini.
21392 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21393 returning unsuccessfully.
21394 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21395 close of a file loaded at startup, restore the original l_initfini
21396 list.
21397 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21398 list, store the pointer.
21399 * elf/Makefile ($(objpfx)noload-mem): New rule.
21400 (noload-ENV): Define.
21401 (tests): Add $(objpfx)noload-mem.
21402 * elf/noload.c: Include <memcheck.h>.
21403 (main): Call mtrace. Close all opened handles.
21404
f2092faf
AS
214052011-02-17 Andreas Schwab <schwab@redhat.com>
21406
21407 [BZ #12454]
21408 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21409 dependencies are missing.
21410
6c8a2e88
ST
214112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21412
f2092faf 21413 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21414 Hurd needs munmap.
21415 * sysdeps/mach/hurd/ifreq.h: New file.
21416
84a42118
PB
214172011-01-27 Petr Baudis <pasky@suse.cz>
21418 Ulrich Drepper <drepper@gmail.com>
21419
071f805e 21420 [BZ 12445]#
84a42118
PB
21421 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21422 to extend_alloca().
21423 * stdio-common/bug23.c: New file.
21424 * stdio-common/Makefile (tests): Add bug23.
21425
e23fe25b
AS
214262010-09-28 Andreas Schwab <schwab@redhat.com>
21427 Ulrich Drepper <drepper@gmail.com>
21428
21429 [BZ #12489]
21430 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21431 before performing relro protection. At old place add assertion
21432 to make sure nothing changed.
21433
d3f02e10
NS
214342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21435 Glauber de Oliveira Costa <glommer@gmail.com>
21436
21437 * elf/elf.h: Add new ARM TLS relocs.
21438
d55fd7a5
RA
214392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21440
21441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21442 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21443 cast from r3.
21444 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21445 'tests' variable.
21446 * sysdeps/wordsize-64/tst-writev.c: New file.
21447
2206397e
RA
214482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21449
21450 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21451 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21452 insns in _dl_start to prevent a TOC reference before relocs are
21453 resolved.
21454
e9433893
UD
214552011-02-15 Ulrich Drepper <drepper@gmail.com>
21456
21457 [BZ #12469]
21458 * Makeconfig: Remove RANLIB definition.
21459 * Makerules: Don't use RANLIB.
21460 * aclocal.m4: Remove ranlib test.
21461 * configure.in: No need to check for ranlib.
21462 * elf/rtld-Rules: Don't use RANLIB.
21463
f75286c6
ST
214642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21465
8e31c82d
ST
21466 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21467 protection macro.
21468 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21469 inclusion protection macro.
21470
f75286c6
ST
21471 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21472 SIGRTMIN and SIGRTMAX and print information in that case only when
21473 SIGRTMIN is defined.
21474
c1d0e639
JJ
214752011-02-11 Jakub Jelinek <jakub@redhat.com>
21476
21477 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21478 arginfo fn returning -1.
21479
21480 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21481 and thousands string is zero terminated.
21482
edf9294e
AS
214832011-02-03 Andreas Schwab <schwab@redhat.com>
21484
21485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21486 sysdeps/unix/sysv/linux/bits/socket.h.
21487
2b7e92df
ST
214882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21489
edf9294e
AS
21490 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21491 (__CPU_COUNT): Remove old macros.
21492 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21493 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21494 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21495 (__sched_cpualloc, __sched_cpufree): Add declarations.
21496
a4c7ea7b
UD
214972011-02-05 Ulrich Drepper <drepper@gmail.com>
21498
21499 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21500 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21501 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21502 (readdhstai): Return value of addhstaiX call.
21503 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21504 (addgrbyX): Return value returned by cache_addgr.
21505 (readdgrbyname): Return value returned by addgrbyX.
21506 (readdgrbygid): Likewise.
21507 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21508 (addpwbyX): Return value returned by cache_addpw.
21509 (readdpwbyname): Return value returned by addhstbyX.
21510 (readdpwbyuid): Likewise.
21511 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21512 (addservbyX): Return value returned by cache_addserv.
21513 (readdservbyname): Return value returned by addservbyX:
21514 (readdservbyport): Likewise.
21515 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21516 (addhstbyX): Return value returned by cache_addhst.
21517 (readdhstbyname): Return value returned by addhstbyX.
21518 (readdhstbyaddr): Likewise.
21519 (readdhstbynamev6): Likewise.
21520 (readdhstbyaddrv6): Likewise.
21521 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21522 (readdinitgroups): Return value returned by addinitgroupsX.
21523 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21524 (prune_cache): Keep track of timeout value of re-added entries.
21525 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21526 * nscd/nscd.h: Adjust prototypes of readd* functions.
21527
a0bf67cc
RM
215282011-02-04 Roland McGrath <roland@redhat.com>
21529
21530 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21531 (nis_stats): Likewise.
21532 * nis/nis_modify.c (nis_modify): Likewise.
21533 * nis/nis_remove.c (nis_remove): Likewise.
21534 * nis/nis_add.c (nis_add): Likewise.
21535
21536 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21537
21538 * posix/fnmatch_loop.c: Add some consts.
21539
21540 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21541
435b95eb
L
215422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21543
21544 [BZ #12460]
21545 * config.make.in (config-cflags-novzeroupper): Define.
21546 * configure.in: Substitute libc_cv_cc_novzeroupper.
21547 * elf/Makefile (AVX-CFLAGS): Define.
21548 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21549 (CFLAGS-tst-auditmod4a.c): Likewise.
21550 (CFLAGS-tst-auditmod4b.c): Likewise.
21551 (CFLAGS-tst-auditmod6b.c): Likewise.
21552 (CFLAGS-tst-auditmod6c.c): Likewise.
21553 (CFLAGS-tst-auditmod7b.c): Likewise.
21554 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21555
8517b15e
UD
215562011-02-02 Ulrich Drepper <drepper@gmail.com>
21557
21558 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21559 function to the callback.
21560 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21561
10a656fe
AS
215622011-02-02 Andreas Schwab <schwab@redhat.com>
21563
21564 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21565 of errno.
21566
968dad0a
UD
215672011-01-19 Ulrich Drepper <drepper@gmail.com>
21568
9f94d2ea 21569 [BZ #11724]
968dad0a
UD
21570 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21571 of constructors.
21572 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21573 of destructors.
21574 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21575
21576 [BZ #11724]
21577 * elf/Makefile: Add rules to build and run new test.
21578 * elf/tst-initorder.c: New file.
21579 * elf/tst-initorder.exp: New file.
21580 * elf/tst-initordera1.c: New file.
21581 * elf/tst-initordera2.c: New file.
21582 * elf/tst-initordera3.c: New file.
21583 * elf/tst-initordera4.c: New file.
21584 * elf/tst-initorderb1.c: New file.
21585 * elf/tst-initorderb2.c: New file.
21586 * elf/tst-order-a1.c: New file.
21587 * elf/tst-order-a2.c: New file.
21588 * elf/tst-order-a3.c: New file.
21589 * elf/tst-order-a4.c: New file.
21590 * elf/tst-order-b1.c: New file.
21591 * elf/tst-order-b2.c: New file.
21592 * elf/tst-order-main.c: New file.
21593 New test case by George Gensure <werkt0@gmail.com>.
21594
86e92359
UD
215952010-10-01 Andreas Schwab <schwab@redhat.com>
21596
21597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21598 decoding ACE if AI_CANONIDN.
21599
5d5732b0
UD
216002011-01-18 Ulrich Drepper <drepper@gmail.com>
21601
21602 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21603
a77e8cbc
UD
216042011-01-17 Ulrich Drepper <drepper@gmail.com>
21605
6392473f
UD
21606 * version.h (RELEASE): Bump for 2.13 release.
21607 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21608
620a0529
UD
21609 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21610
18ba70a5
UD
21611 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21612 MADV_NOHUGEPAGE.
32465c3e
UD
21613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21619
c0dafcf1
UD
21620 * posix/getconf.c: Update copyright year.
21621 * catgets/gencat.c: Likewise.
21622 * csu/version.c: Likewise.
21623 * debug/catchsegv.sh: Likewise.
21624 * debug/xtrace.sh: Likewise.
21625 * elf/ldconfig.c: Likewise.
21626 * elf/ldd.bash.in: Likewise.
21627 * elf/sprof.c (print_version): Likewise.
21628 * iconv/iconv_prog.c: Likewise.
21629 * iconv/iconvconfig.c: Likewise.
21630 * locale/programs/locale.c: Likewise.
21631 * locale/programs/localedef.c: Likewise.
21632 * malloc/memusage.sh: Likewise.
21633 * malloc/mtrace.pl: Likewise.
21634 * nscd/nscd.c (print_version): Likewise.
21635 * nss/getent.c: Likewise.
21636
a77e8cbc
UD
21637 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21638 PF_CAIF, and PF_ALG.
21639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21640
77e8bddf
AS
216412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21642
1f20b93a
AS
21643 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21644 (modules-names): Use them.
21645 (ifunc-test-modules, ifunc-pie-tests): Define.
21646 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21647 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21648 (test-extras): Likewise.
21649 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21650 $(compile-command.c).
21651 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21652 (all-built-dso): Define.
21653 (check-textrel.out, check-execstack.out): Depend on it.
21654
77e8bddf
AS
21655 * configure.in: Don't override --enable-multi-arch.
21656
bc425b33
UD
216572011-01-15 Ulrich Drepper <drepper@gmail.com>
21658
21659 [BZ #6812]
21660 * nscd/hstcache.c (tryagain): Define.
21661 (cache_addhst): Return tryagain not notfound for temporary errors.
21662 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21663 failed.
21664
794c3ad3
UD
216652011-01-14 Ulrich Drepper <drepper@gmail.com>
21666
70181fdd
UD
21667 [BZ #10563]
21668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21669 to make the syscall.
21670 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21671
794c3ad3
UD
21672 [BZ #12378]
21673 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21674 and fall back to matching as normal character if the string ends before
21675 the matching ']' is found. This is what POSIX requires.
21676 * posix/testfnm.c: Adjust test result.
21677 * posix/globtest.sh: Adjust test result. Add new test.
21678 * posix/tst-fnmatch.input: Likewise.
21679 * posix/tst-fnmatch2.c: Add new test.
21680
68dc9497
AS
216812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21682
21683 * elf/Makefile (check-execstack): Revert last change. Depend on
21684 check-execstack.h.
21685 (check-execstack.h): New target.
21686 (generated): Add check-execstack.h.
21687 * elf/check-execstack.c: Include "check-execstack.h".
21688 (main): Revert last change.
21689 (handle_file): Return zero if GNU_STACK is absent and
21690 DEFAULT_STACK_PERMS doesn't include PF_X.
21691
451f001b
UD
216922011-01-13 Ulrich Drepper <drepper@gmail.com>
21693
cfa28e56
UD
21694 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21695 in child fails because the descriptor is already closed.
8cf8ce17
UD
21696 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21697 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21699
1086d70d
UD
21700 [BZ #12397]
21701 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21702 syscall.
21703
451f001b
UD
21704 [BZ #10484]
21705 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21706 temporary buffer used to handle multi lookups locally.
a85b5cb4 21707 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21708
08769175
UD
217092011-01-12 Ulrich Drepper <drepper@gmail.com>
21710
21711 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21712 loader is ld.so.
21713
5e49c52e
UD
217142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21715
21716 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21717 alignment for SSE2.
21718
60522a5f
UD
217192011-01-12 Ulrich Drepper <drepper@gmail.com>
21720
21721 [BZ #12394]
21722 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21723 characters. When rounding increased number of integer digits recompute
21724 number of groups.
21725 * stdio-common/tst-grouping.c: New file.
21726 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21727
f257bbd7
UD
217282011-01-09 Ulrich Drepper <drepper@gmail.com>
21729
21730 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21731 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21732
21733 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21734 void.
21735 * bits/select.h: Likewise.
21736
fa9c15cb
UD
217372011-01-08 Ulrich Drepper <drepper@gmail.com>
21738
21739 * po/ja.po: Update from translation team.
21740
16c2895f
DM
217412011-01-04 David S. Miller <davem@sunset.davemloft.net>
21742
21743 [BZ #11155]
21744 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21745 implementation just like for lxstat, fxstatat, et al.
21746
2543fef2
JM
217472010-12-27 Jim Meyering <meyering@redhat.com>
21748
21749 [BZ #12348]
21750 * posix/regexec.c (build_trtable): Return failure indication upon
21751 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21752
98727dbe
UD
217532010-12-25 Ulrich Drepper <drepper@gmail.com>
21754
5bd6dc5c
UD
21755 [BZ #12201]
21756 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21757 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21758 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21760
97983464
UD
21761 [BZ #12207]
21762 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21763
98727dbe
UD
21764 [BZ #12204]
21765 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21766 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21767
4a531bb0
L
217682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21769
21770 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21771 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21772 script has SORT_BY_INIT_PRIORITY.
21773 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21774 NO_CTORS_DTORS_SECTIONS is defined.
21775 * elf/soinit.c: Likewise.
21776 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21777 NO_CTORS_DTORS_SECTIONS is defined.
21778 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21779 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21780 * sysdeps/sh/init-first.c: Likewise.
21781 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21782
07eb4b71
UD
217832010-12-24 Ulrich Drepper <drepper@gmail.com>
21784
21785 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21786 always use the slow path.
21787
30950a5f
RA
217882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21789
21790 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21791 similar rule which adds the sysdep directories to the header search in
21792 order to pick up the correct platform stackinfo.h.
21793 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21794 perform test if it is, otherwise return successfully without testing.
21795 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21796 DEFAULT_STACK_PERMS define in stackinfo.h.
21797 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21798 defined in stackinfo.h.
21799 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21800 DEFAULT_STACK_PERMS defined in stackinfo.h.
21801 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21802 * sysdeps/ia64/stackinfo.h: Likewise.
21803 * sysdeps/s390/stackinfo.h: Likewise.
21804 * sysdeps/sh/stackinfo.h: Likewise.
21805 * sysdeps/sparc/stackinfo.h: Likewise.
21806 * sysdeps/x86_64/stackinfo.h: Likewise.
21807 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21808 PF_X for powerpc64. Retain PF_X for powerpc32.
21809
db753e2c
UD
218102010-12-19 Ulrich Drepper <drepper@gmail.com>
21811
14b697f7
UD
21812 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21813 accurately.
db753e2c
UD
21814 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21815 GETDENTS_64BIT_ALIGNED.
21816
28300719
UD
218172010-12-14 Ulrich Drepper <dreper@gmail.com>
21818
14b697f7 21819 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21820
4f197237
AS
218212010-12-10 Andreas Schwab <schwab@redhat.com>
21822
dbb0472f
AS
21823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21824 _GNU_SOURCE.
21825
4f197237
AS
21826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21827 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21828 Remove __restrict.
21829 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21830 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21831
fb88ac72
UD
218322010-12-09 Ulrich Drepper <drepper@gmail.com>
21833
21834 [BZ #11655]
21835 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21836 are initialized.
21837
42acbb92
JJ
218382010-12-09 Jakub Jelinek <jakub@redhat.com>
21839
21840 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21841
c038d98d
UD
218422010-12-03 Ulrich Drepper <drepper@gmail.com>
21843
21844 * po/it.po: Update from translation team.
21845
3a4a2499
L
218462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21849 unused codes.
21850
1e24cf6e
UD
218512010-11-30 Ulrich Drepper <drepper@gmail.com>
21852
21853 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21854
a7690819
AS
218552010-11-24 Andreas Schwab <schwab@redhat.com>
21856
21857 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21858 specially.
21859 (gaih_getanswer_slice): Likewise.
21860
3bf8d1b1
JJ
218612010-10-20 Jakub Jelinek <jakub@redhat.com>
21862
21863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21864
6db52fbb
PB
218652010-05-31 Petr Baudis <pasky@suse.cz>
21866
21867 [BZ #11149]
21868 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21869 silently even in the chroot mode.
21870
eaca7569
UD
218712010-11-22 Ulrich Drepper <drepper@gmail.com>
21872
21873 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21874 last patch a bit. Pretty printing
21875
3056dcdb
UD
218762010-05-31 Petr Baudis <pasky@suse.cz>
21877
21878 [BZ #10085]
21879 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21880 initialization of skip_initgroups_dyn.
21881
cf7c9078
UD
218822010-11-19 Ulrich Drepper <drepper@gmail.com>
21883
21884 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21886
a1fb5e3e
UD
218872010-11-16 Ulrich Drepper <drepper@gmail.com>
21888
21889 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21890
3540d66b
AS
218912010-11-11 Andreas Schwab <schwab@redhat.com>
21892
21893 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21894 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21895 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21896 ($(objpfx)tst-fnmatch-mem): New rule.
21897 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21898 * posix/tst-fnmatch.c (main): Call mtrace.
21899
13b69574
L
219002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21901
21902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21903 Support Intel processor model 6 and model 0x2c.
21904
da93d214
LM
219052010-11-10 Luis Machado <luisgpm@br.ibm.com>
21906
21907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21908 signed comparison.
21909
8ca52c6e
L
219102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21911
21912 [BZ #12205]
21913 * string/test-strncasecmp.c (check_result): New function.
21914 (do_one_test): Use it.
21915 (check1): New function.
21916 (test_main): Use it.
21917 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21918 Support strcasecmp and strncasecmp.
21919
69da074d
UD
219202010-11-08 Ulrich Drepper <drepper@gmail.com>
21921
21922 [BZ #12194]
21923 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21925
ff02d528
L
219262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21929 IFUNC support.
21930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21931 memset-x86-64.
21932 * sysdeps/x86_64/multiarch/bzero.S: New file.
21933 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21934 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21935 * sysdeps/x86_64/multiarch/memset.S: New file.
21936 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21938 Set bit_Prefer_SSE_for_memop for Intel processors.
21939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21940 Define.
21941 (index_Prefer_SSE_for_memop): Define.
21942 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21943
344d0b54
LM
219442010-11-04 Luis Machado <luisgpm@br.ibm.com>
21945
21946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21948
c0dde15b
UD
219492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 [BZ #12191]
21952 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21953 (__x86_64_raw_data_cache_size_half): Likewise.
21954 (__x86_64_raw_shared_cache_size): Likewise.
21955 (__x86_64_raw_shared_cache_size_half): Likewise.
21956
21957 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21958 (__x86_64_raw_data_cache_size_half): Likewise.
21959 (__x86_64_raw_shared_cache_size): Likewise.
21960 (__x86_64_raw_shared_cache_size_half): Likewise.
21961 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21962 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21963 and __x86_64_raw_shared_cache_size_half. Round
21964 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21965 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21966 to multiple of 256 bytes.
21967
0e516e0e
MS
219682010-11-03 Ulrich Drepper <drepper@gmail.com>
21969
21970 [BZ #12167]
21971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21972 of inacessible symlinks. Verify result of symlink before returning it.
21973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21974 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21975
0e012e87
ER
219762010-10-28 Erich Ritz <erichritz@gmail.com>
21977
21978 * math/math.h (isinf): Fix typo in comment.
21979
de0ff7bc
UD
219802010-11-01 Ulrich Drepper <drepper@gmail.com>
21981
21982 * po/da.po: Update from translation team.
21983
fa41c84d
UD
219842010-10-26 Ulrich Drepper <drepper@gmail.com>
21985
21986 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21987 is added to the list.
21988
f0967738
AK
219892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21990 Ulrich Drepper <drepper@gmail.com>
21991
21992 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21993 the global list here. Move code to...
21994 (_dl_add_to_namespace_list): ...here. New function.
21995 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21996 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21997 * elf/dl-load.c (lose): Don't remove the element from the list.
21998 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21999 (_dl_map_object): Likewise.
22000
220012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22002
22003 [BZ #12159]
22004 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22005 into all bytes of SSE register.
22006 Patch by Richard Li <richardpku@gmail.com>.
22007
f0967738 220082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22009
22010 [BZ #12140]
22011 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22012 perturbing.
22013
d0b9e94f
MB
220142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22015
22016 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22017 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22021 submachine.
22022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22023
8e9f92e9
AS
220242010-10-22 Andreas Schwab <schwab@redhat.com>
22025
22026 * include/dlfcn.h (__RTLD_SECURE): Define.
22027 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22028 mode & __RTLD_SECURE instead.
22029 (open_path): Rename preloaded parameter to secure.
22030 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22031 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22032 * elf/dl-deps.c (openaux): Likewise.
22033 * elf/rtld.c (struct map_args): Remove is_preloaded.
22034 (map_doit): Don't use it.
22035 (dl_main): Likewise.
22036 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22037 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22038
bc96fbda
AS
220392010-09-09 Andreas Schwab <schwab@redhat.com>
22040
22041 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22042 (sysd-rules-targets): Remove duplicates.
22043 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22044 rtld-%.$o dependency.
22045
22cd1c9b
AS
220462010-10-18 Andreas Schwab <schwab@redhat.com>
22047
22048 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22049 _dl_map_object do it.
22050
18edac48
UD
220512010-10-19 Ulrich Drepper <drepper@gmail.com>
22052
22053 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22054 fast fma builtins, define the macros in the C99 standard.
22055 (FP_FAST_FMAF): Likewise.
22056 (FP_FAST_FMAL): Likewise.
22057 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22058
22059 * bits/mathdef.h: Update copyright year.
22060 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22061
d2050124
MM
220622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22063
22064 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22065 builtins, define the macros in the C99 standard.
22066 (FP_FAST_FMAF): Likewise.
22067 (FP_FAST_FMAL): Likewise.
22068 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22069 multiply/add.
22070 (FP_FAST_FMAF): Likewise.
22071
475facd1
JJ
220722010-10-15 Jakub Jelinek <jakub@redhat.com>
22073
22074 [BZ #3268]
22075 * math/libm-test.inc (fma_test): Some new testcases.
22076 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22078 y and infinite z. Do multiplication by C already in long double.
22079 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22081 y and infinite z. Do bitwise or of inexact bit into u.d.
22082 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22083 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22084 * sysdeps/i386/fpu/s_fma.S: Removed.
22085 * sysdeps/i386/fpu/s_fmal.S: Removed.
22086
7c08a05c
JJ
220872010-10-16 Jakub Jelinek <jakub@redhat.com>
22088
22089 [BZ #3268]
22090 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22092 computation is not scheduled after fetestexcept. Fix value
22093 of minimum denormal long double.
22094
f3f7372d
JJ
220952010-10-14 Jakub Jelinek <jakub@redhat.com>
22096
22097 [BZ #3268]
22098 * math/libm-test.inc (fma_test): Add some more tests.
22099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22100 correctly.
22101
14d43591
AS
221022010-10-15 Andreas Schwab <schwab@redhat.com>
22103
22104 * scripts/data/localplt-s390-linux-gnu.data: New file.
22105 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22106
5e908464
JJ
221072010-10-13 Jakub Jelinek <jakub@redhat.com>
22108
22109 [BZ #3268]
22110 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22111 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22112 instead of dbl-64.
22113 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22114 inlines.
22115 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22117 if one of x and y is very large and the other is subnormal.
22118 * sysdeps/s390/fpu/s_fmaf.c: New file.
22119 * sysdeps/s390/fpu/s_fma.c: New file.
22120 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22121 * sysdeps/powerpc/fpu/s_fma.S: New file.
22122 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22123 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22124 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22125
221262010-10-12 Jakub Jelinek <jakub@redhat.com>
22127
22128 [BZ #3268]
22129 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22130 fma tests.
22131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22132 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22133 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22134 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22135 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22136 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22138
b833d51f
UD
221392010-10-12 Ulrich Drepper <drepper@redhat.com>
22140
22141 [BZ #12078]
22142 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22143 * posix/bug-regex31.input: Add test case.
22144
1751705d
UD
221452010-10-11 Ulrich Drepper <drepper@gmail.com>
22146
e9b9cbf5
UD
22147 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22148 * posix/bug-regex31.input: New file.
22149
22150 [BZ #12078]
22151 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22152 (parse_sub_exp): Fix last change, use postorder.
22153
ef06edbe
UD
22154 * posix/bug-regex31.c: New file.
22155 * posix/Makefile: Add rules to build and run bug-regex31.
22156
a129c80d
UD
22157 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22158
22159 [BZ #12078]
22160 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22161
b76b818e
UD
22162 [BZ #12108]
22163 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22164 to have entries in sys_siglist.
22165
1751705d
UD
22166 [BZ #12093]
22167 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22168 be NULL.
22169
9ff8d36f
JJ
221702010-10-07 Jakub Jelinek <jakub@redhat.com>
22171
22172 [BZ #3268]
22173 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22174 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22175 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22176 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22178 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22179 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22180 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22181 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22182 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22183 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22184 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22186 * math/ftestexcept.c (fetestexcept): Likewise.
22187 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22188 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22189 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22190 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22191 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22192 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22194
af325969
UD
221952010-10-11 Ulrich Drepper <drepper@gmail.com>
22196
c579b202 22197 [BZ #12107]
af325969
UD
22198 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22199 newline.
22200
67a67b95
UD
222012010-10-06 Ulrich Drepper <drepper@gmail.com>
22202
22203 * string/bug-strstr1.c: New file.
22204 * string/Makefile: Add rules to build and run bug-strstr1.
22205
5fb308bc
EB
222062010-10-05 Eric Blake <eblake@redhat.com>
22207
22208 [BZ #12092]
22209 * string/str-two-way.h (two_way_long_needle): Always clear memory
22210 when skipping input due to the shift table.
22211
45db99c7
UD
222122010-10-03 Ulrich Drepper <drepper@gmail.com>
22213
3b111893
UD
22214 [BZ #12005]
22215 * malloc/mcheck.c: Handle large requests.
22216
45db99c7
UD
22217 [BZ #12077]
22218 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22219 for strncmp and strncasecmp.
22220 * string/stratcliff.c: Add tests for strcmp and strncmp.
22221 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22222
cf7a1eb8
NI
222232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22224
22225 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22226 __set_fpscr.
22227
6484ba5e
AJ
222282010-09-30 Andreas Jaeger <aj@suse.de>
22229
22230 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22231 (CGROUP_SUPER_MAGIC): Define.
22232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22233 Handle btrfs and cgroup file systems.
22234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22235 Likewise.
22236
91c42559
LM
222372010-09-27 Luis Machado <luisgpm@br.ibm.com>
22238
22239 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22240 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22241
87a97932
AK
222422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22243
22244 [BZ #12067]
22245 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22246 trying to locate the ELF header.
22247
c21cc9bc
AS
222482010-09-27 Andreas Schwab <schwab@redhat.com>
22249
22250 [BZ #11611]
22251 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22252 Mask out sign-bit copies when constructing f_fsid.
22253
315970f6
PB
222542010-09-24 Petr Baudis <pasky@suse.cz>
22255
22256 * debug/stack_chk_fail_local.c: Add missing licence exception.
22257 * debug/warning-nop.c: Likewise.
22258
1ac7a2c7
JM
222592010-09-15 Joseph Myers <joseph@codesourcery.com>
22260
22261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22262 implementing getdents64 using getdents syscall, set d_type if
22263 __ASSUME_GETDENTS32_D_TYPE.
22264
56801c50
AS
222652010-09-16 Andreas Schwab <schwab@redhat.com>
22266
22267 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22268 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22269
dda51327
UD
222702010-09-21 Ulrich Drepper <drepper@redhat.com>
22271
22272 [BZ #12037]
22273 * posix/unistd.h: Undo change of feature selection for ftruncate from
22274 2010-01-11.
22275
8ffcee4a
UD
222762010-09-20 Ulrich Drepper <drepper@redhat.com>
22277
a545ecd9 22278 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22279 detection.
22280
e24f0a8b
AS
222812010-09-20 Andreas Schwab <schwab@redhat.com>
22282
22283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22284 fanotify_mark.
22285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22286
7291c56f
AS
222872010-09-14 Andreas Schwab <schwab@redhat.com>
22288
22289 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22290 variables after CHECK_SP call.
22291 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22292
bc5fb037
AS
222932010-09-13 Andreas Schwab <schwab@redhat.com>
22294 Ulrich Drepper <drepper@redhat.com>
22295
22296 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22297 re-relocationg ld.so.
22298 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22299 _dl_init_paths call.
22300 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22301 here anymore.
22302
e66e7419
UD
223032010-09-14 Ulrich Drepper <drepper@redhat.com>
22304
22305 * resolv/res_init.c (__res_vinit): Count the default server we added.
22306
c044aa75
CLT
223072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22308 Ulrich Drepper <drepper@redhat.com>
22309
22310 [BZ #11968]
22311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22312 (____longjmp_chk): Use %ebx for saving value across system call.
22313 Add unwind info.
22314
32cf4069
AS
223152010-09-06 Andreas Schwab <schwab@redhat.com>
22316
22317 * manual/Makefile: Don't mix pattern rules with normal rules.
22318
817328ee
AS
223192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22320
22321 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22322 operation.
22323 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22324 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22325 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22326 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22328 Likewise.
22329
29fddf61
UD
223302010-09-04 Ulrich Drepper <drepper@redhat.com>
22331
22332 [BZ #11979]
22333 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22334 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22335
0959ffc9
UD
223362010-09-02 Ulrich Drepper <drepper@redhat.com>
22337
22338 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22339 * sysdeps/x86_64/addmul_1.S: Likewise.
22340 * sysdeps/x86_64/lshift.S: Likewise.
22341 * sysdeps/x86_64/mul_1.S: Likewise.
22342 * sysdeps/x86_64/rshift.S: Likewise.
22343 * sysdeps/x86_64/sub_n.S: Likewise.
22344 * sysdeps/x86_64/submul_1.S: Likewise.
22345
ece29840
ST
223462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22347
0959ffc9
UD
22348 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22349 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22350 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22351 * bits/sched.h [__need_schedparam]
ece29840 22352 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22353 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22354 (__defined_schedparam): Define to 1.
ece29840
ST
22355 (__sched_param): New structure, identical to sched_param.
22356 (__need_schedparam): Undefine.
22357
e53a31fe
MF
223582010-08-31 Mike Frysinger <vapier@gentoo.org>
22359
fdc0c10d
MF
22360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22361 (epoll_create1): Declare.
22362
e53a31fe
MF
22363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22364
a726d796
AS
223652010-08-31 Andreas Schwab <schwab@redhat.com>
22366
22367 [BZ #7066]
22368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22369 shifting retval into place.
22370
2f3e3dc7
UD
223712010-09-01 Ulrich Drepper <drepper@redhat.com>
22372
f2933da9
UD
22373 * nis/rpcsvc/nis.h: Update copyright notice.
22374 * nis/rpcsvc/nis.x: Likewise.
22375 * nis/rpcsvc/nis_callback.h: Likewise.
22376 * nis/rpcsvc/nis_callback.x: Likewise.
22377 * nis/rpcsvc/nis_object.x: Likewise.
22378 * nis/rpcsvc/nis_tags.h: Likewise.
22379 * nis/rpcsvc/yp.h: Likewise.
22380 * nis/rpcsvc/yp.x: Likewise.
22381 * nis/rpcsvc/ypupd.h: Likewise.
22382 * nis/yp_xdr.c: Likewise.
22383 * nis/ypupdate_xdr.c: Likewise.
22384
2f3e3dc7
UD
22385 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22386 mainly the body of pmap_getport. Add parameters to specify timeouts.
22387 (pmap_getport): Use __libc_rpc_getport.
22388 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22389 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22390 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22391
f3dcc2f9
AS
223922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22393
22394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22395 fanotify_mark.
22396
6d34eb5b
RM
223972010-08-27 Roland McGrath <roland@redhat.com>
22398
22399 * sysdeps/i386/i686/multiarch/Makefile
22400 (CFLAGS-varshift.c): New variable.
22401
9ea3de11
UD
224022010-08-27 Ulrich Drepper <drepper@redhat.com>
22403
c96d23fc
UD
22404 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22405 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22406
9ea3de11
UD
22407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22408
22409 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22410
623aac7f
L
224112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22412
22413 * sysdeps/x86_64/strlen.S: Unroll the loop.
22414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22415 strlen-sse2 strlen-sse2-bsf.
22416 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22417 __strlen_no_bsf if bit_Slow_BSF is set.
22418 (__strlen_sse42): Removed.
22419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22420 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22421
8b2b7715
RM
224222010-08-25 Roland McGrath <roland@redhat.com>
22423
22424 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22425 * sysdeps/x86_64/multiarch/varshift.c: New file.
22426 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22427 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22428 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22430
e73015f2
L
224312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22432
22433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22434 strlen-sse2 strlen-sse2-bsf.
22435 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22436 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22437 (__strlen_sse2): Removed.
22438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22441 bit_Slow_BSF for Atom.
22442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22443 (index_Slow_BSF): Define.
22444 (HAS_SLOW_BSF): Define.
22445
df24a73e
UD
224462010-08-25 Ulrich Drepper <drepper@redhat.com>
22447
22448 [BZ #10851]
22449 * resolv/res_init.c (__res_vinit): When no server address at all
22450 is given default to loopback.
22451
f2ac4868
RM
224522010-08-24 Roland McGrath <roland@redhat.com>
22453
09055553
RM
22454 * configure.in: Remove config-name.h generation.
22455 * configure: Regenerated.
22456 * config-name.in: File removed.
22457 * scripts/config-uname.sh: New file.
22458 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22459 ($(objdir)config-name.h): New target.
22460
f2ac4868
RM
22461 * sunrpc/rpc_parse.h: Avoid nested comment.
22462
73f27d5e
RH
224632010-08-24 Richard Henderson <rth@redhat.com>
22464 Ulrich Drepper <drepper@redhat.com>
22465 H.J. Lu <hongjiu.lu@intel.com>
22466
22467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22469 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22470 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22471 _mm_alignr_epi8 with _mm_loadu_si128.
22472 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22473 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22474 (__m128i_shift_right): Removed.
22475 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22476 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22477 * sysdeps/x86_64/multiarch/varshift.h: New file.
22478 * sysdeps/x86_64/multiarch/varshift.S: New file.
22479
84b9230c
MF
224802010-08-21 Mike Frysinger <vapier@gentoo.org>
22481
22482 * configure.in: Move assembler checks to before sysdep dir checking.
22483
9bbd0ddc
PB
224842010-08-20 Petr Baudis <pasky@suse.cz>
22485
22486 * LICENSES: Sync the sunrpc license.
22487
9da4bb31
UD
224882010-08-19 Ulrich Drepper <drepper@redhat.com>
22489
a7ab6ec8
UD
22490 * sunrpc/auth_des.c: Update copyright notice once again.
22491 * sunrpc/auth_none.c: Likewise.
22492 * sunrpc/auth_unix.c: Likewise.
22493 * sunrpc/authdes_prot.c: Likewise.
22494 * sunrpc/authuxprot.c: Likewise.
22495 * sunrpc/bindrsvprt.c: Likewise.
22496 * sunrpc/clnt_gen.c: Likewise.
22497 * sunrpc/clnt_perr.c: Likewise.
22498 * sunrpc/clnt_raw.c: Likewise.
22499 * sunrpc/clnt_simp.c: Likewise.
22500 * sunrpc/clnt_tcp.c: Likewise.
22501 * sunrpc/clnt_udp.c: Likewise.
22502 * sunrpc/clnt_unix.c: Likewise.
22503 * sunrpc/des_crypt.c: Likewise.
22504 * sunrpc/des_soft.c: Likewise.
22505 * sunrpc/get_myaddr.c: Likewise.
22506 * sunrpc/getrpcport.c: Likewise.
22507 * sunrpc/key_call.c: Likewise.
22508 * sunrpc/key_prot.c: Likewise.
22509 * sunrpc/openchild.c: Likewise.
22510 * sunrpc/pm_getmaps.c: Likewise.
22511 * sunrpc/pm_getport.c: Likewise.
22512 * sunrpc/pmap_clnt.c: Likewise.
22513 * sunrpc/pmap_prot.c: Likewise.
22514 * sunrpc/pmap_prot2.c: Likewise.
22515 * sunrpc/pmap_rmt.c: Likewise.
22516 * sunrpc/rpc/auth.h: Likewise.
22517 * sunrpc/rpc/auth_unix.h: Likewise.
22518 * sunrpc/rpc/clnt.h: Likewise.
22519 * sunrpc/rpc/des_crypt.h: Likewise.
22520 * sunrpc/rpc/key_prot.h: Likewise.
22521 * sunrpc/rpc/netdb.h: Likewise.
22522 * sunrpc/rpc/pmap_clnt.h: Likewise.
22523 * sunrpc/rpc/pmap_prot.h: Likewise.
22524 * sunrpc/rpc/pmap_rmt.h: Likewise.
22525 * sunrpc/rpc/rpc.h: Likewise.
22526 * sunrpc/rpc/rpc_des.h: Likewise.
22527 * sunrpc/rpc/rpc_msg.h: Likewise.
22528 * sunrpc/rpc/svc.h: Likewise.
22529 * sunrpc/rpc/svc_auth.h: Likewise.
22530 * sunrpc/rpc/types.h: Likewise.
22531 * sunrpc/rpc/xdr.h: Likewise.
22532 * sunrpc/rpc_clntout.c: Likewise.
22533 * sunrpc/rpc_cmsg.c: Likewise.
22534 * sunrpc/rpc_common.c: Likewise.
22535 * sunrpc/rpc_cout.c: Likewise.
22536 * sunrpc/rpc_dtable.c: Likewise.
22537 * sunrpc/rpc_hout.c: Likewise.
22538 * sunrpc/rpc_main.c: Likewise.
22539 * sunrpc/rpc_parse.c: Likewise.
22540 * sunrpc/rpc_parse.h: Likewise.
22541 * sunrpc/rpc_prot.c: Likewise.
22542 * sunrpc/rpc_sample.c: Likewise.
22543 * sunrpc/rpc_scan.c: Likewise.
22544 * sunrpc/rpc_scan.h: Likewise.
22545 * sunrpc/rpc_svcout.c: Likewise.
22546 * sunrpc/rpc_tblout.c: Likewise.
22547 * sunrpc/rpc_util.c: Likewise.
22548 * sunrpc/rpc_util.h: Likewise.
22549 * sunrpc/rpcinfo.c: Likewise.
22550 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22551 * sunrpc/rpcsvc/key_prot.x: Likewise.
22552 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22553 * sunrpc/rpcsvc/mount.x: Likewise.
22554 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22555 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22556 * sunrpc/rpcsvc/rex.x: Likewise.
22557 * sunrpc/rpcsvc/rstat.x: Likewise.
22558 * sunrpc/rpcsvc/rusers.x: Likewise.
22559 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22560 * sunrpc/rpcsvc/spray.x: Likewise.
22561 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22562 * sunrpc/rtime.c: Likewise.
22563 * sunrpc/svc.c: Likewise.
22564 * sunrpc/svc_auth.c: Likewise.
22565 * sunrpc/svc_authux.c: Likewise.
22566 * sunrpc/svc_raw.c: Likewise.
22567 * sunrpc/svc_run.c: Likewise.
22568 * sunrpc/svc_simple.c: Likewise.
22569 * sunrpc/svc_tcp.c: Likewise.
22570 * sunrpc/svc_udp.c: Likewise.
22571 * sunrpc/svc_unix.c: Likewise.
22572 * sunrpc/svcauth_des.c: Likewise.
22573 * sunrpc/xcrypt.c: Likewise.
22574 * sunrpc/xdr.c: Likewise.
22575 * sunrpc/xdr_array.c: Likewise.
22576 * sunrpc/xdr_float.c: Likewise.
22577 * sunrpc/xdr_mem.c: Likewise.
22578 * sunrpc/xdr_rec.c: Likewise.
22579 * sunrpc/xdr_ref.c: Likewise.
22580 * sunrpc/xdr_sizeof.c: Likewise.
22581 * sunrpc/xdr_stdio.c: Likewise.
22582
9da4bb31
UD
22583 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22584 handling.
22585
bdaa77bc
AS
225862010-08-19 Andreas Schwab <schwab@redhat.com>
22587
22588 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22589
fe2f79db
LM
225902010-08-19 Luis Machado <luisgpm@br.ibm.com>
22591
22592 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22593 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22595 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22597 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22599 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22601 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22602 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22604 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22605 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22606
b9b42ee0
AB
226072010-07-26 Anton Blanchard <anton@samba.org>
22608
22609 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22610 * malloc/arena.c (heap_trim): Likewise.
22611
1c06ba31
UD
226122010-08-16 Ulrich Drepper <drepper@redhat.com>
22613
22614 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22615 here. Not...
22616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22617 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22618
f8392f40
L
226192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22620
22621 * sysdeps/i386/elf/Makefile: New file.
22622
3162f12e
AS
226232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22624
22625 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22626 from fanotify_init.
22627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22629
28c90b2c
UD
226302010-08-15 Ulrich Drepper <drepper@redhat.com>
22631
22632 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22633 of strncasecmp_l.
1feccb6c 22634 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22635
ca6bb004
UD
226362010-08-14 Ulrich Drepper <drepper@redhat.com>
22637
e9f82e0d
UD
22638 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22639 strncase_l-nonascii.
22640 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22641 Add strncase_l-ssse3.
22642 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22643 * sysdeps/x86_64/strcmp.S: Likewise.
22644 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22645 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22646 * sysdeps/x86_64/strncase.S: New file.
22647 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22648 * sysdeps/x86_64/strncase_l.S: New file.
22649 * string/Makefile (strop-tests): Add strncasecmp.
22650 * string/test-strncasecmp.c: New file.
22651
22652 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22653 warning.
22654
ca6bb004
UD
22655 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22657
052fa7b3
AS
226582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22659
22660 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22661
962dba78
UD
226622010-08-12 Ulrich Drepper <drepper@redhat.com>
22663
22664 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22665 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22667
bebff237
AM
226682010-05-01 Alan Modra <amodra@gmail.com>
22669
22670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22671 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22672 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22673 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22674 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22675 tidying. Don't tail-call __sigjmp_save for static lib.
22676 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22677 save location.
22678 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22679 (CALL_MCOUNT): Add eh info, and nop after bl.
22680 (TAIL_CALL_SYSCALL_ERROR): New macro.
22681 (PSEUDO_RET): Use it.
22682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22683 Correct save location of integer regs and cr.
22684 (_dl_profile_resolve): Correct cr save location. Delete nops
22685 after bl when SHARED. Reduce cfi size a little by better
22686 placement of cfi directives.
22687 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22688 make a stack frame. Instead use parm save area as a temp.
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22690 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22692 Don't make a stack frame for parent, use parm save area.
22693 Increase child stack frame to 112 bytes. Don't save unused reg,
22694 and adjust reg usage. Set up cfi on error recovery and
22695 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22697 (__makecontext): Add dummy nop after jump to exit.
22698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22699 Use correct parm save area and cr save, reduce stack frame.
22700 Correct cfi for possible PSEUDO_RET frame setup.
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22702 Branch to local label emitted by PSEUDO_RET rather than
22703 __syscall_error.
22704
02637374
AS
227052010-08-12 Andreas Schwab <schwab@redhat.com>
22706
22707 [BZ #11904]
22708 * locale/programs/locale.c (print_assignment): New function.
22709 (show_locale_vars): Use it.
22710
c3e2f19b
UD
227112010-08-11 Ulrich Drepper <drepper@redhat.com>
22712
3cdaa6ad
UD
22713 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22714 field.
22715 (struct statfs64): Likewise.
22716 (_STATFS_F_FLAGS): Define.
22717 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22719 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22720 (ST_VALID): Define locally.
22721 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22722 __statvfs_getflags, use the provided value.
22723 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22724 __ASSUME_STATFS_F_FLAGS.
22725
754f7da3
UD
22726 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22727
10b3bedc
UD
22728 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22729 Add sys/fanotify.h.
22730 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22731 fanotify_mask for GLIBC_2.13.
22732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22733 fanotify_init and fanotify_mark.
22734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22735 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22736
c08fb0d7
UD
22737 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22738 Add prlimit.
22739 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22740 prlimit64 for GLIBC_2.13.
22741 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22742 prlimit64.
22743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22744 syscall.
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22750 add prlimit alias.
22751 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22752
15bac72b
UD
22753 [BZ #11903]
22754 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22755 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22756
c3e2f19b
UD
22757 * nss/Makefile: Add rules to build and run tst-nss-test1.
22758 * shlib-versions: Add entry for libnss_test1.
22759 * nss/nss_test1.c: New file.
22760 * nss/tst-nss-test1.c: New file.
22761
22762 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22763 (__nss_configure_lookup): Set appropriate entry in
22764 __nss_configure_lookup to true.
22765 * nss/nsswitch.h: Define enum with indeces of databases in
22766 databases and __nss_database_custom arrays. Declare
22767 __nss_database_custom.
22768 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22769 to avoid using nscd when custom rules are installed.
22770 * nss/getXXbyYY_r.c: Likewise.
22771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22772
22773 * nss/nss_files/files-parse.c: Whitespace fixes.
22774
f15ce4d8
UD
227752010-08-09 Ulrich Drepper <drepper@redhat.com>
22776
22777 [BZ #11883]
22778 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22779 * posix/fnmatch_loop.c: Likewise.
22780
d22e4cc9
AK
227812010-07-17 Andi Kleen <ak@linux.intel.com>
22782
22783 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22784 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22785 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22786 * Versions.def [GLIBC_2.13]: Add.
22787
805bc17d
UD
227882010-08-06 Ulrich Drepper <drepper@redhat.com>
22789
22790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22791 Also fail if tpwd after pwuid call is NULL.
22792
5a42321d
ST
227932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22794
22795 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22796 when converting to ms.
22797
fd3ebeda
ST
227982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22799
22800 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22801 EOPNOTSUPP errors with ENOTTY.
22802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22803 EOPNOTSUPP errors with ENOTTY.
22804
73507d3a
UD
228052010-07-31 Ulrich Drepper <drepper@redhat.com>
22806
22807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22808 Add strcasecmp_l-ssse3.
22809 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22810 strcasecmp.
22811 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22812 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22814
fe36dd02
UD
228152010-07-30 Ulrich Drepper <drepper@redhat.com>
22816
66f6765a
UD
22817 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22818
42e08a54
UD
22819 * string/Makefile (strop-tests): Add strcasecmp.
22820 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22821 strcasecmp_l-nonascii.
22822 (gen-as-const-headers): Add locale-defines.sym.
22823 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22824 * sysdeps/x86_64/strcasecmp.S: New file.
22825 * sysdeps/x86_64/strcasecmp_l.S: New file.
22826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22827 * sysdeps/x86_64/locale-defines.sym: New file.
22828 * string/test-strcasecmp.c: New file.
22829
fe36dd02
UD
22830 * string/test-strcasestr.c: Test both ends of the range of characters.
22831 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22832
48cbc0d6
RM
228332010-07-29 Roland McGrath <roland@redhat.com>
22834
76e6d6bc 22835 [BZ #11856]
48cbc0d6
RM
22836 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22837
880113d9
UD
228382010-07-27 Ulrich Drepper <drepper@redhat.com>
22839
22840 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22841 for ld.so.
22842
deb9cabb
AS
228432010-07-27 Andreas Schwab <schwab@redhat.com>
22844
22845 * manual/memory.texi (Malloc Tunable Parameters): Document
22846 M_PERTURB.
22847
1c7570ff
RM
228482010-07-26 Roland McGrath <roland@redhat.com>
22849
22850 [BZ #11840]
22851 * configure.in (-fgnu89-inline check): Set and substitute
22852 gnu89_inline, not libc_cv_gnu89_inline.
22853 * configure: Regenerated.
22854 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22855
24fb0f88
UD
228562010-07-26 Ulrich Drepper <drepper@redhat.com>
22857
22858 * string/test-strnlen.c: New file.
22859 * string/Makefile (strop-tests): Add strnlen.
22860 * string/tester.c (test_strnlen): Add a few more test cases.
22861 * string/tst-strlen.c: Better error reporting.
22862
22863 * sysdeps/x86_64/strnlen.S: New file.
22864
8e96b93a
UD
228652010-07-24 Ulrich Drepper <drepper@redhat.com>
22866
22867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22868 lower-latency instructions.
22869
dbc676d4
UD
228702010-07-23 Ulrich Drepper <drepper@redhat.com>
22871
22872 * string/test-strcasestr.c: New file.
22873 * string/test-strstr.c: New file.
22874 * string/Makefile (strop-tests): Add strstr and strcasestr.
22875 * string/str-two-way.h: Don't undefine MAX.
22876 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22877
f6a31e0e
AS
228782010-07-21 Andreas Schwab <schwab@redhat.com>
22879
22880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22881 strcasestr-nonascii.
22882 (CFLAGS-strcasestr-nonascii.c): Define.
22883 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22885 Remove unused attribute.
22886
5dbc3b6c
RM
228872010-07-20 Roland McGrath <roland@redhat.com>
22888
22889 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22890 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22891 ld.so.cache was broken. With it, there is no way to disable dsocaps
22892 like LD_HWCAP_MASK can disable hwcaps.
22893
23d101d8
EPM
228942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22895
22896 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22897
cc9f2e47
UD
228982010-07-16 Ulrich Drepper <drepper@redhat.com>
22899
22900 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22901 call in strcasestr.
22902 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22903 __strcasestr_sse42_nonascii.
22904 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22905 strcasestr-nonascii.c.
22906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22907
77c1b069
LM
229082010-06-15 Luis Machado <luisgpm@br.ibm.com>
22909
22910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22912 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22914
440566c3
UD
229152010-07-09 Ulrich Drepper <drepper@redhat.com>
22916
22917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22918 fcntl.
22919
5be9d05d
AS
229202010-07-06 Andreas Schwab <schwab@redhat.com>
22921
c30b7ee2 22922 [BZ #11577]
5be9d05d
AS
22923 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22924 dl_signal_cerror.
22925
8a492a67
UD
229262010-07-06 Ulrich Drepper <drepper@redhat.com>
22927
22928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22929 _PC_PIPE_BUF using F_GETPIPE_SZ.
22930
713df3d5
RM
229312010-07-05 Roland McGrath <roland@redhat.com>
22932
22933 * manual/arith.texi (Rounding Functions): Fix rint description
22934 implicit in round description.
22935
702e8f14
UD
229362010-07-02 Ulrich Drepper <drepper@redhat.com>
22937
22938 * elf/Makefile: Fix linking for a few tests to make recent linker
22939 happy.
22940
52ed8be9
AS
229412010-06-30 Andreas Schwab <schwab@redhat.com>
22942
22943 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22944 $(common-objpfx)libc_nonshared.a.
22945
f47c9a11
LM
229462010-06-21 Luis Machado <luisgpm@br.ibm.com>
22947
22948 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22949 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22950 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22951 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22952 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22953 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22954 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22955 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22970 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22971 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22972 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22973 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22974 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22975 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22976 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22977 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22978 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22979 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22980 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22981 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22996
6fb8cbcb
L
229972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22998
22999 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23000 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23001 * string/memmove.c (memmove): Renamed to ...
23002 (MEMMOVE): ...this. Default to memmove.
23003 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23004 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23005 (END_CHK): Define.
23006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23007 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23008 mempcpy-ssse3-back memmove-ssse3-back.
23009 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23012 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23013 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23014 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23015 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23016 * sysdeps/x86_64/multiarch/memmove.c: New file.
23017 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23018 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23019 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23020 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23023 Define.
23024 (index_Fast_Copy_Backward): Define.
23025 (HAS_ARCH_FEATURE): Define.
23026 (HAS_FAST_REP_STRING): Define.
23027 (HAS_FAST_COPY_BACKWARD): Define.
23028
4e733bac 230292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23030
23031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23032 Restore proper fallback handling.
23033
63c4ed22
UD
230342010-06-19 Ulrich Drepper <drepper@redhat.com>
23035
ac2b484c
UD
23036 [BZ #11701]
23037 * posix/group_member.c (__group_member): Correct checking loop.
23038
63c4ed22
UD
23039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23040 OOM in getpwuid_r correctly. Return error number when the caller
23041 should return, otherwise -1.
23042 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23043 call returning > 0 value.
23044 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23045
765ade4b
AS
230462010-06-07 Andreas Schwab <schwab@redhat.com>
23047
23048 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23049 libc_nonshared.a from targets in modules-names.
23050
80da2e09
KS
230512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23052
23053 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23054 requires it.
23055
158db122
LM
230562010-06-10 Luis Machado <luisgpm@br.ibm.com>
23057
23058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23062
caa78cf8
AS
230632010-06-02 Andreas Schwab <schwab@redhat.com>
23064
23065 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23066
b2ef2c01
UD
230672010-06-14 Ulrich Drepper <drepper@redhat.com>
23068
23069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23070 and F_GETPIPE_SZ.
23071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23077
fbd643b6
RM
230782010-06-14 Roland McGrath <roland@redhat.com>
23079
23080 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23081
f32f2869
JJ
230822010-06-07 Jakub Jelinek <jakub@redhat.com>
23083
23084 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23085 __REDIRECT followed by __THROW.
23086 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23087 * posix/getopt.h (getopt): Likewise.
23088
2a50c078
EPM
230892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23090
23091 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23092 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23093 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23094 in AT_FLAGS.
23095 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23096 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23097
eb5ad2eb
LM
230982010-05-28 Luis Machado <luisgpm@br.ibm.com>
23099
23100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23101
3c88fe1e
L
231022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23103
23104 [BZ #11640]
23105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23106 Properly check family and model.
23107
d2f73151
TY
231082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23109
23110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23111
ebd2e13d
LM
231122010-05-24 Luis Machado <luisgpm@br.ibm.com>
23113
23114 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23115
b32b8b45
UD
231162010-05-21 Ulrich Drepper <drepper@redhat.com>
23117
23118 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23119 symbol reference.
23120
9acbe24d
AS
231212010-05-19 Andreas Schwab <schwab@redhat.com>
23122
23123 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23124 symbol reference.
23125
f0ccf6ea
AS
231262010-05-21 Andreas Schwab <schwab@redhat.com>
23127
3d04ff3a
AS
23128 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23129 and internal_recvmmsg.
23130 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23131 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23133 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23134
f0ccf6ea
AS
23135 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23136 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23137 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23138
5b08ac57
AS
231392010-05-20 Andreas Schwab <schwab@redhat.com>
23140
23141 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23142
4828935d
LM
231432010-05-17 Luis Machado <luisgpm@br.ibm.com>
23144
23145 POWER7 optimizations.
23146 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23147 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23148
373d545e
UD
231492010-05-19 Ulrich Drepper <drepper@redhat.com>
23150
23151 * version.h: Update for 2.13 development version.
23152
21a2b1ae
AS
231532010-05-12 Andrew Stubbs <ams@codesourcery.com>
23154
23155 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23156 exceptions. Return 0.
23157
3f7dcb2b
RM
231582010-05-07 Roland McGrath <roland@redhat.com>
23159
23160 * elf/ldconfig.c (main): Add a const.
23161
5f24d53a 231622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23163
a160f8d8
UD
23164 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23165 (args_options): Add no-idn option.
23166 (ahosts_keys_int): Add idn_flags to ai_flags.
23167 (parse_option): Handle 'i' option to clear idn_flags.
23168
5f24d53a
UD
23169 * malloc/malloc.c (_int_free): Possible race in the most recently
23170 added check. Only act on the data if no current modification
23171 happened.
265bb1ce
UD
23172
23173See ChangeLog.17 for earlier changes.
This page took 2.987568 seconds and 5 git commands to generate.