]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* sunrpc/etc.rpc (fedfs_admin): Add entry.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
17aa0516
JL
12012-12-05 Jeff Law <law@redhat.com>
2
3 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4
363313b5
JM
52012-12-05 Joseph Myers <joseph@codesourcery.com>
6
effbd42a
JM
7 * README: Don't refer to ports add-on as distributed separately.
8 Mention AArch64 in list of systems supported in the ports add-on.
9
87600365
JM
10 * LICENSES: Add more non-FSF copyright and license notices.
11
a0d7066a
JM
12 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13 ((unused)).
14
66ca5a5b
JM
15 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16
363313b5
JM
17 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18 10000 as width of padded output.
19
b37984ad
JM
202012-12-04 Joseph Myers <joseph@codesourcery.com>
21
9003570a
JM
22 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23
b37984ad
JM
24 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25 variable LX with __attribute__ ((unused)).
26 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27 Likewise.
28 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31 with __attribute__ ((unused)).
32
c8df52ec
DM
332012-12-04 David S. Miller <davem@abraco.davemloft.net>
34
35 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36
b3b099af
JM
372012-12-04 Joseph Myers <joseph@codesourcery.com>
38
c33aa6e3
JM
39 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40 (CFLAGS-nldbl-acos.c): New variable.
41 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
44 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
45 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
47 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
49 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
53 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
61 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
63 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
64 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
68 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
69 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
74 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
75 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
76 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
77 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
78 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
79 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
80 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
81 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
82 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
83 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
84 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
85 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
86 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
87 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
88 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
89 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
90 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
91 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
92 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
93 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
94 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
95 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
96 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
97 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
98 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
99 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
100 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
101 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
102 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
103 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
104 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
105 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
106 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
107 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
108 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
109 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
110 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
111 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
112 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
113 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
114 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
115 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
116 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
117 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
118 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
119 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
120 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
121 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
122 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
123 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
124 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
125 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
126 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
127 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
128 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
129 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
130 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
131 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
132 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
133 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
134 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
135 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
136 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
137 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
138
20f0018d
JM
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
140 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
141
b3b099af
JM
142 [BZ #14914]
143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
144 whole low double instead of just low 47 bits when splitting values
145 into two parts.
146
029264d1
AM
1472012-12-03 Allan McRae <allan@archlinux.org>
148
149 * manual/stdio.texi (Predefined Printf Handlers): Remove
150 @hsep and @vsep usage.
151
c9d6789e
MF
1522012-12-03 Mike Frysinger <vapier@gentoo.org>
153
154 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
155 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
156
4b7634a5
JL
1572012-12-03 Jeff Law <law@redhat.com>
158
159 * time/sys/time.h (settimeofday): Do not mark TV argument
160 as __nonnull.
161
eb6cbd24
MF
1622012-12-01 Mike Frysinger <vapier@gentoo.org>
163
164 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
165 when currently writing and seek to current position when not.
166 * libio/Makefile (tests): Remove bug-fclose1.
167 * libio/bug-fclose1.c: Delete.
168
f638872a
JM
1692012-12-01 Joseph Myers <joseph@codesourcery.com>
170
171 * manual/arith.texi (feenableexcept): Fix typo.
172 (fedisableexcept): Likewise.
173
48085d14
RM
1742012-11-30 Roland McGrath <roland@hack.frob.com>
175
176 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
177 second, differently-typed declaration, rather than a cast.
178
1a538b9f
SP
1792012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
180
181 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
182 * include/rpc/svc.h: ... here.
183
d07f2ff1 1842012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
185
186 [BZ #13013]
187 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
188 depending n and resplen2 to catch cases where answer
189 equals answerp2.
190
c93ec1f0
CD
1912012-11-29 Carlos O'Donell <carlos@systemhalted.org>
192
193 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
194 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
195
37db69de
MF
1962012-11-29 Mike Frysinger <vapier@gentoo.org>
197
198 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
199
e10c4e4f
RM
2002012-11-29 Roland McGrath <roland@hack.frob.com>
201
202 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
203
2af1b328
JL
2042012-11-28 Jeff Law <law@redhat.com>
205
206 [BZ #13761]
207 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
208 dataset_temporary. Track alloca usage into alloca_used.
209 If dataset is large allocate and release it via malloc/free.
210
111db5b1
FW
2112012-06-04 Florian Weimer <fweimer@redhat.com>
212
f06cc227 213 [BZ #14197]
111db5b1
FW
214 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
215
dd694abd
DM
2162012-11-28 David S. Miller <davem@davemloft.net>
217
218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
219
9984dd01
JM
2202012-11-28 Joseph Myers <joseph@codesourcery.com>
221
222 [BZ #14803]
223 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
224 of pi/2 rounded to nearest to 64 bits.
225 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
226 nearest to 64 bits.
227 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
228 bits.
229
14bc93a9
JL
2302012-11-28 Jeff Law <law@redhat.com>
231 Martin Osvald <mosvald@redhat.com>
232
233 [BZ #14889]
234 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
235 * sunrpc/svc.c: Include time.h.
236 (__svc_accept_failed): New function.
237 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
238 any reason other than EINTR, call __svc_accept_failed.
239 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
240 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
241
e3c6aa3a
AS
2422012-11-28 Andreas Schwab <schwab@suse.de>
243
244 * scripts/abilist.awk: Also handle indirect functions in .opd
245 section.
246
1bead169
JM
2472012-11-28 Joseph Myers <joseph@codesourcery.com>
248
249 [BZ #13881]
250 * sysdeps/x86/fpu/powl_helper.c: New file.
251 * sysdeps/x86/fpu/Makefile: Likewise.
252 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
253 (p3): New object.
254 (__ieee754_powl): Use __powl_helper for finite arguments except
255 integer exponents below 8.
256 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
257 (p3): New object.
258 (__ieee754_powl): Use __powl_helper for finite arguments except
259 integer exponents below 8.
260 * math/libm-test.inc (pow_test): Add more tests and enable some
261 previously disabled tests.
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
264
0817d63d
SP
2652012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
266 Carlos O'Donell <carlos_odonell@mentor.com>
267
268 * nss/makedb.c (is_prime): Assert that input is odd and greater
269 than 4. Note that fact in a comment too.
270 (next_prime): Add 4 to input.
271
de2fd463
SP
2722012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
273
274 [BZ #11741]
275 * libio/Makefile (tests): Add test case tst-fwrite-error.
276 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
277 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
278 * libio/tst-fwrite-error.c: New test case.
279
c515fb51
L
2802012-11-26 H.J. Lu <hongjiu.lu@intel.com>
281
282 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
283 before casting to void *.
284 * include/libc-internal.h (__pointer_type): New macro.
285 (__integer_if_pointer_type_sub): Likewise.
286 (__integer_if_pointer_type): Likewise.
287 (cast_to_integer): Likewise.
288 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
289 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
290 before casting to atomic64_t.
291 (atomic_exchange_acq): Likewise.
292 (__arch_exchange_and_add_body): Likewise.
293 (__arch_add_body): Likewise.
294 (atomic_add_negative): Likewise.
295 (atomic_add_zero): Likewise.
296
4cf77aa9
JM
2972012-11-26 Joseph Myers <joseph@codesourcery.com>
298
299 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
300 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
301 (add_fdes): Likewise.
302 (linear_search_fdes): Likewise.
303 (binary_search_unencoded_fdes): Likewise.
304
d260b3b4
AS
3052012-11-26 Andreas Schwab <schwab@linux-m68k.org>
306
307 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
308
67060746
AC
3092012-11-24 Adam Conrad <adconrad@0c3.net>
310
311 * configure.in: Autodetect C++ header directories.
312 * configure: Regenerated.
313
800938a1
MF
3142012-11-23 Mike Frysinger <vapier@gentoo.org>
315
316 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
317
4e6e34e6
AS
3182012-11-23 Andreas Schwab <schwab@linux-m68k.org>
319
320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
321
7c7feb47
JM
3222012-11-22 Joseph Myers <joseph@codesourcery.com>
323
7184dcdf
JM
324 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
325 LDBL_MANT_DIG == 106]: Disable some tests.
326 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
327 Likewise.
328 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
329 Likewise.
330
0a42601f
JM
331 [BZ #14871]
332 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
333 input for small inputs. Return +/- pi/2 for large inputs.
334 * math/libm-test.inc (atan_test): Add more tests.
335
79c9b9fe
JM
336 * sysdeps/generic/unwind-dw2-fde-glibc.c
337 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
338 __attribute__ ((unused)).
339
c60d3bf2
JM
340 [BZ #14645]
341 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
342 x * y if x and y are nonzero and z is zero.
343
ef1e0867
JM
344 [BZ #14811]
345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
346 nonzero exponents with absolute value below 0x1p-117 to +/-
347 0x1p-117.
348
1468ded3
JM
349 [BZ #14869]
350 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
351 up arguments below 2**-450, not just those below 2**-500.
352 * math/libm-test.inc (hypot_test): Add another test.
353
8e27e3cc
JM
354 [BZ #14868]
355 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
356 Return a+b for ratio over 2**120, not 2**60.
357 * math/libm-test.inc (hypot_test): Add another test.
358
c9c0279b
JM
359 * math/libm-test.inc (clog_test): Use
360 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
361 (clog10_test): Likewise.
362
7c7feb47
JM
363 [BZ #6778]
364 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
365
fff1530e
AS
3662012-11-22 Andreas Schwab <schwab@suse.de>
367
368 * sysdeps/i386/fpu/libm-test-ulps: Update.
369
94558d30
PT
3702012-11-22 Pino Toscano <toscano.pino@tiscali.it>
371
372 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
373 printf output with newline.
374
7e1be741
L
3752012-11-21 H.J. Lu <hongjiu.lu@intel.com>
376
6bfea974
L
377 [BZ #14865]
378 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
379 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
380 -z nodlopen, -z initfirst and -z execstack support.
381 * configure: Regenerated.
382
7e1be741
L
383 * elf/elf.h (DF_1_NODIRECT): New macro.
384 (DF_1_IGNMULDEF): Likewise.
385 (DF_1_NOKSYMS): Likewise.
386 (DF_1_NOHDR): Likewise.
387 (DF_1_EDITED): Likewise.
388 (DF_1_NORELOC): Likewise.
389 (DF_1_SYMINTPOSE): Likewise.
390 (DF_1_GLOBAUDIT): Likewise.
391 (DF_1_SINGLETON): Likewise.
392 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
393 DT_1_SUPPORTED_MASK bits.
394 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
395
105ce2ce
CD
3962012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
397
398 * sysdeps/unix/make-syscalls.sh: Document prefixes.
399
123be9de
TS
4002012-11-20 Thomas Schwinge <thomas@codesourcery.com>
401
d072f3f7
TS
402 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
403 macro.
404
123be9de
TS
405 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
406 (sendmmsg): Move declarations...
407 * socket/sys/socket.h: ... here.
408 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
409 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
410 include it from...
411 * socket/recvmmsg.c: ... this new file.
412 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
413 (sendmmsg): Rename to __sendmmsg, create weak alias and make
414 definition of __sendmmsg hidden.
415 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
416 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
417 Move ENOSYS stub into and include it from...
418 * socket/sendmmsg.c: ... this new file.
419 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
420 (sysdep_routines): Move recvmmsg and sendmmsg...
421 * socket/Makefile (routines): ... here.
422 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
423 (GLIBC_PRIVATE): Add __sendmmsg.
424 * include/sys/socket.h (__sendmmsg): Add declarations.
425 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
426 sendmmsg.
427
cf9a5d18
JM
4282012-11-20 Joseph Myers <joseph@codesourcery.com>
429
430 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
431 variable I1 with __attribute__ ((unused)).
432 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
433
ecd4caf9
JM
4342012-11-19 Joseph Myers <joseph@codesourcery.com>
435
be14d48f
JM
436 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
437 DUMMY variables with __attribute__ ((unused)).
438
ecd4caf9
JM
439 * bits/byteswap.h: Include <bits/types.h>.
440 (__bswap_64): Use __uint64_t instead of unsigned long long int.
441
986cab95
PT
4422012-11-19 Pino Toscano <toscano.pino@tiscali.it>
443
444 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
445 string_t. Do not manually set errno.
446 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
447 length with __strnlen. Make sure to both set errno and return it on
448 failure.
449
6d33cc9d
DM
4502012-11-19 David S. Miller <davem@davemloft.net>
451
452 With help from Joseph Myers.
453 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
454 very large arguments properly.
455 * math/libm-test.inc (atan_test): New tests.
456 (atan2_test): New tests.
457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
459
ee663277
JM
4602012-11-19 Joseph Myers <joseph@codesourcery.com>
461
877f2d8e
JM
462 [BZ #14856]
463 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
464 Define to 3.
465
116fc08a
JM
466 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
467 [POSIX] (EADDRNOTAVAIL): Likewise.
468 [POSIX] (EAFNOSUPPORT): Likewise.
469 [POSIX] (EALREADY): Likewise.
470 [POSIX] (ECONNABORTED): Likewise.
471 [POSIX] (ECONNREFUSED): Likewise.
472 [POSIX] (ECONNRESET): Likewise.
473 [POSIX] (EDESTADDRREQ): Likewise.
474 [POSIX] (EDQUOT): Likewise.
475 [POSIX] (EHOSTUNREACH): Likewise.
476 [POSIX] (EIDRM): Likewise.
477 [POSIX] (EISCONN): Likewise.
478 [POSIX] (ELOOP): Likewise.
479 [POSIX] (EMULTIHOP): Likewise.
480 [POSIX] (ENETDOWN): Likewise.
481 [POSIX] (ENETUNREACH): Likewise.
482 [POSIX] (ENOBUFS): Likewise.
483 [POSIX] (ENODATA): Likewise.
484 [POSIX] (ENOLINK): Likewise.
485 [POSIX] (ENOMSG): Likewise.
486 [POSIX] (ENOPROTOOPT): Likewise.
487 [POSIX] (ENOSR): Likewise.
488 [POSIX] (ENOSTR): Likewise.
489 [POSIX] (ENOTCONN): Likewise.
490 [POSIX] (ENOTSOCK): Likewise.
491 [POSIX] (EOPNOTSUPP): Likewise.
492 [POSIX] (EOVERFLOW): Likewise.
493 [POSIX] (EPROTO): Likewise.
494 [POSIX] (EPROTONOSUPPORT): Likewise.
495 [POSIX] (EPROTOTYPE): Likewise.
496 [POSIX] (ESTALE): Likewise.
497 [POSIX] (ETIME): Likewise.
498 [POSIX] (ETXTBSY): Likewise.
499 [POSIX] (EWOULDBLOCK): Likewise.
500 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
501 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
502 [POSIX] (SEEK_CUR): Likewise.
503 [POSIX] (SEEK_END): Likewise.
504 [POSIX || UNIX98] (mode_t): Do not require.
505 [POSIX] (off_t): Likewise.
506 [POSIX] (pid_t): Likewise.
507 [POSIX] (sys/stat.h): Do not allow header.
508 [POSIX] (unistd.h): Likewise.
509 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
510 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
511 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
512 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
513 require.
514 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
515 sigevent): Specify elements.
516 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
517 entry.
518 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
519 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
520
a483863f
JM
521 * conform/data/cpio.h-data [POSIX]: Disable whole file.
522 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
523 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
524 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
525 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
526 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
527 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
528 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
529 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
530 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
531 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
532 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
533 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
534 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
535 Likewise.
536 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
537 Likewise.
538 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
539 Likewise.
540 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
541 Likewise.
542 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
543 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
544 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
545 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
546 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
547 Specify lower bound on value.
548 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
549 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
550 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
551 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
552 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
553 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
554 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
555 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
556 value.
557 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
558 as optional.
559 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
560 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
561 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
562 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
563 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
564 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
565 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
566 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
567 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
568 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
569 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
570 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
571 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
572 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
573 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
574 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
575 entry.
576 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
577 optional.
578 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
579 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
580 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
581 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
582 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
583 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
584 Likewise.
585 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
586 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
587 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
588 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
589 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
590 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
591 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
592 as optional.
593 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
595 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
596 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
597 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
598 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
599 specify as optional.
600 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
601 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
602 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
603 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
604 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
605 [XPG3] (NL_LANGMAX): Likewise.
606 [POSIX || XPG3] (NL_MSGMAX): Likewise.
607 [POSIX || XPG3] (NL_NMAX): Likewise.
608 [POSIX || XPG3] (NL_SETMAX): Likewise.
609 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
610 [XPG3] (NZERO): Likewise.
611 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
612 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
613 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
614 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
615 (REG_ERANGE): Expect.
616 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
617 optional-constant.
618 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
619 Use (void) in prototype.
620 [POSIX] (*_t): Allow.
621 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
622 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
623 (WRDE_BADVAL): Expect.
624
5ba924e3
JM
625 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
626 expect.
627 [XPG3 || XPG4] (O_RSYNC): Likewise.
628 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
629 Likewise.
630 [XPG3 || XPG4] (pthread_sigmask): Likewise.
631 [XPG3 || XPG4] (sigqueue): Likewise.
632 [XPG3 || XPG4] (sigtimedwait): Likewise.
633 [XPG3 || XPG4] (sigwaitinfo): Likewise.
634 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
635 [XPG3 || XPG4] (vsnprintf): Likewise.
636 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
637 Likewise.
638 [XPG3 || XPG4] (blksize_t): Likewise.
639 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
640 Likewise.
641 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
642 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
643 [XPG3 || XPG4] (struct itimerspec): Likewise.
644 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
645 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
646 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
647 [XPG3 || XPG4] (clockid_t): Likewise.
648 [XPG3 || XPG4] (timer_t): Likewise.
649 [XPG3 || XPG4] (clock_getres): Likewise.
650 [XPG3 || XPG4] (clock_gettime): Likewise.
651 [XPG3 || XPG4] (clock_settime): Likewise.
652 [XPG3 || XPG4] (nanosleep): Likewise.
653 [XPG3 || XPG4] (timer_create): Likewise.
654 [XPG3 || XPG4] (timer_delete): Likewise.
655 [XPG3 || XPG4] (timer_gettime): Likewise.
656 [XPG3 || XPG4] (timer_getoverrun): Likewise.
657 [XPG3 || XPG4] (timer_settime): Likewise.
658 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
659 [XPG3 || XPG4] (getlogin_r): Likewise.
660 [XPG3 || XPG4] (pread): Likewise.
661 [XPG3 || XPG4] (pthread_atfork): Likewise.
662 [XPG3 || XPG4] (pwrite): Likewise.
663
ee663277
JM
664 [BZ #14835]
665 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
666 <bits/siginfo.h>.
667
942caa16
PT
6682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
669
e19af380
PT
670 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
671 finalizing MALLSTREAM.
672
942caa16
PT
673 * sysdeps/mach/hurd/syncfs.c: New file.
674
cfde9b46
SP
6752012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
676
677 [BZ #14719]
678 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
679 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
680 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
681 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
682 (_nss_dns_gethostbyname4_r): Likewise.
683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
684 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
685
f6da27e5
PH
6862012-11-19 Peng Haitao <penght@cn.fujitsu.com>
687
688 [BZ #13763]
689 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
690
6665d4a2
SM
6912012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
692
1f51ee92
SM
693 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
694 * elf/cache.c (print_entry): Print ",AArch64" for
695 FLAG_AARCH64_LIB64
696
6665d4a2
SM
697 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
698 * elf/cache.c (print_entry): Print ",hard-float" for
699 FLAG_ARM_LIBHF.
700
05b227bd
DM
7012012-11-18 David S. Miller <davem@davemloft.net>
702
703 With help from Joseph Myers.
704 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
705 cutoff to 2**-13.
706 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
707 cutoff to 2**-25.
708 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
709 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
710 small.
711 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
712 * math/libm-test.inc (y0_test): New tests.
713 (y1_test): New tests.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
717
786b0b67
AS
7182012-11-18 Andreas Schwab <schwab@linux-m68k.org>
719
720 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
721 64-bit targets.
722 * configure: Regenerated.
723
8e18b86d
DM
7242012-11-17 David S. Miller <davem@davemloft.net>
725
726 [BZ #14811]
727 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
728 nonzero exponents with absolute value below 0x1p-128 to +/-
729 0x1p-128.
730
531f1ae0
JM
7312012-11-17 Joseph Myers <joseph@codesourcery.com>
732
12df29e2
JM
733 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
734
150dc1a0
JM
735 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
736
531f1ae0
JM
737 * posix/getconf-speclist.c: New file.
738 * posix/posix-envs.def: Likewise.
739 * posix/confstr.c (START_ENV_GROUP): New macro.
740 (END_ENV_GROUP): Likewise.
741 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
742 (KNOWN_PRESENT_ENV_STRING): Likewise.
743 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
744 (UNKNOWN_ENVIRONMENT): Likewise.
745 (confstr): Include posix-envs.def instead of handling
746 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
747 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
748 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
749 (END_ENV_GROUP): Likewise.
750 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
751 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
752 (UNKNOWN_ENVIRONMENT): Likewise.
753 (__sysconf): Include posix-envs.def instead of handling associated
754 cases directly here.
755 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
756 preprocessing getconf-speclist.c rather than running getconf or
757 generating empty file.
758
a93f9cbc
PT
7592012-11-16 Pino Toscano <toscano.pino@tiscali.it>
760
761 * scripts/check-local-headers.sh: Ignore 'mach' headers.
762
d64d9f87
AL
7632012-11-16 Andrej Lajovic <natrij@gmail.com>
764
765 [BZ #14672]
766 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
767
447885eb
DM
7682012-11-16 David S. Miller <davem@davemloft.net>
769
770 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
771 smaller than LDBL_EPSILON/2.0L, just return xm1.
772
bcbf9830
L
7732012-11-16 H.J. Lu <hongjiu.lu@intel.com>
774
775 * elf/tst-array1.c (init): Set constructor priority to 1000.
776 (fini): Set destructor priority to 1000.
777 * elf/tst-array2dep.c: Likewise.
778
2b766585
SP
7792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
780
781 [BZ #11741]
782 * libio/fileops.c (_IO_new_file_write): Correctly return error.
783 (_IO_new_file_xsputn): Also return EOF if none of the input
784 data was written when overflow failed.
785 * libio/iopadn.c (_IO_padn): Likewise.
786 * libio/iowpadn.c (_IO_wpadn): Likewise.
787 * stdio-common/tst-put-error.c: Add copyright notice.
788 (do_test): Add case for printing padded string.
789 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
790 _IO_padn returned error.
791 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
792 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
793 return EOF.
794
b1848fde
SP
7952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
796
797 * libio/libioP.h: Add comment note that the references to C++
798 bits are now obsolete.
799
2fd89785
MS
8002012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
801
802 * math/libm-test.inc (check_complex): Use asprintf.
803
e3ea5409
JM
8042012-11-14 Joseph Myers <joseph@codesourcery.com>
805
806 * debug/pcprofiledump.c (print_version): Update copyright year.
807 * malloc/memusagestat.c (print_version): Likewise.
808
2e64d265
L
8092012-11-14 H.J. Lu <hongjiu.lu@intel.com>
810
811 [BZ #14831]
812 * elf/Makefile (tests): Add tst-audit8.
813 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
814 ($(objpfx)tst-audit8.out): New target.
815 (tst-audit8-ENV): New variable.
816 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
817 audit if l_reloc_result is NULL.
818 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
819 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
820 * elf/tst-audit8.c: New file.
821
c485e4d2
MS
8222012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
823
824 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
825 * misc/Makefile (CFLAGS-select.c): Define.
826 * posix/Makefile (CFLAGS-pause.c): Define.
827
3a0d900a
DM
8282012-11-13 David S. Miller <davem@davemloft.net>
829
830 * crypt/Makefile: Move test targets after toplevel Rules
831 inclusion. Grab any necessary sysdep routines when linking.
832 * crypt/md5.c (md5_process_block): Remove define, we will always
833 name it __md5_process_block.
834 (md5_finish_ctx): Update md5_process_block call.
835 (md5_stream): Likewise.
836 (md5_process_bytes): Likewise.
837 (md5_process_block): Rename to __md5_process_block and move to ...
838 * crypt/md5-block.c: ... here.
839 * crypt/sha256.c (sha256_process_block): Move to ...
840 * crypt/sha256-block.c: ... here.
841 * crypt/sha512.c (sha512_process_block): Move to ...
842 * crypt/sha512-block.c: ... here.
843 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
844 path.
845 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
846 * sysdeps/sparc/sparc64/multiarch/Makefile
847 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
848 crypt subdir.
849 (localedef-aux): Add md5 crypto assembler when in locale subdir.
850 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
851 multiarch changes.
852 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
853 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
854 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
855 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
856 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
857 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
858 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
859 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
860 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
861 file.
862 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
863 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
864 file.
865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
866
8ca89318
JM
8672012-11-13 Joseph Myers <joseph@codesourcery.com>
868
e27d476a
JM
869 * timezone/tzselect.ksh: Update from tzcode git revision
870 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
871 * timezone/zdump.c: Likewise.
872 * timezone/zic.c: Likewise.
873 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
874 in TZVERSION setting, not $(PKGVERSION).
875 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
876 REPORT_BUGS_TO settings.
877
8ca89318
JM
878 [BZ #14838]
879 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
880 macro.
881
47594329
MS
8822012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
883
884 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
885 detection to immediately after _FP_ROUND().
886 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
887 bits are 0.
888
640ac3f1
DM
8892012-11-11 David S. Miller <davem@davemloft.net>
890
891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
892 inttypes.h
893 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
894 __close rather than their public counterparts.
895
3d2577bb
JM
8962012-11-10 Joseph Myers <joseph@codesourcery.com>
897
898 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
899 file.
900 [UNIX98] (sem_timedwait): Do not expect.
901 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
902 [XPG4 || UNIX98] (sockatmark): Do not expect.
903 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
904 (clock_getcpuclockid): Do not expect.
905 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
906 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
907 Do not expect.
908 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
909 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
910 [UNIX98] (vwscanf): Likewise.
911 [UNIX98] (vswscanf): Likewise.
912
fb1ae1ee
JM
9132012-11-09 Joseph Myers <joseph@codesourcery.com>
914
9ec6f8bd
JM
915 * timezone/version.h: Remove file.
916 * timezone/README: Do not refer to version.h.
917 * timezone/Makefile ($(objpfx)zic.o): New dependency on
918 $(objpfx)version.h.
919 ($(objpfx)zdump.o): Likewise.
c3f81911 920 ($(objpfx)version.h): New target.
9ec6f8bd 921
0aa8f8a1
JM
922 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
923 2012i.
924 * timezone/README: Don't mention modification to tzselect.ksh.
925 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
926 work on unmodified tzselect.ksh. Substitute version numbers in
927 tzselect.ksh.
928
4e87147f
JM
929 * Makefile (format-me): Remove.
930 (INSTALL): Adjust indentation. Use commands directly instead of
931 using $(format-me).
932
8b748aed
JM
933 * aclocal.m4 (ACX_PKGVERSION): New macro.
934 (ACX_BUGURL): Likewise.
935 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
936 (PKGVERSION): New AC_DEFINE_UNQUOTED.
937 (REPORT_BUGS_TO): Likewise.
938 * configure: Regenerated.
939 * config.h.in (PKGVERSION): New macro.
940 (REPORT_BUGS_TO): Likewise.
941 * config.make.in (PKGVERSION): New variable.
942 (PKGVERSION_TEXI): Likewise.
943 (REPORT_BUGS_TO): Likewise.
944 (REPORT_BUGS_TEXI): Likewise.
945 * Makefile (format-me): Use -I$(common-objpfx)manual.
946 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
947 ($(common-objpfx)manual/%): New target.
948 (manual/%): Remove target.
949 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
950 (print_version): Use PKGVERSION.
951 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
952 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
953 and REPORT_BUGS_TO.
954 ($(objpfx)xtrace): Likewise.
955 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
956 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
957 (print_version): Use PKGVERSION.
958 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
959 (do_version): Use PKGVERSION.
960 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
961 REPORT_BUGS_TO.
962 (common-ldd-rewrite): Likewise.
963 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
964 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
965 (print_version): Use PKGVERSION.
966 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
967 * elf/pldd.c (argp_program_bug_address): Remove variable.
968 (more_help): New function.
969 (argp): Use more_help.
970 (print_version): Use PKGVERSION.
971 * elf/sln.c (main): Use PKGVERSION.
972 (usage): Use REPORT_BUGS_TO.
973 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
974 (top level): Use PKGVERSION.
975 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
976 (print_version): Use PKGVERSION.
977 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
978 (print_version): Use PKGVERSION.
979 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
980 (print_version): Use PKGVERSION.
981 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
982 (print_version): Use PKGVERSION.
983 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
984 (print_version): Use PKGVERSION.
985 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
986 (print_version): Use PKGVERSION.
987 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
988 and BUGURL.
989 ($(objpfx)memusage): Likewise.
990 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
991 (do_version): Use PKGVERSION.
992 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
993 (print_version): Use PKGVERSION.
994 * malloc/mtrace.pl ($PACKAGE): Remove variable.
995 ($PKGVERSION): New variable.
996 ($REPORT_BUGS_TO): Likewise.
997 (usage): Use $REPORT_BUGS_TO.
998 (top level): Use $PKGVERSION.
999 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1000 ($(objpfx)pkgvers.texi): New rule.
1001 ($(objpfx)stamp-pkgvers): Likewise.
1002 * manual/install.texi: Include pkgvers.texi.
1003 (--with-pkgversion): Document new configure option.
1004 (--with-bugurl): Likewise.
1005 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1006 than necessarily for this particular distribution. Use
1007 REPORT_BUGS_TO for where to report bugs.
1008 * INSTALL: Regenerated.
1009 * manual/libc.texinfo: Include pkgvers.texi.
1010 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1011 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1012 (print_version): Use PKGVERSION.
1013 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1014 (print_version): Use PKGVERSION.
1015 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1016 (print_version): Use PKGVERSION.
1017 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1018 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1019 macro.
1020 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1021 (print_version): Use PKGVERSION.
1022 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1023 (print_version): Use PKGVERSION.
1024 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1025 and PKGVERSION.
1026
92e4b6a9
JM
1027 * timezone/checktab.awk: Update from tzcode 2012i.
1028 * timezone/ialloc.c: Likewise.
1029 * timezone/private.h: Likewise.
1030 * timezone/scheck.c: Likewise.
1031 * timezone/tzfile.h: Likewise.
1032 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1033 (TZVERSION): Hardcode tzcode version number.
1034 * timezone/zdump.c: Update from tzcode 2012i.
1035 * timezone/zic.c: Likewise.
1036 * timezone/version.h: New file.
1037 * timezone/README: Describe version.h. Update upstream location.
1038
9bde902c
JM
1039 [BZ #14824]
1040 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1041 (mktemp): Enable declaration.
1042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1046 Likewise.
1047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1048 Likewise.
1049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1050 Likewise.
1051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1052 Likewise.
1053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1054 Likewise.
1055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1056 Likewise.
1057
fb1ae1ee
JM
1058 [BZ #14821]
1059 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1060 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1061 for copies of such integer values.
1062 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1063 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1064
2c1adbcb
AJ
10652012-11-09 Andreas Jaeger <aj@suse.de>
1066
1067 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1068 definitions and declarations that are provided by
1069 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1070
d0f8457e
AK
10712012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1072
1073 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1074 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1075 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1076 definition.
1077
57241e26
MS
10782012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1079
1080 * elf/elf.h: Update comment before AArch64 relocations.
1081
60e8270d
DM
10822012-11-07 David S. Miller <davem@davemloft.net>
1083
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1086 (__start_context): Declare.
1087 (__makecontext_ret): Delete.
1088 (__makecontext): Hook up __start_context instead of
1089 __makecontext_ret.
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1091 (sysdep_routines): Add __start_context when in stdlib.
1092
0fbb0fbc
JM
10932012-11-07 Joseph Myers <joseph@codesourcery.com>
1094
1095 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1096 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1097 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1098 hardcoded "nm".
1099 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1100 (READELF): New variable. Use it instead of hardcoded "readelf".
1101
eb48db7e
L
11022012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1103
1104 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1105 * sysdeps/x86/Makefile: Here.
1106 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1107 * sysdeps/x86/tst-xmmymm.sh: This.
1108
05bcf62a
JM
11092012-11-07 Joseph Myers <joseph@codesourcery.com>
1110
c4b6cf53
JM
1111 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1112 expectations.
1113 [UNIX98] (pthread_barrier_t): Do not expect.
1114 [UNIX98] (pthread_barrierattr_t): Likewise.
1115 [UNIX98] (pthread_spinlock_t): Likewise.
1116 [UNIX98] (pthread_barrier_destroy): Likewise.
1117 [UNIX98] (pthread_barrier_init): Likewise.
1118 [UNIX98] (pthread_barrier_wait): Likewise.
1119 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1120 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1121 [UNIX98] (pthread_barrierattr_init): Likewise.
1122 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1123 [UNIX98] (pthread_getcpuclockid): Likewise.
1124 [UNIX98] (pthread_mutex_timedlock): Likewise.
1125 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1126 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1127 [UNIX98] (pthread_sigmask): Likewise.
1128 [UNIX98] (pthread_spin_destroy): Likewise.
1129 [UNIX98] (pthread_spin_init): Likewise.
1130 [UNIX98] (pthread_spin_lock): Likewise.
1131 [UNIX98] (pthread_spin_trylock): Likewise.
1132 [UNIX98] (pthread_spin_unlock): Likewise.
1133 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1134 Do not expect.
1135 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1136 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1137 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1138 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1139 [XPG3 || XPG4] (pthread_key_t): Likewise.
1140 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1141 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1142 [XPG3 || XPG4] (pthread_once_t): Likewise.
1143 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1144 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1145 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1146 [XPG3 || XPG4] (pthread_t): Likewise.
1147
cbe6e120
JM
1148 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1149 not expect.
1150 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1151
1b126443
JM
1152 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1153 Change function return type to int.
1154
b961a573
JM
1155 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1156 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1157 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1158 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1159 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1160 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1161 [!POSIX] (posix_madvise): Likewise.
1162 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1163 && !UNIX98].
1164 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1165 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1166 (mode_t): Likewise.
1167 (posix_mem_offset): Likewise.
1168 (posix_typed_mem_get_info): Likewise.
1169 (posix_typed_mem_open): Likewise.
1170
9e188909
JM
1171 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1172 Change condition to [XOPEN2K8].
1173
05bcf62a
JM
1174 * conform/conformtest.pl: Preprocess allow-header data with -x c
1175 instead of from stdin.
1176 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1177 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1178 [C99-based standards] (cerfc): Likewise.
1179 [C99-based standards] (cexp2): Likewise.
1180 [C99-based standards] (cexpm1): Likewise.
1181 [C99-based standards] (clog10): Likewise.
1182 [C99-based standards] (clog1p): Likewise.
1183 [C99-based standards] (clog2): Likewise.
1184 [C99-based standards] (clgamma): Likewise.
1185 [C99-based standards] (ctgamma): Likewise.
1186 [C99-based standards] (cerff): Likewise.
1187 [C99-based standards] (cerfcf): Likewise.
1188 [C99-based standards] (cexp2f): Likewise.
1189 [C99-based standards] (cexpm1f): Likewise.
1190 [C99-based standards] (clog10f): Likewise.
1191 [C99-based standards] (clog1pf): Likewise.
1192 [C99-based standards] (clog2f): Likewise.
1193 [C99-based standards] (clgammaf): Likewise.
1194 [C99-based standards] (ctgammaf): Likewise.
1195 [C99-based standards] (cerfl): Likewise.
1196 [C99-based standards] (cerfcl): Likewise.
1197 [C99-based standards] (cexp2l): Likewise.
1198 [C99-based standards] (cexpm1l): Likewise.
1199 [C99-based standards] (clog10l): Likewise.
1200 [C99-based standards] (clog1pl): Likewise.
1201 [C99-based standards] (clog2l): Likewise.
1202 [C99-based standards] (clgammal): Likewise.
1203 [C99-based standards] (ctgammal): Likewise.
1204 * conform/data/inttypes.h-data [C99-based standards]: Include
1205 stdint.h-data. Remove all expectations for stdint.h contents.
1206 [C99-based standards] (PRI*): Do not allow.
1207 [C99-based standards] (SCN*): Likewise.
1208 [C99-based standards] (*_t): Likewise.
1209 [C99-based-standards] (PRId8): Expect macro.
1210 [C99-based-standards] (PRIi8): Likewise.
1211 [C99-based-standards] (PRIo8): Likewise.
1212 [C99-based-standards] (PRIu8): Likewise.
1213 [C99-based-standards] (PRIx8): Likewise.
1214 [C99-based-standards] (PRIX8): Likewise.
1215 [C99-based-standards] (SCNd8): Likewise.
1216 [C99-based-standards] (SCNi8): Likewise.
1217 [C99-based-standards] (SCNo8): Likewise.
1218 [C99-based-standards] (SCNu8): Likewise.
1219 [C99-based-standards] (SCNx8): Likewise.
1220 [C99-based-standards] (PRIdLEAST8): Likewise.
1221 [C99-based-standards] (PRIiLEAST8): Likewise.
1222 [C99-based-standards] (PRIoLEAST8): Likewise.
1223 [C99-based-standards] (PRIuLEAST8): Likewise.
1224 [C99-based-standards] (PRIxLEAST8): Likewise.
1225 [C99-based-standards] (PRIXLEAST8): Likewise.
1226 [C99-based-standards] (SCNdLEAST8): Likewise.
1227 [C99-based-standards] (SCNiLEAST8): Likewise.
1228 [C99-based-standards] (SCNoLEAST8): Likewise.
1229 [C99-based-standards] (SCNuLEAST8): Likewise.
1230 [C99-based-standards] (SCNxLEAST8): Likewise.
1231 [C99-based-standards] (PRIdFAST8): Likewise.
1232 [C99-based-standards] (PRIiFAST8): Likewise.
1233 [C99-based-standards] (PRIoFAST8): Likewise.
1234 [C99-based-standards] (PRIuFAST8): Likewise.
1235 [C99-based-standards] (PRIxFAST8): Likewise.
1236 [C99-based-standards] (PRIXFAST8): Likewise.
1237 [C99-based-standards] (SCNdFAST8): Likewise.
1238 [C99-based-standards] (SCNiFAST8): Likewise.
1239 [C99-based-standards] (SCNoFAST8): Likewise.
1240 [C99-based-standards] (SCNuFAST8): Likewise.
1241 [C99-based-standards] (SCNxFAST8): Likewise.
1242 [C99-based-standards] (PRId16): Likewise.
1243 [C99-based-standards] (PRIi16): Likewise.
1244 [C99-based-standards] (PRIo16): Likewise.
1245 [C99-based-standards] (PRIu16): Likewise.
1246 [C99-based-standards] (PRIx16): Likewise.
1247 [C99-based-standards] (PRIX16): Likewise.
1248 [C99-based-standards] (SCNd16): Likewise.
1249 [C99-based-standards] (SCNi16): Likewise.
1250 [C99-based-standards] (SCNo16): Likewise.
1251 [C99-based-standards] (SCNu16): Likewise.
1252 [C99-based-standards] (SCNx16): Likewise.
1253 [C99-based-standards] (PRIdLEAST16): Likewise.
1254 [C99-based-standards] (PRIiLEAST16): Likewise.
1255 [C99-based-standards] (PRIoLEAST16): Likewise.
1256 [C99-based-standards] (PRIuLEAST16): Likewise.
1257 [C99-based-standards] (PRIxLEAST16): Likewise.
1258 [C99-based-standards] (PRIXLEAST16): Likewise.
1259 [C99-based-standards] (SCNdLEAST16): Likewise.
1260 [C99-based-standards] (SCNiLEAST16): Likewise.
1261 [C99-based-standards] (SCNoLEAST16): Likewise.
1262 [C99-based-standards] (SCNuLEAST16): Likewise.
1263 [C99-based-standards] (SCNxLEAST16): Likewise.
1264 [C99-based-standards] (PRIdFAST16): Likewise.
1265 [C99-based-standards] (PRIiFAST16): Likewise.
1266 [C99-based-standards] (PRIoFAST16): Likewise.
1267 [C99-based-standards] (PRIuFAST16): Likewise.
1268 [C99-based-standards] (PRIxFAST16): Likewise.
1269 [C99-based-standards] (PRIXFAST16): Likewise.
1270 [C99-based-standards] (SCNdFAST16): Likewise.
1271 [C99-based-standards] (SCNiFAST16): Likewise.
1272 [C99-based-standards] (SCNoFAST16): Likewise.
1273 [C99-based-standards] (SCNuFAST16): Likewise.
1274 [C99-based-standards] (SCNxFAST16): Likewise.
1275 [C99-based-standards] (PRId32): Likewise.
1276 [C99-based-standards] (PRIi32): Likewise.
1277 [C99-based-standards] (PRIo32): Likewise.
1278 [C99-based-standards] (PRIu32): Likewise.
1279 [C99-based-standards] (PRIx32): Likewise.
1280 [C99-based-standards] (PRIX32): Likewise.
1281 [C99-based-standards] (SCNd32): Likewise.
1282 [C99-based-standards] (SCNi32): Likewise.
1283 [C99-based-standards] (SCNo32): Likewise.
1284 [C99-based-standards] (SCNu32): Likewise.
1285 [C99-based-standards] (SCNx32): Likewise.
1286 [C99-based-standards] (PRIdLEAST32): Likewise.
1287 [C99-based-standards] (PRIiLEAST32): Likewise.
1288 [C99-based-standards] (PRIoLEAST32): Likewise.
1289 [C99-based-standards] (PRIuLEAST32): Likewise.
1290 [C99-based-standards] (PRIxLEAST32): Likewise.
1291 [C99-based-standards] (PRIXLEAST32): Likewise.
1292 [C99-based-standards] (SCNdLEAST32): Likewise.
1293 [C99-based-standards] (SCNiLEAST32): Likewise.
1294 [C99-based-standards] (SCNoLEAST32): Likewise.
1295 [C99-based-standards] (SCNuLEAST32): Likewise.
1296 [C99-based-standards] (SCNxLEAST32): Likewise.
1297 [C99-based-standards] (PRIdFAST32): Likewise.
1298 [C99-based-standards] (PRIiFAST32): Likewise.
1299 [C99-based-standards] (PRIoFAST32): Likewise.
1300 [C99-based-standards] (PRIuFAST32): Likewise.
1301 [C99-based-standards] (PRIxFAST32): Likewise.
1302 [C99-based-standards] (PRIXFAST32): Likewise.
1303 [C99-based-standards] (SCNdFAST32): Likewise.
1304 [C99-based-standards] (SCNiFAST32): Likewise.
1305 [C99-based-standards] (SCNoFAST32): Likewise.
1306 [C99-based-standards] (SCNuFAST32): Likewise.
1307 [C99-based-standards] (SCNxFAST32): Likewise.
1308 [C99-based-standards] (PRId64): Likewise.
1309 [C99-based-standards] (PRIi64): Likewise.
1310 [C99-based-standards] (PRIo64): Likewise.
1311 [C99-based-standards] (PRIu64): Likewise.
1312 [C99-based-standards] (PRIx64): Likewise.
1313 [C99-based-standards] (PRIX64): Likewise.
1314 [C99-based-standards] (SCNd64): Likewise.
1315 [C99-based-standards] (SCNi64): Likewise.
1316 [C99-based-standards] (SCNo64): Likewise.
1317 [C99-based-standards] (SCNu64): Likewise.
1318 [C99-based-standards] (SCNx64): Likewise.
1319 [C99-based-standards] (PRIdLEAST64): Likewise.
1320 [C99-based-standards] (PRIiLEAST64): Likewise.
1321 [C99-based-standards] (PRIoLEAST64): Likewise.
1322 [C99-based-standards] (PRIuLEAST64): Likewise.
1323 [C99-based-standards] (PRIxLEAST64): Likewise.
1324 [C99-based-standards] (PRIXLEAST64): Likewise.
1325 [C99-based-standards] (SCNdLEAST64): Likewise.
1326 [C99-based-standards] (SCNiLEAST64): Likewise.
1327 [C99-based-standards] (SCNoLEAST64): Likewise.
1328 [C99-based-standards] (SCNuLEAST64): Likewise.
1329 [C99-based-standards] (SCNxLEAST64): Likewise.
1330 [C99-based-standards] (PRIdFAST64): Likewise.
1331 [C99-based-standards] (PRIiFAST64): Likewise.
1332 [C99-based-standards] (PRIoFAST64): Likewise.
1333 [C99-based-standards] (PRIuFAST64): Likewise.
1334 [C99-based-standards] (PRIxFAST64): Likewise.
1335 [C99-based-standards] (PRIXFAST64): Likewise.
1336 [C99-based-standards] (SCNdFAST64): Likewise.
1337 [C99-based-standards] (SCNiFAST64): Likewise.
1338 [C99-based-standards] (SCNoFAST64): Likewise.
1339 [C99-based-standards] (SCNuFAST64): Likewise.
1340 [C99-based-standards] (SCNxFAST64): Likewise.
1341 [C99-based-standards] (PRIdMAX): Likewise.
1342 [C99-based-standards] (PRIiMAX): Likewise.
1343 [C99-based-standards] (PRIoMAX): Likewise.
1344 [C99-based-standards] (PRIuMAX): Likewise.
1345 [C99-based-standards] (PRIxMAX): Likewise.
1346 [C99-based-standards] (PRIXMAX): Likewise.
1347 [C99-based-standards] (SCNdMAX): Likewise.
1348 [C99-based-standards] (SCNiMAX): Likewise.
1349 [C99-based-standards] (SCNoMAX): Likewise.
1350 [C99-based-standards] (SCNuMAX): Likewise.
1351 [C99-based-standards] (SCNxMAX): Likewise.
1352 [C99-based-standards] (PRIdPTR): Likewise.
1353 [C99-based-standards] (PRIiPTR): Likewise.
1354 [C99-based-standards] (PRIoPTR): Likewise.
1355 [C99-based-standards] (PRIuPTR): Likewise.
1356 [C99-based-standards] (PRIxPTR): Likewise.
1357 [C99-based-standards] (PRIXPTR): Likewise.
1358 [C99-based-standards] (SCNdPTR): Likewise.
1359 [C99-based-standards] (SCNiPTR): Likewise.
1360 [C99-based-standards] (SCNoPTR): Likewise.
1361 [C99-based-standards] (SCNuPTR): Likewise.
1362 [C99-based-standards] (SCNxPTR): Likewise.
1363 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1364 allow.
1365 * conform/data/stdint.h-data: Update comments to clarify
1366 requirements.
1367 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1368 type.
1369 [C99-based standards] (INT8_MAX): Likewise.
1370 [C99-based standards] (INT16_MIN): Likewise.
1371 [C99-based standards] (INT16_MAX): Likewise.
1372 [C99-based standards] (INT32_MIN): Likewise.
1373 [C99-based standards] (INT32_MAX): Likewise.
1374 [C99-based standards] (INT64_MIN): Likewise.
1375 [C99-based standards] (INT64_MAX): Likewise.
1376 [C99-based standards] (UINT8_MAX): Likewise.
1377 [C99-based standards] (UINT16_MAX): Likewise.
1378 [C99-based standards] (UINT32_MAX): Likewise.
1379 [C99-based standards] (UINT64_MAX): Likewise.
1380 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1381 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1382 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1383 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1384 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1385 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1386 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1387 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1388 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1389 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1390 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1391 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1392 [C99-based standards] (INT_FAST8_MIN): Likewise.
1393 [C99-based standards] (INT_FAST8_MAX): Likewise.
1394 [C99-based standards] (INT_FAST16_MIN): Likewise.
1395 [C99-based standards] (INT_FAST16_MAX): Likewise.
1396 [C99-based standards] (INT_FAST32_MIN): Likewise.
1397 [C99-based standards] (INT_FAST32_MAX): Likewise.
1398 [C99-based standards] (INT_FAST64_MIN): Likewise.
1399 [C99-based standards] (INT_FAST64_MAX): Likewise.
1400 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1401 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1402 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1403 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1404 [C99-based standards] (INTPTR_MIN): Likewise.
1405 [C99-based standards] (INTPTR_MAX): Likewise.
1406 [C99-based standards] (UINTPTR_MAX): Likewise.
1407 [C99-based standards] (INTMAX_MIN): Likewise.
1408 [C99-based standards] (INTMAX_MAX): Likewise.
1409 [C99-based standards] (UINTMAX_MAX): Likewise.
1410 [C99-based standards] (PTRDIFF_MIN): Likewise.
1411 [C99-based standards] (PTRDIFF_MAX): Likewise.
1412 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1413 [C99-based standards] (SIZE_MAX): Likewise.
1414 [C99-based standards] (WCHAR_MAX): Likewise.
1415 [C99-based standards] (WINT_MAX): Likewise.
1416 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1417 constraint on value.
1418 [C99-based standards] (WCHAR_MIN): Likewise.
1419 [C99-based standards] (WINT_MIN): Likewise.
1420 [C99-based standards] (*_t): Allow.
1421 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1422 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1423 Include math.h-data and complex.h-data. Remove all expectations
1424 of math.h and complex.h contents.
1425 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1426 at end of line.
1427 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1428 (struct tm): Expect tag.
1429 [C99-based-standards] (wcstof): Expect function.
1430 [C99-based-standards] (wcstold): Likewise.
1431 [C99-based-standards] (wcstoll): Likewise.
1432 [C99-based-standards] (wcstoull): Likewise.
1433 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1434 macro-int-constant. Specify type.
1435 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1436 constraint on value.
1437 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1438 Specify type.
1439 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1440 Specify value.
1441 [ISO C standards]: Do not allow headers.
1442 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1443 wcs[abcdefghijklmnopqrstuvwxyz]*.
1444 [ISO C standards] (*_t): Do not allow.
1445 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1446 Expect function.
1447 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1448 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1449 Specify type.
1450 [ISO C standards]: Do not allow headers.
1451 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1452 is[abcdefghijklmnopqrstuvwxyz]*.
1453 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1454 to[abcdefghijklmnopqrstuvwxyz]*.
1455 [ISO C standards] (*_t): Do not allow.
1456 * conform/data/stdalign.h-data: New file.
1457 * conform/data/stdbool.h-data: Likewise.
1458 * conform/data/stdnoreturn.h-data: Likewise.
1459
7514feb8
RM
14602012-11-07 Roland McGrath <roland@hack.frob.com>
1461
1462 [BZ #14815]
1463 * manual/filesys.texi (Directory Entries): Typo fix.
1464 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1465
19b2ecfc
MS
14662012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1467
1468 * elf/elf.h (EM_AARCH64): New macro.
1469 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1470 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1471 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1472 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1473 (R_AARCH64_TLSDESC): Likewise.
1474 (NT_ARM_TLS): Likewise.
1475 (NT_ARM_HW_BREAK): Likewise.
1476 (NT_ARM_HW_WATCH): Likewise.
1477
60e235ee
JM
14782012-11-07 Joseph Myers <joseph@codesourcery.com>
1479
1480 [BZ #14811]
1481 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1482 (__ieee754_powl): Saturate nonzero exponents with absolute value
1483 below 0x1p-79 to +/- 0x1p-79.
1484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1485 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1486 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1487 nonzero exponents with absolute value below 0x1p-32 to +/-
1488 0x1p-32.
1489 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1490 (__ieee754_powl): Saturate nonzero exponents with absolute value
1491 below 0x1p-79 to +/- 0x1p-79.
1492 * math/libm-test.inc (pow_test): Add more tests.
1493
0ab234b7
AK
14942012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1495
1496 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1497 _dl_s390_cap_flags with kernel. Increase string length.
1498 (_dl_s390_platforms): Add z196 and zEC12.
1499
45832f74
JM
15002012-11-07 Joseph Myers <joseph@codesourcery.com>
1501
1502 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1503 Change XOPEN21K to XOPEN2K.
1504
19218757
MK
15052012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1506
1507 * string/memmove.c: Use memcpy when possible.
1508
c5f45721
AJ
15092012-11-06 Andreas Jaeger <aj@suse.de>
1510
1511 * po/eo.po: Update from translation team.
1512
82477c28
JM
15132012-11-06 Joseph Myers <joseph@codesourcery.com>
1514
1515 [BZ #14793]
1516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1517 exponent and small x and y exponents, scale x or y up. Increase
1518 by 2 the exponent used in scaling up.
1519 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1520 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1521 * math/libm-test.inc (fma_test): Add more tests.
1522 (fma_test_towardzero): Likewise.
1523 (fma_test_downward): Likewise.
1524 (fma_test_upward): Likewise.
1525
99252c8c
JM
15262012-11-05 Joseph Myers <joseph@codesourcery.com>
1527
acfa885f
JM
1528 [BZ #14805]
1529 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1530 fenv_t *.
1531
99252c8c
JM
1532 [BZ #14801]
1533 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1534 namespace for names of struct fields.
1535 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1536 fenv_t fields.
1537 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1538 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1539
d6d98dea
ST
15402012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1541
1542 [BZ #3665]
1543 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1544
e10bb107
TS
15452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1546
1547 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1548 PTR_DEMANGLE.
1549
1550 [BZ #5246]
1551 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1552 PTR_DEMANGLE.
1553
a0c2940d
JM
15542012-11-04 Joseph Myers <joseph@codesourcery.com>
1555
1556 [BZ #14797]
1557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1558 definitely overflow as x * y not x * y + z.
1559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1561 * math/libm-test.inc (fma_test): Add more tests.
1562 (fma_test_towardzero): Likewise.
1563 (fma_test_downward): Likewise.
1564 (fma_test_upward): Likewise.
1565
b830319d
TS
15662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1567
1568 [BZ #157]
1569
1570 * include/stub-tag.h: Remove file.
1571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1572 '#include' of it.
1573 * manual/maint.texi (Porting): Don't reference it.
1574 * Makerules ($(objpfx)stubs): Likewise.
1575 * dirent/closedir.c: Don't include <stub-tag.h>.
1576 * dirent/dirfd.c: Likewise.
1577 * dirent/fdopendir.c: Likewise.
1578 * dirent/getdents.c: Likewise.
1579 * dirent/getdents64.c: Likewise.
1580 * dirent/opendir.c: Likewise.
1581 * dirent/readdir.c: Likewise.
1582 * dirent/readdir64.c: Likewise.
1583 * dirent/readdir64_r.c: Likewise.
1584 * dirent/readdir_r.c: Likewise.
1585 * dirent/rewinddir.c: Likewise.
1586 * dirent/seekdir.c: Likewise.
1587 * dirent/telldir.c: Likewise.
1588 * gmon/profil.c: Likewise.
1589 * grp/setgroups.c: Likewise.
1590 * inet/if_index.c: Likewise.
1591 * io/access.c: Likewise.
1592 * io/chdir.c: Likewise.
1593 * io/chmod.c: Likewise.
1594 * io/chown.c: Likewise.
1595 * io/close.c: Likewise.
1596 * io/dup.c: Likewise.
1597 * io/dup2.c: Likewise.
1598 * io/dup3.c: Likewise.
1599 * io/euidaccess.c: Likewise.
1600 * io/faccessat.c: Likewise.
1601 * io/fchdir.c: Likewise.
1602 * io/fchmod.c: Likewise.
1603 * io/fchmodat.c: Likewise.
1604 * io/fchown.c: Likewise.
1605 * io/fchownat.c: Likewise.
1606 * io/fcntl.c: Likewise.
1607 * io/flock.c: Likewise.
1608 * io/fstatfs.c: Likewise.
1609 * io/fstatfs64.c: Likewise.
1610 * io/fstatvfs.c: Likewise.
1611 * io/fstatvfs64.c: Likewise.
1612 * io/futimens.c: Likewise.
1613 * io/fxstat.c: Likewise.
1614 * io/fxstat64.c: Likewise.
1615 * io/fxstatat.c: Likewise.
1616 * io/fxstatat64.c: Likewise.
1617 * io/getcwd.c: Likewise.
1618 * io/isatty.c: Likewise.
1619 * io/lchmod.c: Likewise.
1620 * io/lchown.c: Likewise.
1621 * io/link.c: Likewise.
1622 * io/linkat.c: Likewise.
1623 * io/lseek.c: Likewise.
1624 * io/lseek64.c: Likewise.
1625 * io/lxstat64.c: Likewise.
1626 * io/mkdir.c: Likewise.
1627 * io/mkdirat.c: Likewise.
1628 * io/mkfifo.c: Likewise.
1629 * io/mkfifoat.c: Likewise.
1630 * io/open.c: Likewise.
1631 * io/open64.c: Likewise.
1632 * io/openat.c: Likewise.
1633 * io/openat64.c: Likewise.
1634 * io/pipe.c: Likewise.
1635 * io/pipe2.c: Likewise.
1636 * io/poll.c: Likewise.
1637 * io/posix_fadvise.c: Likewise.
1638 * io/posix_fadvise64.c: Likewise.
1639 * io/posix_fallocate.c: Likewise.
1640 * io/posix_fallocate64.c: Likewise.
1641 * io/read.c: Likewise.
1642 * io/readlink.c: Likewise.
1643 * io/readlinkat.c: Likewise.
1644 * io/rmdir.c: Likewise.
1645 * io/sendfile.c: Likewise.
1646 * io/sendfile64.c: Likewise.
1647 * io/statfs.c: Likewise.
1648 * io/statfs64.c: Likewise.
1649 * io/statvfs.c: Likewise.
1650 * io/statvfs64.c: Likewise.
1651 * io/symlink.c: Likewise.
1652 * io/symlinkat.c: Likewise.
1653 * io/ttyname.c: Likewise.
1654 * io/ttyname_r.c: Likewise.
1655 * io/umask.c: Likewise.
1656 * io/unlink.c: Likewise.
1657 * io/unlinkat.c: Likewise.
1658 * io/utime.c: Likewise.
1659 * io/utimensat.c: Likewise.
1660 * io/write.c: Likewise.
1661 * io/xmknod.c: Likewise.
1662 * io/xmknodat.c: Likewise.
1663 * io/xstat.c: Likewise.
1664 * io/xstat64.c: Likewise.
1665 * login/getpt.c: Likewise.
1666 * login/grantpt.c: Likewise.
1667 * login/unlockpt.c: Likewise.
1668 * math/e_acoshl.c: Likewise.
1669 * math/e_acosl.c: Likewise.
1670 * math/e_asinl.c: Likewise.
1671 * math/e_atan2l.c: Likewise.
1672 * math/e_atanhl.c: Likewise.
1673 * math/e_coshl.c: Likewise.
1674 * math/e_expl.c: Likewise.
1675 * math/e_fmodl.c: Likewise.
1676 * math/e_gammal_r.c: Likewise.
1677 * math/e_hypotl.c: Likewise.
1678 * math/e_j0l.c: Likewise.
1679 * math/e_j1l.c: Likewise.
1680 * math/e_jnl.c: Likewise.
1681 * math/e_lgammal_r.c: Likewise.
1682 * math/e_log10l.c: Likewise.
1683 * math/e_log2l.c: Likewise.
1684 * math/e_logl.c: Likewise.
1685 * math/e_powl.c: Likewise.
1686 * math/e_rem_pio2l.c: Likewise.
1687 * math/e_sinhl.c: Likewise.
1688 * math/e_sqrtl.c: Likewise.
1689 * math/fclrexcpt.c: Likewise.
1690 * math/fedisblxcpt.c: Likewise.
1691 * math/feenablxcpt.c: Likewise.
1692 * math/fegetenv.c: Likewise.
1693 * math/fegetexcept.c: Likewise.
1694 * math/fegetround.c: Likewise.
1695 * math/feholdexcpt.c: Likewise.
1696 * math/fesetenv.c: Likewise.
1697 * math/fesetround.c: Likewise.
1698 * math/feupdateenv.c: Likewise.
1699 * math/fgetexcptflg.c: Likewise.
1700 * math/fraiseexcpt.c: Likewise.
1701 * math/fsetexcptflg.c: Likewise.
1702 * math/ftestexcept.c: Likewise.
1703 * math/k_cosl.c: Likewise.
1704 * math/k_rem_pio2l.c: Likewise.
1705 * math/k_sinl.c: Likewise.
1706 * math/k_tanl.c: Likewise.
1707 * math/s_asinhl.c: Likewise.
1708 * math/s_atanl.c: Likewise.
1709 * math/s_cbrtl.c: Likewise.
1710 * math/s_erfl.c: Likewise.
1711 * math/s_expm1l.c: Likewise.
1712 * math/s_log1pl.c: Likewise.
1713 * math/s_tanhl.c: Likewise.
1714 * misc/acct.c: Likewise.
1715 * misc/brk.c: Likewise.
1716 * misc/chflags.c: Likewise.
1717 * misc/chroot.c: Likewise.
1718 * misc/fchflags.c: Likewise.
1719 * misc/fgetxattr.c: Likewise.
1720 * misc/flistxattr.c: Likewise.
1721 * misc/fremovexattr.c: Likewise.
1722 * misc/fsetxattr.c: Likewise.
1723 * misc/fsync.c: Likewise.
1724 * misc/ftruncate.c: Likewise.
1725 * misc/futimes.c: Likewise.
1726 * misc/futimesat.c: Likewise.
1727 * misc/getdomain.c: Likewise.
1728 * misc/getdtsz.c: Likewise.
1729 * misc/gethostid.c: Likewise.
1730 * misc/gethostname.c: Likewise.
1731 * misc/getloadavg.c: Likewise.
1732 * misc/getpagesize.c: Likewise.
1733 * misc/getsysstats.c: Likewise.
1734 * misc/getxattr.c: Likewise.
1735 * misc/gtty.c: Likewise.
1736 * misc/ioctl.c: Likewise.
1737 * misc/lgetxattr.c: Likewise.
1738 * misc/listxattr.c: Likewise.
1739 * misc/llistxattr.c: Likewise.
1740 * misc/lremovexattr.c: Likewise.
1741 * misc/lsetxattr.c: Likewise.
1742 * misc/lutimes.c: Likewise.
1743 * misc/madvise.c: Likewise.
1744 * misc/mincore.c: Likewise.
1745 * misc/mlock.c: Likewise.
1746 * misc/mlockall.c: Likewise.
1747 * misc/mmap.c: Likewise.
1748 * misc/mprotect.c: Likewise.
1749 * misc/msync.c: Likewise.
1750 * misc/munlock.c: Likewise.
1751 * misc/munlockall.c: Likewise.
1752 * misc/munmap.c: Likewise.
1753 * misc/preadv.c: Likewise.
1754 * misc/preadv64.c: Likewise.
1755 * misc/ptrace.c: Likewise.
1756 * misc/pwritev.c: Likewise.
1757 * misc/pwritev64.c: Likewise.
1758 * misc/readv.c: Likewise.
1759 * misc/reboot.c: Likewise.
1760 * misc/remap_file_pages.c: Likewise.
1761 * misc/removexattr.c: Likewise.
1762 * misc/revoke.c: Likewise.
1763 * misc/select.c: Likewise.
1764 * misc/setdomain.c: Likewise.
1765 * misc/setegid.c: Likewise.
1766 * misc/seteuid.c: Likewise.
1767 * misc/sethostid.c: Likewise.
1768 * misc/sethostname.c: Likewise.
1769 * misc/setregid.c: Likewise.
1770 * misc/setreuid.c: Likewise.
1771 * misc/setxattr.c: Likewise.
1772 * misc/sstk.c: Likewise.
1773 * misc/stty.c: Likewise.
1774 * misc/swapoff.c: Likewise.
1775 * misc/swapon.c: Likewise.
1776 * misc/sync.c: Likewise.
1777 * misc/syncfs.c: Likewise.
1778 * misc/syscall.c: Likewise.
1779 * misc/truncate.c: Likewise.
1780 * misc/ualarm.c: Likewise.
1781 * misc/usleep.c: Likewise.
1782 * misc/ustat.c: Likewise.
1783 * misc/utimes.c: Likewise.
1784 * misc/vhangup.c: Likewise.
1785 * misc/writev.c: Likewise.
1786 * posix/_exit.c: Likewise.
1787 * posix/alarm.c: Likewise.
1788 * posix/execve.c: Likewise.
1789 * posix/fexecve.c: Likewise.
1790 * posix/fork.c: Likewise.
1791 * posix/fpathconf.c: Likewise.
1792 * posix/getaddrinfo.c: Likewise.
1793 * posix/getegid.c: Likewise.
1794 * posix/geteuid.c: Likewise.
1795 * posix/getgid.c: Likewise.
1796 * posix/getgroups.c: Likewise.
1797 * posix/getlogin.c: Likewise.
1798 * posix/getlogin_r.c: Likewise.
1799 * posix/getpgid.c: Likewise.
1800 * posix/getpid.c: Likewise.
1801 * posix/getppid.c: Likewise.
1802 * posix/getresgid.c: Likewise.
1803 * posix/getresuid.c: Likewise.
1804 * posix/getsid.c: Likewise.
1805 * posix/getuid.c: Likewise.
1806 * posix/glob64.c: Likewise.
1807 * posix/nanosleep.c: Likewise.
1808 * posix/pathconf.c: Likewise.
1809 * posix/pause.c: Likewise.
1810 * posix/posix_madvise.c: Likewise.
1811 * posix/pread.c: Likewise.
1812 * posix/pread64.c: Likewise.
1813 * posix/pwrite.c: Likewise.
1814 * posix/pwrite64.c: Likewise.
1815 * posix/sched_getaffinity.c: Likewise.
1816 * posix/sched_getp.c: Likewise.
1817 * posix/sched_gets.c: Likewise.
1818 * posix/sched_primax.c: Likewise.
1819 * posix/sched_primin.c: Likewise.
1820 * posix/sched_rr_gi.c: Likewise.
1821 * posix/sched_setaffinity.c: Likewise.
1822 * posix/sched_setp.c: Likewise.
1823 * posix/sched_sets.c: Likewise.
1824 * posix/sched_yield.c: Likewise.
1825 * posix/setgid.c: Likewise.
1826 * posix/setlogin.c: Likewise.
1827 * posix/setpgid.c: Likewise.
1828 * posix/setresgid.c: Likewise.
1829 * posix/setresuid.c: Likewise.
1830 * posix/setsid.c: Likewise.
1831 * posix/setuid.c: Likewise.
1832 * posix/sleep.c: Likewise.
1833 * posix/spawni.c: Likewise.
1834 * posix/sysconf.c: Likewise.
1835 * posix/times.c: Likewise.
1836 * posix/wait.c: Likewise.
1837 * posix/wait3.c: Likewise.
1838 * posix/wait4.c: Likewise.
1839 * posix/waitpid.c: Likewise.
1840 * resolv/gai_sigqueue.c: Likewise.
1841 * resource/getpriority.c: Likewise.
1842 * resource/getrlimit.c: Likewise.
1843 * resource/getrusage.c: Likewise.
1844 * resource/nice.c: Likewise.
1845 * resource/setpriority.c: Likewise.
1846 * resource/setrlimit.c: Likewise.
1847 * resource/ulimit.c: Likewise.
1848 * rt/aio_cancel.c: Likewise.
1849 * rt/aio_fsync.c: Likewise.
1850 * rt/aio_read.c: Likewise.
1851 * rt/aio_sigqueue.c: Likewise.
1852 * rt/aio_suspend.c: Likewise.
1853 * rt/aio_write.c: Likewise.
1854 * rt/clock_getres.c: Likewise.
1855 * rt/clock_gettime.c: Likewise.
1856 * rt/clock_nanosleep.c: Likewise.
1857 * rt/clock_settime.c: Likewise.
1858 * rt/lio_listio.c: Likewise.
1859 * rt/mq_close.c: Likewise.
1860 * rt/mq_getattr.c: Likewise.
1861 * rt/mq_notify.c: Likewise.
1862 * rt/mq_open.c: Likewise.
1863 * rt/mq_receive.c: Likewise.
1864 * rt/mq_send.c: Likewise.
1865 * rt/mq_setattr.c: Likewise.
1866 * rt/mq_timedreceive.c: Likewise.
1867 * rt/mq_timedsend.c: Likewise.
1868 * rt/mq_unlink.c: Likewise.
1869 * rt/shm_open.c: Likewise.
1870 * rt/shm_unlink.c: Likewise.
1871 * rt/timer_create.c: Likewise.
1872 * rt/timer_delete.c: Likewise.
1873 * rt/timer_getoverr.c: Likewise.
1874 * rt/timer_gettime.c: Likewise.
1875 * rt/timer_settime.c: Likewise.
1876 * setjmp/__longjmp.c: Likewise.
1877 * setjmp/setjmp.c: Likewise.
1878 * signal/kill.c: Likewise.
1879 * signal/killpg.c: Likewise.
1880 * signal/raise.c: Likewise.
1881 * signal/sigaction.c: Likewise.
1882 * signal/sigaltstack.c: Likewise.
1883 * signal/sigblock.c: Likewise.
1884 * signal/sigignore.c: Likewise.
1885 * signal/sigintr.c: Likewise.
1886 * signal/signal.c: Likewise.
1887 * signal/sigpause.c: Likewise.
1888 * signal/sigpending.c: Likewise.
1889 * signal/sigqueue.c: Likewise.
1890 * signal/sigreturn.c: Likewise.
1891 * signal/sigset.c: Likewise.
1892 * signal/sigsetmask.c: Likewise.
1893 * signal/sigstack.c: Likewise.
1894 * signal/sigsuspend.c: Likewise.
1895 * signal/sigtimedwait.c: Likewise.
1896 * signal/sigvec.c: Likewise.
1897 * signal/sigwait.c: Likewise.
1898 * signal/sigwaitinfo.c: Likewise.
1899 * signal/sysv_signal.c: Likewise.
1900 * socket/accept.c: Likewise.
1901 * socket/accept4.c: Likewise.
1902 * socket/bind.c: Likewise.
1903 * socket/connect.c: Likewise.
1904 * socket/getpeername.c: Likewise.
1905 * socket/getsockname.c: Likewise.
1906 * socket/getsockopt.c: Likewise.
1907 * socket/isfdtype.c: Likewise.
1908 * socket/listen.c: Likewise.
1909 * socket/recv.c: Likewise.
1910 * socket/recvfrom.c: Likewise.
1911 * socket/recvmsg.c: Likewise.
1912 * socket/send.c: Likewise.
1913 * socket/sendmsg.c: Likewise.
1914 * socket/sendto.c: Likewise.
1915 * socket/setsockopt.c: Likewise.
1916 * socket/shutdown.c: Likewise.
1917 * socket/sockatmark.c: Likewise.
1918 * socket/socket.c: Likewise.
1919 * socket/socketpair.c: Likewise.
1920 * stdio-common/ctermid.c: Likewise.
1921 * stdio-common/cuserid.c: Likewise.
1922 * stdio-common/remove.c: Likewise.
1923 * stdio-common/rename.c: Likewise.
1924 * stdio-common/renameat.c: Likewise.
1925 * stdio-common/tempname.c: Likewise.
1926 * stdlib/getcontext.c: Likewise.
1927 * stdlib/makecontext.c: Likewise.
1928 * stdlib/setcontext.c: Likewise.
1929 * stdlib/swapcontext.c: Likewise.
1930 * stdlib/system.c: Likewise.
1931 * streams/fattach.c: Likewise.
1932 * streams/fdetach.c: Likewise.
1933 * streams/getmsg.c: Likewise.
1934 * streams/getpmsg.c: Likewise.
1935 * streams/putmsg.c: Likewise.
1936 * streams/putpmsg.c: Likewise.
1937 * sysdeps/unix/bsd/getpt.c: Likewise.
1938 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1939 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1940 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1942 Likewise.
1943 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1944 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1945 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1946 * sysvipc/msgctl.c: Likewise.
1947 * sysvipc/msgget.c: Likewise.
1948 * sysvipc/msgrcv.c: Likewise.
1949 * sysvipc/msgsnd.c: Likewise.
1950 * sysvipc/semctl.c: Likewise.
1951 * sysvipc/semget.c: Likewise.
1952 * sysvipc/semop.c: Likewise.
1953 * sysvipc/semtimedop.c: Likewise.
1954 * sysvipc/shmat.c: Likewise.
1955 * sysvipc/shmctl.c: Likewise.
1956 * sysvipc/shmdt.c: Likewise.
1957 * sysvipc/shmget.c: Likewise.
1958 * termios/tcdrain.c: Likewise.
1959 * termios/tcflow.c: Likewise.
1960 * termios/tcflush.c: Likewise.
1961 * termios/tcgetattr.c: Likewise.
1962 * termios/tcgetpgrp.c: Likewise.
1963 * termios/tcsendbrk.c: Likewise.
1964 * termios/tcsetattr.c: Likewise.
1965 * termios/tcsetpgrp.c: Likewise.
1966 * time/adjtime.c: Likewise.
1967 * time/clock.c: Likewise.
1968 * time/getitimer.c: Likewise.
1969 * time/gettimeofday.c: Likewise.
1970 * time/setitimer.c: Likewise.
1971 * time/settimeofday.c: Likewise.
1972 * time/stime.c: Likewise.
1973 * time/time.c: Likewise.
1974
19752012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1976
a20492cf
PT
1977 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1978 /usr/old/bin.
1979
72e182e3
PT
1980 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1981 instead of spaces.
1982 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1983
fbeafede
JM
19842012-11-03 Joseph Myers <joseph@codesourcery.com>
1985
5b5b04d6
JM
1986 [BZ #14796]
1987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1988 FE_TONEAREST before applying Dekker multiplication and Knuth
1989 addition. Clear inexact exceptions and check for exact zero
1990 results afterwards.
1991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1994 * math/libm-test.inc (fma_test): Add more tests.
1995 (fma_test_towardzero): Likewise.
1996 (fma_test_downward): Likewise.
1997 (fma_test_upward): Likewise.
1998 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1999 function.
2000 (libc_fesetround): New macro.
2001 (libc_fesetroundf): Likewise.
2002 (libc_fesetroundl): Likewise.
2003 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2004 function.
2005 (libc_fesetround_387): Likewise.
2006 (libc_fesetroundf): New macro.
2007 (libc_fesetround): Likewise.
2008 (libc_fesetroundl): Likewise.
2009 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2010 function.
2011 (libc_fesetroundf): New macro.
2012 (libc_fesetround): Likewise.
2013 (libc_fesetroundl): Likewise.
2014 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2015 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2016 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2017 libm_hidden_ver.
2018 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2019 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2020 libm_hidden_def.
2021 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2022 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2023 libm_hidden_ver.
2024 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2025 libm_hidden_def.
2026
fbeafede
JM
2027 [BZ #3439]
2028 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2029 integer constant usable in #if and use that to give value to enum
2030 constant.
2031 (FE_DIVBYZERO): Likewise.
2032 (FE_UNDERFLOW): Likewise.
2033 (FE_OVERFLOW): Likewise.
2034 (FE_INVALID): Likewise.
2035 (FE_INVALID_SNAN): Likewise.
2036 (FE_INVALID_ISI): Likewise.
2037 (FE_INVALID_IDI): Likewise.
2038 (FE_INVALID_ZDZ): Likewise.
2039 (FE_INVALID_IMZ): Likewise.
2040 (FE_INVALID_COMPARE): Likewise.
2041 (FE_INVALID_SOFTWARE): Likewise.
2042 (FE_INVALID_SQRT): Likewise.
2043 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2044 (FE_TONEAREST): Likewise.
2045 (FE_TOWARDZERO): Likewise.
2046 (FE_UPWARD): Likewise.
2047 (FE_DOWNWARD): Likewise.
2048 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2049 (FE_DIVBYZERO): Likewise.
2050 (FE_OVERFLOW): Likewise.
2051 (FE_UNDERFLOW): Likewise.
2052 (FE_INEXACT): Likewise.
2053 (FE_TONEAREST): Likewise.
2054 (FE_DOWNWARD): Likewise.
2055 (FE_UPWARD): Likewise.
2056 (FE_TOWARDZERO): Likewise.
2057 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2058 (FE_UNDERFLOW): Likewise.
2059 (FE_OVERFLOW): Likewise.
2060 (FE_DIVBYZERO): Likewise.
2061 (FE_INVALID): Likewise.
2062 (FE_TONEAREST): Likewise.
2063 (FE_TOWARDZERO): Likewise.
2064 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2065 (FE_OVERFLOW): Likewise.
2066 (FE_UNDERFLOW): Likewise.
2067 (FE_DIVBYZERO): Likewise.
2068 (FE_INEXACT): Likewise.
2069 (FE_TONEAREST): Likewise.
2070 (FE_TOWARDZERO): Likewise.
2071 (FE_UPWARD): Likewise.
2072 (FE_DOWNWARD): Likewise.
2073 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2074 (FE_DIVBYZERO): Likewise.
2075 (FE_OVERFLOW): Likewise.
2076 (FE_UNDERFLOW): Likewise.
2077 (FE_INEXACT): Likewise.
2078 (FE_TONEAREST): Likewise.
2079 (FE_DOWNWARD): Likewise.
2080 (FE_UPWARD): Likewise.
2081 (FE_TOWARDZERO): Likewise.
2082
105ca950
CM
20832012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2084
2085 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2086
a542b389
AS
20872012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2088
2089 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2090 commands. Quote $PWD.
2091 (blacklist_exports): Don't use remove_newlines. Replace "declare
2092 -x" by "export".
2093 (remove_newlines): Remove.
2094
f62c8abc
L
20952012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2096
2097 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2098 * stdlib/stdlib.h (atof): Moved to ...
2099 * include/bits/stdlib-float.h: Here. New file.
2100 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2101 * stdlib/bits/stdlib-float.h: New file.
2102 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2103 -mno-sse -mno-mmx.
2104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2105 <xmmintrin.h>.
2106
0155d5b2
JM
21072012-11-02 Joseph Myers <joseph@codesourcery.com>
2108
a68d0680
JM
2109 * conform/conformtest.pl (@headers): Add fenv.h.
2110 * conform/data/fenv.h-data: New file.
2111 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2112 include of <math/fenv.h>.
2113
caf7f573
JM
2114 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2115 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2116 && !UNIX98]. Enables tests for XOPEN2K8.
2117 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2118 POSIX2008]: Likewise.
2119
6c073ad6
JM
2120 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2121 (struct rusage): Do not expect type or its members.
2122
0155d5b2
JM
2123 [BZ #3439]
2124 * math/math.h (FP_NAN): Define macro to integer constant usable in
2125 #if and use that to give value to enum constant.
2126 (FP_INFINITE): Likewise.
2127 (FP_ZERO): Likewise.
2128 (FP_SUBNORMAL): Likewise.
2129 (FP_NORMAL): Likewise.
2130
b5dcacb4
AS
21312012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2132
2133 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2134 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2135 arguments.
2136
f7934be8
RM
21372012-11-02 Roland McGrath <roland@hack.frob.com>
2138
2139 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2140 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2141 autoconf-time if not.
2142 * configure.in: Remove AC_PREREQ.
2143
d7d08bde
TMQMF
21442012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2145
2146 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2147 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2148 of the internal implementation.
2149
dcdae19a
JM
21502012-11-02 Joseph Myers <joseph@codesourcery.com>
2151
2152 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2153 except include of <misc/sys/syslog.h>.
2154
d6cffd3e
AS
21552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2156
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2158 function returns with a NULL context exit with zero.
2159
b3563932
TMQMF
21602012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2161
2162 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2163
b288a93d
L
21642012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2167 (run_program_cmd): This.
2168 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2169 (tst_langinfo): New variable. Use it.
2170
a2421a68
SAS
21712012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2172
2173 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2174 floating point opcodes.
2175
6f796e1b
TS
21762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2177
7402596b
TS
2178 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2179 variable.
2180
d0d4f868
TS
2181 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2182
6f796e1b
TS
2183 * sysdeps/mach/hurd/powerpc: Remove directory.
2184 * sysdeps/mach/powerpc: Likewise.
2185
4da224a2
AS
21862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2187
2188 * scripts/check-local-headers.sh: Ignore c++ headers.
2189
341dd673
TS
21902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2191
2192 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2193 __libc_cleanup_region_start argument.
2194
473611b2
JM
21952012-11-01 Joseph Myers <joseph@codesourcery.com>
2196
2197 [BZ #14784]
2198 [BZ #14785]
2199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2200 x * y using scaling, not as x * y + z.
2201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2202 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2203 * math/libm-test.inc (fma_test): Add more tests.
2204 (fma_test_towardzero): Likewise.
2205 (fma_test_downward): Likewise.
2206 (fma_test_upward): Likewise.
2207
4078da3d
TS
22082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2209
2210 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2211
903252aa
JM
22122012-10-31 Joseph Myers <joseph@codesourcery.com>
2213
2214 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2215 New variable.
2216
cbc818d0
TS
22172012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2218
2219 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2220
5a03cb1e
AS
22212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2222
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2224 Fix sort order.
2225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2226 Likewise.
2227
90aff2ff
TMQMF
22282012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2229
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2231 Fix the order of the list for glibc 2.17.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2233 Likewise.
2234
1818fcb7
AS
22352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2236
2237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2238
ef82f4da
JM
22392012-10-31 Joseph Myers <joseph@codesourcery.com>
2240
16a0e2ec
JM
2241 [BZ #14610]
2242 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2243 for low part of x being zero before using __atanl (y).
2244 * math/libm-test.inc (atan2_test): Add another test.
2245
0eb69512
JM
2246 * manual/install.texi (Configuring and compiling): Document
2247 general use of test-wrapper and test-wrapper-env.
2248 * INSTALL: Regenerated.
2249
ef82f4da
JM
2250 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2251 (__fma): Do not extract and scale down low bits on after-rounding
2252 systems when result rounded to normal precision would have normal
2253 exponent.
2254 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2255 (__fmal): Do not extract and scale down low bits on after-rounding
2256 systems when result rounded to normal precision would have normal
2257 exponent.
2258 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2259 (__fmal): Do not extract and scale down low bits on after-rounding
2260 systems when result rounded to normal precision would have normal
2261 exponent.
2262 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2263 macro.
2264 (fma_test): Add more tests.
2265 (fma_test_towardzero): Likewise.
2266 (fma_test_downward): Likewise.
2267 (fma_test_upward): Likewise.
2268
954ef0d9
L
22692012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 * sysdeps/i386/tininess.h: Renamed to ...
2272 * sysdeps/x86/tininess.h: This.
2273 * sysdeps/x86_64/tininess.h: Removed.
2274
df61ffb2
JM
22752012-10-30 Joseph Myers <joseph@codesourcery.com>
2276
2277 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2278 input. Use $(build-program-cmd).
2279 ($(objpfx)tst-array1-static.out): Likewise.
2280 ($(objpfx)tst-array2.out): Likewise.
2281 ($(objpfx)tst-array3.out): Likewise.
2282 ($(objpfx)tst-array4.out): Likewise.
2283 ($(objpfx)tst-array5.out): Likewise.
2284 ($(objpfx)tst-array5-static.out): Likewise.
2285
01767843
CM
22862012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2287
47cc1490
CM
2288 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2289 if defined.
2290
01767843
CM
2291 * nss/nsswitch.h (nss_interface_function): Provide new
2292 macro for use with NSS functions.
2293 * grp/initgroups.c: Use new macro.
2294 * nss/getXXbyYY.c: Likewise.
2295 * nss/getXXbyYY_r.c: Likewise.
2296 * nss/getXXent.c: Likewise.
2297 * nss/getXXent_r.c: Likewise.
2298 * sysdeps/posix/getaddrinfo.c: Likewise.
2299
8321aa97
AJ
23002012-10-30 Andreas Jaeger <aj@suse.de>
2301
2302 * po/ru.po: Update Russion translation from translation project.
2303
2a27fd6d
JM
23042012-10-30 Joseph Myers <joseph@codesourcery.com>
2305
8627a232
JM
2306 [BZ #14152]
2307 [BZ #14783]
2308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2309 result and shift together with sticky bit instead of replicating
2310 round-to-nearest rounding.
2311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2313 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2314 missing underflow exceptions.
2315 (fma_test_towardzero): Add more tests.
2316 (fma_test_downward): Likewise.
2317 (fma_test_upward): Likewise.
2318
2a27fd6d
JM
2319 [BZ #14047]
2320 * sysdeps/generic/tininess.h: New file.
2321 * sysdeps/i386/tininess.h: Likewise.
2322 * sysdeps/sh/tininess.h: Likewise.
2323 * sysdeps/x86_64/tininess.h: Likewise.
2324 * stdlib/tst-strtod-underflow.c: Likewise.
2325 * stdlib/tst-tininess.c: Likewise.
2326 * stdlib/strtod_l.c: Include <tininess.h>.
2327 (round_and_return): Do not set errno for exact underflow cases.
2328 Force an underflow exception when setting errno for underflow.
2329 Determine underflow based on rounding to normal precision if
2330 TININESS_AFTER_ROUNDING.
2331 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2332 ERANGE for exact underflow cases.
2333 * stdlib/Makefile (tests): Add tst-tininess and
2334 tst-strtod-underflow.
2335 ($(objpfx)tst-tininess): Use $(link-libm).
2336 ($(objpfx)tst-strtod-underflow): Likewise.
2337
e7170363
AJ
23382012-10-30 Andreas Jaeger <aj@suse.de>
2339
e5088dc6
AJ
2340 [BZ#14767]
2341 * elf/Makefile (tests): Remove conditional for have-initfini-array
2342 since this is now always required and the variable does not exist
2343 anymore.
2344 (tests-static): Likewise.
2345 (modules-names): Likewise.
2346
e7170363 2347 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2348
2349 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2350 merged with constructor/destructor.
2351 (init_array): Likewise.
2352 * elf/tst-array2dep.c (fini_array): Likewise.
2353 (init_array): Likewise.
2354
60457d8a
MF
23552012-10-29 Mike Frysinger <vapier@gentoo.org>
2356
2357 * manual/message.texi: Delete @cartouche tags.
2358
8bece752
PT
23592012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2360
94ce799f
PT
2361 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2362 EOPNOTSUPP.
2363 * sysdeps/mach/hurd/fsync.c: Likewise.
2364
8bece752
PT
2365 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2366 [_POSIX_REALTIME_SIGNALS]: Change condition to
2367 [_POSIX_REALTIME_SIGNALS > 0].
2368
86ebe6b1
AJ
23692012-10-27 Andreas Jaeger <aj@suse.de>
2370
2371 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2372 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2374 [__WORDSIZE != 64]: Likewise.
2375
54399c08
L
23762012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 * iconvdata/tst-table.sh: Remove ${SHELL}.
2379 * iconvdata/tst-tables.sh: Likewise.
2380
e2211bed
DM
23812012-10-25 David S. Miller <davem@davemloft.net>
2382
2383 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2384 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2385 of strtoull.
2386
f303f97c
DM
2387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2388 ifunc-impl-list.c
2389 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2390 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2391 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2392 file.
2393
1e9d84cd
RM
23942012-10-25 Roland McGrath <roland@hack.frob.com>
2395
2396 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2397 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2398 __getdirentries.
2399
df381762
JM
24002012-10-25 Joseph Myers <joseph@codesourcery.com>
2401 Jim Blandy <jimb@codesourcery.com>
2402
2403 * scripts/cross-test-ssh.sh: New file.
2404 * manual/install.texi (Configuring and compiling): Document use of
2405 cross-test-ssh.sh.
2406 * INSTALL: Regenerated.
2407
bff64913
PT
24082012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2409
2410 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2411 EOPNOTSUPP.
2412
25fe8932
JM
24132012-10-25 Joseph Myers <joseph@codesourcery.com>
2414
2415 * Makeconfig (run-program-prefix): Fix comment.
2416
cc1290d0
JM
24172012-10-24 Joseph Myers <joseph@codesourcery.com>
2418 Jim Blandy <jimb@codesourcery.com>
2419
2420 * Makeconfig (test-wrapper): New variable,
2421 (test-wrapper-env): Likewise.
2422 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2423 (run-built-tests): Define to yes.
2424 (run-program-prefix): Use $(test-wrapper).
2425 (built-program-cmd): Likewise.
2426 * Rules (make-test-out): Use $(test-wrapper-env) and
2427 $(host-built-program-cmd).
2428 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2429 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2430 tst-pathopt.sh.
2431 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2432 $(test-wrapper-env) to tst-rtld-load-self.sh.
2433 ($(objpfx)order2.out): Use $(test-wrapper).
2434 ($(objpfx)tst-initorder.out): Likewise.
2435 ($(objpfx)tst-initorder2.out): Likewise.
2436 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2437 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2438 (test_wrapper_env): New variable. Use it to run ld.so.
2439 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2440 Use it to run ld.so.
2441 (test_wrapper_env): Likewise.
2442 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2443 $(test-wrapper) to run-iconv-test.sh.
2444 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2445 (ICONV): Use $test_wrapper.
2446 * posix/Makefile ($(objpfx)globtest.out): Pass
2447 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2448 globtest.sh, not $(run-program-prefix).
2449 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2450 (test_wrapper): Likewise.
2451 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2452 set together with run_via_rtld_prefix.
2453 (run_program_prefix): Define in terms of test_wrapper and
2454 run_via_rtld_prefix.
2455
6e6249d0
RM
24562012-10-24 Roland McGrath <roland@hack.frob.com>
2457
2458 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2459 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2460 Targets removed.
2461
2462 [BZ #14743]
2463 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2464 Declare __clock_getres, __clock_gettime, __clock_settime,
2465 __clock_nanosleep, and __clock_getcpuclockid.
2466 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2467 Remove librt_hidden_def (clock_gettime).
2468 * sysdeps/unix/clock_gettime.c: Likewise.
2469 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2470 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2471 * rt/clock_getres.c: Define __clock_getres as an alias.
2472 * sysdeps/posix/clock_getres.c: Likewise.
2473 * rt/clock_settime.c: Define __clock_settime as an alias.
2474 * sysdeps/unix/clock_settime.c: Likewise.
2475 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2476 * sysdeps/unix/clock_nanosleep.c: Likewise.
2477 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2478 * rt/clock-compat.c: New file.
2479 * rt/Makefile (librt-routines): Add clock-compat and move
2480 $(clock-routines) to ...
2481 (routines): ... here, new variable.
2482 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2483 Don't add get_clockfreq here.
2484 * rt/Versions (libc: GLIBC_2.17): New version set.
2485 Add clock_* symbols here.
2486 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2487 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2488 (GLIBC_2.17): Add clock_* symbols.
2489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2491 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2493 Likewise.
2494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2495 Likewise.
2496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2500 * NEWS: Mention the move.
2501
2502 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2503 Use __open, __read, __close rather than their public counterparts.
2504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2505 (__get_clockfreq_via_cpuinfo): Likewise.
2506 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2507 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2508
2509 * config.h.in (HAVE_IFUNC): New #undef.
2510 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2511 was successful.
2512 * configure: Regenerated.
2513
0cae3f4b
MF
25142012-10-24 Mike Frysinger <vapier@gentoo.org>
2515
2516 * configure.in: Move READELF check to start of file.
2517 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2518 libc_cv_asm_gnu_indirect_function in the process.
2519 * configure: Regenerated.
2520
8175a253
MF
25212012-10-24 Mike Frysinger <vapier@gentoo.org>
2522
2523 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2524 send the output to /dev/null.
2525 (libc_cv_cc_with_libunwind): Likewise.
2526 (libc_cv_as_noexecstack): Likewise.
2527 * configure: Regenerate.
2528
0708a7d1
JM
25292012-10-24 Joseph Myers <joseph@codesourcery.com>
2530
10b40d85
JM
2531 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2532
0708a7d1
JM
2533 * posix/globtest.sh (TMPDIR): Do not set.
2534 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2535 (testout): Likewise.
2536
9fddec1a
AJ
25372012-10-24 Andreas Jaeger <aj@suse.de>
2538
3a8db22f
AJ
2539 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2540 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2541 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2542 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2543 posix_fadvise64, posix_fallocate64.
2544
9fddec1a
AJ
2545 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2546 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2547 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2548 Likewise.
2549 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2550 Likewise.
2551 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2552
2553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2554 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2555 <bits/fcntl-linux.h>.
2556 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2557
2558 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2559 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2560 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2561 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2562 [__WORDSIZE != 64]: Likewise.
2563
ebfd1bbd
JM
25642012-10-23 Joseph Myers <joseph@codesourcery.com>
2565
03ac099f
JM
2566 * Makeconfig (run-built-tests): New variable.
2567 * Rules [$(cross-compiling) = yes]: Change condition to
2568 [$(run-built-tests) = no].
2569 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2570 to [$(run-built-tests) = yes].
2571 * elf/Makefile [$(cross-compiling) = no]: Likewise
2572 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2573 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2574 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2575 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2576 * io/Makefile [$(cross-compiling) = no]: Likewise.
2577 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2578 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2579 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2580 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2581 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2582 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2583 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2584 * string/Makefile [$(cross-compiling) = no]: Likewise.
2585
ebfd1bbd
JM
2586 * posix/Makefile ($(objpfx)globtest.out): Pass
2587 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2588 $(rtld-installed-name).
2589 * posix/globtest.sh (elf_objpfx): Remove variable.
2590 (rtld_installed_name): Likewise.
2591 (library_path): Likewise.
2592 (run_program_prefix): New variable. Use for running globtest
2593 binary.
2594
166bca24
JB
25952012-10-23 Jim Blandy <jimb@codesourcery.com>
2596 Joseph Myers <joseph@codesourcery.com>
2597
2598 * Makeconfig (host-built-program-cmd): New variable.
2599 * elf/Makefile (tst-stackguard1-ARGS): Use
2600 $(host-built-program-cmd).
2601 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2602 (tst-spawn-ARGS): Likewise.
2603 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2604
88866099
JM
26052012-10-23 Joseph Myers <joseph@codesourcery.com>
2606 Jim Blandy <jimb@codesourcery.com>
2607
2608 * Makeconfig (run-via-rtld-prefix): New variable.
2609 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2610 (built-program-cmd): Likewise.
2611
b4b4c296
AJ
26122012-10-22 Andreas Jaeger <aj@suse.de>
2613
2614 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2615 __O_RSYNC if it exists, otherwise to O_SYNC.
2616
6fb54a22
JB
26172012-10-22 Jim Blandy <jimb@codesourcery.com>
2618 Joseph Myers <joseph@codesourcery.com>
2619
2620 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2621 /dev/null.
2622 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2623 from /dev/null
2624 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2625 /dev/null.
2626
481b90b9
AJ
26272012-10-22 Andreas Jaeger <aj@suse.de>
2628
2a0e2669
AJ
2629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2630 Define always.
2631 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2632
76e38f9a
AJ
2633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2634 bits/fcntl-linux.h.
2635
7cd37b43
AJ
2636 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2637 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2638
481b90b9
AJ
2639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2640 to __O_LARGEFILE.
2641 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2642 to __O_LARGEFILE.
2643
aba75984
JB
26442012-10-21 Jim Blandy <jimb@codesourcery.com>
2645 Joseph Myers <joseph@codesourcery.com>
2646
2647 * config.make.in (NM): New variable.
2648
88d4247f
AJ
26492012-10-21 Andreas Jaeger <aj@suse.de>
2650
2651 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2652 definitions and declarations that are provided by
2653 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2654
f2eed205
L
26552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 [BZ #14683]
2658 * elf/Makefile (tests-static): Add tst-leaks1-static.
2659 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2660 ($(objpfx)tst-leaks1-static): New rule.
2661 ($(objpfx)tst-leaks1-static-mem): Likewise.
2662 (tst-leaks1-static-ENV): New macro.
2663 * elf/dl-open.c (dl_open_worker): Check the main application
2664 only if SHARED is defined.
2665 * elf/tst-leaks1-static.c: New file.
2666
335e6931
AJ
26672012-10-20 Andreas Jaeger <aj@suse.de>
2668
2669 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2670 generic values for Linux.
2671 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2672 and declarations that are provided by <bits/fcntl-linux.h> and
2673 include <bits/fcntl-linux.h>.
2674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2676
ac5c94d3
RM
26772012-10-20 Roland McGrath <roland@hack.frob.com>
2678
2679 * io/fcntl.h: Move include of <bits/types.h> to the top and
2680 include it unconditionally.
2681
de54b33a
L
26822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2683
228cfb01
L
2684 * wcsmbs/Makefile (tests-ifunc): New variable.
2685 (tests): Add $(tests-ifunc).
2686 * wcsmbs/test-wcschr-ifunc.c: New file.
2687 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2688 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2689 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2690 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2691 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2692
69f07e5f
L
2693 * string/Makefile (tests-ifunc): New variable.
2694 (tests): Add $(tests-ifunc).
2695 * string/test-memccpy.c (TEST_NAME): New macro.
2696 * string/test-memchr.c (TEST_NAME): Likewise.
2697 * string/test-memcmp.c (TEST_NAME): Likewise.
2698 * string/test-memcpy.c (TEST_NAME): Likewise.
2699 * string/test-memmem.c (TEST_NAME): Likewise.
2700 * string/test-memmove.c (TEST_NAME): Likewise.
2701 * string/test-memset.c (TEST_NAME): Likewise.
2702 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2703 * string/test-stpcpy.c (TEST_NAME): Likewise.
2704 * string/test-stpncpy.c (TEST_NAME): Likewise.
2705 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2706 * string/test-strcasestr.c (TEST_NAME): Likewise.
2707 * string/test-strcat.c (TEST_NAME): Likewise.
2708 * string/test-strchr.c (TEST_NAME): Likewise.
2709 * string/test-strcmp.c(TEST_NAME): Likewise.
2710 * string/test-strcpy.c (TEST_NAME): Likewise.
2711 * string/test-strcspn.c (TEST_NAME): Likewise.
2712 * string/test-strlen.c (TEST_NAME): Likewise.
2713 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2714 * string/test-strncmp.c (TEST_NAME): Likewise.
2715 * string/test-strncpy.c (TEST_NAME): Likewise.
2716 * string/test-strnlen.c (TEST_NAME): Likewise.
2717 * string/test-strpbrk.c (TEST_NAME): Likewise.
2718 * string/test-strrchr.c (TEST_NAME): Likewise.
2719 * string/test-strspn.c (TEST_NAME): Likewise.
2720 * string/test-strstr.c (TEST_NAME): Likewise.
2721 * string/test-bcopy-ifunc.c: New file.
2722 * string/test-bzero-ifunc.c: Likewise.
2723 * string/test-memccpy-ifunc.c: Likewise.
2724 * string/test-memchr-ifunc.c: Likewise.
2725 * string/test-memcmp-ifunc.c: Likewise.
2726 * string/test-memcpy-ifunc.c: Likewise.
2727 * string/test-memmem-ifunc.c: Likewise.
2728 * string/test-memmove-ifunc.c: Likewise.
2729 * string/test-mempcpy-ifunc.c: Likewise.
2730 * string/test-memset-ifunc.c: Likewise.
2731 * string/test-rawmemchr-ifunc.c: Likewise.
2732 * string/test-stpcpy-ifunc.c: Likewise.
2733 * string/test-stpncpy-ifunc.c: Likewise.
2734 * string/test-strcasecmp-ifunc.c: Likewise.
2735 * string/test-strcasestr-ifunc.c: Likewise.
2736 * string/test-strcat-ifunc.c: Likewise.
2737 * string/test-strchr-ifunc.c: Likewise.
2738 * string/test-strchrnul-ifunc.c: Likewise.
2739 * string/test-strcmp-ifunc.c: Likewise.
2740 * string/test-strcpy-ifunc.c: Likewise.
2741 * string/test-strcspn-ifunc.c: Likewise.
2742 * string/test-strlen-ifunc.c: Likewise.
2743 * string/test-strncasecmp-ifunc.c: Likewise.
2744 * string/test-strncat-ifunc.c: Likewise.
2745 * string/test-strncmp-ifunc.c: Likewise.
2746 * string/test-strncpy-ifunc.c: Likewise.
2747 * string/test-strnlen-ifunc.c: Likewise.
2748 * string/test-strpbrk-ifunc.c: Likewise.
2749 * string/test-strrchr-ifunc.c: Likewise.
2750 * string/test-strspn-ifunc.c: Likewise.
2751 * string/test-strstr-ifunc.c: Likewise.
2752
de54b33a
L
2753 * debug/Makefile (tests-ifunc): New variable.
2754 (tests): Add $(tests-ifunc).
2755 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2756 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2757 * debug/test-stpcpy_chk-ifunc.c: New file.
2758 * debug/test-strcpy_chk-ifunc.c: Likewise.
2759
88481c16
SP
27602012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2761
2762 [BZ #13601]
2763 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2764 header is not read in.
2765
135948bd
JM
27662012-10-19 Joseph Myers <joseph@codesourcery.com>
2767
89f1c388
JM
2768 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2769 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2770 directly. Pass built executable to script as
2771 $(built-program-cmd).
2772 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2773 $testprogram without using LD_LIBRARY_PATH and $ldso.
2774
e40a0d21
JM
2775 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2776 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2777 $(rtld-installed-name).
2778 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2779 (rtld_installed_name): Likewise.
2780 (library_path): Likewise.
2781 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2782 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2783 $(run-program-prefix) to tst-tables.sh.
2784 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2785 it to run tst-table-from and tst-table-to.
2786 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2787 Pass it to tst-table.sh.
2788 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2789 $(run-program-prefix) to tst-gettext.sh.
2790 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2791 tst-translit.sh.
2792 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2793 tst-gettext2.sh.
2794 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2795 to run tst-gettext.
2796 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2797 to run tst-gettext2.
2798 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2799 to run tst-translit.
2800 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2801 $(run-program-prefix) to tst-mtrace.sh.
2802 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2803 to run tst-mtrace.
2804 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2805 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2806 $(rtld-installed-name).
2807 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2808 (rtld_installed_name): Likewise.
2809 (run_program_prefix): New variable. Use it to run wordexp-test.
2810
728e272a
JM
2811 * Makeconfig (ARCH): Remove all definitions.
2812 (machine): Likewise.
2813 [ARCH]: Remove conditional code.
2814 [!objdir]: Give error.
2815 [!objdir] (objpfx): Remove.
2816 [!objdir] (common-objpfx): Likewise.
2817 [!objdir] (common-objdir): Likewise.
2818 * configure.in (config_makefile): Remove. Hardcode Makefile in
2819 AC_CONFIG_FILES call.
2820 * configure: Regenerated.
2821
d528cdcf
JM
2822 [BZ #13888]
2823 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2824 or TMPDIR.
2825 (testout): Likewise.
2826
135948bd
JM
2827 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2828 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2829 $(rtld-installed-name).
2830 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2831 (rtld_installed_name): Likwise.
2832 (runit): Remove function.
2833 (run_getconf): New variable, Use it for running getconf binary.
2834
38c78296
L
28352012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2836
2837 [BZ #14716]
2838 * string/test-memmem.c (check_result): New function.
2839 (do_one_test): Use it.
2840 (check1): New function.
2841 (test_main): Use it.
2842
d077f65f
MT
28432012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2844
2845 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2846
ced52c71
JM
28472012-10-18 Joseph Myers <joseph@codesourcery.com>
2848
2849 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2850 (_G_LSEEK64): Likewise.
2851 (_G_MMAP64): Likewise.
2852 (_G_FSTAT64): Likewise.
2853 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2854 (_G_LSEEK64): Likewise.
2855 (_G_MMAP64): Likewise.
2856 (_G_FSTAT64): Likewise.
2857 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2858 unconditional. Call __mmap64 directly.
2859 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2860 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2861 __lseek64 directly.
2862 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2863 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2864 __mmap64 directly.
2865 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2866 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2867 __lseek64 directly.
2868 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2869 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2870 __lseek64 directly.
2871 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2872 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2873 __lseek64 directly.
2874 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2875 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2876 __fxstat64 directly.
2877 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2878 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2879 unconditional.
2880 (freopen64) [!_G_OPEN64]: Remove conditional code.
2881 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2882 unconditional.
2883 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2884 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2885 unconditional.
2886 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2887 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2888 unconditional.
2889 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2890 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2891 unconditional.
2892 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2893 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2894 unconditional.
2895 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2896 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2897 unconditional.
2898 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2899 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2900 unconditional.
2901 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2902
b741de23
SP
29032012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2904
2905 [BZ #12140]
2906 * manual/memory.texi (Malloc Tunable Parameters): Add note
2907 about free list pointers overwriting some perturb bytes.
2908 Wording suggested by Roland McGrath.
2909
f9b9d9c9
JM
29102012-10-17 Joseph Myers <joseph@codesourcery.com>
2911
2912 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2913 (lgamma_test): Likewise.
2914 (tgamma_test): Likewise.
2915
172a631a
FW
29162012-10-16 Florian Weimer <fweimer@redhat.com>
2917
2918 [BZ #14700]
2919 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2920 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2921
e9f37252
MK
29222012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2923
2924 * NEWS: Mention BZ #14716.
2925 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2926 when removing AVAILABLE1_USES_J macro.
2927
d394eb74
L
29282012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2929
2930 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2931 (__bswap_64): __uint64_t for unsigned 64-bit int.
2932
ca38dc17
AS
29332012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2934
2935 * include/string.h (memmem): Declare libc hidden alias.
2936 * string/memmem.c (memmem): Define libc hidden alias.
2937 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2938 __read, __close instead of open, read, close.
2939
9a387d1f
L
29402012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2941
ac49ecaf
L
2942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2943 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2944 global and hidden.
2945 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2946 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2947 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2948 Likewise.
2949 (__rawmemchr_sse2): Likewise.
2950 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2951 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2952 (__strchr_sse2): Likewise.
2953 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2954 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2955 (__strcasecmp_sse2): Likewise.
2956 (__strncasecmp_sse2): Likewise.
2957 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2958 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2959 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2960 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2961 (__strrchr_sse2): Likewise.
2962 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2963 ifunc-impl-list.c.
2964 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2965 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2966 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2967 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2968 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2969 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2970 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2971 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2972 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2973 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2974 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2975 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2976 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2977 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2978 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2979 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2980 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2981 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2982 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2983 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2984 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2985 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2986 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2987 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2988 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2989 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2990 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2991 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2992 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2993 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2994
b090e8ea
L
2995 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2996 global and hidden.
2997 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2998 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2999 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3000 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3001 Likewise.
3002 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3003 Likewise.
3004 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3005 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3006 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3007 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3008 ifunc-impl-list.c.
3009 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3010 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3011 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3012 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3013 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3014 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3015 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3016 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3017 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3018 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3019 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3020 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3021 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3022 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3023 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3024 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3025 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3026 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3027 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3028 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3029 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3030 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3031 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3032 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3033 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3034 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3035 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3036 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3037 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3038 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3039 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3040 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3041 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3042 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3043 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3046 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3047 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3050
11dd4af6
L
3051 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3052 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3053 * include/ifunc-impl-list.h: New file.
3054 * misc/ifunc-impl-list.c: Likewise.
3055 * misc/Makefile (routines): Add ifunc-impl-list.
3056 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3057 * string/test-string.h: Include <ifunc-impl-list.h>.
3058 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3059 impl_array): New variables.
3060 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3061 are defined.
3062 (test_init): Call __libc_ifunc_impl_list to initialize
3063 func_list if TEST_IFUNC and TEST_NAME are defined.
3064
9a387d1f
L
3065 * string/Makefile (strop-tests): Add bcopy and bzero.
3066 * string/test-bcopy.c: New file.
3067 * string/test-bzero.c: Likewise.
3068 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3069 defined.
3070 * string/test-memset.c: Support bzero test if TEST_BZERO is
3071 defined.
3072 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3073 __libc_memmove.
3074 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3075 __libc_memset.
3076 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3077 of memset.
3078
472371b9
JM
30792012-10-10 Joseph Myers <joseph@codesourcery.com>
3080
1e4a9536
JM
3081 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3082 * configure: Regenerated.
3083
d173d12e
JM
3084 * Makeconfig (+link-static-before-libc): Don't include
3085 $(link-static-libc).
3086
472371b9
JM
3087 * libio/libio.h (_IO_pos_t): Remove.
3088
89a3ad0b
AO
30892012-10-10 Alexandre Oliva <aoliva@redhat.com>
3090
3091 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3092 McGrath.
3093
e7451425
AO
30942012-10-10 Alexandre Oliva <aoliva@redhat.com>
3095
3096 * crypt/crypt-entry.c: Include fips-private.h.
3097 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3098 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3099 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3100 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3101
4ba74a35
AO
31022012-10-10 Alexandre Oliva <aoliva@redhat.com>
3103
3104 * crypt/crypt-private.h: Include stdbool.h.
3105 (_ufc_setup_salt_r): Return bool.
3106 * crypt/crypt-entry.c: Include errno.h.
3107 (__crypt_r): Return NULL with EINVAL for bad salt.
3108 * crypt/crypt_util.c (bad_for_salt): New.
3109 (_ufc_setup_salt_r): Check that salt is long enough and within
3110 the specified alphabet.
3111 * crypt/badsalttest.c: New file.
3112 * crypt/Makefile (tests): Add it.
3113 ($(objpfx)badsalttest): New.
3114
f96f1242
MK
31152012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3116
3117 * NEWS: Add entry for BZ #14602.
3118
0e8e0c1c
JM
31192012-10-09 Joseph Myers <joseph@codesourcery.com>
3120
3121 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3122 type-generic.
3123 * math/libm-test.inc: Update comment listing what functions and
3124 macros are tested.
3125 (isgreater_test): New function.
3126 (isgreaterequal_test): Likewise.
3127 (isless_test): Likewise.
3128 (islessequal_test): Likewise.
3129 (islessgreater_test): Likewise.
3130 (isunordered_test): Likewise.
3131 (main): Call the new functions.
3132
273edc5e
RM
31332012-10-09 Roland McGrath <roland@hack.frob.com>
3134
b8493de0
RM
3135 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3136 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3137 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3138 * sysdeps/i386/configure: Regenerated.
3139 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3140 * sysdeps/mach/configure: Regenerated.
3141 * sysdeps/mach/hurd/configure: Regenerated.
3142 * sysdeps/powerpc/configure: Regenerated.
3143 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3144 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3145 * sysdeps/s390/s390-32/configure: Regenerated.
3146 * sysdeps/s390/s390-64/configure: Regenerated.
3147 * sysdeps/sh/configure: Regenerated.
3148 * sysdeps/sparc/configure: Regenerated.
3149 * sysdeps/unix/sysv/linux/configure: Regenerated.
3150 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3151 * sysdeps/x86_64/configure: Regenerated.
3152
273edc5e
RM
3153 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3154 defined. Don't check if MAP is NULL.
3155
c8450f70
JM
31562012-10-09 Joseph Myers <joseph@codesourcery.com>
3157
3158 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3159 (_G_stat64): Likewise.
3160 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3161 (_G_stat64): Likewise.
3162 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3163 instead of struct _G_stat64.
3164 * libio/fileops.c (mmap_remap_check): Likewise.
3165 (decide_maybe_mmap): Likewise.
3166 (_IO_new_file_seekoff): Likewise.
3167 (_IO_file_stat): Likewise.
3168 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3169 _G_off64_t.
3170 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3171 instead of struct _G_stat64.
3172 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3173
57e605ba
MK
31742012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3175
3176 [BZ #14602]
3177 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3178 Replace with ...
3179 (CHECK_EOL): New macro.
3180 (two_way_short_needle): Check beginning of haystack for EOL. Use
3181 CHECK_EOL.
3182 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3183 Replace with CHECK_EOL.
3184 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3185 Replace with CHECK_EOL.
3186
ef1bb361
JM
31872012-10-08 Joseph Myers <joseph@codesourcery.com>
3188
3189 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3190 type-generic.
3191 * math/libm-test.inc: Update comment listing what functions and
3192 macros are tested.
3193 (finite_test): New function.
3194 (isinf_test): Likewise.
3195 (isnan_test): Likewise.
3196 (fpclassify_test): Test subnormal input.
3197 (isfinite_test): Likewise.
3198 (isnormal_test): Likewise.
3199 (main): Call the new functions.
3200
55f11534
JN
32012012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3202
3203 [BZ #14660]
3204 * Makerules (%.dynsym): Force C locale when running
3205 $(OBJDUMP) --dynamic-syms.
3206
1ab29350
AS
32072012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3208
3209 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3210 <stdint.h>.
3211
f1ecb7ef
DM
32122012-10-06 David S. Miller <davem@davemloft.net>
3213
3214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3215 upper 32-bits of the length value in %o2 since we use branch-on-register
3216 tests which consider the entire 64-bit register.
3217
5d41d91a
L
32182012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3219
3220 * string/test-strstr.c (check2): Add a test for page boundary.
3221
3baddb72
DM
32222012-10-05 David S. Miller <davem@davemloft.net>
3223
3224 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3225 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3226 file.
3227 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3228 sysdep_routines.
3229 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3230 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3231 and bzero when HWCAP_SPARC_CRYPTO is present.
3232
9cee5585
L
32332012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3234
d7e0dab9
L
3235 [BZ #14602]
3236 * string/test-strstr.c (check2): New function.
3237 (test_main): Call check2.
3238
03759f47
L
3239 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3240 and bug-strchr1.
3241 * string/bug-strcasestr1.c (do_test): Moved to ...
3242 * string/test-strcasestr.c (check1): Here. New function.
3243 (do_one_test): Break out result checking code into ...
3244 (check_result): This. New function.
3245 (do_one_test): Call check_result.
3246 (test_main): Call check1.
3247 * string/bug-strchr1.c (do_test): Moved to ...
3248 * string/test-strchr.c (check1): Here. New function.
3249 (do_one_test): Break out result checking code into ...
3250 (check_result): This. New function.
3251 (do_one_test): Call check_result.
3252 (test_main): Call check1.
3253 * string/bug-strstr1.c (main): Moved to ...
3254 * string/test-strchr.c (check1): Here. New function.
3255 (do_one_test): Break out result checking code into ...
3256 (check_result): This. New function.
3257 (do_one_test): Call check_result.
3258 (test_main): Call check1.
3259 * string/bug-strcasestr1.c: Removed.
3260 * string/bug-strchr1.c: Likewise.
3261 * string/bug-strstr1.c: Likewise.
3262
53cea63e
L
3263 * elf/Makefile (dl-routines): Add hwcaps.
3264 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3265 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3266 (_dl_important_hwcaps): Moved to ...
3267 * elf/dl-hwcaps.c: Here. New file.
3268 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3269
9cee5585 3270 [BZ #14557]
bb859b06
L
3271 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3272 if IS_IN_rtld isn't defined.
3273
9cee5585
L
3274 * elf/dl-support.c (_dl_sysinfo_map): New.
3275 Include "get-dynamic-info.h" and "setup-vdso.h".
3276 (_dl_non_dynamic_init): Call setup_vdso.
3277 * elf/dynamic-link.h: Don't include <assert.h>.
3278 (elf_get_dynamic_info): Moved to ...
3279 * elf/get-dynamic-info.h: Here. New file.
3280 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3281 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3282 * elf/setup-vdso.h: Here. New file.
3283 * elf/rtld.c: Include "setup-vdso.h".
3284 (dl_main): Call setup_vdso.
3285
23c31b76
JM
32862012-10-05 Joseph Myers <joseph@codesourcery.com>
3287
28234b07
JM
3288 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3289 creal in comment listing functions tested. List finite, isinf,
3290 isnan, isless, islessequal, isgreater, isgreaterequal,
3291 islessgreater, isunordered, lgamma_r and pow10 as functions and
3292 macros not tested. Mention which functions not tested are aliases
3293 for other functions. Fix typo. Note that signs of NaNs are not
3294 tested.
3295
23c31b76
JM
3296 * scripts/config.guess: Update from config.git.
3297 * scripts/config.sub: Likewise.
3298
9043e228
RM
32992012-10-04 Roland McGrath <roland@hack.frob.com>
3300
3301 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3302 * misc/madvise.c (madvise): Renamed to __madvise.
3303 Make madvise a weak alias.
3304 * include/sys/mman.h: Declare __madvise.
3305 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3306 * sysdeps/unix/syscalls.list
3307 (madvise): Make __madvise the strong name, and madvise a weak alias.
3308 * sysdeps/unix/sysv/linux/syscalls.list
3309 (madvise, mmap): Remove redundant entries.
3310 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3311 * malloc/malloc.c (mtrim): Likewise.
3312 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3313
f57f8055
RM
33142012-10-03 Roland McGrath <roland@hack.frob.com>
3315
3316 * sysdeps/mach/hurd/dl-cache.c: File removed.
3317 * config.h.in (USE_LDCONFIG): New #undef.
3318 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3319 * configure: Regenerated.
3320 * elf/Makefile (dl-routines): Add dl-cache only under
3321 [$(use-ldconfig) = yes].
3322 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3323 cache on [USE_LDCONFIG].
3324 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3325 [USE_LDCONFIG].
3326 * elf/rtld.c (dl_main): Likewise.
3327
5bb0c10a
PT
33282012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3329
3330 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3331 _SC_LEVEL4_CACHE_LINESIZE.
3332
010188c6
RM
33332012-10-03 Roland McGrath <roland@hack.frob.com>
3334
3335 * sysdeps/unix/bsd/confstr.h: File removed.
3336
b6c5ec07
AO
33372012-10-02 Alexandre Oliva <aoliva@redhat.com>
3338
3339 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3340 sys/sdt-config.h.
3341
408223d4
RM
33422012-10-02 Roland McGrath <roland@hack.frob.com>
3343
3344 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3345 Make 'mapoff' field ElfW(Off) rather than off_t.
3346
bb9510dc
DL
33472012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3348
fc997c6e
DL
3349 * nscd/Makefile: Remove nscd-cflags and all its users.
3350 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3351 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3352
bb9510dc
DL
3353 [BZ #10631]
3354 * malloc.c (malloc_printerr): Clarify error message.
3355
05699367
L
33562012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3357
3358 [BZ #14648]
3359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3360 Set bit_FMA_Usable if FMA is supported.
3361 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3362 macro.
3363 (bit_FMA4_Usable): Updated.
3364 (index_FMA_Usable): New macro.
3365 (CPUID_FMA): Likewise
3366 (HAS_FMA): Defined with bit_FMA_Usable.
3367
51367701
RM
33682012-10-01 Roland McGrath <roland@hack.frob.com>
3369
3370 * bits/types.h (__swblk_t): Type removed.
3371 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3372 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3374 (__SWBLK_T_TYPE): Likewise.
3375 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3376 (__SWBLK_T_TYPE): Likewise.
3377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3378 (__SWBLK_T_TYPE): Likewise.
3379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3380 (__SWBLK_T_TYPE): Likewise.
3381
4d57bf63 33822012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3383 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3384
3385 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3386 (xdr_mapname): Use YPMAXMAP as maxsize.
3387 (xdr_peername): Use YPMAXPEER as maxsize.
3388 (xdr_keydat): Use YPAXRECORD as maxsize.
3389 (xdr_valdat): Use YPMAXRECORD as maxsize.
3390
93c65d43
RM
33912012-10-01 Roland McGrath <roland@hack.frob.com>
3392
497a03d6
RM
3393 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3394
93c65d43
RM
3395 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3396 * csu/init-first.c: ... here.
3397 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3398 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3399 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3400 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3401 * sysdeps/i386/init-first.c: File removed.
3402 * sysdeps/sh/init-first.c: File removed.
3403
bec749fd
JM
34042012-10-01 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #14645]
3407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3408 if x * y might underflow to zero and z is zero.
3409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3411 * math/libm-test.inc (min_subnorm_value): New variable.
3412 (fma_test): Add more tests.
3413 (fma_test_towardzero): Likewise.
3414 (fma_test_downward): Likewise
3415 (fma_test_upward): Likewise.
3416 (initialize): Set min_subnorm_value.
3417
8ec5b013
JM
34182012-09-29 Joseph Myers <joseph@codesourcery.com>
3419
3420 [BZ #14638]
3421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3422 0 + 0.
3423 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3424 mode for addition resulting in exact zero.
3425 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3427 exact 0 + 0.
3428 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3430 * math/libm-test.inc (fma_test): Add more tests.
3431 (fma_test_towardzero): New function.
3432 (fma_test_downward): Likewise.
3433 (fma_test_upward): Likewise.
3434 (main): Call the new functions.
3435
b1fa802e
DM
34362012-09-28 David S. Miller <davem@davemloft.net>
3437
3438 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3439
d3b9fd9e
RM
34402012-09-28 Roland McGrath <roland@hack.frob.com>
3441
ea4d37b3
RM
3442 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3443 instead of SIGALRM.
3444
ac51c949
RM
3445 * sysdeps/gnu/_G_config.h: Moved to ...
3446 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3447 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3448 * sysdeps/generic/_G_config.h: ... here.
3449
28c195f7
RM
3450 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3451
848917f9
RM
3452 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3453
6bacf05b
RM
3454 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3455 Conditionalize target on [libnss_test1.so-version].
3456
91363dbb
RM
3457 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3458
cc87f7d8
RM
3459 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3460 (elfobjdir): Move out of conditionals.
3461
b1c608fe
RM
3462 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3463 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3464 (__nss_lookup_function): Conditionalize label remove_from_tree on
3465 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3466
1d9a6d96
DM
34672012-09-28 David S. Miller <davem@davemloft.net>
3468
3469 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3470 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3471 file.
3472 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3473 sysdep_routines.
3474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3476 when HWCAP_SPARC_CRYPTO is present.
3477
72581615
PT
34782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3479
3480 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3481
715a900c
JL
34822012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3483
3484 [BZ #6530]
3485 * stdio-common/vfprintf.c (process_string_arg): Revert
3486 2000-07-22 change.
3487
34882011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3489
3490 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3491 for testcase.
3492 * stdio-common/tst-sprintf.c: Include <locale.h>
3493 (main): Test sprintf's handling of incomplete multibyte
3494 characters.
3495
9bac1d86
L
34962012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 * elf/dl-runtime.c (VERSYMIDX): Removed.
3499 * elf/dl-version.c (VERSYMIDX): Likewise.
3500 * elf/do-rel.h (VERSYMIDX): Likewise.
3501 (VALIDX): Likewise.
3502 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3503 * elf/rtld.c (VALIDX): Likewise.
3504 (ADDRIDX): Likewise.
9bac1d86
L
3505 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3506 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3507 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3508 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3509 (VALIDX): Likewise.
3510 (ADDRIDX): Likewise.
9bac1d86 3511
b31606c0
PT
35122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3513
3514 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3515
11541177
JL
35162012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3517
3518 [BZ #11438]
3519 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3520 to global scope.
3521 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3522 addresses are in the same scope as 192.0.2/24.
3523 * posix/gai.conf: Document new scope table defaults.
3524
adb26fae
SP
35252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3526
3527 [BZ #5298]
3528 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3529 for ftell. Compute offsets from write pointers instead.
3530 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3531
4573c6b0
SP
35322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3533
3534 [BZ #14543]
3535 * libio/Makefile (tests): New test case tst-fseek.
3536 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3537 combination works in wide mode.
3538 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3539 state when the external buffer state changes.
3540
aa9bbfe6
DM
35412012-09-27 David S. Miller <davem@davemloft.net>
3542
3543 [BZ #14376]
3544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3545 pass reloc->r_addend in as the 'high' argument to
3546 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3547
784421e7
DM
3548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3549
c39bc8b8
PT
35502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3551
3552 * rt/tst-aio2.c: Include <pthread.h>.
3553 * rt/tst-aio3.c: Likewise.
3554
1ccc2399
SE
35552012-09-27 Steve Ellcey <sellcey@mips.com>
3556
3557 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3558
31ed4153
L
35592012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3560
25f5f885
L
3561 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3562 contents on [SHARED].
31ed4153 3563
b7bfe116
MP
35642012-09-26 Marek Polacek <polacek@redhat.com>
3565
3566 [BZ #14530]
3567 [BZ #13741]
3568 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3569 for C++ and GCC <4.3 as well as for non GCC compilers.
3570
43c4edba
MT
35712012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3572
3573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3574
6a1bf82f
RM
35752012-09-25 Roland McGrath <roland@hack.frob.com>
3576
3577 * Makefile.in (all, install): Declare with .PHONY.
3578 Reported by Michael Hope <michael.hope@linaro.org>.
3579
8ad11b9a
TMQMF
35802012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3581
3582 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3583 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3584 system header.
3585 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3586 Likewise.
3587 (sydep_routines): Add the new and the internal functions.
3588 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3589 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3591 (GLIBC_2.17): Add the new function.
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3593 (GLIBC_2.17): Likewise.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3595 (GLIBC_2.17): Likewise.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3597 (GLIBC_2.17): Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3599
7e2fca8d
AM
36002012-09-25 Alan Modra <amodra@gmail.com>
3601
3602 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3603 Add release barrier before setting once_control to say
3604 initialisation is done. Add hints on lwarx. Use macro in
3605 place of isync.
3606 (clear_once_control): Add release barrier.
3607
b87c4b24
JM
36082012-09-25 Joseph Myers <joseph@codesourcery.com>
3609
d032e0d2
JM
3610 [BZ #13629]
3611 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3612 specially.
3613 * math/s_clog10.c (__clog10): Likewise.
3614 * math/s_clog10f.c (__clog10f): Likewise.
3615 * math/s_clog10l.c (__clog10l): Likewise.
3616 * math/s_clogf.c (__clogf): Likewise.
3617 * math/s_clogl.c (__clogl): Likewise.
3618 * math/Makefile (libm-calls): Add x2y2m1.
3619 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3620 (__x2y2m1): Likewise.
3621 (__x2y2m1l): Likewise.
3622 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3623 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3624 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3625 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3626 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3627 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3628 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3629 * sysdeps/i386/fpu/libm-test-ulps: Update.
3630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3631
b87c4b24
JM
3632 [BZ #14621]
3633 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3634 int as type of variable DEPTH.
3635 (glob): Use size_t instead of int as type of variables NEWCOUNT
3636 and OLD_PATHC.
3637
6d3bf199
LD
36382012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3639
22bf5c17
LD
3640 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3641 Add s_sincosf-sse2.
3642 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3643 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3644 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3645 macros for using routine as __sincosf_ia32.
3646 Use macro for function declaration and weak_alias.
3647 * sysdeps/i386/fpu/libm-test-ulps: Update.
3648
3649 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3651
3652 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3653 subnormal argument.
3654 * math/s_cexpf.c (__cexpf): Likewise.
3655 * math/s_csinf.c (__csinf): Likewise.
3656 * math/s_csinhf.c (__csinhf): Likewise.
3657 * math/s_ctanf.c (__ctanf): Likewise.
3658 * math/s_ctanhf.c (__ctanhf): Likewise.
3659 * math/s_ccosh.c (__ccoshf): Likewise.
3660 * math/s_cexp.c (__cexpl): Likewise.
3661 * math/s_csin.c (__csin): Likewise.
3662 * math/s_csinh.c (__csinh): Likewise.
3663 * math/s_ctan.c (__ctan): Likewise.
3664 * math/s_ctanh.c (ctanh): Likewise.
3665 * math/s_ccoshl.c (__ccoshl): Likewise.
3666 * math/s_cexpl.c (__cexpl): Likewise.
3667 * math/s_csinl.c (__csinl): Likewise.
3668 * math/s_csinhl.c (__csinhl): Likewise.
3669 * math/s_ctanl.c (__ctanl): Likewise.
3670 * math/s_ctanhl.c (__ctanhl): Likewise.
3671
203e5603
JM
36722012-09-25 Joseph Myers <joseph@codesourcery.com>
3673
3674 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3675 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3676 (_IO_off_t): Define to __off_t, not _G_off_t.
3677 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3678 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3679 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3680 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3681 type of __dummy and __dummy2 fields.
3682 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3683 (_G_ssize_t): Likewise.
3684 (_G_off_t): Likewise.
3685 (_G_pid_t): Likewise.
3686 (_G_uid_t): Likewise.
3687 (_G_wchar_t): Likewise.
3688 (_G_wint_t): Likewise.
3689 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3690 (_G_ssize_t): Likewise.
3691 (_G_off_t): Likewise.
3692 (_G_pid_t): Likewise.
3693 (_G_uid_t): Likewise.
3694 (_G_wchar_t): Likewise.
3695 (_G_wint_t): Likewise.
3696 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3697 (_G_ssize_t): Likewise.
3698 (_G_off_t): Likewise.
3699 (_G_pid_t): Likewise.
3700 (_G_uid_t): Likewise.
3701 (_G_wchar_t): Likewise.
3702 (_G_wint_t): Likewise.
3703
9fab36eb
SP
37042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3705
3706 * malloc/arena.c: Include malloc-sysdep.h.
3707 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3708 is sufficient to shrink the heap or an unmap is needed.
3709 * sysdeps/generic/malloc-sysdep.h: New file. Define
3710 new function check_may_shrink_heap.
3711 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3712 new function check_may_shrink_heap.
3713
2b4f00d1
SP
37142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3715
3716 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3717 comments.
3718
9a9028b1
DL
37192012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3720
57c69bef
DL
3721 * catgets/test-gencat.sh: Add "set -e".
3722 * elf/tst-pathopt.sh: Likewise.
3723 * grp/tst_fgetgrent.sh: Likewise.
3724 * iconvdata/run-iconv-test.sh: Likewise.
3725 * intl/tst-gettext.sh: Likewise.
3726 * intl/tst-gettext2.sh: Likewise.
3727 * intl/tst-gettext4.sh: Likewise.
3728 * intl/tst-gettext6.sh: Likewise.
3729 * intl/tst-translit.sh: Likewise.
3730 * io/ftwtest-sh: Likewise.
3731 * libio/test-freopen.sh: Likewise.
3732 * malloc/tst-mtrace.sh: Likewise.
3733 * posix/globtest.sh: Likewise.
3734 * posix/tst-getconf.sh: Likewise.
3735 * posix/wordexp-tst.sh: Likewise.
3736 * stdio-common/tst-printf.sh: Likewise.
3737 * stdio-common/tst-unbputc.sh: Likewise.
3738 * stdlib/tst-fmtmsg.sh: Likewise.
3739 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3740 * catgets/Makefile: Do not specify -e option when running
3741 testsuite shell scripts.
3742 * elf/Makefile: Likewise.
3743 * grp/Makefile: Likewise.
3744 * iconvdata/Makefile: Likewise.
3745 * intl/Makefile: Likewise.
3746 * io/Makefile: Likewise.
3747 * libio/Makefile: Likewise.
3748 * malloc/Makefile: Likewise.
3749 * posix/Makefile: Likewise.
3750 * stdio-common/Makefile: Likewise.
3751 * stdlib/Makefile: Likewise.
3752 * sysdeps/x86_64/Makefile: Likewise.
3753
9a9028b1
DL
3754 * io/ftwtest-sh: Add copyright header.
3755 * posix/globtest.sh: Likewise.
3756 * posix/tst-getconf.sh: Likewise.
3757 * posix/wordexp-tst.sh: Likewise.
3758 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3759
ced6f16e
L
37602012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3761
94b32c39
L
3762 [BZ #13679]
3763 * Makeconfig (+link): Defined as $(+link-static) if
3764 $(build-shared) isn't yes.
3765 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3766 isn't yes.
3767 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3768
189e935b
L
3769 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3770
ced6f16e
L
3771 [BZ #14562]
3772 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3773 new chunk size with MALLOC_ALIGN_MASK.
3774
a9f8e53a
JM
37752012-09-24 Joseph Myers <joseph@codesourcery.com>
3776
3777 [BZ #5044]
3778 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3779 <rounding-mode.h>.
3780 (__printf_fphex): Determine rounding using get_rounding_mode and
3781 round_away.
3782 * stdio-common/tst-printf-round.c (struct hex_test): New
3783 structure.
3784 (hex_tests): New variable.
3785 (test_hex_in_one_mode): New function.
3786 (do_test): Also run tests for hex float output.
3787
43153109
JM
37882012-09-21 Joseph Myers <joseph@codesourcery.com>
3789
3790 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3791 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3792 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3793 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3794 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3795 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3796 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3797 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3798
8a26625d
JM
37992012-09-20 Joseph Myers <joseph@codesourcery.com>
3800
3801 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3802 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3803 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3804 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3805
f3fd569c
DL
38062012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3807
3808 [BZ #14579]
3809 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3810 mode only.
3811 * elf/tst-rtld-load-self.sh: New test.
3812 * elf/Makefile: Run it.
3813
63bbedd4
JM
38142012-09-18 Joseph Myers <joseph@codesourcery.com>
3815
3816 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3817 (tst-writev-ENV): Remove.
3818 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3819
626f8b6a
CM
38202012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3821
3822 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3823
b7aaa4d6
JM
38242012-09-17 Joseph Myers <joseph@codesourcery.com>
3825
3826 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3827 unconditional.
3828 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3829 Likewise.
3830 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3831 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3832 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3833 Likewise.
3834
65513990
L
38352012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3836
3837 [BZ #14587]
3838 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3839 * config.make.in (have-cpp-asm-debuginfo): Removed.
3840 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3841 * configure: Regenerated.
3842
784761be
JM
38432012-09-14 Joseph Myers <joseph@codesourcery.com>
3844
3845 [BZ #5044]
3846 * stdio-common/printf_fp.c: Include <stdbool.h> and
3847 <rounding-mode.h>.
3848 (___printf_fp): Determine rounding using get_rounding_mode and
3849 round_away.
3850 * stdio-common/tst-printf-round.c: New file.
3851 * stdio-common/Makefile (tests): Add tst-printf-round.
3852 (link-libm): New variable.
3853 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3854
9503345f
L
38552012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3856
3857 [BZ #14576]
3858 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3859 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3860 Likewise.
3861 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3862 Likewise.
3863
ad35fc00
JM
38642012-09-13 Joseph Myers <joseph@codesourcery.com>
3865
3866 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3867 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3868 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3869 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3870
6c9b0f68
JM
38712012-09-12 Joseph Myers <joseph@codesourcery.com>
3872
3873 [BZ #14518]
3874 * include/rounding-mode.h: New file.
3875 * sysdeps/generic/get-rounding-mode.h: Likewise.
3876 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3877 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3878 (MAX_VALUE): New macro.
3879 (MIN_VALUE): Likewise.
3880 (overflow_value): New function.
3881 (underflow_value): Likewise.
3882 (round_and_return): Use overflow_value and underflow_value to
3883 determine return values in overflow and underflow cases. Use
3884 round_away to determine rounding depending on rounding mode.
3885 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3886 determine return values in overflow and underflow cases.
3887 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3888 (struct test_results): New structure.
3889 (struct test): Use struct test_results to store expected results
3890 for all rounding modes.
3891 (TEST): Include expected results for all rounding modes.
3892 (test_in_one_mode): New function.
3893 (do_test): Use test_in_one_mode to compute and check results.
3894 Check results for all rounding modes.
3895 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3896 $(link-libm).
3897
19fcedd5
AM
38982012-12-09 Allan McRae <allan@archlinux.org>
3899
1e9d84cd 3900 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3901
8bbfd2f1
JM
39022012-09-11 Joseph Myers <joseph@codesourcery.com>
3903
3904 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3905 (_G_int32_t): Likewise.
3906 (_G_uint16_t): Likewise.
3907 (_G_uint32_t): Likewise.
3908 (_G_HAVE_BOOL): Likewise.
3909 (_G_HAVE_ATEXIT): Likewise.
3910 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3911 (_G_HAVE_IO_FILE_OPEN): Likewise.
3912 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3913 (_G_int32_t): Likewise.
3914 (_G_uint16_t): Likewise.
3915 (_G_uint32_t): Likewise.
3916 (_G_HAVE_BOOL): Likewise.
3917 (_G_HAVE_ATEXIT): Likewise.
3918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3919 (_G_HAVE_IO_FILE_OPEN): Likewise.
3920 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3921 (_G_int32_t): Likewise.
3922 (_G_uint16_t): Likewise.
3923 (_G_uint32_t): Likewise.
3924 (_G_HAVE_BOOL): Likewise.
3925 (_G_HAVE_ATEXIT): Likewise.
3926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3927 (_G_HAVE_IO_FILE_OPEN): Likewise.
3928
b1dc5912
L
39292012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 * csu/libc-tls.c: Update copyright years.
3932
0e886ef9
JM
39332012-09-10 Joseph Myers <joseph@codesourcery.com>
3934
28361c5e
JM
3935 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3936 [!_G_USING_THUNKS]: Remove conditional code.
3937 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3938 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3939
0e886ef9
JM
3940 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3941 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3942 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3943 (_G_VTABLE_LABEL_PREFIX): Likewise.
3944 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3945 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3946 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3947 (_G_VTABLE_LABEL_PREFIX): Likewise.
3948 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3949 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3950 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3951 (_G_VTABLE_LABEL_PREFIX): Likewise.
3952 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3953
bcba7aa2
L
39542012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 * libio/Makefile: Include ../Makeconfig before tests.
3957 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3958 only if $(build-shared) is yes.
3959
06585ee8
L
3960 * iconv/gconv_db.c: Update copyright years.
3961
80ccd52c
LD
39622012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3963
3964 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3965 unwind info if defined PIC. Fix special cases description.
3966 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3967
3968 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3969 DP_HI_MASK entry.
3970 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3971
691bc9c1
L
39722012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3973
3d9b46b3
L
3974 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3975
de2139a9
L
3976 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3977 is NULL.
3978
5ca78dd0
L
3979 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3980 (LDLIBS-tst-chk4): This.
3981 (LDFLAGS-tst-chk5): Renamed to ...
3982 (LDLIBS-tst-chk5): This.
3983 (LDFLAGS-tst-chk6): Renamed to ...
3984 (LDLIBS-tst-chk6): This.
3985 (LDFLAGS-tst-lfschk4): Renamed to ...
3986 (LDLIBS-tst-lfschk4): This.
3987 (LDFLAGS-tst-lfschk5): Renamed to ...
3988 (LDLIBS-tst-lfschk5): This.
3989 (LDFLAGS-tst-lfschk6): Renamed to ...
3990 (LDLIBS-tst-lfschk6): This.
3991
691bc9c1
L
3992 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3993 on $(common-objpfx)soversions.mk.
3994
65cafb1c
JM
39952012-09-07 Joseph Myers <joseph@codesourcery.com>
3996
3997 [BZ #10014]
3998 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3999 example host name.
4000
c78ab094
SP
40012012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4002
4003 * malloc/arena.c (arena_get_retry): New function that gets
4004 another arena for the caller to try its request on.
4005 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4006 current arena cannot fulfill the request.
4007 (__libc_memalign): Likewise.
4008 (__libc_memalign): Likewise.
4009 (__libc_pvalloc): Likewise.
4010 (__libc_calloc): Likewise.
4011
01f49f59
JT
40122012-09-05 John Tobey <john.tobey@gmail.com>
4013
4014 [BZ #13542]
4015 * manual/arith.texi (Operations on Complex): Fix description
4016 of carg branch cut.
4017
4c23fed5
JM
40182012-09-06 Joseph Myers <joseph@codesourcery.com>
4019
1d3c8572
JM
4020 [BZ #10014]
4021 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4022 host name.
4023
4c23fed5
JM
4024 [BZ #10038]
4025 * manual/memory.texi (Memory): Make order of menu items match
4026 order of sections.
4027
04570aaa
L
40282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4029
4030 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4031 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4032 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4033
b80af2f4
L
40342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * csu/libc-tls.c (static_dtv): Renamed to ...
4037 (_dl_static_dtv): This. Make it global.
4038 (_dl_initial_dtv): Removed.
4039 (__libc_setup_tls): Updated.
4040 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4041 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4042 DL_INITIAL_DTV.
4043
2abe9f15
PM
40442012-09-06 Petr Machata <pmachata@redhat.com>
4045
4046 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4047 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4048 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4049 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4050
0948c3af
L
40512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4052
4053 [BZ #14545]
4054 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4055 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4056 freeing dtv[-1].
4057
a5055ad1
L
40582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4059
4060 [BZ #14544]
4061 * Makeconfig (link-static-before-libc): Replace $(+prector)
4062 with $(+prectorT).
4063 (link-static-after-libc): Replace $(+postctor) with
4064 $(+postctorT).
4065 (link-bounded): Replace $(+prector)/$(+postctor) with
4066 $(+prectorT)/$(+postctorT).
4067 (+prectorT): New macro.
4068 (+postctorT): Likewise.
4069
ed8c2ecd
JM
40702012-09-06 Joseph Myers <joseph@codesourcery.com>
4071
4072 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4073 (round_str): Handle values above the maximum for IBM long double
4074 as inexact.
4075 * stdlib/tst-strtod-round.c (tests): Regenerated.
4076
14c996c8
AK
40772012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4078
4079 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4080 assembler flag.
4081 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4082 zarch_nohighgprs around the zarch optimized routines.
4083 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4084 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4085 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4086 for zarch.
4087
430d6ce6
DM
40882012-09-05 David S. Miller <davem@davemloft.net>
4089
4090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4091
ff04dda4
DM
4092 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4093 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4094 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4095 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4096 entries.
4097
24d4e01b
AO
40982012-09-05 Alexandre Oliva <aoliva@redhat.com>
4099
4100 * malloc/arena.c: Fold copyright years.
4101 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4102
61d58174
AO
41032012-09-05 Alexandre Oliva <aoliva@redhat.com>
4104
4105 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4106
20196a5e
AO
41072012-09-05 Alexandre Oliva <aoliva@redhat.com>
4108
4109 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4110
5c447383
AO
41112012-09-05 Alexandre Oliva <aoliva@redhat.com>
4112
4113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4114 change internal state upon failure.
4115
fad64255
AO
41162012-09-05 Alexandre Oliva <aoliva@redhat.com>
4117
4118 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4119 * malloc/memusage.c (mmap): Likewise.
4120 (mmap64, mremap): Likewise. Adjust name in comment.
4121
1ffb8c90
SP
41222012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4123
4124 * libio/fileops.c: Fix typos in comments.
4125 * libio/oldfileops.c: Likewise.
4126 * libio/wfileops.c: Likewise.
4127
6ef9cc37
SP
41282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
4130 [BZ #1349]
4131 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4132 (tst-malloc-usable-ENV): Set environment for test case.
4133 * malloc/hooks.c (malloc_check_get_size): New function to get
4134 requested size.
4135 * malloc/malloc.c (musable): Use malloc_check_get_size.
4136 * malloc/tst-malloc-usable.c: New test case.
4137
4d038ae3
AS
41382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4139
4140 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4141
c4e85184
AM
41422012-09-05 Allan McRae <allan@archlinux.org>
4143
b9dafc56 4144 [BZ #13966]
c4e85184
AM
4145 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4146 determine header location.
4147 * configure: Regenerated.
4148
e1343020
AS
41492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4150
4151 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4152 float format.
4153 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4154 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4155 format.
e1343020
AS
4156 (test): Regenerate.
4157
0a9f1987
DM
41582012-09-04 David S. Miller <davem@davemloft.net>
4159
4160 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4161 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4162 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4163
29237804
FW
41642012-09-04 Florian Weimer <fweimer@redhat.com>
4165
4166 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4167 failures.
4168
edb3cb88
FW
4169 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4170
60160d83
JM
41712012-09-04 Joseph Myers <joseph@codesourcery.com>
4172
4173 [BZ #9914]
4174 * libio/iogetdelim.c: Include <limits.h>.
4175 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4176 + len + 1 would overflow.
4177
bcd6c8dc
AJ
41782012-09-03 Andreas Jaeger <aj@suse.de>
4179
4180 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4181 * sysdeps/i386/fpu/libm-test-ulps: Update.
4182
4ffffbd2
LD
41832012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4184
4185 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4186 Add s_sinf-sse2, s_conf-sse2.
4187
4188 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4189 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4190 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4191 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4192
4193 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4194 for using routine as __sinf_ia32.
4195 Use macro for function declaration and weak_alias.
4196 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4197 for using routine as __cosf_ia32.
4198 Use macro for function declaration and weak_alias.
4199
4200 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4201 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4202
4203 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4204 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4206
4207 * math/libm-test.inc (cos_test): Add more test cases.
4208 (sin_test): Likewise.
4209 (sincos_test): Likewise.
4210
511fa286
AK
42112012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4212
4213 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4214 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4215 hidden.
4216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4217
5f30cfec
L
42182012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4219
4220 [BZ #14538]
4221 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4222 first element of the GOT.
4223 (elf_machine_load_address): Return the difference between
4224 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4225
0786794f
AM
42262012-09-01 Allan McRae <allan@archlinux.org>
4227
5f30cfec
L
4228 [BZ #13412]
4229 * configure.in (AWK): Require gawk version 3.0 or later.
4230 * configure: Regenerated.
0786794f 4231
26889eac
JM
42322012-09-01 Joseph Myers <joseph@codesourcery.com>
4233
4234 * sysdeps/unix/sysv/linux/kernel-features.h
4235 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4236 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4237 [__NR_clock_getres]: Make code unconditional.
4238 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4239 (clock_getcpuclockid): Remove code left unreachable by removal of
4240 conditionals.
4241 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4242 code unconditional.
4243 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4244 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4245 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4246 Make code unconditional.
4247 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4248 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4249 * sysdeps/unix/sysv/linux/clock_settime.c
4250 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4251 conditional code.
4252 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4253 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4254
d22e28b0
L
42552012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4256
4257 [BZ #14476]
4258 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4259 scripts/test-installation.pl.
4260
4261 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4262 and $ld_so_version if it is set.
4263
050af9c4
SP
42642012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4265
4266 [BZ #14516]
4267 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4268 failure if reading from procfs failed.
4269 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4270
ad845c0b
JM
42712012-08-27 Joseph Myers <joseph@codesourcery.com>
4272
4273 * sysdeps/unix/sysv/linux/kernel-features.h
4274 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4275 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4276 Remove conditional code.
4277 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4278 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4279 Remove conditional code.
4280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4281 * sysdeps/unix/sysv/linux/i386/fxstat.c
4282 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4284 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4285 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4287 * sysdeps/unix/sysv/linux/i386/lxstat.c
4288 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4289 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4290 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4291 Remove conditional code.
4292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4293 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4294 Remove conditional code.
4295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4296 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4297 <kernel-features.h>.
4298 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4299 Remove.
4300 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4301 Remove conditional code.
4302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4303 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4304 Remove conditional.
4305
5dbf56af
MF
43062012-08-27 Mike Frysinger <vapier@gentoo.org>
4307
4308 [BZ #5400]
4309 * NEWS: Add fixed bug number.
4310
d6e70f43
JM
43112012-08-27 Joseph Myers <joseph@codesourcery.com>
4312
7efb4737
JM
4313 [BZ #14519]
4314 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4315 underflowing exponent in case of negative sign.
4316 * stdlib/tst-strtod-round-data: Add more tests.
4317 * stdlib/tst-strtod-round.c (tests): Regenerated.
4318
af92131a
JM
4319 [BZ #3479]
4320 * stdlib/strtod_l.c (NDIG): Remove.
4321 (HEXNDIG): Likewise.
4322 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4323 smallest representable value.
4324 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4325 lie within an exact representation of 1/2 ulp of the result.
4326 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4327 unconditionally.
4328 (TENS_P9_IDX): Define unconditionally.
4329 (TENS_P9_SIZE): Likewise.
4330 (TENS_P10_IDX): Likewise.
4331 (TENS_P10_SIZE): Likewise.
4332 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4333 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4334 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4335 entries for 10^2^13 and 10^2^14.
4336 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4337 (TENS_P13_IDX): Define.
4338 (TENS_P13_SIZE): Likewise.
4339 (TENS_P14_IDX): Likewise.
4340 (TENS_P14_SIZE): Likewise.
4341 (_fpioconst_pow10): Change array size to
4342 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4343 unconditional.
4344 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4345 1024]: Add entries for 10^2^13 and 10^2^14.
4346 [LAST_POW10 > _LAST_POW10]: Remove #error.
4347 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4348 (_fpioconst_pow10): Change array size to
4349 FPIOCONST_POW10_ARRAY_SIZE.
4350 * stdlib/gen-fpioconst.c: New file.
4351 * stdlib/gen-tst-strtod-round.c: Likewise.
4352 * stdlib/tst-strtod-round-data: Likewise.
4353 * stdlib/tst-strtod-round.c: Likewise.
4354 * stdlib/Makefile (tests): Add tst-strtod-round.
4355
d6e70f43
JM
4356 [BZ #14459]
4357 * stdlib/strtod_l.c: Include <stdint.h>.
4358 (NDEBUG): Do not define.
4359 (round_and_return): Change EXPONENT parameter to type intmax_t.
4360 Rearrange calculations to avoid internal overflow possibilities.
4361 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4362 Rearrange calculations to avoid internal overflow possibilities.
4363 Assert that number fits inside MPNSIZE limbs.
4364 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4365 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4366 calculations and add assertions to avoid internal overflow
4367 possibilities. Add casts to avoid signed/unsigned operations.
4368 * stdlib/tst-strtod-overflow.c: New file.
4369 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4370
1f529f7d
MP
43712012-08-25 Marek Polacek <polacek@redhat.com>
4372
4373 * time/time.h: Fix some typos in comments.
4374
59a629f1
RM
43752012-08-23 Roland McGrath <roland@hack.frob.com>
4376
4377 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4378 * posix/tst-rfc3484-2.c: Likewise.
4379 * posix/tst-rfc3484-3.c: Likewise.
4380
d3bafbc9
SM
43812012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4382
4383 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4384 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4385
4efcc022
JM
43862012-08-23 Joseph Myers <joseph@codesourcery.com>
4387
4388 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4389 #include of fxstatat64.c.
4390
3cc3ef96
RM
43912012-08-22 Roland McGrath <roland@hack.frob.com>
4392
f04e2132
RM
4393 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4394 * shadow/getspent_r.c: Likewise.
4395 * shadow/getspnam.c: Likewise.
4396 * shadow/getspnam_r.c: Likewise.
4397 * gshadow/getsgent.c: Likewise.
4398 * gshadow/getsgent_r.c: Likewise.
4399 * gshadow/getsgnam.c: Likewise.
4400 * gshadow/getsgnam_r.c: Likewise.
4401 * inet/getnetbyad.c: Likewise.
4402 * inet/getnetbyad_r.c: Likewise.
4403 * inet/getnetbynm.c: Likewise.
4404 * inet/getnetbynm_r.c: Likewise.
4405 * inet/getnetent.c: Likewise.
4406 * inet/getnetent_r.c: Likewise.
4407 * inet/getproto.c: Likewise.
4408 * inet/getproto_r.c: Likewise.
4409 * inet/getprtent.c: Likewise.
4410 * inet/getprtent_r.c: Likewise.
4411 * inet/getprtname.c: Likewise.
4412 * inet/getprtname_r.c: Likewise.
4413 * inet/getrpcbyname.c: Likewise.
4414 * inet/getrpcbyname_r.c: Likewise.
4415 * inet/getrpcbynumber.c: Likewise.
4416 * inet/getrpcbynumber_r.c: Likewise.
4417 * inet/getrpcent.c: Likewise.
4418 * inet/getrpcent_r.c: Likewise.
4419 * inet/getaliasent.c: Likewise.
4420 * inet/getaliasent_r.c: Likewise.
4421 * inet/getaliasname.c: Likewise.
4422 * inet/getaliasname_r.c: Likewise.
4423 * nscd/getgrgid_r.c: Likewise.
4424 * nscd/getgrnam_r.c: Likewise.
4425 * nscd/gethstbyad_r.c: Likewise.
4426 * nscd/gethstbynm3_r.c: Likewise.
4427 * nscd/getpwnam_r.c: Likewise.
4428 * nscd/getpwuid_r.c: Likewise.
4429 * nscd/getsrvbynm_r.c: Likewise.
4430 * nscd/getsrvbypt_r.c: Likewise.
4431 * nscd/gai.c: Likewise.
4432
c53d909c
RM
4433 * configure.in (build_nscd): New substituted variable, set
4434 by --disable-build-nscd and defaults to $use_nscd.
4435 * configure: Regenerated.
4436 * config.make.in (build-nscd): New substituted variable.
4437 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4438 Change conditional to require [$(build-nscd) = yes] as well.
4439 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4440
3cc3ef96
RM
4441 [BZ# 13696]
4442 * configure.in (use_nscd): New substituted variable, set by
4443 --disable-nscd. If enabled, define USE_NSCD.
4444 * configure: Regenerated.
4445 * config.h.in: Add USE_NSCD.
4446 * config.make.in (use-nscd): New substituted variable.
4447 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4448 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4449 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4450 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4451 (CFLAGS-getgrnam_r.c): Likewise.
4452 (CFLAGS-initgroups.c): Likewise.
4453 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4454 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4455 Variables removed.
4456 * inet/getnetgrent_r.c
4457 (nscd_setnetgrent): New function, broken out of ...
4458 (setnetgrent): ... here. Call it.
4459 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4460 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4461 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4462 * nscd/Makefile (routines, aux): Move definitions after include of
4463 Makeconfig. Conditionalize on [$(use-nscd) != no].
4464 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4465 Conditionalize on [USE_NSCD].
4466 (is_nscd, nscd_init_cb): Likewise.
4467 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4468 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4469 * nss/nss_db/db-init.c: Likewise.
4470 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4471 [USE_NSCD].
4472 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4473 (make_request): Use it.
4474 (cache_valid_p): New function.
4475 (__check_pf): Use it.
4476 * NEWS: Add item for --disable-nscd.
4477
07e51550
DL
44782012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4479
4480 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4481 to support sed >= 4.2.1-20-ga9bf076.
4482 * configure: Regenerated.
4483
35a5b08b
RM
44842012-08-22 Roland McGrath <roland@hack.frob.com>
4485
4486 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4487 Conditionalize whole body on [IREL].
4488
8479f23a
JL
44892012-08-22 Jeff Law <law@redhat.com>
4490
4491 [BZ #14505]
4492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4493 if the family is PF_UNSPEC.
4494
48da0b21
MF
44952012-08-22 Mike Frysinger <vapier@gentoo.org>
4496
4497 * Makerules (lib-version): Rename from V.
4498 (install-lib-nosubdir): Change V to lib-version.
4499
15d0da8c
WS
45002012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4501
4502 [BZ #14252]
4503 * powerpc32/power6/wcschr.c: New file.
4504 * powerpc32/power6/wcscpy.c: New file.
4505 * powerpc32/power6/wcsrchr.c: New file.
4506 * powerpc64/power6/wcschr.c: New file.
4507 * powerpc64/power6/wcscpy.c: New file.
4508 * powerpc64/power6/wcsrchr.c: New file.
4509
bcca0895
MK
45102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4511
4512 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4513 (two_way_short_needle): Use it.
5a4aaa33
RM
4514 * string/strstr.c (AVAILABLE1_USES_J): Define.
4515 * string/strcasestr.c: Likewise.
99677e57
MK
4516
4517 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4518 array references.
4519 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4520
400726de
MK
4521 [BZ #11607]
4522 * NEWS: Add an entry.
4523 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4524 define their defaults.
4525 (two_way_short_needle): Detect end-of-string on-the-fly.
4526 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4527 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4528 * string/bug-strcasestr1.c: New test.
4529 * string/Makefile: Run it.
4530
20a71f2c
MK
45312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4532
4533 [BZ #11607]
4534 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4535 the first character.
4536
21ad0558
RM
45372012-08-21 Roland McGrath <roland@hack.frob.com>
4538
4539 * csu/elf-init.c (__libc_csu_irel): Function removed.
4540 * csu/libc-start.c (apply_irel): New function.
4541 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4542
0e1d9911
JM
45432012-08-21 Joseph Myers <joseph@codesourcery.com>
4544
4545 * sysdeps/unix/sysv/linux/kernel-features.h
4546 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4547 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4548 <kernel-features.h>.
4549 [__NR_fadvise64_64]: Make code unconditional.
4550 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4551 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4552 !__NR_fadvise64_64)]: Likewise.
4553 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4554 !__NR_fadvise64_64))]: Likewise.
4555 [__NR_fadvise64]: Make code unconditional.
4556 [!__NR_fadvise64]: Remove conditional code.
4557 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4558 <kernel-features.h>.
4559 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4560 unconditional.
4561 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4562 conditional code.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4564 not include <kernel-features.h>.
4565 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4566 unconditional.
4567 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4568 conditional code.
4569 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4570 include <kernel-features.h>.
4571 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4572 unconditional.
4573 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4574 conditional code.
4575
14a50c9d
WS
45762012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4577
4578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4579 slight instruction rearrangements per scrollpipe analysis.
4580 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4581
c0f4faf0
RM
45822012-08-20 Roland McGrath <roland@hack.frob.com>
4583
696da859
RM
4584 * manual/syslog.texi (syslog; vsyslog, closelog):
4585 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4586 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4587
c0f4faf0
RM
4588 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4589 DSOCAPS to match condition on defining it.
4590
348363b2
JM
45912012-08-20 Joseph Myers <joseph@codesourcery.com>
4592
a35cbf28
JM
4593 * sysdeps/unix/sysv/linux/kernel-features.h
4594 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4596 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4597 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4599 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4600 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4602 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4603 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4604
445f7ecd
JM
4605 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4606 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4607
348363b2
JM
4608 * sysdeps/unix/sysv/linux/kernel-features.h
4609 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4610 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4611 unconditional.
4612 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4613 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4614 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4615 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4616 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4617 Make code unconditional.
4618 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4619 (__mmap64) [!__NR_mmap2]: Likewise.
4620 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4621 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4622 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4623 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4624 [__NR_mmap2]: Make code unconditional.
4625 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4626 (__mmap64) [!__NR_mmap2]: Likewise.
4627
bc5bc0e5
AK
46282012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4629
4630 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4631
88d506de
AJ
46322012-08-18 Andreas Jaeger <aj@suse.de>
4633
4634 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4635
493387d2
MF
46362012-08-18 Mike Frysinger <vapier@gentoo.org>
4637
4638 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4639 * include/unistd.h (__have_sock_cloexec): Likewise.
4640 (__have_pipe2): Likewise.
4641 (__have_dup3): Likewise.
4642
a277af22
MF
46432012-08-18 Mike Frysinger <vapier@gentoo.org>
4644
4645 [BZ #9685]
4646 * include/unistd.h (__have_pipe2): Change define into an extern int.
4647 (__have_dup3): Likewise.
4648 * socket/have_sock_cloexec.c: Include fcntl.h.
4649 (__have_pipe2): New variable.
4650 (__have_dup3): Likewise.
4651
fdab8fd3
MF
46522012-08-17 Mike Frysinger <vapier@gentoo.org>
4653
4654 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4655
31035e80
MP
46562012-08-17 Marek Polacek <polacek@redhat.com>
4657
4658 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4659 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4660
3bd9e993
RM
46612012-08-17 Roland McGrath <roland@hack.frob.com>
4662
c91c505f
RM
4663 * configure.in: Add AC_SUBST for sysheaders.
4664 * configure: Regenerated.
4665 * config.make.in (sysheaders): New substituted variable.
4666
7c6f9d53
RM
4667 * sysdeps/unix/mkfifo.c: Moved ...
4668 * sysdeps/posix/mkfifo.c: ... here.
4669 * sysdeps/unix/mkfifoat.c: Moved ...
4670 * sysdeps/posix/mkfifoat.c: ... here.
4671
4672 * sysdeps/unix/utime.c: Moved ...
4673 * sysdeps/posix/utime.c: ... here.
4674
4675 * sysdeps/unix/time.c: Moved ...
4676 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4677 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4678 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4679
4680 * sysdeps/unix/nice.c: Moved ...
4681 * sysdeps/posix/nice.c: ... here.
4682
4683 * sysdeps/unix/alarm.c: Moved ...
4684 * sysdeps/posix/alarm.c: ... here.
4685
3bd9e993
RM
4686 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4687
d1f09384
JL
46882012-08-17 Jeff Law <law@redhat.com>
4689
4690 * intl/Makefile (codeset_mo): New variable.
4691 ($(codeset_mo)): New target.
4692 (tst-codeset.out): Depend on that. Remove explicit rule.
4693 (tst-gettext3.out, tst-gettext5.out): Likewise.
4694 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4695 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4696 * intl/tst-codeset.sh: Remove.
4697 * intl/tst-gettext3.sh: Likewise.
4698 * intl/tst-gettext5.sh: Likewise.
4699
2ae1ae5c
RM
47002012-08-17 Roland McGrath <roland@hack.frob.com>
4701
c31fdb83
RM
4702 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4703 * sysdeps/unix/syscalls.list: ... here.
4704
a0844057
RM
4705 * sysdeps/posix/getaddrinfo.c
4706 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4707 (gaiconf_init, gaiconf_reload): Use them.
4708 [!_STATBUF_ST_NSEC]
4709 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4710 Define using time_t rather than struct timespec.
4711
750c1f2a
RM
4712 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4713 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4714 Macros removed.
4715 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4716 [!NO_THREADS].
4717 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4718 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4719 Likewise.
4720
2ae1ae5c
RM
4721 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4722 __libc_cleanup_push argument.
4723
e66a42f5
RM
4724 * bits/param.h: New file.
4725 * misc/sys/param.h: New file.
4726 * include/sys/param.h: New file.
4727 * misc/Makefile (headers): Add bits/param.h.
4728 * sysdeps/generic/sys/param.h: File removed.
4729 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4730 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4731 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4732 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4733
b7c08a66
RM
4734 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4735 last change.
4736
b2e1c562
RM
4737 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4738 [_IO_MTSAFE_IO].
4739 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4740 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4741 New macros.
4742
c75ccd4c
RM
4743 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4744 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4745 rather than -D_IO_MTSAFE_IO conditionally.
4746 * stdio-common/Makefile (CPPFLAGS): Likewise.
4747 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4748 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4749 Use $(libio-mtsafe).
4750 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4751 of -D_IO_MTSAFE_IO.
4752 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4753 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4754 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4755 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4756 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4757 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4758 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4759 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4760 (CFLAGS-fread_u_chk.c): Likewise.
4761 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4762 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4763 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4764 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4765 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4766 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4767 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4768 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4769 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4770
4771 * libio/Makefile: Test [$(libc-reentrant) = yes]
4772 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4773
4774 * Makeconfig
4775 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4776 * sysdeps/pthread/configure: File removed.
4777 * sysdeps/pthread/Makeconfig: New file.
4778 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4779 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4780
d9195db8
GB
47812012-08-16 Gary Benson <gbenson@redhat.com>
4782
4783 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4784 unmapping the first object in a namespace.
4785
86466cd9
RM
47862012-08-16 Roland McGrath <roland@hack.frob.com>
4787
4788 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4789 (__internal_setnetgrent): ... this. Add internal_function to
4790 definition. Add libc_hidden_def.
4791 (setnetgrent): Update caller.
4792 (internal_endnetgrent): Renamed to ...
4793 (__internal_endnetgrent): ... this. Add internal_function to
4794 definition. Add libc_hidden_def.
4795 (endnetgrent): Update caller.
4796 (internal_getnetgrent_r): Renamed to ...
4797 (__internal_getnetgrent_r): ... this. Add internal_function to
4798 definition. Add libc_hidden_def.
4799 (__getnetgrent_r): Update caller.
4800 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4801
c3c8283c
JM
48022012-08-16 Joseph Myers <joseph@codesourcery.com>
4803
4804 * stdlib/longlong.h: Update from GCC.
4805
db1ee0a8
RM
48062012-08-16 Roland McGrath <roland@hack.frob.com>
4807
4808 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4809 on _QL, which is set by umul_ppmm but never used.
4810 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4811 variables, which are set by GMP macros but never used.
4812 * stdio-common/_itowa.c (_itowa): Likewise.
4813 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4814 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4815
30f69637
CD
48162012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4817
4818 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4819 struct La_sh_regs is not constant.
4820 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4821 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4822 and struct La_sparc64_regs are not constant.
4823
93a78ac4
JM
48242012-08-16 Joseph Myers <joseph@codesourcery.com>
4825
4826 * sysdeps/unix/sysv/linux/kernel-features.h
4827 (__ASSUME_POSIX_TIMERS): Remove.
4828 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4829 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4830 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4831 Make code unconditional.
4832 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4833 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4834 Make code unconditional.
4835 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4836 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4837 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4838 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4839 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4840 Make code unconditional.
4841 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4842 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4843 (__libc_missing_posix_timers): Remove.
4844
dd924cd7
RM
48452012-08-15 Roland McGrath <roland@hack.frob.com>
4846
4b4f2771
RM
4847 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4848 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4849
601c888b
RM
4850 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4851
176790a7
RM
4852 * elf/dl-sym.c: Include <stdlib.h>.
4853
329bc018
RM
4854 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4855 constants, which avoids warnings in 32-bit builds.
4856
e04e272d
RM
4857 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4858 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4859
952bf94a
RM
4860 * misc/lseek.c: File moved to ...
4861 * io/lseek.c: ... here.
4862
7c99b50a
RM
4863 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4864
dd924cd7
RM
4865 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4866 shifting LEN more than 31 bits at once.
4867
b3f479a8
LD
48682012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4869
4870 [BZ #14195]
8c4ae0d4
RM
4871 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4872 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4873 * string/test-strncasecmp.c (check1): Renamed to...
4874 (bz12205): ...this.
4875 (bz14195): Add new testcase for two empty input strings and N > 0.
4876 (test_main): Call new testcase, adapt for renamed function.
4877
9c55864e
AJ
48782012-08-15 Andreas Jaeger <aj@suse.de>
4879
4880 [BZ #14090]
4881 * crypt/md5test2.c: New test, based on test supplied by Serge
4882 Belyshev <belyshev@depni.sinp.msu.ru>.
4883 * crypt/Makefile (xtests): Add md5test-giant..
4884 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4885
02dcb6c5
PE
48862012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4887
4888 [BZ #14090]
4889 * crypt/md5.c (md5_process_block): Don't assume the buffer
4890 length is less than 2**32.
4891 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4892 length is less than 2**64.
4893
a3f95dcc
RM
48942012-08-15 Roland McGrath <roland@hack.frob.com>
4895
be75d758
RM
4896 * string/str-two-way.h: Include <sys/param.h>.
4897 (MAX): Macro removed.
4898
7312ca90
RM
4899 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4900 Move #define and #undef of memmove to just before and after
4901 including <string.h>.
4902
9a0a5486
RM
4903 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4904 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4905 and after including <string.h>. Move declarations of
4906 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4907 to before #include "string/memmove.c".
4908
67cc348d
RM
4909 * include/dirent.h: Declare __getdirentries.
4910
a3f95dcc
RM
4911 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4912 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4913
ca98e171
MF
49142012-08-14 Mike Frysinger <vapier@gentoo.org>
4915
4916 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4917 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4918 * sysdeps/i386/configure: Regenerated.
4919 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4920 STABS_CURRENT_FILE, and STABS_FUN.
4921 (END): Remove call to STABS_FUN_END.
4922 (STABS_CURRENT_FILE1): Delete.
4923 (STABS_CURRENT_FILE): Likewise.
4924 (STABS_FUN): Likewise.
4925 (STABS_FUN_END): Likewise.
4926 (STABS_FUN2): Likewise.
4927 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4928 * sysdeps/x86_64/configure: Regenerated.
4929
5908bf46
RM
49302012-08-14 Roland McGrath <roland@hack.frob.com>
4931
4932 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4933 * elf/dl-lookup.c: Likewise.
5908bf46 4934
f2c05b9e
JM
49352012-08-14 Joseph Myers <joseph@codesourcery.com>
4936
4937 * sysdeps/unix/sysv/linux/kernel-features.h
4938 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4939 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4940 unconditionally.
4941 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4942 unconditionally.
4943 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4944 condition on __ASSUME_CLONE_THREAD_FLAGS.
4945
e11f5155
AJ
49462012-08-14 Andreas Jaeger <aj@suse.de>
4947
4948 * sysdeps/i386/fpu/libm-test-ulps: Update.
4949
51a9ba86
MK
49502012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4951
2fdd4f78
AJ
4952 * include/atomic.h (atomic_exchange_and_add): Split into ...
4953 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4954 New atomic macros.
51a9ba86 4955
ba6cba9e
MT
49562012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4957
4958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4959
42443a47
JL
49602012-08-13 Jeff Law <law@redhat.com>
4961
4962 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4963 null byte in the output string.
4964
121dce05
JM
49652012-08-10 Joseph Myers <joseph@codesourcery.com>
4966
4967 * sysdeps/unix/sysv/linux/kernel-features.h
4968 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4969 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4970 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4971 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4972 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4973 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4974 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4975
bf51f568
JL
49762012-08-09 Jeff Law <law@redhat.com>
4977
4978 [BZ #13939]
4979 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4980 When avoid_arena is set, don't retry in the that arena. Pick the
4981 next one, whatever it might be.
4982 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4983 (arena_lock): Pass in new parameter to arena_get2.
4984 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4985 arena_get2.
4986 (__libc_malloc): Unify retrying after main arena failure with
4987 __libc_memalign version.
4988 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4989
f85fa270
L
49902012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4991
4992 [BZ #14166]
4993 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4994 to __redirect_strstr.
4995 (__strstr_sse42): Use typeof __redirect_strstr.
4996 (__strstr_ia32): Likewise.
4997 (__libc_strstr): New prototype.
4998 (strstr): Renamed to ...
4999 (__libc_strstr): This.
5000 (strstr): New strong alias of __libc_strstr.
5001 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5002 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5003 __redirect_time.
5004 Include <time.h>.
5005 (__libc_time): New prototype.
5006 (time_ifunc): Replace time with __libc_time.
5007 (time): New strong alias and hidden definition of __libc_time.
5008 (__GI_time): Remove strong alias.
5009 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5010 Include <stddef.h>.
5011 (memmove): Redefined to __redirect_memmove.
5012 (__memmove_sse2): Use typeof __redirect_memmove.
5013 (__memmove_ssse3): Likewise.
5014 (__memmove_ssse3_back): Likewise.
5015 (__libc_memmove): New prototype.
5016 (memmove): Renamed to ...
5017 (__libc_memmove): This.
5018 (memmove): New strong alias of __libc_memmove.
5019
33b4a91e
MS
50202012-08-08 Mark Salter <msalter@redhat.com>
5021
5022 * elf/elf.h
5023 (R_MN10300_TLS_GD): Define.
5024 (R_MN10300_TLS_LD): Likewise.
5025 (R_MN10300_TLS_LDO): Likewise.
5026 (R_MN10300_TLS_GOTIE): Likewise.
5027 (R_MN10300_TLS_IE): Likewise.
5028 (R_MN10300_TLS_LE): Likewise.
5029 (R_MN10300_TLS_DTPMOD): Likewise.
5030 (R_MN10300_TLS_DTPOFF): Likewise.
5031 (R_MN10300_TLS_TPOFF): Likewise.
5032 (R_MN10300_SYM_DIFF): Likewise.
5033 (R_MN10300_ALIGN): Likewise.
5034 (R_MN10300_NUM): Update.
5035
b36137f1
JM
50362012-08-08 Joseph Myers <joseph@codesourcery.com>
5037
5038 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5039 Remove.
5040
cdd915fd
RM
50412012-08-08 Roland McGrath <roland@hack.frob.com>
5042
a2433aac
RM
5043 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5044
cdd915fd
RM
5045 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5046 sysdeps/unix -> sysdeps/posix move.
5047 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5048
bf9b740a
AM
50492012-08-07 Allan McRae <allan@archlinux.org>
5050
5051 [BZ #14303]
5052 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5053 (SUNOS_CPP): Likewise.
5054 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5055 not found.
5056 (open_input): Call CPP using execvp.
5057
93df14ee
JM
50582012-08-07 Joseph Myers <joseph@codesourcery.com>
5059
5060 * sysdeps/unix/sysv/linux/kernel-features.h
5061 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5062 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5063 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5064 (__ASSUME_WAITID_SYSCALL): Likewise.
5065 * sysdeps/unix/sysv/linux/dl-execstack.c
5066 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5067 code unconditional.
5068 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5069 conditional code.
5070 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5071 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5072 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5073 code.
5074 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5075 unconditional.
5076 [__ASSUME_WAITID_SYSCALL]: Likewise.
5077 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5078
d34689de
RM
50792012-08-07 Roland McGrath <roland@hack.frob.com>
5080
a281decc
RM
5081 * sysdeps/unix/closedir.c: Renamed to ...
5082 * sysdeps/posix/closedir.c: ... here.
5083 * sysdeps/unix/dirfd.c: Renamed to ...
5084 * sysdeps/posix/dirfd.c: ... here.
5085 * sysdeps/unix/dirstream.h: Renamed to ...
5086 * sysdeps/posix/dirstream.h: ... here.
5087 * sysdeps/unix/fdopendir.c: Renamed to ...
5088 * sysdeps/posix/fdopendir.c: ... here.
5089 * sysdeps/unix/opendir.c: Renamed to ...
5090 * sysdeps/posix/opendir.c: ... here.
5091 * sysdeps/unix/readdir.c: Renamed to ...
5092 * sysdeps/posix/readdir.c: ... here.
5093 * sysdeps/unix/readdir_r.c: Renamed to ...
5094 * sysdeps/posix/readdir_r.c: ... here.
5095 * sysdeps/unix/rewinddir.c: Renamed to ...
5096 * sysdeps/posix/rewinddir.c: ... here.
5097 * sysdeps/unix/seekdir.c: Renamed to ...
5098 * sysdeps/posix/seekdir.c: ... here.
5099 * sysdeps/unix/telldir.c: Renamed to ...
5100 * sysdeps/posix/telldir.c: ... here.
5101 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5102 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5103 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5104 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5105
22895b47
RM
5106 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5107 * bits/fcntl.h: ... here.
5108
707a53b6
RM
5109 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5110 not 0.
5111 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5112 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5113 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5114 (struct flock): Move l_start, l_len to the beginning.
5115 Use __pid_t for l_pid.
5116 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5117 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5118 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5119 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5120 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5121 [__USE_LARGEFILE64] (struct flock64): New type.
5122 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5123
f0bd3e25
RM
5124 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5125 * bits/dirent.h: ... here.
5126
d34689de
RM
5127 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5128 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5129
6dad2c06
JM
51302012-08-07 Joseph Myers <joseph@codesourcery.com>
5131
5132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5133 Change from 2.6.0 to 2.6.16.
5134 * sysdeps/unix/sysv/linux/configure: Regenerated.
5135 * sysdeps/unix/sysv/linux/kernel-features.h
5136 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5137 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5138 version.
5139 (__ASSUME_UTIMES): Likewise.
5140 (__ASSUME_CLONE_STOPPED): Remove.
5141 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5142 architectures, not kernel version.
5143 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5144 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5145 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5146 (__ASSUME_WAITID_SYSCALL): Likewise.
5147 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5148 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5149 * README: State 2.6.16 as minimum Linux kernel version. Do not
5150 refer to older versions.
5151
03af9520
RM
51522012-08-06 Roland McGrath <roland@hack.frob.com>
5153
8e49df1d
RM
5154 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5155 Define alphasort64 as an alias.
5156 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5157 Define versionsort64 as an alias.
5158 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5159 Define scandir64 as an alias.
5160 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5161 Define scandirat64 as an alias.
5162 * dirent/alphasort64.c (alphasort64):
5163 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5164 * dirent/versionsort64.c: Likewise.
5165 * dirent/scandir64.c: Likewise.
5166 * dirent/scandirat64.c: Likewise.
5167 * sysdeps/wordsize-64/alphasort.c: File removed.
5168 * sysdeps/wordsize-64/alphasort64.c: File removed.
5169 * sysdeps/wordsize-64/scandir.c: File removed.
5170 * sysdeps/wordsize-64/scandir64.c: File removed.
5171 * sysdeps/wordsize-64/scandirat.c: File removed.
5172 * sysdeps/wordsize-64/scandirat64.c: File removed.
5173 * sysdeps/wordsize-64/versionsort.c: File removed.
5174 * sysdeps/wordsize-64/versionsort64.c: File removed.
5175 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5178 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5180 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5181 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5182 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5183
5184 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5186 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5188 [defined __arch64__ || defined __sparcv9]
5189 (__INO_T_MATCHES_INO64_T): New macro.
5190 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5191 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5192 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5193 * sysdeps/unix/sysv/linux/bits/dirent.h
5194 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5195 (_DIRENT_MATCHES_DIRENT64): New macro.
5196
03af9520
RM
5197 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5198 Define lockf64 as an alias.
5199 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5200 Define fseeko64 as an alias.
5201 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5202 Define ftello64 as an alias.
5203 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5204 Define _IO_fgetpos64 and fgetpos64 as aliases.
5205 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5206 Define _IO_fsetpos64 and fsetpos64 as aliases.
5207 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5208 Conditionalize body on this.
5209 * libio/fseeko64.c: Likewise.
5210 * libio/ftello64.c: Likewise.
5211 * libio/iofgetpos64.c: Likewise.
5212 * libio/iofsetpos64.c: Likewise.
5213 * sysdeps/wordsize-64/lockf.c: File removed.
5214 * sysdeps/wordsize-64/lockf64.c: File removed.
5215 * sysdeps/wordsize-64/fseeko.c: File removed.
5216 * sysdeps/wordsize-64/fseeko64.c: File removed.
5217 * sysdeps/wordsize-64/ftello.c: File removed.
5218 * sysdeps/wordsize-64/ftello64.c: File removed.
5219 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5220 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5221 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5222 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5224 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5230 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5231 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5232 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5233
5234 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5236 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5238 [defined __arch64__ || defined __sparcv9]
5239 (__OFF_T_MATCHES_OFF64_T): New macro.
5240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5241 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5243 (__OFF_T_MATCHES_OFF64_T): New macro.
5244
c5757acd
L
52452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5246
5247 * stdlib/secure-getenv.c (__secure_getenv): Replace
5248 GLIBC_2_16 with GLIBC_2_17.
5249
3a31811e
L
52502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5251
5252 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5253 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5254
faa2bccb
DM
52552012-08-03 David S. Miller <davem@davemloft.net>
5256
5257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5258
85fe1997
JM
52592012-08-03 Joseph Myers <joseph@codesourcery.com>
5260
5261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5262 Remove.
5263 (__ASSUME_CORRECT_SI_PID): Likewise.
5264 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5265 (__ASSUME_TMPFS_NAME): Likewise.
5266 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5267 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5268 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5269 (HAVE_AUX_SECURE): Make definition unconditional.
5270 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5271 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5272
4f75b7a0
RM
52732012-08-03 Roland McGrath <roland@hack.frob.com>
5274
5275 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5276 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5277 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5278 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5279 __eloop_threshold instead of SYMLOOP_MAX.
5280
5281 * sysdeps/generic/eloop-threshold.h: New file.
5282 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5283 of MAXSYMLINKS.
5284 * elf/chroot_canon.c (chroot_canon): Likewise.
5285
7aab07e4
JM
52862012-08-03 Joseph Myers <joseph@codesourcery.com>
5287
5288 [BZ #13717]
5289 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5290 Change to 2.6.0 everywhere.
5291 * sysdeps/unix/sysv/linux/configure: Regenerated.
5292 * sysdeps/unix/sysv/linux/kernel-features.h
5293 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5294 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5295 kernel versions.
5296 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5297 (__ASSUME_FUTEX_REQUEUE): Remove.
5298 (__ASSUME_STATFS64): Define unconditionally.
5299 (__ASSUME_AT_SECURE): Likewise.
5300 (__ASSUME_CORRECT_SI_PID): Likewise.
5301 (__ASSUME_TGKILL): Define without depending on kernel version for
5302 i386.
5303 (__ASSUME_UTIMES): Likewise.
5304 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5305 kernel version.
5306 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5307 (__ASSUME_TMPFS_NAME): Likewise.
5308 * README: Update reference to Linux kernel versions.
5309
b67e9372
MP
53102012-08-02 Marek Polacek <polacek@redhat.com>
5311
1f529f7d 5312 [BZ# 14150]
b67e9372
MP
5313 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5314 libc_cv_asm_type_prefix with %.
5315 * configure: Regenerated.
d2441631
RM
5316 * include/libc-symbols.h: Remove comment about
5317 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5318 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5319 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5320 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5321 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5322 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5323 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5324 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5325 * elf/tst-unique2mod1.c: Likewise.
5326 * elf/tst-unique1mod2.c: Likewise.
5327 * elf/tst-unique1mod1.c: Likewise.
5328 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5329 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5330 Replace ASM_TYPE_DIRECTIVE with .type.
5331 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5332 * sysdeps/i386/sysdep.h: Likewise.
5333 * sysdeps/x86_64/sysdep.h: Likewise.
5334 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5336 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5337 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5338 * sysdeps/powerpc/powerpc32/sysdep.h:
5339 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5340 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5341 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5342 * sysdeps/i386/fpu/e_powf.S: Likewise.
5343 * sysdeps/i386/fpu/e_expl.S: Likewise.
5344 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5345 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5346 * sysdeps/i386/fpu/e_pow.S: Likewise.
5347 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5348 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5349 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5350 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5351 * sysdeps/i386/fpu/e_log2.S: Likewise.
5352 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5353 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5354 * sysdeps/i386/fpu/e_powl.S: Likewise.
5355 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5356 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5357 * sysdeps/i386/fpu/e_logl.S: Likewise.
5358 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5359 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5360 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5361 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5362 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5363 * sysdeps/i386/fpu/e_log.S: Likewise.
5364 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5365 * sysdeps/i386/fpu/e_logf.S: Likewise.
5366 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5367 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5368 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5369 * sysdeps/i386/fpu/e_log10.S: Likewise.
5370 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5371 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5372 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5373 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5374 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5375 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5376 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5377 * sysdeps/i386/i686/strtok.S: Likewise.
5378 * sysdeps/i386/i386-mcount.S: Likewise.
5379 * sysdeps/i386/strtok.S: Likewise.
5380 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5384 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5385 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5386 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5387 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5388 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5389 * sysdeps/x86_64/_mcount.S: Likewise.
5390 * sysdeps/x86_64/strtok.S: Likewise.
5391 * sysdeps/sh/_mcount.S: Likewise.
5392
2747bf9a
RM
53932012-08-01 Roland McGrath <roland@hack.frob.com>
5394
5395 * libio/iofopen.c: Include <fcntl.h>.
5396 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5397 (_IO_fopen64, fopen64): Define as aliases.
5398 * libio/iofopen64.c: Include <fcntl.h>.
5399 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5400 Conditionalize body on this.
5401 * sysdeps/wordsize-64/iofopen.c: File removed.
5402 * sysdeps/wordsize-64/iofopen64.c: File removed.
5403
3fb791b8
MP
54042012-08-01 Marek Polacek <polacek@redhat.com>
5405
5406 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5407 Use dlfcn directly instead of a variable.
5408 (binfmt-subdir): Do not define.
5409 (dlfcn): Likewise.
5410
a9f1039f
JM
54112012-08-01 Joseph Myers <joseph@codesourcery.com>
5412
23bddc06
JM
5413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5414 Remove all definitions.
5415 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5416 <kernel-features.h>.
5417 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5418 (miss_F_GETOWN_EX): Remove all definitions.
5419 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5420 macro definition.
5421 [!__ASSUME_FCNTL64]: Remove conditional code.
5422 [__ASSUME_FCNTL64]: Make code unconditional.
5423 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5424 <kernel-features.h>.
5425 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5426 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5427 (lockf64) [__NR_fcntl64]: Make code unconditional.
5428 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5429
a9f1039f
JM
5430 * sysdeps/unix/sysv/linux/kernel-features.h
5431 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5432 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5433 Make code unconditional.
5434 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5435 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5437 [__NR_vfork]: Make code unconditional.
5438 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5439 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5441 [__NR_vfork]: Make code unconditional.
5442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5444
09c0ee5f
RM
54452012-08-01 Roland McGrath <roland@hack.frob.com>
5446
48aec5b9
RM
5447 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5448 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5449
cd97c966
RM
5450 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5451 Define mkstemp64 as an alias.
3f55550c
RM
5452 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5453 Define mkstemps64 as an alias.
cd97c966
RM
5454 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5455 Define mkostemp64 as an alias.
b8625cfc
RM
5456 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5457 Define mkostemps64 as an alias.
cd97c966
RM
5458 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5459 Conditionalize body on this.
5460 * misc/mkostemp64.c: Likewise.
b8625cfc 5461 * misc/mkostemps64.c: Likewise.
3f55550c 5462 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5463 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5464 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5465 * sysdeps/wordsize-64/mkostemp.c: File removed.
5466 * sysdeps/wordsize-64/mkstemp.c: File removed.
5467 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5469 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5471
09c0ee5f
RM
5472 [BZ #14138]
5473 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5474 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5475 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5476 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5477
5478 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5479 compat_symbol macros from <shlib-compat.h> rather than the underlying
5480 default_symbol_version and symbol_version macros, so that DEFAULT
5481 lines in shlib-versions are respected.
5482 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5483
7e66ee51
FW
54842012-08-01 Florian Weimer <fweimer@redhat.com>
5485
5486 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5487 Declare with warn_unused_result.
5488 (setgid, setregid, setegid, setresgid): Likewise.
5489 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5490 Likewise.
5491 * WUR-REPORT: Remove set*id functions.
5492
d2a54255
PT
54932012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5494
5495 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5496
7ecdb005
RM
54972012-07-31 Roland McGrath <roland@hack.frob.com>
5498
789bd351
RM
5499 * include/sys/socket.h (__libc_accept, __libc_accept4):
5500 Add attribute_hidden.
5501 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5502
40ce302d
RM
5503 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5504 use of PTR_MANGLE.
5505 * inet/getnetgrent_r.c (setup): Likewise.
5506
7ecdb005
RM
5507 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5508
e2eabb2c
DM
55092012-07-31 David S. Miller <davem@davemloft.net>
5510
5511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5512
d0419dbf
JM
55132012-07-31 Joseph Myers <joseph@codesourcery.com>
5514
5515 [BZ #13629]
5516 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5517 value between 1.0 and 2.0 and smaller part has absolute value less
5518 than 1.0.
5519 * math/s_clog10.c (__clog10): Likewise.
5520 * math/s_clog10f.c (__clog10f): Likewise.
5521 * math/s_clog10l.c (__clog10l): Likewise.
5522 * math/s_clogf.c (__clogf): Likewise.
5523 * math/s_clogl.c (__clogl): Likewise.
5524 * math/libm-test.inc (clog_test): Add more tests.
5525 (clog10_test): Likewise.
5526 * sysdeps/i386/fpu/libm-test-ulps: Update.
5527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5528
2bc13872
FW
55292012-07-31 Florian Weimer <fweimer@redhat.com>
5530
5531 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5532 Exit with zero in case no suitable GID is found, and write a
5533 message to standard error.
5534
bea9b193
RM
55352012-07-30 Roland McGrath <roland@hack.frob.com>
5536
5537 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5538 rather than to 1.
5539 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5540 (MAXPATHLEN): Removed.
5541 (NOGROUP, NODEV): New macros.
5542 (setbit, clrbit, isset, isclr): New macros.
5543 (howmany, roundup, powerof2): New macros.
5544 (DEV_BSIZE): New macro.
5545
5546 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5547 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5548
5549 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5550 definition on [!__NO_LONG_DOUBLE_MATH].
5551
5552 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5553 PTR_MANGLE and PTR_DEMANGLE.
5554
5555 * socket/accept4.c (accept4): Rename to __libc_accept4.
5556 Define accept4 as a weak alias.
5557
5558 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5559 on [_DIRENT_HAVE_D_TYPE].
5560 * io/ftw.c (ftw_dir): Likewise.
5561
5562 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5563
5564 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5565
5566 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5567 Use the BSD numbers rather than the arbitrary ones we had.
5568 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5569 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5570 (SIGXCPU, SIGXFSZ): New macros.
5571 (_NSIG): Now 32.
5572
5573 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5574 initializer on [_LIBC_REENTRANT].
5575
5576 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5577 definitions inside [_POSIX_MAPPED_FILES].
5578
5579 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5580
5581 * dirent/opendir.c: Include <fcntl.h>.
5582
5583 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5584 (__libc_getspecific): Likewise.
5585 (__libc_key_create): Likewise.
5586
5587 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5588 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5589 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5590 (tmpfile64): Define as alias.
5591 * sysdeps/wordsize-64/tmpfile.c: File removed.
5592 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5595
5596 * stdio-common/vfscanf.c: Include <stdbool.h>.
5597 * nss/makedb.c: Likewise.
5598 * stdio-common/_i18n_number.h: Likewise.
5599 * argp/argp-help.c: Likewise.
5600 * posix/wordexp.c: Likewise.
5601 * sysdeps/posix/spawni.c: Likewise.
5602 * nss/nss_files/files-initgroups.c: Likewise.
5603 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5604 * nss/nss_files/files-initgroups.c: Likewise.
5605 * nss/nss_db/db-netgrp.c: Likewise.
5606 * nss/nss_db/db-initgroups.c: Likewise.
5607 * io/fchmodat.c: Include <sys/stat.h>.
5608
5609 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5610 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5611
5612 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5613 [HAVE_MMAP].
5614
5615 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5616 Add multiple inclusion protection.
5617
e5abc686
DM
56182012-07-27 David S. Miller <davem@davemloft.net>
5619
5620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5621
815e6fa3
GB
56222012-07-27 Gary Benson <gbenson@redhat.com>
5623
5624 [BZ #14298]
5625 * elf/rtld.c: Include <stap-probe.h>.
5626 (dl_main): Added static probes "init_start" and "init_complete".
5627 * elf/dl-load.c: Include <stap-probe.h>.
5628 (lose): Take new parameter "nsid".
5629 Added static probe "map_failed".
5630 (_dl_map_object_from_fd): Pass namespace id to lose.
5631 Added static probe "map_start".
5632 (open_verify): Pass namespace id to lose.
5633 * elf/dl-open.c: Include <stap-probe.h>.
5634 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5635 and "reloc_complete".
5636 * elf/dl-close.c: Include <stap-probe.h>.
5637 (_dl_close_worker): Added static probes "unmap_start" and
5638 "unmap_complete".
5639 * elf/rtld-debugger-interface.txt: New file documenting the above.
5640
9f98c16c
RM
56412012-07-26 Roland McGrath <roland@hack.frob.com>
5642
5643 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5644 rather than a string variable.
5645 * sunrpc/rpc_main.c (h_output): Likewise.
5646 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5647
f3c22df3
PT
56482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5649
5650 * inet/check_native.c: New file.
5651
3129cfc6
JM
56522012-07-26 Joseph Myers <joseph@codesourcery.com>
5653
da865e95
JM
5654 [BZ #13629]
5655 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5656 if larger part has absolute value 1.0.
5657 * math/s_clog10.c (__clog10): Likewise.
5658 * math/s_clog10f.c (__clog10f): Likewise.
5659 * math/s_clog10l.c (__clog10l): Likewise.
5660 * math/s_clogf.c (__clogf): Likewise.
5661 * math/s_clogl.c (__clogl): Likewise.
5662 * math/libm-test.inc (clog_test): Add more tests.
5663 (clog10_test): Likewise.
5664 * sysdeps/i386/fpu/libm-test-ulps: Update.
5665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5666
3129cfc6
JM
5667 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5668 (pltexit): Likewise.
5669 (La_regs): Likewise.
5670 (La_retval): Likewise.
5671 (int_retval): Likewise.
5672 Update #error for removed macros to refer only to definitions in
5673 tst-audit.h.
5674 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5675 macro.
5676 (pltexit): Likewise.
5677 (La_regs): Likewise.
5678 (La_retval): Likewise.
5679 (int_retval): Likewise.
5680 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5681 macro.
5682 (pltexit): Likewise.
5683 (La_regs): Likewise.
5684 (La_retval): Likewise.
5685 (int_retval): Likewise.
5686 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5687 macro.
5688 (pltexit): Likewise.
5689 (La_regs): Likewise.
5690 (La_retval): Likewise.
5691 (int_retval): Likewise.
5692 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5693 macro.
5694 (pltexit): Likewise.
5695 (La_regs): Likewise.
5696 (La_retval): Likewise.
5697 (int_retval): Likewise.
5698 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5699 macro.
5700 (pltexit): Likewise.
5701 (La_regs): Likewise.
5702 (La_retval): Likewise.
5703 (int_retval): Likewise.
5704 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5705 macro.
5706 (pltexit): Likewise.
5707 (La_regs): Likewise.
5708 (La_retval): Likewise.
5709 (int_retval): Likewise.
5710 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5711 macro definitions in tst-audit.h.
5712 * sysdeps/i386/tst-audit.h: New file.
5713 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5714 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5715 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5716 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5717 * sysdeps/sh/tst-audit.h: Likewise.
5718 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5719 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5720 * sysdeps/x86_64/tst-audit.h: Likewise.
5721
bfc07087
AJ
57222012-07-26 Andreas Jaeger <aj@suse.de>
5723
b1b2aaf8
AJ
5724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5725 ptrace.
5726
5727 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5728 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5729 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5730 PTRACE_O_MASK.
5731 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5732 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5734
bfc07087
AJ
5735 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5736 value.
5737
5738 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5739 _sigsys.
5740 (si_call_addr, si_syscall, si_arch): Define new macro.
5741 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5742 _sigsys.
5743 (si_call_addr, si_syscall, si_arch): Define new marcro.
5744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5745 _sigsys.
5746 (si_call_addr, si_syscall, si_arch): Define new macro.
5747 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5748 _sigsys.
5749 (si_call_addr, si_syscall, si_arch): Define new macro.
5750
89b4b02f
JM
57512012-07-25 Joseph Myers <joseph@codesourcery.com>
5752
5753 [BZ #13717]
5754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5755 Change to 2.4.21 where previously 2.4.1.
5756 * sysdeps/unix/sysv/linux/configure: Regenerated.
5757 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5758 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5759 Linux kernel version.
5760 (__ASSUME_STD_AUXV): Remove.
5761 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5762 kernel version.
5763 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5764 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5765 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5766 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5767 (__ASSUME_NETLINK_SUPPORT): Likewise.
5768 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5769 (__no_netlink_support): Remove conditional definition.
5770 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5771 Remove.
5772 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5773 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5774 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5775 (if_nameindex_ioctl): Remove.
5776 (if_nameindex_netlink): Do not handle __no_netlink_support.
5777 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5778 code.
5779 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5780 Remove conditional code.
5781 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5782 code.
5783 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5784 unconditional.
5785 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5786 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5787 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5788 Remove.
5789 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5790 [!__ASSUME_STD_AUXV]: Remove conditional code.
5791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5792 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5793 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5795 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5796 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5797 code.
5798 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5800 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5801 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5802 conditional code.
5803 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5806 code.
5807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5808 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5809 conditional code.
5810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5811 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5812 code unconditional.
5813 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5814 conditional code.
5815 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5816 unconditional.
5817 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5818 conditional code.
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5820 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5821 unconditional.
5822 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5823 conditional code.
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5825 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5826 code unconditional.
5827 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5828 conditional code.
5829 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5830 unconditional.
5831 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5832 conditional code.
5833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5834 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5835 code unconditional.
5836 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5837 conditional code.
5838 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5839 unconditional.
5840 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5841 conditional code.
5842
842a39cd
AS
58432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5844
5845 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5846 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5847 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5848 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5849 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5850 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5851 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5852 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5853 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5854 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5855 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5856 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5857 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5858 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5859 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5860 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5861 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5863 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5865 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5866 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5868
84b3fd84
FW
58692012-07-25 Florian Weimer <fweimer@redhat.com>
5870
5871 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5872 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5873 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5874 Introduce __libc_secure_getenv.
0c7936d5
FW
5875 * stdlib/Versions (2.17): Add secure_getenv
5876 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5877 * stdlib/secure-getenv.c: Rename __secure_getenv to
5878 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5879 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5880 * stdlib/tst-secure-getenv.c: New.
5881 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5882 * manual/startup.texi (Environment Access): Document
5883 secure_getenv.
84b3fd84
FW
5884 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5885 __libc_secure_getenv.
5886 * inet/ruserpass.c (ruserpass): Likewise.
5887 * malloc/mtrace.c (mtrace): Likewise.
5888 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5889 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5890 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5891 * sysdeps/posix/tempname.c: Likewise. Evaluate
5892 HAVE_SECURE_GETENV.
5893 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5894 __secure_getenv to __libc_secure_getenv.
84b3fd84 5895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5897 Likewise.
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5899 Likewise.
5900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5907
56e49b71
JM
59082012-07-25 Joseph Myers <joseph@codesourcery.com>
5909
5910 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5911 (struct La_i86_retval): Likewise.
5912 (struct La_x86_64_regs): Likewise.
5913 (struct La_x86_64_retval): Likewise.
5914 (struct La_x32_regs): Likewise.
5915 (struct La_x32_retval): Likewise.
5916 (struct La_ppc32_regs): Likewise.
5917 (struct La_ppc32_retval): Likewise.
5918 (struct La_ppc64_regs): Likewise.
5919 (struct La_ppc64_retval): Likewise.
5920 (struct La_sh_regs): Likewise.
5921 (struct La_sh_retval): Likewise.
5922 (struct La_s390_32_regs): Likewise.
5923 (struct La_s390_32_retval): Likewise.
5924 (struct La_s390_64_regs): Likewise.
5925 (struct La_s390_64_retval): Likewise.
5926 (struct La_sparc32_regs): Likewise.
5927 (struct La_sparc32_retval): Likewise.
5928 (struct La_sparc64_regs): Likewise.
5929 (struct La_sparc64_retval): Likewise.
5930 (struct audit_ifaces): Remove architecture-specific pltenter and
5931 pltexit members.
5932 * sysdeps/i386/ldsodefs.h: New file.
5933 * sysdeps/powerpc/ldsodefs.h: Likewise.
5934 * sysdeps/s390/ldsodefs.h: Likewise.
5935 * sysdeps/sh/ldsodefs.h: Likewise.
5936 * sysdeps/sparc/ldsodefs.h: Likewise.
5937 * sysdeps/x86_64/ldsodefs.h: Likewise.
5938
354691b7
MP
59392012-07-25 Marek Polacek <polacek@redhat.com>
5940
5941 [BZ #6808]
5942 * math/libm-test.inc (yn_test): Add another test.
5943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5944 to ERANGE when the result is +-Inf.
5945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5946 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5947 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5948 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5949
bf9e2071
JM
59502012-07-24 Joseph Myers <joseph@codesourcery.com>
5951
5952 * conform/data/time.h-data (NULL): Use macro-constant. Require
5953 equal to 0.
5954 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5955 clock_t.
5956 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5957
57633811
TS
59582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5959
5960 * configure.in <sysdeps resolving>: Correct printing
5961 Implies_before.
5962 * configure: Regenerate.
5963
c23c33b0
TS
59642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5965
5966 * math/w_ilogb.c: Include <limits.h>.
5967 * math/w_ilogbl.c: Likewise.
5968
b5982523
JM
59692012-07-20 Joseph Myers <joseph@codesourcery.com>
5970
5971 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5972 va_copy. Document allowing for unavailable va_copy only as
5973 pre-C99 compatibility.
5974 * manual/string.texi (Copying and Concatenation): Use va_copy
5975 instead of __va_copy in concat example.
5976
ac4ea442
PT
59772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5978
5979 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5980 (__sendto): Use create_address_port. Initialize APORT and deallocate
5981 it if not null.
5982
f98eafbd
PT
5983 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5984 with O_NOLINK passed to __file_name_lookup.
5985
898c7aab
PT
5986 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5987 with O_NOLINK passed to __file_name_lookup.
5988
0ced335a
PT
5989 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5990 negative N or less than NGIDS.
5991
b3404dbd
PT
5992 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5993 type to string_t. Set ERANGE as errno and return it if NAME is not big
5994 enough. Use memcpy instead of strncpy.
5995
0f48659e
JM
59962012-07-20 Joseph Myers <joseph@codesourcery.com>
5997
5998 * elf/Makefile (check-data): Remove.
5999 (localplt.data): New vpath directive.
6000 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6001 instead of $(check-data).
6002 * scripts/data/localplt-generic.data: Move to ...
6003 * sysdeps/generic/localplt.data: ... here.
6004 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6005 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6006 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6008 ... here.
6009 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6011 ... here.
6012 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6014 ... here.
6015 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6017 ... here.
6018 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6020 ... here.
6021 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6023 ... here.
6024
d37cbdaa
AZ
60252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6028 PPC32 and PPC64 files.
6029 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6030 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6031
46f85fc2
AK
60322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6033
6034 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6035 __makecontext_ret to ...
6036 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6037 ... here and call exit if uc_link is NULL. New file.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6039 __makecontext_ret.S.
6040 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6041 __makecontext_ret to ...
6042 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6043 ... here and call exit if uc_link is NULL. New file.
6044 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6045 __makecontext_ret.S.
6046
08f43f9b
AK
60472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6048
6049 * elf/elf.h (R_390_IRELATIVE): New definition.
6050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6051 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6052 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6053 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6054 (elf_machine_lazy_rel): Likewise.
6055 * sysdeps/s390/dl-irel.h: New file.
6056 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6057 * sysdeps/s390/s390-64/memset.S: New asm code.
6058 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6059 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6060 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6061 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6062 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6063 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6065 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6066 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6067 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6068 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6069 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6070 * sysdeps/s390/s390-32/memset.S: New asm code.
6071 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6072
3b05db33
MP
60732012-07-17 Marek Polacek <polacek@redhat.com>
6074
6075 [BZ #14349]
6076 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6077 * sysdeps/s390/s390-64/configure.in: Likewise.
6078 * sysdeps/sparc/configure.in: Likewise.
6079 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6080 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6081 * sysdeps/i386/configure.in: Likewise.
6082 * sysdeps/x86_64/configure.in: Likewise.
6083 * sysdeps/sh/configure.in: Likewise.
6084 * sysdeps/s390/s390-32/configure: Regenerated.
6085 * sysdeps/s390/s390-64/configure: Likewise.
6086 * sysdeps/x86_64/configure: Likewise.
6087 * sysdeps/sh/configure: Likewise.
6088 * sysdeps/powerpc/powerpc64/configure: Likewise.
6089 * sysdeps/powerpc/powerpc32/configure: Likewise.
6090 * sysdeps/sparc/configure: Likwise.
6091 * sysdeps/i386/configure: Likewise.
6092
a66877c6
MP
6093 * elf/dl-open.c: Comment fixes.
6094
cfc82fd8
JM
60952012-07-17 Joseph Myers <joseph@codesourcery.com>
6096
bd29910a
JM
6097 * Makefile [CXX] (check-data): Remove.
6098 [CXX] (c++-types.data): New vpath directive.
6099 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6100 vpath. Do not allow for C++ type data being missing.
6101 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6102 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6103 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6104 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6105 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6106 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6107 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6109 ... here.
6110 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6112 ... here.
6113 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6115 ... here.
6116 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6118 ... here.
6119 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6121 ... here.
6122 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6124 ... here.
6125 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6127 ... here.
6128 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6130
cfc82fd8
JM
6131 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6132 definitions to architecture-specific files.
6133 (TLS_IE): Likewise.
6134 (TLS_LD): Likewise.
6135 (TLS_GD): Likewise.
6136 * sysdeps/i386/tls-macros.h: New file.
6137 * sysdeps/powerpc/tls-macros.h: Likewise.
6138 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6139 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6140 * sysdeps/sh/tls-macros.h: Likewise.
6141 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6142 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6143 * sysdeps/x86_64/tls-macros.h: Likewise.
6144
f7db3170
TS
61452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6146
07cbfc23
TS
6147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6148 zero value for regular exit case.
6149
f7db3170
TS
6150 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6151 (__start_context): Preserve zero value for regular exit case.
6152
dc97c227
TS
61532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6154 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6155
6156 * manual/setjmp.texi (setcontext): Clarify normal process
6157 termination when uc_link is the null pointer.
6158 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6159 exit call.
6160
d0cd7d02
AS
61612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6162
6163 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6164 preprocessor. Test for each exception mask separately.
6165
dd318934
AJ
61662012-07-16 Andreas Jaeger <aj@suse.de>
6167
6168 * po/ru.po: Update from translation team.
6169
8048311a
JM
61702012-07-15 Joseph Myers <joseph@codesourcery.com>
6171
6172 * conform/data/string.h-data (NULL): Use macro-constant. Require
6173 equal to 0.
6174 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6175 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6176 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6177 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6179
b637d46e
AJ
61802012-07-13 Andreas Jaeger <aj@suse.de>
6181
6182 * po/fr.po: Update from translation team.
6183
541428fe
MP
61842012-07-12 Marek Polacek <polacek@redhat.com>
6185
6186 [BZ #14173]
6187 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6188 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6189 loop condition.
6190
ec332e94
JM
61912012-07-12 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #13717]
6194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6195 Change to 2.4.1 where previously 2.4.0.
6196 * sysdeps/unix/sysv/linux/configure: Regenerated.
6197 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6198 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6199 version.
6200 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6201 (__ASSUME_AT_CLKTCK): Remove.
6202 (__ASSUME_AT_PAGESIZE): Likewise.
6203 (__ASSUME_AT_XID): Likewise.
6204 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6205 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6206 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6207 unconditionally.
6208 (HAVE_AUX_PAGESIZE): Likewise.
6209 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6210 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6211 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6212
7b6e99be
JB
62132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6214
6215 [BZ #14307]
6216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6217 the temporary buffer used to invoke __gethostbyname2_r,
6218 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6219 host_data / struct gaih_addrtuple.
6220 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6221 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6222 header file nss/nsswitch.h.
6223 * nss/nsswitch.h (global scope): Add definition of implementation
6224 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6225 resolv/nss_dns/dns-host.c).
6226
608404eb
AJ
62272012-07-11 Andreas Jaeger <aj@suse.de>
6228
6229 * po/fr.po: Update from translation team.
6230
71220aca
AJ
6231 * po/sv.po: Update from translation team
6232 * po/fr.po: Another update from translation team.
6233
28cfe843
AZ
62342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6235
6236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6237 for subnormals or multiply small sinh result by itself.
6238 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6240
6b90f981
DM
62412012-07-11 David S. Miller <davem@davemloft.net>
6242
6243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6244
c6825772
AS
62452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6246
6247 [BZ #14347]
6248 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6249 (INTERNAL_MARK): Shift it here.
6250
7b8e0d49
MP
62512012-07-10 Marek Polacek <polacek@redhat.com>
6252
6253 [BZ #14151]
6254 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6255 libc_cv_asm_global_directive with .globl.
6256 * configure: Regenerated.
6257 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6258 with .globl.
6259 * sysdeps/i386/configure: Regenerated.
6260 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6261 with .globl.
6262 * sysdeps/x86_64/configure: Regenerated.
6263 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6264 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6265 * elf/tst-unique2mod2.c: Likewise.
6266 * elf/tst-unique2mod1.c: Likewise.
6267 * elf/tst-unique1mod2.c: Likewise.
6268 * elf/tst-unique1mod1.c: Likewise.
6269 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6270 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6272 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6273 * sysdeps/mach/sysdep.h: Likewise.
6274 * sysdeps/i386/sysdep.h: Likewise.
6275 * sysdeps/i386/i386-mcount.S: Likewise.
6276 * sysdeps/x86_64/_mcount.S: Likewise.
6277 * sysdeps/x86_64/sysdep.h: Likewise.
6278 * sysdeps/sh/_mcount.S: Likewise.
6279 * sysdeps/sh/sysdep.h: Likewise.
6280 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6281 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6282 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6284 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6285 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6286 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6287 * locale/localeinfo.h: Likewise.
6288 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6289 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6290
6c55cda3
RM
62912012-07-09 Roland McGrath <roland@hack.frob.com>
6292
6293 [BZ #14336]
6294 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6295 system".
6296 * manual/message.texi (The Uniforum approach): Likewise.
6297 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6298 (glibc iconv Implementation): Likewise.
6299
638a572e
JM
63002012-07-09 Joseph Myers <joseph@codesourcery.com>
6301
6302 [BZ #14337]
6303 * math/s_clog.c (__clog): Avoid scaling a value down where that
6304 could result in underflow.
6305 * math/s_clog10.c (__clog10): Likewise.
6306 * math/s_clog10f.c (__clog10f): Likewise.
6307 * math/s_clog10l.c (__clog10l): Likewise.
6308 * math/s_clogf.c (__clogf): Likewise.
6309 * math/s_clogl.c (__clogl): Likewise.
6310 * math/libm-test.inc (clog_test): Add more tests.
6311 (clog10_test): Likewise.
6312 * sysdeps/i386/fpu/libm-test-ulps: Update.
6313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6314
261f4859
AS
63152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6316
0abaf3e4
AS
6317 [BZ #14283]
6318 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6319 by 7 not 8 to examine high bit of fractional part.
6320
261f4859
AS
6321 [BZ #14042]
6322 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6323 for call to __mcount_internal.
6324 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6325 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6326 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6327
f17ac40d
JM
63282012-07-06 Joseph Myers <joseph@codesourcery.com>
6329
9ad63c23
JM
6330 [BZ #14154]
6331 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6332 approximation for values within 0x1p-13f of an odd multiple of
6333 pi/4.
6334 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6335 exception. Add more tests.
6336 * sysdeps/i386/fpu/libm-test-ulps: Update.
6337
f17ac40d
JM
6338 [BZ #6778]
6339 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6340 inputs and return -1 for them. Do not check for +Inf in case not
6341 reachable for +Inf.
6342 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6343 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6345 and return -1 for them. Do not check for +Inf in case not
6346 reachable for +Inf.
6347 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6348 define.
6349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6350 and return -1 for them. Do not check for +Inf in case not
6351 reachable for +Inf.
6352 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6353 spurious underflow.
6354 * sysdeps/i386/fpu/libm-test-ulps: Update.
6355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6356
fb21f89b
MF
63572012-07-06 Mike Frysinger <vapier@gentoo.org>
6358
6359 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6360
cdfe2c5e
JM
63612012-07-05 Joseph Myers <joseph@codesourcery.com>
6362
6363 [BZ #14157]
6364 [BZ #14331]
6365 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6366 could result in spurious underflow. Scale down values above
6367 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6368 * math/s_csqrtf.c (__csqrtf): Likewise.
6369 * math/s_csqrtl.c (__csqrtl): Likewise.
6370 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6371 spurious underflow.
6372 * sysdeps/i386/fpu/libm-test-ulps: Update.
6373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6374
70d35b67
AS
63752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6376
704bc459
AS
6377 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6378 xopen-msg.sed.
6379 * catgets/xopen-msg.awk: New file.
6380 * catgets/xopen-msg.sed: Removed.
6381
70d35b67
AS
6382 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6383 po2text.sed.
6384 * intl/po2test.awk: New file.
6385 * intl/po2test.sed: Removed.
6386
ca61cf32
JM
63872012-07-04 Joseph Myers <joseph@codesourcery.com>
6388
6389 [BZ #14328]
6390 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6391 or multiply small sinh result by itself.
6392 * math/s_ctanf.c (__ctanf): Likewise.
6393 * math/s_ctanh.c (__ctanh): Likewise.
6394 * math/s_ctanhf.c (__ctanhf): Likewise.
6395 * math/s_ctanhl.c (__ctanhl): Likewise.
6396 * math/s_ctanl.c (__ctanl): Likewise.
6397 * math/libm-test.inc (ctan_test_tonearest): New function.
6398 (ctan_test_towardzero): Likewise.
6399 (ctan_test_downward): Likewise.
6400 (ctan_test_upward): Likewise.
6401 (ctanh_test_tonearest): Likewise.
6402 (ctanh_test_towardzero): Likewise.
6403 (ctanh_test_downward): Likewise.
6404 (ctanh_test_upward): Likewise.
6405 (main): Call these new functions.
6406 * sysdeps/i386/fpu/libm-test-ulps: Update.
6407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6408
ca48a46a
MF
64092012-07-03 Mike Frysinger <vapier@gentoo.org>
6410
6411 * .gitignore: Delete /ports entry.
6412
9d63d37d
AJ
64132012-07-03 Andreas Jaeger <aj@suse.de>
6414
6415 * po/bg.po: Update from translation team.
6416 * po/cs.po: Likewise.
6417 * po/de.po: Likewise.
6418 * po/hr.po: Likewise.
6419 * po/nl.pl: Likewise.
6420 * po/pl.po: Likewise.
6421 * po/vi.po: Likewise.
6422
370ca3d2
JM
64232012-07-03 Joseph Myers <joseph@codesourcery.com>
6424
95f5a9a8
JM
6425 * Makeconfig [!+link] (+link-before-libc): New variable.
6426 [!+link] (+link-after-libc): Likewise.
6427 [!+link] (+link-tests): Likewise.
6428 [!+link] (+link): Define in terms of $(+link-before-libc) and
6429 $(+link-after-libc).
6430 [!+link-static] (+link-static-before-libc): New variable.
6431 [!+link-static] (+link-static-after-libc): Likewise.
6432 [!+link-static] (+link-static-tests): Likewise.
6433 [!+link-static] (+link-static): Define in terms of
6434 $(+link-static-before-libc) and $(+link-static-after-libc).
6435 [build-shared] (link-libc-before-gnulib): New variable.
6436 [build-shared] (link-libc-tests): Likewise.
6437 [build-shared] (link-libc): Define in terms of
6438 $(link-libc-before-gnulib).
6439 [!build-shared] (link-libc-tests): New variable.
6440 (link-libc-static-tests): New variable.
6441 [!gnulib] (gnulib-arch): New variable.
6442 [!gnulib] (gnulib-tests): Likewise.
6443 [!gnulib] (static-gnulib-arch): Likewise.
6444 [!gnulib] (static-gnulib-tests): Likewise.
6445 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6446 Define with "=" instead of ":=".
6447 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6448 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6449 * Rules (binaries-all-notests): New variable.
6450 (binaries-all-tests): Likewise.
6451 (binaries-static-notests): Likewise.
6452 (binaries-static-tests): Likewise.
6453 (binaries-all): Define using $(binaries-all-notests) and
6454 $(binaries-all-tests).
6455 (binaries-static): Define using $(binaries-static-notests) and
6456 $(binaries-static-tests).
6457 (binaries-shared-tests): New variable.
6458 (binaries-shared-notests): Likewise.
6459 (binaries-shared): Remove variable.
6460 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6461 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6462 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6463 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6464 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6465 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6466 * elf/Makefile (sln-modules): New variable.
6467 (extra-objs): Add $(sln-modules:=.o).
6468 (ldconfig-modules): Add static-stubs.
6469 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6470 * elf/static-stubs.c: New file.
6471
7a845b2c
JM
6472 [BZ #14283]
6473 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6474 by 7 not 8 to examine high bit of fractional part. Use volatile
6475 variables when splitting into final array of floats if
6476 __FLT_EVAL_METHOD__ != 0.
6477 * math/libm-test.inc (cos_test): Add another test.
6478 (sin_test): Likewise.
6479 * sysdeps/i386/fpu/libm-test-ulps: Update.
6480
e2283f38
JM
6481 [BZ #14273]
6482 * math/libm-test.inc (cosh_test): Add more tests.
6483
370ca3d2
JM
6484 * version.h (RELEASE): Set to "development".
6485 (VERSION): Set to "2.16.90".
6486
ee9247c3
CD
64872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6488
6489 * NEWS: Update copyright. Remove last-updated date.
6490 Mention math library bug fixes and timezone data changes.
6491 * README: Mention GNU/Hurd, x32, and HPPA support status.
6492
4648c381
TS
64932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6494
6495 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6496
aac78a43
AJ
64972012-06-27 Andreas Jaeger <aj@suse.de>
6498
6499 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6500
ed3dbfad
AJ
65012012-06-25 Andreas Jaeger <aj@suse.de>
6502
6503 * sysdeps/s390/fpu/libm-test-ulps: Update.
6504
4d0ee855
AS
65052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6506 Thomas Schwinge <thomas@codesourcery.com>
6507
6508 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6509 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6511 fanotify_mark.
6512
af1bce34
TS
65132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6514
a9fa33ba
TS
6515 * sysdeps/mach/start.c: Remove file.
6516 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6517 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6518 * sysdeps/sh/init-first.c: Likewise.
6519
58f902b8
TS
6520 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6521 registers for frame unwinding purposes, add CFI directives.
6522 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6524 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6525 Likewise.
6526
1518f58b
TS
6527 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6528 __fortify_fail returning.
6529 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6530
db9b5059
TS
6531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6532 sysdeps/sh/____longjmp_chk.S.
6533 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6534 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6535 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6536 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6537
967705fe
TS
6538 * sysdeps/sh/abort-instr.h: New file.
6539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6540 process in case exit returns.
6541
a9def8c4
TS
6542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6543 initialize the GOT register before use.
6544
2a649725
TS
6545 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6546 calculation of ARGC > 4.
6547
af1bce34
TS
6548 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6549 meaningful names to some local labels.
6550
d230f50a
KK
65512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6552 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6553
6554 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6555 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6556 (__arch_compare_and_exchange_val_16_acq): Likewise.
6557 (__arch_compare_and_exchange_val_32_acq): Likewise.
6558 (atomic_exchange_and_add): Fix gUSA sequence.
6559 (atomic_add): Likewise.
6560 (atomic_add_negative): Likewise.
6561 (atomic_add_zero): Likewise.
6562 (atomic_bit_test_set): Likewise.
6563
0479b305
AS
65642012-06-22 Andreas Schwab <schwab@redhat.com>
6565
6566 [BZ #13579]
6567 * include/link.h (struct link_map): Add l_free_initfini.
6568 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6569 l_initfini.
6570 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6571 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6572 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6573 set.
6574
0e3933b9
CD
65752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6576
6577 * configure.in: Use AC_LANG_SOURCE.
6578 * configure: Regenerate.
6579
4248b1b1
RM
65802012-06-22 Roland McGrath <roland@hack.frob.com>
6581
6582 * configure.in (libc_cv_localstatedir): New substituted variable.
6583 * configure: Regenerated.
6584 * config.make.in (localstatedir): New variable, substituted from
6585 libc_cv_localstatedir.
6586 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6587 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6588 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6589 * sysdeps/gnu/configure: Regenerated.
6590
006dd861
JL
65912012-06-21 Jeff Law <law@redhat.com>
6592
6593 [BZ #14277]
6594 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6595 free. Simplify list management for _LIBC case.
6596
79662d42
JM
65972012-06-21 Joseph Myers <joseph@codesourcery.com>
6598
b7abb4bf
JM
6599 [BZ #14273]
6600 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6601 Clear sign bit of 64-bit integer value before comparing against
6602 overflow value.
6603
79662d42
JM
6604 * sysdeps/mach/configure: Regenerated.
6605
1f150908
L
66062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6607
6608 [BZ #14278]
6609 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6610
28363bbf
JL
66112012-06-21 Jeff Law <law@redhat.com>
6612
6613 [BZ #13882]
6614 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6615 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6617 * elf/dl-open.c (dl_open_worker): Likewise.
6618
09615db4
CD
66192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6620
6621 * scripts/list-sources.sh: Scan PORTS for translations.
6622 * po/libc.pot: Regenerated.
6623
2174c6dd
AJ
66242012-06-21 Andreas Jaeger <aj@suse.de>
6625
6626 [BZ #12194]
6627 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6628 warning.
6629 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6630 * bits/byteswap-16.h (__bswap_16): Likewise.
6631 * bits/byteswap.h (__bswap_constant_16): Likewise.
6632
3ee947b1
L
66332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6634
6635 [BZ #14117]
a2f34833
L
6636 * sysdeps/i386/fpu_control.h: Removed.
6637 * sysdeps/x86_64/fpu_control.h: Moved to ...
6638 * sysdeps/x86/fpu_control.h: Here.
6639
3ee947b1
L
6640 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6641 (_FPU_SETCW): Likewise.
6642
ed1825f8
L
66432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6644
25f1282a
L
6645 [BZ #14117]
6646 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6647 * sysdeps/x86/fpu/bits/mathinline.h: This.
6648 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6649
ed1825f8
L
6650 [BZ #14050]
6651 [BZ #14117]
6652 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6653 functions if __x86_64__ is defined.
6654
36d54b74
CLT
66552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6656
6657 * string/endian.h: Add !__ASSEMBLER__ condition for including
6658 conversion interfaces.
6659
10285c21
JM
66602012-06-15 Joseph Myers <joseph@codesourcery.com>
6661
6662 [BZ #14241]
6663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6664 of ABS(x) in calculating zero to negative powers other than odd
6665 integers.
6666 * math/libm-test.inc (pow_test): Add more tests.
6667
06c5abbd
AJ
66682012-06-15 Andreas Jaeger <aj@suse.de>
6669
6670 * manual/contrib.texi (Contributors): Update entry of Liubov
6671 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6672 Machado Filho.
6673
a3aeac40
CH
66742012-06-15 Cyril Hrubis <metan@ucw.cz>
6675
6676 * string/string.h: Add __wur to GNU version of strerror_r.
6677
49bdf4c1
L
66782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 [BZ #14229]
6681 * string/Makefile (tests): Add tst-strtok_r.
6682 * string/tst-strtok_r.c: New file.
6683 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6684 RAX_LP/RDX_LP on SAVE_PTR.
6685
834f9b8d
RM
66862012-06-14 Roland McGrath <roland@hack.frob.com>
6687
6688 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6689
75fa1921
JM
66902012-06-14 Joseph Myers <joseph@codesourcery.com>
6691
6692 * libm_test.inc (csqrt_test): Allow more spurious underflow
6693 exceptions.
6694 (j0_test): Likewise.
6695 (j1_test): Likewise.
6696 (y0_test): Likewise.
6697 (y1_test): Likewise.
6698
771766df
CD
66992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6700
6701 * po/Makefile (libc.pot): Use UTF-8 charset.
6702
ceb9e56b
PP
67032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6704
6705 [BZ #14210]
6706 Suppress sign-conversion warning from FD_SET.
6707 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6708 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6709 not unsigned long int.
6710 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6711
ddb28975
L
67122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6713
6714 [BZ #14050]
6715 [BZ #14117]
6716 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6717 __extern_always_inline instead of __extern_inline.
6718 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6719 (__signbit): Likewise.
6720 (__signbitl): Support C++ namespace.
6721 (lrintf): New inline function.
6722 (lrint): Likewise.
6723 (llrintf): Likewise.
6724 (llrint): Likewise.
6725 (fmaxf): Likewise.
6726 (fmax): Likewise.
6727 (fminf): Likewise.
6728 (fmin): Likewise.
6729 (rint): Likewise.
6730 (rintf): Likewise.
6731 (ceil): Likewise.
6732 (ceilf): Likewise.
6733 (floor): Likewise.
6734 (floorf): Likewise.
6735 (nearbyint): Likewise.
6736 (nearbyintf): Likewise.
6737
d7b4fb26
TS
67382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6739
6740 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6741 non-default versions.
6742
eb55f5c2
RM
67432012-06-11 Roland McGrath <roland@hack.frob.com>
6744
6745 [BZ #14218]
6746 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6747
366af02c
TS
67482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6749
99ff6e5c
TS
6750 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6751 (FE_UPWARD, FE_DOWNWARD): Don't define.
6752 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6753 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6754
366af02c
TS
6755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6756 reading it.
6757 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6758 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6759
793ea851
KK
67602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6761
6762 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6763 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6764 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6766
a728a38f
L
67672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6768
6769 [BZ #14117]
c08010c7
L
6770 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6771 * sysdeps/i386/fpu/Implies: New file.
6772 * sysdeps/x86_64/fpu/Implies: Likewise.
6773 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6774 * sysdeps/x86/fpu/bits/fenv.h: This.
6775
a728a38f
L
6776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6777 __SSE_MATH__.
6778
6e230d11
SP
67792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6780
6781 [BZ #14134]
6782 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6783 character 0xffff that matches the last element of the
6784 conversion table.
6785
1b671feb
AZ
67862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6787
6788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6789 fmodl commit.
6790
6043738b
AZ
67912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6792
6793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6794 values higher than 25.6283.
6795
34ae0b32
AZ
67962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6797
6798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6799 subnormal exponent extraction and add some __builtin_expect.
6800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6801 Fix for subnormal mantissa calculation.
6802
1214ec8f
MF
68032012-06-04 Mike Frysinger <vapier@gentoo.org>
6804
6805 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6806 cpu2 is -1 and errno is not ENOSYS.
6807
f3d1f93c
L
68082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6809
6810 [BZ #14117]
0e4a3cd7
L
6811 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6812 * sysdeps/x86/bits/string.h: This.
6813 * sysdeps/x86_64/bits/string.h: Removed.
6814
6704c645
L
6815 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6816 if not compiling for x86-64, but compiling for >= i486.
6817
48495318
L
6818 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6819 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6820
14adcbfc
L
6821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6822 New macro from Linux kernel 3.4.0.
6823 (FP_XSTATE_MAGIC2): Likewise.
6824 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6825 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6826 (struct _fpx_sw_bytes): New struct.
6827 (struct _xsave_hdr): Likewise.
6828 (struct _ymmh_state): Likewise.
6829 (struct _xstate): Likewise.
6830
68e408ab
L
6831 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6832 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6833 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6834 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6835 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6836 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6837
f3d1f93c
L
6838 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6839 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6840 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6841 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6842 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6843 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6844
d9dc34cd
TMQMF
68452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6846
6847 [BZ #13743]
6848 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6849 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6850 (sysdep_headers): Include sys/platform/ppc.h.
6851 * sysdeps/powerpc/test-gettimebase.c: Test for
6852 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6853 * manual/Makefile (appendices): Include platform.texi.
6854 * manual/contrib.texi (Contributors): Update @node pointers.
6855 * manual/maint.texi (Maintenance): Likewise.
6856 (Platform): New node.
6857 * manual/platform.texi: New file. Document the new features.
6858
4af3879c
SP
68592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6860 Jakub Jelinek <jakub@redhat.com>
6861
6862 [BZ #14188]
6863 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6864 where __builtin_expect is unavailable.
6865
2fd6ff13
DM
68662012-06-03 David S. Miller <davem@davemloft.net>
6867
6868 * stdlib/longlong.h: Updated from GCC.
6869
173f7220
AS
68702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6871
6872 [BZ #14042]
6873 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6874 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6875 __mcount_internal.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6877 (GLIBC_2.16): Likewise.
6878
f34a1c6f
L
68792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6880
6881 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6882
88a4576f
JM
68832012-06-01 Joseph Myers <joseph@codesourcery.com>
6884
ea32bcdd
JM
6885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6886 (default-abi): New variable.
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6888 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6889 variable.
6890 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6891 Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6893 Likewise.
6894 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6895 Likewise.
6896
88a4576f
JM
6897 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6898 definition. Document in comment.
6899
402fe938
DM
69002012-06-01 David S. Miller <davem@davemloft.net>
6901
6902 * stdlib/longlong.h: Updated from GCC.
6903
3553723f
L
69042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6905
6906 [BZ #14117]
3bd872c4
L
6907 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6908 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6909 sys/debugreg.h sys/io.h here.
6910 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6911 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6912 sys/io.h.
6913 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6914 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6915 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6916 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6917 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6918 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6919
3553723f
L
6920 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6921 Define only if __x86_64__ is defined.
6922
4842e4fe
JM
69232012-06-01 Joseph Myers <joseph@codesourcery.com>
6924
c5bfe3d5
JM
6925 [BZ #14048]
6926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6927 Use int64_t for variable i.
6928 * math/libm-test.inc (fmod_test): Add more tests.
6929
4842e4fe
JM
6930 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6931 z computation is not scheduled after fetestexcept.
6932 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6933 Use math_force_eval instead of asm to ensure calculation scheduled
6934 before exception test.
6935 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6936 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6937
efb73488
AJ
69382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6939
6940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6941 computation is not scheduled after fetestexcept.
6942
29bcce7c
L
69432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6944
6945 [BZ #14117]
6946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6947 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6948
73a68f94
AZ
69492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950
6951 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6952 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6953
67b6df78
L
69542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6955
edf2933a 6956 [BZ #14117]
ebc64a18
L
6957 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6958 <bits/wordsize.h>.
6959 (__WCHAR_MIN): Support __WORDSIZE == 64.
6960 (__WCHAR_MAX): Likewise.
6961
edf2933a
L
6962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6963 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6964
57c6cf40
L
6965 [BZ #14183]
6966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6967 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6968
67b6df78 6969 [BZ #14117]
8eb6281e
L
6970 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6972
aac639f4
L
6973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6974 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6975
67b6df78
L
6976 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6977 Defined to 1 if __x86_64__ isn't defined.
6978 (_STAT_VER_LINUX_OLD): New.
6979 (st_atime): Remove duplicate.
6980 (st_mtime): Likewise.
6981 (st_ctime): Likewise.
6982
1c2cfe81
DM
69832012-05-31 David S. Miller <davem@davemloft.net>
6984
6985 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6986 entries.
6987
5be8418c
AS
69882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6989
e7725326
AS
6990 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6991 gen-libm-test.pl.
6992
5be8418c
AS
6993 [BZ #14132]
6994 * elf/dl-reloc.c: Include <_itoa.h>.
6995 (_dl_reloc_bad_type): Remove use of INTUSE.
6996 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6997 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6998 * stdio-common/psiginfo.c (psiginfo): Likewise.
6999 * stdio-common/psignal.c (psignal): Likewise.
7000 * string/strsignal.c (strsignal): Likewise.
7001 * include/signal.h (_sys_siglist): Declare hidden proto.
7002 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7003 INTVARDEF with libc_hidden_data_def.
7004 * stdio-common/itoa-udigits.c: Likewise.
7005 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7006 (_itoa_lower_digits_internal): Remove declaration.
7007 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7008 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7009 (_sys_sigabbrev_internal): Remove aliases.
7010 (_sys_siglist): Define hidden alias.
7011
507352f1
MT
70122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7013
7014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7015 bits/sysctl.h.
7016
42bbb1c3
L
70172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7018
7019 [BZ #14117]
6bd784b6
L
7020 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7021 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7022
8bca20f0
L
7023 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7024 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7025 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7026 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7028 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7029
f9e890a9
L
7030 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7031 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7032 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7033
471101a1
L
7034 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7035 with __addr.
7036 (insw): Likewise.
7037 (insl): Likewise.
7038 (outsb): Likewise.
7039 (outsw): Likewise.
7040 (outsl): Likewise.
7041
6451c862
L
7042 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7044 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7045
a254b8c9
L
7046 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7047 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7049 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7050 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7051 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7052
b8dfdd92
L
7053 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7054 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7055
578cd270
L
7056 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7057 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7058
de662f5f
L
7059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7061 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7062
25653439
L
7063 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7064 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7065 to ...
7066 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7067
6bad24a0
L
7068 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7069 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7070 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7071
42bbb1c3
L
7072 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7073 for x86-64.
7074 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7075
2d10d547
JM
70762012-05-31 Joseph Myers <joseph@codesourcery.com>
7077
7078 * math/math.h (M_El): Use two more decimal places.
7079 (M_LOG2El): Likewise.
7080 (M_LOG10El): Likewise.
7081 (M_LN2l): Likewise.
7082 (M_LN10l): Likewise.
7083 (M_PIl): Likewise.
7084 (M_PI_2l): Likewise.
7085 (M_PI_4l): Likewise.
7086 (M_1_PIl): Likewise.
7087 (M_2_PIl): Likewise.
7088 (M_2_SQRTPIl): Likewise.
7089 (M_SQRT2l): Likewise.
7090 (M_SQRT1_2l): Likewise.
7091
f230c29b
DM
70922012-05-31 David S. Miller <davem@davemloft.net>
7093
7094 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7095 values between float registers.
7096 * sysdeps/sparc/sparc64/memset.S: Likewise.
7097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7098
fed806c3
MF
70992012-05-31 Mike Frysinger <vapier@gentoo.org>
7100
7101 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7102 -D_FORTIFY_SOURCE=1.
7103 (CPPFLAGS-tst-longjmp_chk.c): Define.
7104 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7105 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7106 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7107 CFLAGS-tst-wchar-h.c.
7108
30917259
MP
71092012-05-31 Marek Polacek <polacek@redhat.com>
7110
7111 [BZ #14132]
7112 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7113 __endmntent_internal): Remove declaration.
7114 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7115 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7116 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7117
1c58d5dc
DM
71182012-05-30 David S. Miller <davem@davemloft.net>
7119
7120 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7121 (___Q_simulate_exceptions): Use real FP ops rather than writing
7122 into the %fsr.
7123 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7124 Likewise.
7125
7dc00e0d
L
71262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7127
7128 [BZ #14117]
0bd53985
L
7129 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7130 * sysdeps/x86/bits/xtitypes.h: This.
7131
3a257e66
L
7132 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7133 * sysdeps/x86/bits/wordsize.h: This.
7134
62f62904
L
7135 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7136 * sysdeps/x86/bits/huge_vall.h: This.
7137
404fe9d9
L
7138 * sysdeps/i386/bits/select.h: Removed.
7139 * sysdeps/x86_64/bits/select.h: Renamed to ...
7140 * sysdeps/x86/bits/select.h: This.
7141
d48d0446
L
7142 * sysdeps/i386/bits/setjmp.h: Removed.
7143 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7144 * sysdeps/x86/bits/setjmp.h: This.
7145
7dc00e0d
L
7146 * sysdeps/i386/bits/mathdef.h: Removed.
7147 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7148 * sysdeps/x86/bits/mathdef.h: This.
7149
03277f8f
AS
71502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7151
7152 [BZ #14132]
7153 * include/sys/socket.h (__connect_internal)
7154 (__libc_sa_len_internal): Remove declaration.
7155 (__connect, __libc_sa_len): Declare hidden_proto.
7156 (SA_LEN): Remove use of INTUSE.
7157 * socket/connect.c: Add libc_hidden_def.
7158 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7159 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7160 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7161 alias.
7162 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7163 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7164 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7165 of adding _internal alias.
7166
13764867
L
71672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7168
7169 [BZ #14117]
6bd97696
L
7170 * sysdeps/i386/bits/link.h: Removed.
7171 * sysdeps/i386/bits/linkmap.h: Likewise.
7172 * sysdeps/x86_64/bits/link.h: Renamed to ...
7173 * sysdeps/x86/bits/link.h: This.
7174 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7175 * sysdeps/x86/bits/linkmap.h: This.
7176
f726f0bb
L
7177 * sysdeps/i386/bits/endian.h: Removed.
7178 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7179 * sysdeps/x86/bits/endian.h: This.
7180
13764867
L
7181 * sysdeps/i386/bits/byteswap.h: Removed.
7182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7183 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7184 * sysdeps/x86/bits/byteswap.h: This.
7185 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7186 * sysdeps/x86/bits/byteswap-16.h: This.
7187 * sysdeps/i386/Implies: Add x86.
7188 * sysdeps/x86_64/Implies: Likewise.
7189
ae251b0b
DM
71902012-05-30 David S. Miller <davem@davemloft.net>
7191
7192 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7193 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7195 (FP_TRAPPING_EXCEPTIONS): Define.
7196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7197 (FP_TRAPPING_EXCEPTIONS): Define.
7198 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7199 subnormals only when inexact has been signalled or underflow
7200 exceptions are enabled.
7201 (_FP_PACK_CANONICAL): Likewise.
7202
d5c90867
L
72032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7204
7205 [BZ #14183]
7206 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7207 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7208
63f1549e
RH
72092012-05-30 Richard Henderson <rth@twiddle.net>
7210
8d8f2279
RH
7211 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7212 with #ifndef NOT_IN_libc.
7213
63f1549e
RH
7214 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7215 marked to avoid plt entry.
7216
0ab0291b
L
72172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7218
7219 [BZ #14112]
7220 * Makeconfig (default-abi): New macro.
7221 (abi-includes): Likewise.
7222 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7223 $(abi-$(default-abi)-lib-soname) for soname if defined.
7224 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7225 abi-variants.
7226 * Makefile (installed-stubs): Likewise.
7227 * include/stubs-biarch.h: Removed.
7228 * scripts/lib-names.awk: Only handle one library at a time.
7229 * scripts/soversions.awk: Remove WORDSIZE support.
7230 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7231 entries.
7232 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7233 Removed.
7234 (syscall-list-default-condition): Likewise.
7235 (syscall-list-default-condition): Likewise.
7236 (syscall-list-includes): Likewise.
7237 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7238 syscall-list-* with abi-*. Handle undefined abi-variants.
7239 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7240 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7241 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7243 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7244 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7245 Removed.
7246 (syscall-list-32-options): Likewise.
7247 (syscall-list-32-condition): Likewise.
7248 (syscall-list-64-options): Likewise.
7249 (syscall-list-64-condition): Likewise.
7250 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7251 macro.
7252 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7253 Renamed to ...
7254 (abi-*): This.
7255 (abi-64-ld-soname): New macro.
7256 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7257 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7258 Renamed to ...
7259 (abi-*): This.
7260 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7261 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7262
4da0431d
JM
72632012-05-30 Joseph Myers <joseph@codesourcery.com>
7264
3a85279c
JM
7265 * sysdeps/unix/sysv/linux/kernel-features.h
7266 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7267 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7268 include <kernel-features.h>.
7269 [!__NR_ftruncate64]: Remove conditional code.
7270 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7271 [__NR_ftruncate64]: Make code unconditional.
7272 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7273 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7274 include <kernel-features.h>.
7275 [!__NR_ftruncate64]: Remove conditional code.
7276 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7277 [__NR_ftruncate64]: Make code unconditional.
7278 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7280 include <kernel-features.h>.
7281 [!__NR_ftruncate64]: Remove conditional code.
7282 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7283 [__NR_ftruncate64]: Make code unconditional.
7284 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7286 include <kernel-features.h>.
7287 [!__NR_ftruncate64]: Remove conditional code.
7288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7289 [__NR_ftruncate64]: Make code unconditional.
7290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7291
4da0431d
JM
7292 * configure.in (libc_cv_fpie): Weaken to a compile test using
7293 LIBC_TRY_CC_OPTION.
7294 * configure: Regenerated.
7295
11ef492c
AK
72962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7297
7298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7302 Refreshed.
7303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7309 Refreshed.
7310
d66ef399
DM
73112012-05-27 David S. Miller <davem@davemloft.net>
7312
7313 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7314 (___Q_zero): New.
7315 (__Q_simulate_exceptions): Return void. Change to simulate
7316 exceptions by writing into the %fsr.
7317 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7318 (__Qp_handle_exceptions): Likewise.
7319 (numbers): Delete.
7320 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7321 __Qp_handle_exceptions.
7322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7323 __Qp_handle_exceptions.
7324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7325 as unused and give dummy FP_RND_NEAREST initializer.
7326 (FP_INHIBIT_RESULTS): Define.
7327 (___Q_simulate_exceptions): Update declaration.
7328 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7329 formatting.
7330 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7331 as unused and give dummy FP_RND_NEAREST initializer.
7332 (__Qp_handle_exceptions): Update declaration.
7333 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7334 formatting.
7335
04fb54b5
TS
73362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7337
7338 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7339 the temporary FPU control word.
7340 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7341 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7342 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7343 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7344 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7345 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7346 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7348 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7349 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7350 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7351
3f99608f
KK
73522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7353
7354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7355 fields.
7356
65a4de4e
CLT
73572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7358
7359 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7360 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7361 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7362 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7363 Likewise.
7364 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7365 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7366 Likewise.
7367
15749d40
UD
73682012-05-27 Ulrich Drepper <drepper@gmail.com>
7369
7370 * po/h.po: Update from translation team.
7371
25dbcb27
AS
73722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7373
3d3f8e55
AS
7374 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7375
25dbcb27
AS
7376 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7377 handling of denormals.
7378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7379 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7380 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7381 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7385 Likewise.
7386
7ad47a80 73872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7388
7389 [BZ #14152]
7390 * math/libm-test.inc (fma_test): Don't always expect underflow
7391 exception.
7392
9c6ea9fa
SP
73932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7394
7395 [BZ #12416]
7396 * elf/tst-execstack.c: Include stackinfo.h.
7397 (do_test): Adjust test case to ensure that pthread_getattr_np
7398 behaviour remains the same after marking stack executable.
7399
a8239222
JM
74002012-05-25 Joseph Myers <joseph@codesourcery.com>
7401
7402 * sysdeps/unix/sysv/linux/kernel-features.h
7403 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7404 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7405 kernel-features.h.
7406 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7407 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7408 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7409 kernel-features.h.
7410 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7411 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7412
918b5606
L
74132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7414
7415 * configure.in: Define the default includes to being none.
7416 * configure: Regenerated.
7417
3a097cc7
RM
74182012-05-25 Roland McGrath <roland@hack.frob.com>
7419
8422c9a5
RM
7420 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7421 * sysdeps/x86_64/setjmp.S: Likewise.
7422 * sysdeps/i386/bsd-setjmp.S: Likewise.
7423 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7424 * sysdeps/i386/setjmp.S: Likewise.
7425 * sysdeps/i386/__longjmp.S: Likewise.
7426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7427 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7428
3a097cc7
RM
7429 * include/stap-probe.h: New file.
7430 * configure.in: Handle --enable-systemtap.
7431 * configure: Regenerated.
7432 * config.h.in (USE_STAP_PROBE): New #undef.
7433 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7434 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7435 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7436
21708942
JM
74372012-05-25 Joseph Myers <joseph@codesourcery.com>
7438
7439 [BZ #13717]
7440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7441 to 2.4.0 where earlier.
7442 * sysdeps/unix/sysv/linux/configure: Regenerated.
7443 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7444 <kernel-features.h>.
7445 [__ASSUME_32BITUIDS]: Make code unconditional.
7446 [!__ASSUME_32BITUIDS]: Remove conditional code.
7447 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7448 <kernel-features.h>.
7449 [__ASSUME_32BITUIDS]: Make code unconditional.
7450 [!__ASSUME_32BITUIDS]: Remove conditional code.
7451 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7452 [__ASSUME_32BITUIDS]: Make code unconditional.
7453 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7454 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7455 <kernel-features.h>.
7456 [__ASSUME_32BITUIDS]: Make code unconditional.
7457 [!__ASSUME_32BITUIDS]: Remove conditional code.
7458 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7459 <kernel-features.h>.
7460 [__ASSUME_32BITUIDS]: Make code unconditional.
7461 [!__ASSUME_32BITUIDS]: Remove conditional code.
7462 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7463 <kernel-features.h>.
7464 [__ASSUME_32BITUIDS]: Make code unconditional.
7465 [!__ASSUME_32BITUIDS]: Remove conditional code.
7466 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7467 <kernel-features.h>.
7468 [__ASSUME_32BITUIDS]: Make code unconditional.
7469 [!__ASSUME_32BITUIDS]: Remove conditional code.
7470 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7471 <kernel-features.h>.
7472 [__ASSUME_32BITUIDS]: Make code unconditional.
7473 [!__ASSUME_32BITUIDS]: Remove conditional code.
7474 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7475 <kernel-features.h>.
7476 [__ASSUME_32BITUIDS]: Make code unconditional.
7477 [!__ASSUME_32BITUIDS]: Remove conditional code.
7478 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7479 <kernel-features.h>.
7480 [__ASSUME_32BITUIDS]: Make code unconditional.
7481 [!__ASSUME_32BITUIDS]: Remove conditional code.
7482 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7483 <kernel-features.h>.
7484 [__ASSUME_32BITUIDS]: Make code unconditional.
7485 [!__ASSUME_32BITUIDS]: Remove conditional code.
7486 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7487 <kernel-features.h>.
7488 [__ASSUME_32BITUIDS]: Make code unconditional.
7489 [!__ASSUME_32BITUIDS]: Remove conditional code.
7490 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7491 <kernel-features.h>.
7492 [__ASSUME_32BITUIDS]: Make code unconditional.
7493 [!__ASSUME_32BITUIDS]: Remove conditional code.
7494 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7495 <kernel-features.h>.
7496 [__NR_setresgid] (__setresgid): Do not declare.
7497 [__ASSUME_32BITUIDS]: Make code unconditional.
7498 [!__ASSUME_32BITUIDS]: Remove conditional code.
7499 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7500 <kernel-features.h>.
7501 [__NR_setresuid] (__setresuid): Do not declare.
7502 [__ASSUME_32BITUIDS]: Make code unconditional.
7503 [!__ASSUME_32BITUIDS]: Remove conditional code.
7504 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7505 <kernel-features.h>.
7506 [__ASSUME_32BITUIDS]: Make code unconditional.
7507 [!__ASSUME_32BITUIDS]: Remove conditional code.
7508 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7509 <kernel-features.h>.
7510 [__ASSUME_32BITUIDS]: Make code unconditional.
7511 [!__ASSUME_32BITUIDS]: Remove conditional code.
7512 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7513 <kernel-features.h>.
7514 [__ASSUME_32BITUIDS]: Make code unconditional.
7515 [!__ASSUME_32BITUIDS]: Remove conditional code.
7516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7517 <kernel-features.h>.
7518 [__ASSUME_32BITUIDS]: Make code unconditional.
7519 [!__ASSUME_32BITUIDS]: Remove conditional code.
7520 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7521 <kernel-features.h>.
7522 [__ASSUME_32BITUIDS]: Make code unconditional.
7523 [!__ASSUME_32BITUIDS]: Remove conditional code.
7524 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7525 <kernel-features.h>.
7526 [__ASSUME_32BITUIDS]: Make code unconditional.
7527 [!__ASSUME_32BITUIDS]: Remove conditional code.
7528 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7529 <kernel-features.h>.
7530 [__ASSUME_32BITUIDS]: Make code unconditional.
7531 [!__ASSUME_32BITUIDS]: Remove conditional code.
7532 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7533 <kernel-features.h>.
7534 [__ASSUME_32BITUIDS]: Make code unconditional.
7535 [!__ASSUME_32BITUIDS]: Remove conditional code.
7536 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7537 <kernel-features.h>.
7538 [__ASSUME_32BITUIDS]: Make code unconditional.
7539 [!__ASSUME_32BITUIDS]: Remove conditional code.
7540 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7541 <kernel-features.h>.
7542 [__ASSUME_32BITUIDS]: Make code unconditional.
7543 [!__ASSUME_32BITUIDS]: Remove conditional code.
7544 * sysdeps/unix/sysv/linux/kernel-features.h
7545 (__ASSUME_SETRESUID_SYSCALL): Remove.
7546 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7547 (__ASSUME_32BITUIDS): Likewise.
7548 (__ASSUME_LDT_WORKS): Likewise.
7549 (__ASSUME_O_DIRECTORY): Likewise.
7550 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7551 architecture but not kernel version.
7552 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7553 (__ASSUME_MMAP2_SYSCALL): Likewise.
7554 (__ASSUME_STAT64_SYSCALL): Likewise.
7555 (__ASSUME_IPC64): Likewise.
7556 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7557 <kernel-features.h>.
7558 [__ASSUME_32BITUIDS]: Make code unconditional.
7559 [!__ASSUME_32BITUIDS]: Remove conditional code.
7560 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7561 <kernel-features.h>.
7562 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7563 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7564 132096]: Remove conditional code.
7565 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7566 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7567 <kernel-features.h>.
7568 [__ASSUME_32BITUIDS]: Make code unconditional.
7569 [!__ASSUME_32BITUIDS]: Remove conditional code.
7570 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7571 <kernel-features.h>.
7572 [__ASSUME_32BITUIDS]: Make code unconditional.
7573 [!__ASSUME_32BITUIDS]: Remove conditional code.
7574 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7575 <kernel-features.h>.
7576 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7577 unconditional.
7578 (__setresgid): Do not declare.
7579 [__ASSUME_32BITUIDS]: Make code unconditional.
7580 [!__ASSUME_32BITUIDS]: Remove conditional code.
7581 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7582 <kernel-features.h>.
7583 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7584 unconditional.
7585 (__setresuid): Do not declare.
7586 [__ASSUME_32BITUIDS]: Make code unconditional.
7587 [!__ASSUME_32BITUIDS]: Remove conditional code.
7588 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7589 <kernel-features.h>.
7590 [__ASSUME_32BITUIDS]: Make code unconditional.
7591 [!__ASSUME_32BITUIDS]: Remove conditional code.
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7593 <kernel-features.h>.
7594 [__ASSUME_32BITUIDS]: Make code unconditional.
7595 [!__ASSUME_32BITUIDS]: Remove conditional code.
7596
a386f1cc
RH
75972012-05-25 Richard Henderson <rth@twiddle.net>
7598
7599 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7600 dl_hwcap to ifunc resolver.
7601 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7602 elf_ifunc_invoke.
7603 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7604 dl_hwcap to ifunc resolver.
7605 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7606
b6550497
JM
76072012-05-24 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #14153]
7610 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7611 for |x| <= 2**-26, not 2**-57.
7612 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7613 exception.
7614
b0bc23a1
JL
76152012-05-24 Jeff Law <law@redhat.com>
7616
7617 * stdio-common/Makefile (tests): Add bug25.
7618 * stdio-common/bug25.c: New test.
7619
347c92e9
L
76202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 [BZ #13576]
7623 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7624 multiple of MALLOC_ALIGNMENT in size.
7625 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7626
6bcc8b3f
JM
76272012-05-24 Joseph Myers <joseph@codesourcery.com>
7628
7629 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7630 Require >= 256.
7631 (FILENAME_MAX): Use macro-int-constant.
7632 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7633 (_IOFBF): Use macro-int-constant.
7634 (_IOLBF): Likewise.
7635 (_IONBF): Likewise.
7636 (SEEK_CUR): Likewise.
7637 (SEEK_END): Likewise.
7638 (SEEK_SET): Likewise.
7639 (TMP_MAX): Likewise.
7640 (EOF): Use macro-int-constant. Require < 0.
7641 (NULL): Use macro-constant. Require == 0.
7642 (stdin): Require type to be FILE *.
7643 (stdout): Likewise.
7644 (stderr): Likewise.
7645 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7646 macro-int-constant.
7647 (EXIT_SUCCESS): Likewise.
7648 (NULL): Use macro-constant. Require == 0.
7649 (RAND_MAX): Use macro-int-constant.
7650 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7651 [C99-based standards] (strtof): Require function.
7652 [C99-based standards] (strtold): Likewise.
7653 [C99-based standards] (strtoll): Likewise.
7654 [C99-based standards] (strtoull): Likewise.
7655 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7656 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7657 [ISO || ISO99 || ISO11] (math.h): Likewise.
7658 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7659 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7661
d18ea0c5
AS
76622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7663
7664 [BZ #14132]
56d25bb8
AS
7665 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7666 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7667 * intl/dgettext.c (DCGETTEXT): Likewise.
7668 * intl/gettext.c (DCGETTEXT): Likewise.
7669 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7670 * posix/regex_internal.h (gettext): Likewise.
7671 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7672 Remove declaration.
7673 * include/argz.h (__argz_count_internal)
7674 (__argz_stringify_internal): Remove declaration.
7675 (__argz_count, __argz_stringify): Declare hidden proto.
7676 * intl/dcgettext.c: Remove use of INTDEF.
7677 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7678 * string/argz-stringify.c: Likewise.
7679 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7680 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7681 Declare hidden proto.
d18ea0c5
AS
7682 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7683 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7684 Declare hidden proto.
7685 * include/stdio.h (__asprintf_internal): Don't declare.
7686 (__asprintf): Don't define as macro. Declare hidden proto.
7687 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7688 (__fsetlocking): Declare hidden proto.
7689 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7690 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7691 hidden proto.
7692 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7693 (_IO_setlinebuf): Remove use of INTUSE.
7694 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7695 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7696 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7697 Remove declaration.
7698 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7699 (_IO_do_flush): Remove use of INTUSE.
7700 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7701 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7702 (_IO_adjust_column, _IO_least_wmarker)
7703 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7704 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7705 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7706 (_IO_default_doallocate, _IO_wdefault_doallocate)
7707 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7708 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7709 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7710 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7711 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7712 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7713 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7714 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7715 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7716 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7717 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7718 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7719 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7720 proto.
7721 (_IO_flush_all_internal, _IO_adjust_column_internal)
7722 (_IO_default_uflow_internal, _IO_default_finish_internal)
7723 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7724 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7725 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7726 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7727 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7728 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7729 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7730 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7731 (_IO_file_close_internal, _IO_file_close_it_internal)
7732 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7733 (_IO_file_init_internal, _IO_file_attach_internal)
7734 (_IO_file_fopen_internal, _IO_file_read_internal)
7735 (_IO_file_sync_internal, _IO_file_seek_internal)
7736 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7737 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7738 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7739 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7740 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7741 (_IO_list_all_internal, _IO_link_in_internal)
7742 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7743 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7744 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7745 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7746 (_IO_do_write_internal, _IO_padn_internal)
7747 (_IO_getline_info_internal, _IO_getline_internal)
7748 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7749 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7750 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7751 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7752 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7753 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7754 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7755 with libc_hidden_ver, remove use of INTUSE.
7756 * libio/genops.c: Likewise.
7757 * libio/freopen.c: Likewise.
7758 * libio/freopen64.c: Likewise.
7759 * libio/iofclose.c: Likewise.
7760 * libio/iofdopen.c: Likewise.
7761 * libio/iofflush.c: Likewise.
7762 * libio/iofflush_u.c: Likewise.
7763 * libio/iofgets.c: Likewise.
7764 * libio/iofgets_u.c: Likewise.
7765 * libio/iofopen.c: Likewise.
7766 * libio/iofopncook.c: Likewise.
7767 * libio/iofread.c: Likewise.
7768 * libio/iofread_u.c: Likewise.
7769 * libio/ioftell.c: Likewise.
7770 * libio/iofwrite.c: Likewise.
7771 * libio/iogetline.c: Likewise.
7772 * libio/iogets.c: Likewise.
7773 * libio/iogetwline.c: Likewise.
7774 * libio/iopadn.c: Likewise.
7775 * libio/iopopen.c: Likewise.
7776 * libio/ioseekoff.c: Likewise.
7777 * libio/ioseekpos.c: Likewise.
7778 * libio/iosetbuffer.c: Likewise.
7779 * libio/iosetvbuf.c: Likewise.
7780 * libio/ioungetc.c: Likewise.
7781 * libio/ioungetwc.c: Likewise.
7782 * libio/iovdprintf.c: Likewise.
7783 * libio/iovsprintf.c: Likewise.
7784 * libio/iovsscanf.c: Likewise.
7785 * libio/memstream.c: Likewise.
7786 * libio/obprintf.c: Likewise.
7787 * libio/oldfileops.c: Likewise.
7788 * libio/oldiofclose.c: Likewise.
7789 * libio/oldiofdopen.c: Likewise.
7790 * libio/oldiofopen.c: Likewise.
7791 * libio/oldiopopen.c: Likewise.
7792 * libio/oldstdfiles.c: Likewise.
7793 * libio/putc.c: Likewise.
7794 * libio/setbuf.c: Likewise.
7795 * libio/setlinebuf.c: Likewise.
7796 * libio/stdfiles.c: Likewise.
7797 * libio/strops.c: Likewise.
7798 * libio/vasprintf.c: Likewise.
7799 * libio/vscanf.c: Likewise.
7800 * libio/vsnprintf.c: Likewise.
7801 * libio/vswprintf.c: Likewise.
7802 * libio/wfiledoalloc.c: Likewise.
7803 * libio/wfileops.c: Likewise.
7804 * libio/wgenops.c: Likewise.
7805 * libio/wmemstream.c: Likewise.
7806 * libio/wstrops.c: Likewise.
7807 * libio/__fpurge.c: Likewise.
7808 * libio/__fsetlocking.c: Likewise.
7809 * assert/assert.c: Likewise.
7810 * debug/fgets_chk.c: Likewise.
7811 * debug/fgets_u_chk.c: Likewise.
7812 * debug/fread_chk.c: Likewise.
7813 * debug/fread_u_chk.c: Likewise.
7814 * debug/gets_chk.c: Likewise.
7815 * debug/obprintf_chk.c: Likewise.
7816 * debug/vasprintf_chk.c: Likewise.
7817 * debug/vdprintf_chk.c: Likewise.
7818 * debug/vsnprintf_chk.c: Likewise.
7819 * debug/vsprintf_chk.c: Likewise.
7820 * malloc/mtrace.c: Likewise.
7821 * misc/error.c: Likewise.
7822 * misc/syslog.c: Likewise.
7823 * stdio-common/asprintf.c: Likewise.
7824 * stdio-common/fxprintf.c: Likewise.
7825 * stdio-common/getw.c: Likewise.
7826 * stdio-common/isoc99_fscanf.c: Likewise.
7827 * stdio-common/isoc99_scanf.c: Likewise.
7828 * stdio-common/isoc99_vfscanf.c: Likewise.
7829 * stdio-common/isoc99_vscanf.c: Likewise.
7830 * stdio-common/isoc99_vsscanf.c: Likewise.
7831 * stdio-common/printf-prs.c: Likewise.
7832 * stdio-common/printf_fp.c: Likewise.
7833 * stdio-common/printf_fphex.c: Likewise.
7834 * stdio-common/printf_size.c: Likewise.
7835 * stdio-common/putw.c: Likewise.
7836 * stdio-common/scanf.c: Likewise.
7837 * stdio-common/sprintf.c: Likewise.
7838 * stdio-common/tmpfile.c: Likewise.
7839 * stdio-common/vfprintf.c: Likewise.
7840 * stdio-common/vfscanf.c: Likewise.
7841 * stdlib/strfmon_l.c: Likewise.
7842 * sunrpc/openchild.c: Likewise.
7843 * sunrpc/xdr_stdio.c: Likewise.
7844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7845 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7846
d6c33fda
RM
78472012-05-24 Roland McGrath <roland@hack.frob.com>
7848
c1487492
RM
7849 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7850
7851 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7852 in the third column, to generate for the shared library an IFUNC
7853 that uses _dl_vdso_vsym.
7854 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7855 * Makeconfig (object-suffixes-noshared): New variable.
7856
7857 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7858 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7859 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7860 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7861
d6c33fda
RM
7862 [BZ #14132]
7863 * include/sys/time.h (__gettimeofday): Remove macro.
7864 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7865 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7866 Remove INTDEF.
7867 (__gettimeofday): Add libc_hidden_def.
7868 (gettimeofday): Add libc_hidden_weak.
7869 * sysdeps/mach/gettimeofday.c: Likewise.
7870 * sysdeps/posix/gettimeofday.c: Likewise.
7871 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7872 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7874 (__gettimeofday_internal): Remove strong_alias.
7875 (__gettimeofday): Add libc_hidden_def.
7876 (gettimeofday): Add libc_hidden_weak.
7877 * sysdeps/unix/syscalls.list (gettimeofday):
7878 Remove __gettimeofday_internal alias.
7879
b5a2bbe6
L
78802012-05-24 Daniel Jacobowitz <drow@false.org>
7881 H.J. Lu <hongjiu.lu@intel.com>
7882
7883 [BZ #12495]
7884 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7885 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7886 (largebin_index_32_big): New.
7887 (largebin_index): Use it for 16-byte alignment.
7888 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7889 correction with front_misalign.
7890
cfba4fda
L
78912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7892
7f907421
L
7893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7895 Likewise.
7896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7897 Likewise.
7898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7899 Likewise.
7900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7901 Likewise.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7903 Likewise.
7904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7905 Likewise.
7906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7907 Likewise.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7909 Likewise.
7910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7911 Likewise.
7912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7913 Likewise.
7914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7915 Likewise.
7916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7917 Likewise.
7918
cfba4fda
L
7919 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7920 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7921
80bad0cc
JM
79222012-05-24 Joseph Myers <joseph@codesourcery.com>
7923
7a25eb06
JM
7924 [BZ #10846]
7925 [BZ #14036]
7926 * math/libm-test.inc (exp_test): Add test from bug 14036.
7927 (pow_test): Add test from bug 10846.
7928
795405f9
JM
7929 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7930 and other flags.
7931 (special_function): Do not include flags in test name.
7932 (parse_args): Likewise.
7933 * sysdeps/i386/fpu/libm-test-ulps: Update.
7934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7935 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7938
80bad0cc
JM
7939 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7940 exceptions.
7941 * math/libm-test.inc ("Philosophy"): Update comment about
7942 exception testing.
7943 (UNDERFLOW_EXCEPTION): New macro.
7944 (UNDERFLOW_EXCEPTION_OK): Likewise.
7945 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7946 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7947 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7948 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7949 (INVALID_EXCEPTION_OK): Update value.
7950 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7951 (OVERFLOW_EXCEPTION_OK): Likewise.
7952 (IGNORE_ZERO_INF_SIGN): Likewise.
7953 (test_exceptions): Handle underflow exceptions.
7954 (acos_test): Update for underflow exception expectations.
7955 (cexp_test): Likewise.
7956 (clog_test): Likewise.
7957 (clog10_test): Likewise.
7958 (csqrt_test): Likewise.
7959 (ctan_test): Likewise.
7960 (ctanh_test): Likewise.
7961 (exp_test): Likewise.
7962 (exp10_test): Likewise.
7963 (exp2_test): Likewise.
7964 (expm1_test): Likewise.
7965 (fma_test): Likewise.
7966 (j0_test): Likewise.
7967 (jn_test): Likewise.
7968 (nexttoward_test): Likewise.
7969 (pow_test): Likewise.
7970 (scalbn_test): Likewise.
7971 (scalbln_test): Likewise.
7972 (tan_test): Likewise.
7973 (y1_test): Likewise.
7974 * sysdeps/i386/fpu/libm-test-ulps: Update.
7975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7976
9e0e3d0b
DM
79772012-05-23 David S. Miller <davem@davemloft.net>
7978
7979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7980 (__libc_sigaction): Remove unused local variables.
7981
ccd0a08f
L
79822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7983
7984 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7985
62bdf9a6
PE
79862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7987
f8591f80
PE
7988 mktime: avoid signed integer overflow
7989 * time/mktime.c (__mktime_internal): Do not mishandle the case
7990 where diff == INT_MIN.
7991
94c7d826
PE
7992 mktime: simplify computation of average
7993 * time/mktime.c (ranged_convert): Use new time_t_avg function
7994 instead of rolling our own (probably-slower) code.
7995
ce73d683
PE
7996 mktime: do not assume signed right shift propagates sign bit
7997 * time/mktime.c (isdst_differ): New static function.
7998 (__mktime_internal): No need to normalize tm_isdst now.
7999 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8000 tm_isdst values.
8001
72a22e59
PE
8002 mktime: merge another wrapv change from gnulib
8003 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8004 from some compilers.
8005
68605433
PE
8006 mktime: remove incorrect attempt at unusual arithmetics
8007 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8008 The code didn't really work on such machines anyway.
8009 (TYPE_MINIMUM): Assume two's complement.
8010 (twos_complement_arithmetic): Verify that long_int and time_t
8011 are two's complement (or unsigned, in the latter case).
8012
03cf7fe3
PE
8013 mktime: check signed shifts on long_int and time_t, too
8014 * time/mktime.c (SHR): Check that shifts work as desired
8015 on the types long_int and time_t too, as SHR is used on
8016 such types.
8017
f04dfbc2
PE
8018 mktime: do not assume 'long' is wide enough
8019 * time/mktime.c (verify): Move decl up.
8020 (long_int): New type.
8021 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8022 to remove assumption in the code that 'long' is wide enough to
8023 store year values. This assumption is not true on x32 and on
8024 some non-glibc platforms.
8025
62bdf9a6
PE
8026 mktime: merge wrapv change from gnulib
8027 * time/mktime.c (WRAPV): New macro.
8028 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8029 (guess_time_tm, __mktime_internal): Do not assume that signed
8030 integer overflow wraps around; modern compilers generate code
8031 where this assumption is no longer valid.
8032
5e292e4f
L
80332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8034
8035 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8036 Replace "jmp L(pseudo_end)" with "ret".
8037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8038 Likewise.
8039
8caf8c87
AJ
80402012-05-23 Andreas Jaeger <aj@suse.de>
8041
8042 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8043 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8044
1a09dc56
AJ
80452012-05-23 Andreas Jaeger <aj@suse.de>
8046 Maximilian Attems <max@stro.at>
8047
8048 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8049 New macros.
8050
1c87aba0
L
80512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8052
8053 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8054 code so that pseudo_end is just ret and the stack pointer is
8055 correct also for static library in error case.
8056
40e45bd5
JM
80572012-05-23 Joseph Myers <joseph@codesourcery.com>
8058
c2670533
JM
8059 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8060 move to syscalls.list.
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8065
40e45bd5
JM
8066 * manual/install.texi (Running make install): Do not mention Linux
8067 kernel version for which pt_chown is not needed.
8068 (Linux): Do not mention problems with nscd with 2.0 kernels.
8069 * INSTALL: Regenerated.
8070
be08eda5
AJ
80712012-05-23 Andreas Jaeger <aj@suse.de>
8072
8073 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8074 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8075 macro.
8076 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8077 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8078 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8079 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8080 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8086 * sysdeps/unix/sysv/linux/bits/in.h
8087 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8088
a6a056bb
RM
80892012-05-22 Roland McGrath <roland@hack.frob.com>
8090
8091 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8092 (PREPARE_VERSION): Just use assert instead, it will be elided
8093 under [NDEBUG] anyway.
8094
c9009328
L
80952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * sysdeps/unix/sysv/linux/Makefile: Include
8098 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 8099 (sysdep_routines): Remove sysctl.
c9009328
L
8100 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8101 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8102 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8103 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8104 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8105
73338355
AJ
81062012-05-22 Andreas Jaeger <aj@suse.de>
8107
8108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8109 that pseudo_end is just ret and the stack pointer is correct also
8110 for static library in error case.
8111
d44638b0
PP
81122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8113
8114 [BZ #14122]
8115 * nss/nsswitch.c (defconfig_entries): New variable.
8116 (__nss_database_lookup): Don't leak defconfig entries.
8117 (nss_parse_service_list): Don't leak on error paths.
8118 (free_database_entries): New function.
8119 (free_defconfig): New function.
8120 (free_mem): Move common code to free_database_entries.
8121
31a39bd8
L
81222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8123
da0331a8
L
8124 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8125 Add arch_prctl.
8126 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8127
31a39bd8
L
8128 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8129 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8131 New macro.
8132 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8133 (INTERNAL_SYSCALL_TYPES): Likewise.
8134 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8135 (LOAD_REGS_TYPES_[1-6]): Likewise.
8136 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8137 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8138
45470df3
AZ
81392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8140
8141 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8142 copysignl for GLIBC_2_0.
8143 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8144 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8146 logbl for GLIBC_2_0.
8147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8148 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8149
98a61bcb
L
81502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8151
a4f6e481
L
8152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8153 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8154
f63d5db6
L
8155 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8156 Use "neg %eax".
8157
98a61bcb
L
8158 * time/mktime.c: Update copyright years.
8159
95770f14
PE
81602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8161
6226efbd
PE
8162 mktime: merge comment-quoting-style change from gnulib
8163 * time/mktime.c: Quote 'like this' in comments.
8164 The GNU coding standards suggest that we no longer quote `like this',
8165 as "`" and "'" are typically rendered asymmetrically nowadays.
8166 The typical gnulib style is to quote 'like this' when quoting
8167 code, and "like this" when quoting English.
8168
b99e4f78
PE
8169 * time/mktime.c (compile-command): Add "-I.".
8170
643e01e6
PE
8171 mktime: merge mktime-internal.h change from gnulib
8172 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8173
2554247d
PE
8174 mktime: merge time_r change from gnulib
8175 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8176
826dd0ab
PE
8177 mktime: merge DEBUG change from gnulib
8178 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8179 case system <time.h> has a #define.
8180
bd83aabe
PE
8181 mktime: merge <sys/types.h> change from gnulib
8182 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8183 since <time.t> is now guaranteed to define time_t.
8184
95770f14
PE
8185 mktime: merge HAVE_CONFIG_H change from gnulib
8186 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8187
5e1a27a9
L
81882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8189
0e44a77e
L
8190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8191 Use "neg %eax".
8192
5e1a27a9
L
8193 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8194 __rlim_t cast.
8195 (struct rusage): Use anonymous union to pad each field to
8196 __syscall_slong_t.
8197
46259bec
DM
81982012-05-21 David S. Miller <davem@davemloft.net>
8199
8200 * Makefules (o-iterator): Remove .s cases.
8201 (compile-command.s): Delete.
8202 (COMPILE.s): Delete.
8203 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8204
59f0c22e
JM
82052012-05-21 Joseph Myers <joseph@codesourcery.com>
8206
8207 * configure.in (libc_cv_predef_stack_protector): Only consider
8208 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8209 * configure: Regenerated.
8210
20c07380
L
82112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8212
bbb3154b
L
8213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8214 New macro. Use R*LP on int and pointer.
8215 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8216 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8217 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8218 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8219
20c07380
L
8220 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8221 [__WORDSIZE_TIME64_COMPAT32] instead of
8222 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8223 (struct utmp): Likewise.
8224 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8225 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8226 Renamed to ...
8227 (__WORDSIZE_TIME64_COMPAT32): This.
8228 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8229 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8230 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8231 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8232 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8233 (__WORDSIZE_TIME64_COMPAT32): New macro.
8234
d8d1017e
AJ
82352012-05-21 Andreas Jaeger <aj@suse.de>
8236
8237 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8238 only if [SHARED]. Add prototype for __wcschr_ia32.
8239
6c7fb145
RM
82402012-05-21 Roland McGrath <roland@hack.frob.com>
8241
8242 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8243 of %rbp unmolested in the jmp_buf while mangling the low bits.
8244 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8245 unmolested high bits of %rbp while demangling the low bits.
8246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8247
66274218
AJ
82482012-05-21 Andreas Jaeger <aj@suse.de>
8249
07c58f8f
AJ
8250 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8251 * sunrpc/svc_simple.c: Use it for registerrpc.
8252 * sunrpc/xcrypt.c: Use it for passwd2des.
8253
66274218
AJ
8254 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8255
61f65140
L
82562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8259 Don't define if [__SYSCALL_WORDSIZE != 32].
8260 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8261 New macro.
8262
5fefb436
AJ
82632012-05-21 Bruno Haible <bruno@clisp.org>
8264 Andreas Jaeger <aj@suse.de>
8265
8266 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8267 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8268 inptr and inend for must_buffer_ch.
8269 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8270 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8271 * stdio-common/Makefile (tests): Remove bug15.
8272 (bug15-ENV): Remove macro.
8273 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8274 anymore.
8275
d8e272ab
AJ
82762012-05-19 Andreas Jaeger <aj@suse.de>
8277 Roland McGrath <roland@hack.frob.com>
8278
8279 * manual/contrib.texi: Completely rewritten. It contains now an
8280 alphabetical list of contributors and their contributions.
8281
4a56a162
RH
82822012-05-21 Richard Henderson <rth@twiddle.net>
8283
8284 * misc/getauxval.c (__getauxval): Use unsigned long int.
8285 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8286 (getauxval): Use unsigned long int.
8287
d024d23c
L
82882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8289
8290 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8291
cbc00a03
RM
82922012-05-21 Roland McGrath <roland@hack.frob.com>
8293
8294 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8295 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8296 __alignof__ (long double).
8297
478143fa
AZ
82982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8299
8300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8301
c7683a6d
RH
83022012-05-20 Richard Henderson <rth@twiddle.net>
8303
8304 * misc/getauxval.c: New file.
8305 * misc/sys/auxv.h: New file.
8306 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8307 (routines): Add getauxval.
8308 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8309 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8310 * elf/dl-sysdep.c (_dl_auxv): Remove.
8311 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8312 * elf/dl-support.c (_dl_auxv): New variable.
8313 (_dl_aux_init): Initialize it.
8314 * manual/startup.texi (Auxiliary Vector): New node.
8315 * sysdeps/generic/bits/hwcap.h: New file.
8316 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8317 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8318 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8319 * sysdeps/sparc/sysdep.h: ... here. Include it.
8320 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8323 Update.
c7683a6d
RH
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8332
a6f1845d
AZ
83332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8334
8335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8336
cbcbe830
DM
83372012-05-19 David S. Miller <davem@davemloft.net>
8338
8339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8340
e0b16cc2
JM
83412012-05-19 Joseph Myers <joseph@codesourcery.com>
8342
8343 [BZ #14123]
8344 * math/s_ccosh.c: Include <float.h>
8345 (__ccosh): Avoid internal overflow calculating sinh and cosh
8346 values before multiplying by sin and cos values.
8347 * math/s_ccoshf.c: Likewise.
8348 * math/s_ccoshl.c: Likewise.
8349 * math/s_csin.c: Likewise.
8350 * math/s_csinf.c: Likewise.
8351 * math/s_csinl.c: Likewise.
8352 * math/s_csinh.c: Likewise.
8353 * math/s_csinhf.c: Likewise.
8354 * math/s_csinhl.c: Likewise.
8355 * math/libm-test.inc (ccos_test): Add more tests.
8356 (ccosh_test): Likewise.
8357 (csin_test): Likewise.
8358 (csinh_test): Likewise.
8359 * sysdeps/i386/fpu/libm-test-ulps: Update.
8360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8361
6ad13e08
L
83622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8363
f66f0ce8
L
8364 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8365 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8366
6ad13e08
L
8367 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8368
b1d072a7
JM
83692012-05-19 Joseph Myers <joseph@codesourcery.com>
8370
8371 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8372 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8373 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8374 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8375 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8376 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8377 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8378 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8379 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8380 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8381 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8382 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8383 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8384 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8385 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8386 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8387 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8388 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8389 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8390 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8391 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8392 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8393 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8394 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8395 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8396 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8397 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8398 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8399 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8400 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8401 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8402
9eae47cb
AJ
84032012-05-18 Andreas Jaeger <aj@suse.de>
8404
8405 * csu/.gitignore: Delete.
8406
bb07f69f
L
84072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8408
8409 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8410 (timex): Use __syscall_slong_t.
8411
e6bdb741
AJ
84122012-05-18 Andreas Jaeger <aj@suse.de>
8413 Carlos O'Donell <carlos_odonell@mentor.com>
8414
8415 * manual/install.texi (Configuring and compiling): Update
8416 description about files modified in the source directory.
d6c33fda 8417 * INSTALL: Regenerated.
e6bdb741 8418
1b74487e
L
84192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8422 value. Use "or" to set return value to -1.
8423 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8424 negate return value.
8425
a88b64b9
TMQMF
84262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8427
8428 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8429 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8430 failure if the compiler has Graphite support disabled.
8431 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8432 Likewise.
8433 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8434 CFLAGS-memmove.c): Likewise.
8435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8436 Likewise.
8437
3707636e
L
84382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8439
610b8622
L
8440 * sysdeps/x86_64/x32/_itoa.h: New file.
8441
7cd195df
L
8442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8443 getdents system call only if kernel and user dirents have the
8444 same d_ino and d_off.
8445
94b07d20
L
8446 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8447 LLONG_MAX != LONG_MAX.
8448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8449 (_fitoa_word): Likewise.
8450
18298070
L
8451 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8452 years.
8453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8454 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8455 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8456
553c7ea4
L
8457 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8458 include <bits/wordsize.h>. Check __x86_64__ instead of
8459 __WORDSIZE.
8460 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8461 if __x86_64__ is defined. Use anonymous union on fpstate.
8462
3707636e
L
8463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8464 anonymous union.
8465
b53ef01a
AS
84662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8467
37fb1dc0
AS
8468 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8469 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8470 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8471 Refer to _rtld_local_ro instead of _rtld_global_ro.
8472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8473 Likewise.
8474 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8475 Likewise.
8476 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8477 Likewise.
8478 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8479 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8480 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8481
b53ef01a
AS
8482 * sysdeps/powerpc/powerpc32/dl-machine.c
8483 (__elf_machine_runtime_setup) [PROF]: Don't reference
8484 _dl_prof_resolve.
8485
7a185db2
AJ
84862012-05-18 Andreas Jaeger <aj@suse.de>
8487
8488 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8489 function only available for GCCs before 3.4 since GCC 3.4
8490 introduced a builtin.
8491 (lrint): Likewise.
8492 (llrintf): Likewise.
8493 (llrint): Likewise.
8494 (fmaxf): Likewise.
8495 (fmax): Likewise.
8496 (fminf): Likewise.
8497 (fmin): Likewise.
8498 (rint): Likewise.
8499 (rintf): Likewise.
8500 (nearbyint): Likewise.
8501 (nearbyintf): Likewise.
8502 (ceil): Likewise.
8503 (ceilf): Likewise.
8504 (floor): Likewise.
8505 (floorf): Likewise.
8506
3e5aef87
L
85072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8508
428bd707
L
8509 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8510 on both fields and cast pointer to __syscall_ulong_t.
8511
3e5aef87
L
8512 * bits/types.h (__fsword_t): New type.
8513 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8514 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8516 (__FSWORD_T_TYPE): Likewise.
8517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8518 (__FSWORD_T_TYPE): Likewise.
8519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8520 (__FSWORD_T_TYPE): Likewise.
8521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8522 (__FSWORD_T_TYPE): Likewise.
8523 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8524 __SWORD_TYPE with __fsword_t.
8525 (statfs64): Likewise.
8526
1ba7c3dc
DM
85272012-05-17 David S. Miller <davem@davemloft.net>
8528
8529 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8530
59910343
AJ
85312012-05-17 Andreas Jaeger <aj@suse.de>
8532
8533 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8534 warning.
8535
2e4c1e9e
L
85362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8539
de7f5ce7
AJ
85402012-05-17 Andreas Jaeger <aj@suse.de>
8541
8542 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8543 when it is used.
8544
286abc3d
CM
85452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8546
8547 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8548
477cc68e
L
85492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8550
8551 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8552 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8553
1a0994f5
CD
85542012-05-17 Andreas Jaeger <aj@suse.de>
8555 Carlos O'Donell <carlos_odonell@mentor.com>
8556
8557 [BZ #14059]
8558 * sysdeps/x86_64/multiarch/init-arch.h
8559 (bit_YMM_Usable): Rename to...
8560 (bit_AVX_Usable): ... this.
8561 (bit_FMA4_Usable): New macro.
8562 (bit_XMM_state): New macro.
8563 (bit_YMM_state): New macro.
8564 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8565 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8566 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8567 (CPUID_OSXSAVE): New macro.
8568 (CPUID_AVX): New macro.
8569 (CPUID_FMA4): New macro.
8570 (index_YMM_Usable): Rename to...
8571 (index_AVX_Usable): ... this.
8572 (HAS_AVX): Use HAS_ARCH_FEATURE.
8573 (HAS_FMA4): Likewise.
8574 (HAS_YMM_USABLE): Remove.
8575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8576 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8577 are present.
8578 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8579 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8580 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8581 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8582 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8583
0af797de
CM
85842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8585
8586 * math/libm-test.c: Support platforms without multiple rounding modes.
8587 * math/bug-nextafter.c: Support platforms without FP exceptions.
8588 * math/bug-nexttoward.c: Likewise.
8589 * math/test-fenv.c: Likewise.
8590 * math/test-misc.c: Likewise.
8591 * stdlib/bug-getcontext.c: Likewise.
8592
e39745ff
AJ
85932012-05-17 Andreas Jaeger <aj@suse.de>
8594
8595 * manual/examples/search.c (critter_cmp): Change signature to
8596 avoid warnings.
8597 * manual/string.texi (Collation Functions): Likewise.
8598
48970aba
L
85992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * bits/types.h: Fold copyright years.
8602 * bits/typesizes.h: Likewise.
8603 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8607 * time/time.h: Likewise.
8608
bedee953
PP
86092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8610
8611 [BZ #208]
8612 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8613 in instead of returning them. Return void.
8614 (__libc_mallinfo): Accumulate over all arenas.
8615 (__malloc_stats): Adjust for change in int_mallinfo interface.
8616
61653dfb
RM
86172012-05-16 Roland McGrath <roland@hack.frob.com>
8618
30b99d79
RM
8619 [BZ #10375]
8620 * configure.in (NM): Add AC_CHECK_TOOL for it.
8621 (libc_extra_cflags): New substituted variable.
8622 Check for -fstack-protector being used implicitly.
8623 * configure: Regenerated.
8624 * config.make.in (config-extra-cflags): New variable,
8625 gets @libc_extra_cflags@.
8626 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8627
61653dfb
RM
8628 [BZ #10375]
8629 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8630 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8631 * configure: Regenerated.
8632 * config.make.in (CPPUNDEFS): New substituted variable.
8633 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8634 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8635 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8636
661768bb
L
86372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8638
8639 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8640 (mq_attr): Use __syscall_slong_t.
8641
d4261567
L
86422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8643
8644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8645 Check __x86_64__ instead of __WORDSIZE.
8646 (_STAT_VER_LINUX): Likewise.
8647 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8648 __syscall_ulong_t and __syscall_slong_t.
8649 (stat64): Likewise.
8650
cf3ff365
L
86512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8652
8653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8654
76cf3e4d
L
86552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8658
a637753a
L
86592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8660
8661 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8662 __syscall_ulong_t.
8663
d5e05119
L
8664 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8665 include <bits/wordsize.h>. Check __x86_64__ instead of
8666 __WORDSIZE.
8667 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8668 defined.
8669 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8670
f62ee380
L
8671 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8672 include <bits/wordsize.h>. Check __x86_64__ instead of
8673 __WORDSIZE.
8674 (user_regs_struct): Use "__extension__ unsigned long long"
8675 instead of "unsigned long" if __x86_64__ is defined.
8676 (user): Likewise. Pad after pointer field if __ILP32__ is
8677 defined.
8678
4e124ced
JM
86792012-05-16 Joseph Myers <joseph@codesourcery.com>
8680
6a3951a0
JM
8681 * configure.in (makeinfo): Require version 4.5 or later. Allow
8682 versions 5 to 9.
8683 * configure: Regenerated.
8684 * manual/install.texi (texinfo): Increase version requirement to
8685 4.5 or later.
8686 * INSTALL: Regenerated.
8687
4e124ced
JM
8688 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8689
953ca31a
L
86902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8691
8692 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8693
617aca05
L
8694 * sysdeps/x86_64/x32/ffs.c: New file.
8695
5762f7ae
L
8696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8697 __syscall_ulong_t.
8698 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8699 defined. Use __syscall_ulong_t.
8700 (shminfo): Use __syscall_ulong_t.
8701 (shm_info): Likewise.
8702
a26b6856
L
8703 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8704 __syscall_ulong_t.
8705
cb2b9ef7
L
8706 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8707 <bits/wordsize.h>.
8708 (msgqnum_t): Use __syscall_ulong_t.
8709 (msglen_t): Likewise.
8710 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8711 __syscall_ulong_t.
8712
34683bb0
L
8713 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8714 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8715
84a68786
L
8716 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8717
48baa5f1
L
8718 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8719 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8720
180be88b
L
8721 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8722 __syscall_slong_t.
8723
5e90c8ad
L
8724 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8725 include <bits/wordsize.h>. Check __x86_64__ instead of
8726 __WORDSIZE.
8727
23dfb58b
L
8728 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8729 "unsigned long long int" if __x86_64__ is defined.
8730 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8731
ce5d54b0
L
8732 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8733 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8734 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8735
13dc9eac
L
8736 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8737 <stdint.h>.
8738 (GET_PC): Cast to uintptr_t first.
8739 (GET_FRAME): Likewise.
8740 (GET_STACK): Likewise.
8741
a7895d15
L
8742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8743 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8748 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8749 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8750 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8754 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8756 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8757 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8758 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8763 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8764 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8765 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8766 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8767 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8768 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8769 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8770 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8771
656416c9
AS
87722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8773
5bd66283
AS
8774 * Makerules (+depfiles): Also collect depfiles from .oS in
8775 $(extra-objs).
8776 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8777 .oS, $(libnldbl-routines)).
8778
656416c9
AS
8779 * Makerules (native-compile-mkdep-flags): Define.
8780 * sunrpc/Makefile (extra-objs): Add $(addprefix
8781 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8782 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8783 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8784 calling $(make-target-directory).
8785
a46f2169
L
87862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8787
8788 * bits/types.h (__snseconds_t): Removed.
8789 * time/time.h (struct timespec): Replace __snseconds_t with
8790 __syscall_slong_t.
8791 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8792 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8793 Likewise.
8794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8795 (__SNSECONDS_T_TYPE): Likewise.
8796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8797 (__SNSECONDS_T_TYPE): Likewise.
8798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8799 (__SNSECONDS_T_TYPE): Likewise.
8800
6af6528b
L
88012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8802
8803 * sysdeps/mach/hurd/bits/typesizes.h
8804 (__SYSCALL_SLONG_TYPE): New macro.
8805 (__SYSCALL_ULONG_TYPE): Likewise.
8806
de986b56
L
88072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8808
8809 * bits/types.h (__syscall_slong_t): New type.
8810 (__syscall_ulong_t): Likewise.
8811
8812 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8813 (__SYSCALL_ULONG_TYPE): Likewise.
8814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8815 (__SYSCALL_SLONG_TYPE): Likewise.
8816 (__SYSCALL_ULONG_TYPE): Likewise.
8817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8818 (__SYSCALL_SLONG_TYPE): Likewise.
8819 (__SYSCALL_ULONG_TYPE): Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8821 (__SYSCALL_SLONG_TYPE): Likewise.
8822 (__SYSCALL_ULONG_TYPE): Likewise.
8823
85736dc7
L
88242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8825
8826 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8827 Add sigaltstack-offsets.sym.
8828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8829 <sigaltstack-offsets.h>.
8830 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8831 longjmp_msg pointer.
8832 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8833 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8834 signal stack.
8835 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8836
cc03b296
JM
88372012-05-15 Joseph Myers <joseph@codesourcery.com>
8838
a9538892
JM
8839 * elf/stackguard-macros.h: Remove file.
8840 * sysdeps/generic/stackguard-macros.h: New file.
8841 * sysdeps/i386/stackguard-macros.h: Likewise.
8842 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8843 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8844 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8845 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8846 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8847 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8848 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8849 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8850 <elf/stackguard-macros.h>.
8851
cc03b296
JM
8852 [BZ #14109]
8853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8854 __aligned__ in attribute.
8855 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8856 (gregset_t): Likewise.
8857
93171016
L
88582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8861 * sysdeps/x86_64/64/Implies-after: Here. New file.
8862 * sysdeps/x86_64/x32/Implies-after: New file.
8863
d86813a0
L
88642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8867 and access return value for _dl_profile_fixup. Use R10_LP to
8868 load frame size.
8869
2953ec75
L
88702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8873
3b550e9e
L
88742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8875
8876 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8877 * sysdeps/x86_64/x32/sysdep.h: New file.
8878
eda41706
L
88792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8880
8881 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8882 * sysdeps/x86_64/setjmp.S: Likewise.
8883
9ea01d93
AZ
88842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8885
8886 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8888 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8889 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8890 remove unused global constant.
8891
02a91938
CM
88922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8893
8894 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8895 include of <not-cancel.h>.
8896
6540185f
RM
88972012-05-15 Roland McGrath <roland@hack.frob.com>
8898
8899 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8900
509072a0
AJ
89012012-05-15 Jeff Law <law@redhat.com>
8902 Andreas Jaeger <aj@suse.de>
8903
8904 [BZ #13594]
8905 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8906 out from...
8907 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8908 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8910 code changing __hst_map_handle.map.
8911
ba75122d
RM
89122012-05-15 Roland McGrath <roland@hack.frob.com>
8913
8914 * configure.in (sysnames): Look for Implies-before and Implies-after
8915 files.
8916 * configure: Regenerated.
8917
890d8bd8
L
89182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8919
8920 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8921 8-byte data alignment with LP_SIZE alignment.
8922
f6ee6623
L
89232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8924
8925 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8926 into R10_LP.
8927
ea2626f6
L
89282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8929
8930 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8931
085f715e
L
89322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8933
8934 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8935 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8937 Likewise.
8938 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8939
be8498fc
L
89402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8941
8942 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8943 (stackinfo_sub_sp): Likewise.
8944
70bc83b9
L
89452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8946
8947 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8948 RAX_LP.
8949
9bc0b730
L
89502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8951
8952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8953 into R*_LP.
8954
6d2850e7
L
89552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8956
8957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8958 sizes into R*_LP.
8959
3cb84561
L
89602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8961
8962 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8963
54e2ed81
L
89642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8965
8966 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8967 into R11_LP and load __x86_64_shared_cache_size_half into
8968 R8_LP.
8969
8a17f349
L
89702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8971
8972 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8973 R8_LP.
8974
777b1eea
AZ
89752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8976
8977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8978 logb for POWER7.
8979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8980 logbf for POWER7.
8981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8982 logbl for POWER7.
8983 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8984 powerpc32/power7/fpu/s_logb.c via #include.
8985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8986 powerpc32/power7/fpu/s_logbf.c via #include.
8987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8988 powerpc32/power7/fpu/s_logbl.c via #include.
8989
d20d4ac2
JM
89902012-05-15 Joseph Myers <joseph@codesourcery.com>
8991
8992 * README.libm: Remove file.
8993
6cdef1ab
L
89942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8995
8996 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8997 count for x32. Use R*_LP and omit operand-size suffix.
8998
0b254d8f
L
89992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9002 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9003 * sysdeps/x86_64/x32/shlib-versions: New file.
9004
ceb809dc
RM
90052012-05-14 Roland McGrath <roland@hack.frob.com>
9006
9007 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9008 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9009 Use _dl_fatal_printf instead.
9010
37f1abd4
JM
90112012-05-14 Joseph Myers <joseph@codesourcery.com>
9012
9013 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9014 set if not set by the user. Do not allow for being unset.
9015 * sysdeps/unix/sysv/linux/configure: Regenerated.
9016
11de3a33
L
90172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9020 the `q' suffix from lea and replace .quad with ASM_ADDR.
9021
e02f153a
L
90222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9023
9024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9025 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9026 instead of $17.
9027 (PTR_DEMANGLE): Likewise.
9028
520ae0fd
L
90292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9032 (LP_OP): Likewise.
9033 (ASM_ADDR): Likewise.
9034 (RAX_LP): Likewise.
9035 (RBP_LP): Likewise.
9036 (RBX_LP): Likewise.
9037 (RCX_LP): Likewise.
9038 (RDI_LP): Likewise.
9039 (RSI_LP): Likewise.
9040 (RSP_LP): Likewise.
9041 (R8_LP): Likewise.
9042 (R9_LP): Likewise.
9043 (R10_LP): Likewise.
9044 (R10_LP): Likewise.
9045 (R11_LP): Likewise.
9046 (R12_LP): Likewise.
9047 (R13_LP): Likewise.
9048 (R14_LP): Likewise.
9049 (R15_LP): Likewise.
9050
b985be81
L
90512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9052
9053 * sysdeps/x86_64/x32/dl-machine.h: New file.
9054
6a4888ff
AJ
90552012-05-14 Andreas Jaeger <aj@suse.de>
9056
9057 * manual/Makefile (subdir): Remove export of subdir.
9058 (all): Remove target.
9059 (.PHONY): Remove all from list.
9060 (mkinstalldirs): Remove.
9061 (.PHONY): Remove installdirs from list.
9062 ($(inst_infodir)/libc.info): Use make-target-directory.
9063 (installdirs): Remove.
9064 (subdir_%): Remove.
9065 (glibc-targets): Remove.
9066 (lib): Remove.
9067 (stubs): Remove.
9068 ($(objpfx)stubs ../po/manual.pot): Remove.
9069 ($(objpfx)stamp%): Remove.
9070 (make-target-directory): Remove.
9071 (subdir_install): Remove.
9072 (routines): Remove.
9073 (aux): Remove.
9074 (sources): Remove.
9075 (objects): Remove.
9076 (headers): Remove.
9077
9078 [BZ #13750]
9079 * manual/.gitignore: Remove, it's not needed anymore.
9080 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9081 all files in it.
9082 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9083 directory.
9084 (texis): Renamed to $(objpfx)texis.
9085 (texis-path): New, contains path to generated files.
9086 (chapters.%): Use texis-path for complete path, add extra argument
9087 libc-texinfo.sh.
9088 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9089 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9090 (summary,texi, stamp-summary): Use complete path of
9091 files. Generate files in build dir.
9092 (dir-add.texi): Build in build dir.
9093 (libm-err.texi,stamp-libm-err): Likewise.
9094 (version.texi, stamp-version): Likewise.
9095 (.%c.texi): Likewise.
9096 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9097 (mostlyclean): Remove target.
9098 (realclean): Remove target.
9099 (generated): Add new variable with contents from mostlyclean and
9100 realclean, remove entries duplicated in common-mostlyclean, add
9101 stamp-libm-err and stamp-version.
9102 (generated-dirs): Add libc directory.
9103 ($(inst_infodir)/libc.info): Install files from build dir.
9104
9105 * manual/install.texi (Configuring and compiling): Adjust since
9106 the info files are not part of the tar ball anymore.
9107
7ac77294
AJ
91082012-05-14 Andreas Jaeger <aj@suse.de>
9109
9110 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9111 variable.
9112
ffb7875d
JM
91132012-05-14 Joseph Myers <joseph@codesourcery.com>
9114
9115 [BZ #13717]
9116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9117 to 2.2.0 where earlier.
9118 * sysdeps/unix/sysv/linux/configure: Regenerated.
9119 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9120 Remove conditional code.
9121 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9122 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9123 Remove conditional code.
9124 [!__NR_lchown]: Likewise.
9125 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9126 [__NR_lchown]: Likewise.
9127 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9128 comment referencing __ASSUME_LCHOWN_SYSCALL.
9129 * sysdeps/unix/sysv/linux/i386/sigaction.c
9130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9132 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9133 Remove conditional code.
9134 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9135 (__protocol_available): Remove #if 0 code.
9136 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9137 conditional code.
9138 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9139 * sysdeps/unix/sysv/linux/kernel-features.h
9140 (__ASSUME_GETCWD_SYSCALL): Don't define.
9141 (__ASSUME_REALTIME_SIGNALS): Likewise.
9142 (__ASSUME_PREAD_SYSCALL): Likewise.
9143 (__ASSUME_PWRITE_SYSCALL): Likewise.
9144 (__ASSUME_POLL_SYSCALL): Likewise.
9145 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9146 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9147 non-SPARC.
9148 (__ASSUME_SIOCGIFNAME): Don't define.
9149 (__ASSUME_MSG_NOSIGNAL): Likewise.
9150 (__ASSUME_SENDFILE): Define unconditionally.
9151 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9152 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9153 conditional code.
9154 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9155 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9157 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9158 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9159 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9160 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9165 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9185 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9186 Remove conditional code.
9187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9188 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9189 Remove conditional code.
9190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9191 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9192 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9193 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9194 Remove conditional code.
9195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9196 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9197 Remove conditional code.
9198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9199 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9200 Remove conditional code.
9201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9202 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9203 Remove conditional code.
9204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9205 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9206 Remove conditional code.
9207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9208 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9211 * sysdeps/unix/sysv/linux/sigaction.c
9212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9214 * sysdeps/unix/sysv/linux/sigpending.c
9215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9217 * sysdeps/unix/sysv/linux/sigprocmask.c
9218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9220 * sysdeps/unix/sysv/linux/sigsuspend.c
9221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9224 (__libc_missing_rt_sigs): Remove.
9225 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9226 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9227 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9228 Remove conditional code.
9229 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9230 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9231 return 1.
9232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9233 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9235 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9236
1bfb7291
AJ
92372012-05-14 Andreas Jaeger <aj@suse.de>
9238
caae5a81
AJ
9239 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9240 it's not used in glibc.
9241 (__coshm1): Likewise.
9242 (__acosh1p): Likewise.
9243 (__sgn): Likewise.
9244
1bfb7291
AJ
9245 * manual/string.texi (Copying and Concatenation): Add missing
9246 variable in concat example.
9247 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9248
c044d724
L
92492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9250
144c5467 9251 [BZ #14103]
c044d724
L
9252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9253 __builtin_clzl with __builtin_clzll.
9254
2523c62b
L
92552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9256
9257 [BZ #14104]
9258 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9259 libc_freeres_ptr.
9260
d7bb4c42
LD
92612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9262
9263 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9264 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9265 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9267
9dc4e1fb
MF
92682012-05-14 Mike Frysinger <vapier@gentoo.org>
9269
9270 * NEWS: Update ia64 info.
9271
c7df0112
AS
92722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9273
9274 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9275 used as bcopy.
9276
dc70356c
TS
92772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9278
9279 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9280 * sysdeps/unix/syscalls.list (dup3): Likewise.
9281 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9282 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9283
9fb1a21f
L
92842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9285
9286 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9287 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9288
4822a2a5
L
92892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9292 thread pointer.
9293 (TLS_IE): Use mov/add instead of movq/addq to load thread
9294 pointer.
9295 (TLS_GD_PREFIX): New.
9296 (TLS_GD): Use it.
9297
842b81d6
DM
92982012-05-11 David S. Miller <davem@davemloft.net>
9299
9300 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9301 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9302 (_FPU_SETCW): Likewise.
9303
1cf463cd
L
93042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9305
9306 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9307 is 32-byte aligned.
9308
60cc4a18
AS
93092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9310
9311 [BZ #11837]
9312 * iconvdata/gb18030.c: Update tables.
9313 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9314 characters specially.
9315 (BODY for TO_LOOP): Add encoding of missing ranges.
9316
febb44a4
TS
93172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9318
9319 [BZ #13673]
9320 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9321 * sysdeps/mach/hurd/dup3.c: Likewise.
9322 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9323 * sysdeps/powerpc/memmove.c:: Likewise.
9324
0a10fb9e
L
93252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9326
9327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9328 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9329
df8a552f
L
93302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9331
9332 * elf/elf.h (R_X86_64_RELATIVE64): New.
9333 (R_X86_64_NUM): Updated.
9334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9335 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9336 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9337 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9338 tst-quad1pie tst-quad2pie
9339 (modules-names): Add tst-quadmod1 tst-quadmod2.
9340 ($(objpfx)tst-quad1): New dependency.
9341 ($(objpfx)tst-quad2): Likewise.
9342 ($(objpfx)tst-quad1pie): Likewise.
9343 ($(objpfx)tst-quad2pie): Likewise.
9344 * sysdeps/x86_64/tst-quad1.c: New file.
9345 * sysdeps/x86_64/tst-quad1pie.c: New file.
9346 * sysdeps/x86_64/tst-quad2.c: Likewise.
9347 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9348 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9349 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9350 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9351 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9352
f34d6f84
ST
93532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9354
f42d41d1
ST
9355 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9356 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9357 * streams/stropts.h (t_scalar_t): Define type.
9358
3c3571fc
ST
9359 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9360 (_PATH_PRESERVE): Set to "/var/lib".
9361 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9362
61f06bd3
ST
9363 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9364 instead of int.
9365
918d4d71
ST
9366 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9367 if __dir_mkfile succeeded.
9368
f34d6f84
ST
9369 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9370 checking for _hurd_dtablesize. Unlock it right after having
9371 finished _hurd_dtable allocation.
9372
10589b4a
TS
93732012-05-10 Thomas Schwinge <thomas@schwinge.name>
9374
674cdbc7
TS
9375 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9376 * sysdeps/mach/hurd/configure: Regenerated.
9377 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9378 special-casing to...
9379 * sysdeps/gnu/configure.in: ... this new file.
9380 * sysdeps/unix/sysv/linux/configure: Regenerated.
9381 * sysdeps/gnu/configure: New generated file.
9382
8e41b99f
TS
9383 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9384 for Linux: use nsec instead of usec, as well as:
9385 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9386 members of type struct timespec.
9387 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9388 New macros.
9389 (struct stat64): Likewise.
9390 (_STATBUF_ST_NSEC): New macro.
9391 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9392
10589b4a
TS
9393 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9394 __strtoul_internal rather than strtoul.
9395
63643c85
PT
93962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9397
9398 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9399 and reject them.
9400
3faebe6a
ST
94012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9402
9403 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9404 which preserves existing values.
9405 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9406
c6474b07
PT
94072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9408
9409 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9410 TIMEOUT values. Return EINVAL for NFDS values either negative or
9411 greater than FD_SETSIZE.
9412
1043890b
ST
94132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9414
9415 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9416 allocated, call __vm_protect to finish enabling the existing space, and
9417 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9418 allocate the remainder.
9419
37ed8b9b
PT
94202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9421
9422 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9423 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9424
db653660
ST
94252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9426
37ed8b9b
PT
9427 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9428 sysdeps/mach/hurd/readlink.c.
b29d4053 9429
db653660
ST
9430 * posix/tst-sysconf.c (posix_options): Only use
9431 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9432 _POSIX_SYNCHRONIZED_IO when they are defined
9433 * sysdeps/mach/hurd/bits/posix_opt.h:
9434 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9435 (_XOPEN_REALTIME): Undefine macro.
9436 (_XOPEN_REALTIME_THREADS): Undefine macro.
9437 (_XOPEN_SHM): Undefine macro.
9438 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9439 macro to -1.
9440 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9441 macro to -1.
9442 (_POSIX_ASYNC_IO): Undefine macro.
9443 (_POSIX_PRIORITIZED_IO): Undefine macro.
9444 (_POSIX_SPIN_LOCKS): Define macro to -1.
9445
ee16e894
ST
9446 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9447 SA_NODEFER, SA_RESETHAND.
9448 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9449 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9450 F_DUPFD_CLOEXEC.
9451
6103ae3b
TS
94522012-05-10 Thomas Schwinge <thomas@schwinge.name>
9453
9454 * elf/Makefile (pldd-modules): Define unconditionally.
9455
80b4e5f3
TS
94562012-05-10 Thomas Schwinge <thomas@schwinge.name>
9457
9458 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9459
edadcbd6
ST
94602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9461
9462 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9463 Return ENOENT when name is empty.
9464 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9465
80694780
TS
94662012-05-10 Thomas Schwinge <thomas@schwinge.name>
9467
1792c087
TS
9468 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9469
80694780
TS
9470 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9471
6b645f0d
ST
94722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9473
80694780
TS
9474 Fix mlock in all cases except non-readable pages.
9475 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9476 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9477
6b645f0d
ST
9478 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9479 (__mkdir): When path is `/', just fail with EEXIST.
9480 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9481
e468f8a3
TS
94822012-05-10 Thomas Schwinge <thomas@schwinge.name>
9483
9484 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9485 <sys/uio.h> (for writev).
9486 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9487 and <sys/param.h> (for MIN).
9488
a4186cff
PT
94892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9490
9491 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9492 REQUESTED_TIME. Properly set the remaining time and return EINTR
9493 if interrupted.
9494
510bbf14
TS
94952012-05-10 Thomas Schwinge <thomas@schwinge.name>
9496
9497 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9498 Depend on against $(link-rpcuserlibs).
9499
5d5722e8
ST
95002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9501
a4186cff
PT
9502 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9503 (__libc_stack_end): Do not use attribute_relro.
9504 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9505 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9506 to libthread-provided value.
a4186cff
PT
9507 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9508 attribute_relro.
5d5722e8 9509
37233df9
TS
95102012-05-10 Thomas Schwinge <thomas@schwinge.name>
9511
be971a2b
TS
9512 [BZ #3748]
9513 * bits/libc-lock.h (__libc_once_get): New macro.
9514 * sysdeps/mach/bits/libc-lock.h: Likewise.
9515 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9517 instead of using implementation details.
9518
37233df9
TS
9519 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9520 * libio/freopen.c: Likewise.
9521 * libio/freopen64.c: Likewise.
9522 * misc/syslog.c: Likewise.
9523 * nscd/connections.c: Likewise.
9524 * nscd/netgroupcache.c: Likewise.
9525 * sysdeps/posix/getcwd.c: Likewise.
9526
38de94a5
RM
95272012-05-10 Roland McGrath <roland@hack.frob.com>
9528
9529 * math/w_ilogbf.c: Add #include <limits.h>.
9530
67530489
ST
95312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9532
a4186cff 9533 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9534 path instead of returning without unlocking.
9535
67530489
ST
9536 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9537 immediate-write ioctls.
9538 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9539
5aa3a74a
TS
95402012-05-10 Thomas Schwinge <thomas@schwinge.name>
9541
18bad2ae
TS
9542 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9543 __builtin_frame_address instead of making assumptions about the
9544 location of the return address relative to DATA. Force early load of
9545 the return address.
9546 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9547 __builtin_frame_address.
9548
5aa3a74a
TS
9549 dup3 for GNU Hurd.
9550 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9551 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9552 implement dup3 and do some further code clean-ups.
9553 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9555
ecd0de9a
ST
95562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9557
cd9fa985
ST
9558 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9559
a4186cff
PT
9560 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9561 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9562 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9563 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9564 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9565 d->port.lock.
802ca5a5 9566
a4186cff
PT
9567 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9568 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9569 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9570
bcf55240
TS
95712012-05-10 Thomas Schwinge <thomas@schwinge.name>
9572
6960eb42
TS
9573 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9574 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9575 definitions.
9576
eb43375f
TS
9577 accept4 for GNU Hurd.
9578 * include/sys/socket.h (__libc_accept4): New prototype.
9579 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9580 to implement __libc_accept4.
9581 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9582 __libc_accept4.
9583 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9584
bcf55240
TS
9585 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9586 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9587 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9588 signal-defines.sym.
9589
6178c55b
ST
95902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9591
a4186cff 9592 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9593
6f080c2f
TS
95942012-05-10 Thomas Schwinge <thomas@schwinge.name>
9595
9596 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9597 assertion on O_CLOEXEC flag.
9598 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9599 * hurd/intern-fd.c: Likewise.
9600 * hurd/port2fd.c: Likewise.
9601
bcfe3a54
ST
96022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9603
9604 [BZ #3906]
9605 * bits/in.h (IPV6_PKTINFO): Define new macro.
9606 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9607
89c9aa49
AZ
96082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9609
9610 [BZ #13954]
9611 [BZ #13955]
9612 [BZ #13956]
9613 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9615 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9616 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9618 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9619 * math/libm-test.inc (logb_test) : Additional logb tests.
9620
021db4be
AJ
96212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9622 Andreas Jaeger <aj@suse.de>
9623
9624 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9625 * configure: Regenerated.
9626 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9627 * config.make.in (link-obsolete-rpc): New substituted variable.
9628 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9629 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9630 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9631 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9632 so that libc.a contains the symbols.
9633 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9634 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9635 * sunrpc/auth_none.c: Likewise.
9636 * sunrpc/auth_unix.c: Likewise.
9637 * sunrpc/authdes_prot.c: Likewise.
9638 * sunrpc/authuxprot.c: Likewise.
9639 * sunrpc/clnt_gen.c: Likewise.
9640 * sunrpc/clnt_perr.c: Likewise.
9641 * sunrpc/clnt_raw.c: Likewise.
9642 * sunrpc/clnt_simp.c: Likewise.
9643 * sunrpc/clnt_tcp.c: Likewise.
9644 * sunrpc/clnt_udp.c: Likewise.
9645 * sunrpc/clnt_unix.c: Likewise.
9646 * sunrpc/des_crypt.c: Likewise.
9647 * sunrpc/des_soft.c: Likewise.
9648 * sunrpc/get_myaddr.c: Likewise.
9649 * sunrpc/key_call.c: Likewise.
9650 * sunrpc/key_prot.c: Likewise.
9651 * sunrpc/netname.c: Likewise.
9652 * sunrpc/pm_getmaps.c: Likewise.
9653 * sunrpc/pm_getport.c: Likewise.
9654 * sunrpc/pmap_clnt.c: Likewise.
9655 * sunrpc/pmap_prot.c: Likewise.
9656 * sunrpc/pmap_prot2.c: Likewise.
9657 * sunrpc/pmap_rmt.c: Likewise.
9658 * sunrpc/publickey.c: Likewise.
9659 * sunrpc/rpc_cmsg.c: Likewise.
9660 * sunrpc/rpc_common.c: Likewise.
9661 * sunrpc/rpc_dtable.c: Likewise.
9662 * sunrpc/rpc_prot.c: Likewise.
9663 * sunrpc/rpc_thread.c: Likewise.
9664 * sunrpc/rtime.c: Likewise.
9665 * sunrpc/svc.c: Likewise.
9666 * sunrpc/svc_auth.c: Likewise.
9667 * sunrpc/svc_raw.c: Likewise.
9668 * sunrpc/svc_run.c: Likewise.
9669 * sunrpc/svc_tcp.c: Likewise.
9670 * sunrpc/svc_udp.c: Likewise.
9671 * sunrpc/svc_unix.c: Likewise.
9672 * sunrpc/svcauth_des.c: Likewise.
9673 * sunrpc/xcrypt.c: Likewise.
9674 * sunrpc/xdr.c: Likewise.
9675 * sunrpc/xdr_array.c: Likewise.
9676 * sunrpc/xdr_float.c: Likewise.
9677 * sunrpc/xdr_intXX_t.c: Likewise.
9678 * sunrpc/xdr_mem.c: Likewise.
9679 * sunrpc/xdr_rec.c: Likewise.
9680 * sunrpc/xdr_ref.c: Likewise.
9681 * sunrpc/xdr_sizeof.c: Likewise.
9682 * sunrpc/xdr_stdio.c: Likewise.
9683
b5c086a2
RM
96842012-05-10 Roland McGrath <roland@hack.frob.com>
9685
9686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9687 change. Update copyright years.
9688
6d74dd09
JM
96892012-05-10 Joseph Myers <joseph@codesourcery.com>
9690
9691 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9692
28e72501
MK
96932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9694 Joseph Myers <joseph@codesourcery.com>
9695 Paul Pluzhnikov <ppluzhnikov@google.com>
9696
9697 [BZ #14012]
9698 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9699 requiring rpcgen.
9700 [cross-compiling] (extra-libs): Likewise.
9701 [cross-compiling] (extra-libs-others): Likewise.
9702 [cross-compiling] (librpcsvc-routines): Likewise.
9703 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9704 [cross-compiling] (omit-deps): Likewise.
9705 (sunrpc-CPPFLAGS): New variable.
9706 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9707 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9708 (cross-rpcgen-objs): New variable.
9709 (extra-objs): Append $(cross-rpcgen-objs).
9710 ($(cross-rpcgen-objs)): New rule.
9711 ($(objpfx)cross-rpcgen): Likewise.
9712 (rpcgen-cmd): Define to use $(built-program-file). Expand
9713 comment.
9714 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9715 ($(objpfx)x%.stmp): Likewise.
9716 * sunrpc/proto.h [IS_IN_build] (_): Define.
9717 [IS_IN_build] (_libc_intl_domainname): Likewise.
9718
c8c59454
L
97192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9720
9721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9722 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9723 and R_X86_64_TPOFF64.
9724
6f27cd16
JM
97252012-05-10 Joseph Myers <joseph@codesourcery.com>
9726
9727 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9728 sysdeps/unix/sysv/syscalls.list.
9729 (stime): Likewise.
9730 (utime): Likewise.
9731 * sysdeps/unix/sysv/syscalls.list: Remove file.
9732
02467e1c
PE
97332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9734
9735 [BZ #3440]
9736 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9737 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9738 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9739 (__LC_IDENTIFICATION): Make these macros useful in #if
9740 expressions, as required by C99.
9741
da392631
AS
97422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9743
9744 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9745 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9746 after this.
9747
8115f29b
L
97482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * stdlib/longlong.h: Updated from GCC.
9751
bdd74070
AJ
97522012-05-09 Andreas Jaeger <aj@suse.de>
9753
edfe0dbe
AJ
9754 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9755 default is first entry.
9756 (run_mode): Set type.
9757 (main): Remove informal message about syslog.
9758 (options): Fix typo.
9759
bcfe3a54
ST
9760 [BZ #14053]
9761 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9762 to asm.
bcfe3a54
ST
9763 (lrint): Likewise.
9764 (llrintf): Likewise.
9765 (llrint): Likewise.
9766 (rint): Likewise.
9767 (rintf): Likewise.
9768 (nearbyint): Likewise.
9769 (nearbyintf): Likewise.
bdd74070 9770
91d8d69e
AJ
97712012-05-09 Andreas Jaeger <aj@suse.de>
9772 Pedro Alves <palves@redhat.com>
9773
9774 * nscd/nscd.c (run_mode): Use enum.
9775 (main): Cleanup coding style issue.
9776
bb90b80b
AJ
97772012-05-09 Alexandre Oliva <aoliva@redhat.com>
9778 Andreas Jaeger <aj@suse.de>
9779
bcfe3a54
ST
9780 * nscd/nscd.c (go_background): Replaced with...
9781 (run_mode): ... this.
bb90b80b 9782 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9783 (options): Add -F --foreground.
9784 (main): Implement it.
9785 (parse_opt): Parse it.
bb90b80b 9786
1a4b75a1
AJ
97872012-05-09 Andreas Jaeger <aj@suse.de>
9788
9789 [BZ #14083]
9790 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9791 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9792 -Wconversion warning.
9793 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9794 Likewise.
9795
b1cc2472
JM
97962012-05-09 Joseph Myers <joseph@codesourcery.com>
9797
9798 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9799 == 0.
9800 (LC_ALL): Use macro-int-constant.
9801 (LC_COLLATE): Likewise.
9802 (LC_CTYPE): Likewise.
9803 (LC_MESSAGES): Likewise.
9804 (LC_MONETARY): Likewise.
9805 (LC_NUMERIC): Likewise.
9806 (LC_TIME): Likewise.
9807 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9808 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9810 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9811 Specify type.
9812 [C99-based standards] (float_t): Expect type.
9813 [C99-based standards] (double_t): Expect type.
9814 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9815 type.
9816 [C99-based standards] (HUGE_VALL): Likewise.
9817 [C99-based standards] (INFINITY): Likewise.
9818 [C99-based standards] (NAN): Likewise.
9819 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9820 [C99-based standards] (FP_NAN): Likewise.
9821 [C99-based standards] (FP_NORMAL): Likewise.
9822 [C99-based standards] (FP_SUBNORMAL): Likewise.
9823 [C99-based standards] (FP_ZERO): Likewise.
9824 [C99-based standards] (FP_FAST_FMA): Use
9825 optional-macro-int-constant. Specify type. Require == 1.
9826 [C99-based standards] (FP_FAST_FMAF): Likewise.
9827 [C99-based standards] (FP_FAST_FMAL): Likewise.
9828 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9829 [C99-based standards] (FP_ILOGBNAN): Likewise.
9830 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9831 Specify type.
9832 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9833 [C99-based standards] (math_errhandling): Specify type.
9834 [ISO99 || ISO11] (signgam): Do not allow.
9835 [non-C99-based standards] (copysignf): Do not allow.
9836 [non-C99-based standards] (exp2f): Likewise.
9837 [non-C99-based standards] (log2f): Likewise.
9838 [non-C99-based standards] (modff): Allow.
9839 [non-C99-based standards] (erff): Do not allow.
9840 [non-C99-based standards] (erfcf): Likewise.
9841 [non-C99-based standards] (gammaf): Likewise.
9842 [non-C99-based standards] (hypotf): Likewise.
9843 [non-C99-based standards] (j0f): Likewise.
9844 [non-C99-based standards] (j1f): Likewise.
9845 [non-C99-based standards] (jnf): Likewise.
9846 [non-C99-based standards] (lgammaf): Likewise.
9847 [non-C99-based standards] (tgammaf): Likewise.
9848 [non-C99-based standards] (y0f): Likewise.
9849 [non-C99-based standards] (y1f): Likewise.
9850 [non-C99-based standards] (ynf): Likewise.
9851 [non-C99-based standards] (isnanf): Likewise.
9852 [non-C99-based standards] (acoshf): Likewise.
9853 [non-C99-based standards] (asinhf): Likewise.
9854 [non-C99-based standards] (atanhf): Likewise.
9855 [non-C99-based standards] (cbrtf): Likewise.
9856 [non-C99-based standards] (expm1f): Likewise.
9857 [non-C99-based standards] (ilogbf): Likewise.
9858 [non-C99-based standards] (log1pf): Likewise.
9859 [non-C99-based standards] (logbf): Likewise.
9860 [non-C99-based standards] (nextafterf): Likewise.
9861 [non-C99-based standards] (remainderf): Likewise.
9862 [non-C99-based standards] (rintf): Likewise.
9863 [non-C99-based standards] (scalbf): Likewise.
9864 [non-C99-based standards] (copysignl): Likewise.
9865 [non-C99-based standards] (exp2l): Likewise.
9866 [non-C99-based standards] (log2l): Likewise.
9867 [non-C99-based standards] (modfl): Allow.
9868 [non-C99-based standards] (erfl): Do not allow.
9869 [non-C99-based standards] (erfcl): Likewise.
9870 [non-C99-based standards] (gammal): Likewise.
9871 [non-C99-based standards] (hypotl): Likewise.
9872 [non-C99-based standards] (j0l): Likewise.
9873 [non-C99-based standards] (j1l): Likewise.
9874 [non-C99-based standards] (jnl): Likewise.
9875 [non-C99-based standards] (lgammal): Likewise.
9876 [non-C99-based standards] (tgammal): Likewise.
9877 [non-C99-based standards] (y0l): Likewise.
9878 [non-C99-based standards] (y1l): Likewise.
9879 [non-C99-based standards] (ynl): Likewise.
9880 [non-C99-based standards] (isnanl): Likewise.
9881 [non-C99-based standards] (acoshl): Likewise.
9882 [non-C99-based standards] (asinhl): Likewise.
9883 [non-C99-based standards] (atanhl): Likewise.
9884 [non-C99-based standards] (cbrtl): Likewise.
9885 [non-C99-based standards] (expm1l): Likewise.
9886 [non-C99-based standards] (ilogbl): Likewise.
9887 [non-C99-based standards] (log1pl): Likewise.
9888 [non-C99-based standards] (logbl): Likewise.
9889 [non-C99-based standards] (nextafterl): Likewise.
9890 [non-C99-based standards] (remainderl): Likewise.
9891 [non-C99-based standards] (rintl): Likewise.
9892 [non-C99-based standards] (scalbl): Likewise.
9893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9894 [non-C99-based standards] (FP_*): Do not allow.
9895 [C99-based standards] (FP_*): Change to
9896 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9897 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9898 allow.
9899 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9900 (SIG_ERR): Likewise.
9901 [X/Open-based standards] (SIG_HOLD): Likewise.
9902 (SIG_IGN): Likewise.
9903 (SIGABRT): Use macro-int-constant. Specify type. Require
9904 positive value.
9905 (SIGFPE): Likewise.
9906 (SIGILL): Likewise.
9907 (SIGINT): Likewise.
9908 (SIGSEGV): Likewise.
9909 (SIGTER): Likewise.
9910 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9911 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9912 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9913 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9914 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9915 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9916 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9917 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9918 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9919 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9920 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9921 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9922 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9923 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9924 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9925 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9926 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9927 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9928 [X/Open-based standards] (SIGTRAP): Likewise.
9929 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9930 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9931 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9932 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9933 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9934 allow.
9935
b9f1922d
IW
99362012-05-08 Ian Wienand <ianw@vmware.com>
9937
9938 [BZ #14080]
9939 * time/tzset.c (__tzset_parse_tz): Update default rules for
9940 daylight time changes in the Energy Policy Act of 2005.
9941
1db86e88
AJ
99422012-05-09 Andreas Jaeger <aj@suse.de>
9943
9944 [BZ #13983]
9945 * elf/ldconfig.c (parse_conf): Change string to make clear that
9946 ldconfig only issued a warning if ld.so.conf does not exist.
9947
dee4a4e3
DM
99482012-05-08 David S. Miller <davem@davemloft.net>
9949
ee0db190
DM
9950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9951 movxtod instead of popping the value on the stack.
9952
dee4a4e3
DM
9953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9954
6a43ec98
CD
99552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9956
9957 * config.h.in: Add HAVE_ARM_PCS_VFP.
9958
05c2c961
RMG
99592012-05-08 Roland Mc Grath <roland@hack.frob.com>
9960
bcfe3a54
ST
9961 [BZ #13979]
9962 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9963 checking but the checks are disabled for any reason.
05c2c961 9964
4b30f61a
L
99652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9966
9967 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9968 and ELF64_R_TYPE with ELFW(R_TYPE).
9969
eee2bc67
JM
99702012-05-08 Joseph Myers <joseph@codesourcery.com>
9971
7ea5391a
JM
9972 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9973 (ulimit): Likewise.
9974
eee2bc67
JM
9975 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9976 (settimeofday): Likewise.
9977
abb66a67
MF
99782012-05-08 Mike Frysinger <vapier@gentoo.org>
9979
9980 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9981 a struct th_u2 inside the union, and move tu_block/tu_code into
9982 a new th_u3 union of tu_block/tu_code inside of that. Move
9983 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9984 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9985 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9986 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9987 (th_stuff): Change to th_u1.tu_stuff.
9988 (th_data): Define.
9989 (th_msg): Change to th_u1.th_u2.tu_data.
9990
7f18b530
DM
99912012-05-07 David S. Miller <davem@davemloft.net>
9992
05760585
DM
9993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9994
7f18b530
DM
9995 [BZ #14074]
9996 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9997 (SETUP_PIC_REG): Use it.
9998 (SETUP_PIC_REG_LEAF): Use it.
9999
495fd99f
JM
100002012-05-07 Joseph Myers <joseph@codesourcery.com>
10001
10002 [BZ #13885]
10003 [BZ #13923]
10004 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10005 USE_AS_EXPM1L.
10006 (EXPL_FINITE): Likewise.
10007 (FLDLOG): Likewise.
10008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10009 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10010 e_expl.S.
10011 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10012 USE_AS_EXPM1L.
10013 (EXPL_FINITE): Likewise.
10014 (FLDLOG): Likewise.
10015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10016 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10017 e_expl.S.
10018 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10019 test of -max_value argument for long double.
10020 * sysdeps/i386/fpu/libm-test-ulps: Update.
10021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10022
6693d694
DM
100232012-05-06 David S. Miller <davem@davemloft.net>
10024
10025 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10026 quad soft-float symbols whose references which are compiler
10027 generated.
10028 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10029
6c23e11c
JM
100302012-05-06 Joseph Myers <joseph@codesourcery.com>
10031
d8b82cad
JM
10032 [BZ #13884]
10033 [BZ #13914]
10034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10035 USE_AS_EXP10L.
10036 (EXPL_FINITE): Likewise.
10037 (FLDLOG): Likewise.
10038 (c0): Likewise.
10039 (c1): Likewise.
10040 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10041 Adjust comments for base varying.
10042 (__expl_finite): Change alias to EXPL_FINITE.
10043 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10044 e_expl.S.
10045 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10046 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10048 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10049 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10050 USE_AS_EXP10L.
10051 (EXPL_FINITE): Likewise.
10052 (FLDLOG): Likewise.
10053 (c0): Likewise.
10054 (c1): Likewise.
10055 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10056 Adjust comments for base varying.
10057 (__expl_finite): Change alias to EXPL_FINITE.
10058 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10059 tests for bugs.
10060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10061
6c23e11c
JM
10062 [BZ #14064]
10063 * math/libm-test.inc (check_float_internal): Correct ulp
10064 calculation for subnormal expected results.
10065
29ba805c
AJ
100662012-05-06 Andreas Jaeger <aj@suse.de>
10067
10068 * Makeconfig (+math-flags): New, set to -frounding-math.
10069 (+cflags): Add +math-flags so that all of glibc gets compiled with
10070 it.
10071
10072 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10073
7b17aeda
JM
100742012-05-05 Joseph Myers <joseph@codesourcery.com>
10075
5779f134
JM
10076 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10077 Disable one test.
10078
41498f4d
JM
10079 [BZ #13787]
10080 [BZ #13922]
10081 [BZ #14036]
10082 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10083 (__ieee754_expl): Allow for and saturate large arguments.
10084 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10085 (u_threshold): Likewise.
10086 (__exp): Call __ieee754_exp before checking for overflow and
10087 underflow.
10088 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10089 (u_threshold): Likewise.
10090 (__expf): Call __ieee754_expf before checking for overflow and
10091 underflow.
10092 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10093 (u_threshold): Likewise.
10094 (__expl): Call __ieee754_expl before checking for overflow and
10095 underflow.
10096 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10097 (__ieee754_expl): Allow for and saturate large arguments.
10098 * math/libm-test.inc (exp_test): Add another test. Do not allow
10099 missing overflow exception on overflow.
10100 (expm1_test): Do not allow missing overflow exception on overflow.
10101
6698b8bf
JM
10102 * sysdeps/i386/fpu/e_expl.c: Move to ...
10103 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10104 rather than using inline asm.
10105 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10106 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10107 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10108
7b17aeda
JM
10109 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10110 (nice): Likewise.
10111 (poll): Likewise.
10112 (signal): Likewise.
10113 (time): Likewise.
10114 (times): Likewise.
10115
f7c85819
JM
101162012-05-04 Joseph Myers <joseph@codesourcery.com>
10117
10118 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10119 sysdeps/unix/common/syscalls.list.
10120 (fchmod): Likewise.
10121 (fchown): Likewise.
10122 (ftruncate): Likewise.
10123 (getrusage): Likewise.
10124 (gettimeofday): Likewise.
10125 (setpgid): Likewise.
10126 (setregid): Likewise.
10127 (setreuid): Likewise.
10128 (sigaction): Likewise.
10129 (truncate): Likewise.
10130 (vhangup): Likewise.
10131 * sysdeps/unix/common/syscalls.list: Remove file.
10132 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10133 * sysdeps/unix/sysv/linux/Implies: Likewise.
10134
336270d0
L
101352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10136
10137 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10139 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10140 Moved to ...
10141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10142 Here.
10143 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10144 to ...
10145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10146 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10147 to ...
10148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10149 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10150 to ...
10151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10152 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10153 to ...
10154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10155 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10156 to ...
10157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10158 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10159 to ...
10160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10161 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10162 to ...
10163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10164 Here.
10165 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10166 to ...
10167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10168 Here.
10169 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10170 to ...
10171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10172 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10173 Moved to ...
10174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10175 Here.
10176 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10177 to ...
10178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10179
d128e450
JM
101802012-05-04 Joseph Myers <joseph@codesourcery.com>
10181
fa8ee516
JM
10182 * sysdeps/unix/common/bits/dirent.h: Remove file.
10183 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10184
d128e450
JM
10185 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10186 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10187 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10188 * sysdeps/unix/bsd/isatty.c: Likewise.
10189 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10190 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10191 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10192
ff8faaf0 101932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10194
62881be4 10195 [BZ #13563]
31dc8730
AZ
10196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10197 long double comparison inaccuracies.
10198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10200
6fef930c
AS
102012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10202
10203 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10204 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10205
8f203e6c
JM
102062012-05-04 Joseph Myers <joseph@codesourcery.com>
10207
10208 [BZ #14049]
10209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10210 nonzero digits before rounding a hex value.
10211 * stdlib/tst-strtod.c (tests): Add another test.
10212
5197d9c2
AK
102132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10214
10215 * sysdeps/s390/fpu/libm-test-ulps: Update.
10216
f0c1dedf
AJ
102172012-05-03 Andreas Jaeger <aj@suse.de>
10218
10219 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10220 does not get optimized out.
10221 (malloc_opt_barrier): New.
10222
a65ef2ae 102232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10224 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10225
2b942cb7 10226 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10227 intermediate file deletion.
2b942cb7 10228 (generated): Add .symlist files.
a65ef2ae 10229
54b71e02
JM
102302012-05-03 Joseph Myers <joseph@codesourcery.com>
10231
10232 [BZ #13775]
10233 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10234 Redirect under this condition.
10235 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10236 [__USE_GNU] (__dprintf_chk): Not under this condition.
10237 [__USE_GNU] (__vdprintf_chk): Likewise.
10238 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10239 under this condition.
10240 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10241 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10242 [__USE_XOPEN2K8] (vdprintf): Likewise.
10243 [__USE_GNU] (__dprintf_chk): Not under this condition.
10244 [__USE_GNU] (__vdprintf_chk): Likewise.
10245 [__USE_GNU] (dprintf): Likewise.
10246 [__USE_GNU] (vdprintf): Likewise.
10247
d3dfcc41
RM
102482012-05-03 Roland McGrath <roland@hack.frob.com>
10249
10250 * elf/Makefile (common-generated): Set this instead of generated for
10251 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10252 $(all-built-dso)-derived lists.
10253
7ac30cc5
AJ
102542012-05-03 Andreas Jaeger <aj@suse.de>
10255
0c51e550
AJ
10256 * sysdeps/i386/fpu/libm-test-ulps: Update.
10257
7ac30cc5
AJ
10258 * FAQ: Removed.
10259 * FAQ.in: Likewise.
10260 * scripts/gen-FAQ.pl: Likewise.
10261 * manual/install.texi (Installation): Point to online location of
10262 FAQ.
10263 * Makefile (files-for-dist): Remove FAQ.
10264 (FAQ): Remove.
10265
d4c2917f
AM
102662012-05-02 Allan McRae <allan@archlinux.org>
10267
10268 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10269 (LDFLAGS-reldepmod5.so): Likewise.
10270 (LDFLAGS-reldep6mod1.so): Likewise.
10271 (LDFLAGS-reldep6mod4.so): Likewise.
10272 (LDFLAGS-reldep8mod3.so): Likewise.
10273 (LDFLAGS-unload4mod1.so): Likewise.
10274 (LDFLAGS-unload4mod2.so): Likewise.
10275 (LDFLAGS-tst-initorder): Likewise.
10276 (LDFLAGS-tst-initordera2.so): Likewise.
10277 (LDFLAGS-tst-initordera3.so): Likewise.
10278 (LDFLAGS-tst-initordera4.so): Likewise.
10279 (LDFLAGS-tst-initorderb2.so): Likewise.
10280 (LDFLAGS-noload): Likewise.
10281 (LDFLAGS-next): Likewise.
10282 (LDFLAGS-order2mod1.so): Likewise.
10283 (LDFLAGS-order2mod2.so): Likewise.
10284 (LDFLAGS-tst-initorder2): Likewise.
10285 (LDFLAGS-tst-initorder2a.so): Likewise.
10286 (LDFLAGS-tst-initorder2b.so): Likewise.
10287 (LDFLAGS-tst-initorder2c.so): Likewise.
10288 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10289
d77f993f
DM
102902012-05-02 David S. Miller <davem@davemloft.net>
10291
10292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10293
171a70b4
PP
102942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10295
10296 [BZ #14055]
10297 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10298
0be196ad
AJ
102992012-05-02 Andreas Jaeger <aj@suse.de>
10300
10301 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10302 since we manipulate rounding mode.
10303 (CPPFLAGS-test-idouble.c): Likewise.
10304 (CPPFLAGS-test-ifloat.c): Likewise.
10305 (CFLAGS-test-ldouble.c): Likewise.
10306 (CFLAGS-test-double.c): Likewise.
10307 (CFLAGS-test-float.c): Likewise.
10308 (CFLAGS-test-misc.c): Likewise.
10309 (CFLAGS-test-test-fenv.c): Likewise.
10310
4f9d04aa
AZ
103112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10312
2b942cb7
RM
10313 [BZ #2550]
10314 [BZ #2570]
10315 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10316 comparisons to determine direction to adjust input.
4f9d04aa 10317
82a79e7d
RM
103182012-05-01 Roland McGrath <roland@hack.frob.com>
10319
f5a01ca9
RM
10320 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10321 output to the target.
10322
90fe4186
RM
10323 * scripts/localplt.awk: New file.
10324 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10325 (check-localplt-CFLAGS): Variable removed.
10326 ($(all-built-dso:=.jmprel)): New static pattern rule.
10327 (generated): Add those targets.
10328 (localplt-built-dso): New variable.
10329 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10330
10331 * elf/check-localplt.c: File removed.
10332
82397ed6
RM
10333 * scripts/check-execstack.awk: New file.
10334 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10335 (check-execstack-CFLAGS): Variable removed.
10336 ($(objpfx)check-execstack.h): Target removed.
10337 ($(objpfx)execstack-default): New target.
10338 (generated): Add that instead of check-execstack.h.
10339 ($(all-built-dso:=.phdr)): New static pattern rule.
10340 (generated): Add those targets.
10341 * elf/check-execstack.c: File removed.
10342
82a79e7d
RM
10343 * scripts/check-textrel.awk: New file.
10344 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10345 (check-textrel-CFLAGS): Variable removed.
10346 (all-built-dso): Use := to define.o
10347 ($(all-built-dso:=.dyn)): New static pattern rule.
10348 (generated): Add those targets.
10349 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10350 * config.make.in (READELF): New substituted variable.
10351 * elf/check-textrel.c: File removed.
10352
62fde54f 103532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10354
615605c9
JM
10355 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10356 allow.
10357 * conform/data/ctype.h-data [C99-based standards] (isblank):
10358 Expect function.
10359 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10360 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10362 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10363 Specify type. Require positive value.
10364 (EILSEQ): Likewise.
10365 (ERANGE): Likewise.
10366 [ISO || POSIX] (EILSEQ): Do not expect.
10367 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10368 Specify type. Require positive value.
10369 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10370 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10371 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10372 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10373 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10374 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10375 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10376 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10377 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10378 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10379 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10380 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10381 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10382 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10383 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10384 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10385 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10386 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10387 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10388 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10389 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10390 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10391 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10392 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10393 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10394 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10395 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10396 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10397 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10398 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10399 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10400 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10401 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10402 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10403 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10404 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10405 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10406 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10407 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10408 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10409 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10410 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10411 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10412 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10413 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10414 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10415 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10416 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10417 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10418 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10419 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10420 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10421 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10422 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10423 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10424 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10425 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10426 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10427 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10428 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10429 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10430 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10431 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10432 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10433 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10434 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10435 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10436 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10437 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10438 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10439 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10440 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10441 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10442 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10443 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10444 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10445 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10446 Require >= 2.
10447 (FLT_ROUNDS): Expect as macro, not constant.
10448 (FLT_MANT_DIG): Use macro-int-constant.
10449 (DBL_MANT_DIG): Likewise.
10450 (LDBL_MANT_DIG): Likewise.
10451 (FLT_DIG): Likewise.
10452 (DBL_DIG): Likewise.
10453 (LDBL_DIG): Likewise.
10454 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10455 (DBL_MIN_EXP): Likewise.
10456 (LDBL_MIN_EXP): Likewise.
10457 (FLT_MAX_EXP): Use macro-int-constant.
10458 (DBL_MAX_EXP): Likewise.
10459 (LDBL_MAX_EXP): Likewise.
10460 (FLT_MAX_10_EXP): Likewise.
10461 (DBL_MAX_10_EXP): Likewise.
10462 (LDBL_MAX_10_EXP): Likewise.
10463 (FLT_MAX): Use macro-constant.
10464 (DBL_MAX): Likewise.
10465 (LDBL_MAX): Likewise.
10466 (FLT_EPSILON): Use macro-constant. Give upper bound.
10467 (DBL_EPSILON): Likewise.
10468 (LDBL_EPSILON): Likewise.
10469 (FLT_MIN): Likewise.
10470 (DBL_MIN): Likewise.
10471 (LDBL_MIN): Likewise.
10472 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10473 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10474 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10475 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10476 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10477 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10478 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10479 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10480 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10481 [ISO11] (FLT_TRUE_MIN): Likewise.
10482 [ISO11] (LDBL_TRUE_MIN): Likewise.
10483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10484 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10485 (SCHAR_MIN): Use macro-int-constant. Specify type.
10486 (SCHAR_MAX): Likewise.
10487 (UCHAR_MAX): Likewise.
10488 (CHAR_MIN): Likewise.
10489 (CHAR_MAX): Likewise.
10490 (MB_LEN_MAX): Use macro-int-constant.
10491 (SHRT_MIN): Use macro-int-constant. Specify type.
10492 (SHRT_MAX): Likewise.
10493 (USHRT_MAX): Likewise.
10494 (INT_MAX): Likewise.
10495 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10496 bound negative.
10497 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10498 bound with "U".
10499 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10500 bound with "L".
10501 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10502 bound negative. Suffix upper bound with "L".
10503 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10504 bound with "UL".
10505 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10506 Specify type.
10507 [C99-based standards] (LLONG_MAX): Likewise.
10508 [C99-based standards] (ULLONG_MAX): Likewise.
10509 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10510 == 0.
10511 [ISO11] (max_align_t): Require type.
10512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10513
c9140a62
JM
10514 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10515 from $CFLAGS, without defining away __attribute__ calls.
10516 (checknamespace): Use $CFLAGS_namespace.
10517
9af0bf29
JM
10518 * conform/conformtest.pl (@keywords): Only include C99 keywords
10519 for standards based on C99 or C11.
10520
343222a2
JM
10521 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10522 Disable tests.
10523 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10524 UNIX98]: Likewise.
10525
661f8cf0
JM
10526 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10527 usability of symbols in #if.
10528
ee74b9cb
JM
10529 * conform/conformtest.pl: If macro or constant types start
10530 "promoted:", expect the symbol to be of the following type
10531 promoted by the integer promotions.
62fde54f 10532
aafc49b3
JM
10533 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10534 in one place. Also handle "macro-constant".
10535
fefdf574
JM
10536 * conform/conformtest.pl: Only accept expected macro values with
10537 "==". Parse all "macro" lines in one place.
10538 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10539
f2d922fe
JM
10540 * conform/conformtest.pl: Handle braced types on "constant" lines
10541 instead of handling "typed-constant".
10542 * conform/data/signal.h-data: Use "constant" instead of
10543 "typed-constant".
10544
d22956c9
JM
10545 * conform/conformtest.pl: Handle "optional-" at start of lines in
10546 one place rather than duplicating several cases. Handle each
10547 format of "macro" line with initial "optional-".
10548
028e2e38
JM
10549 * conform/conformtest.pl: Only accept expected constant or
10550 optional-constant values with "==". Parse all "constant" lines in
10551 one place. Parse all "optional-constant" lines in one place.
10552 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10553 * conform/data/fmtmsg.h-data: Likewise.
10554 * conform/data/netinet/in.h-data: Likewise.
10555 * conform/data/tar.h-data: Likewise.
10556 * conform/data/limits.h-data: Use "==" form on "constant" and
10557 "optional-constant" lines.
10558
1b8f2850
JM
10559 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10560 Use -std=c99 for XOPEN2K.
10561 (@knownproblems): Remove.
10562 (newtoken): Don't check %isknown.
10563
a05a144b
JM
10564 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10565 Do not expect macro.
10566 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10567 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10568 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10569 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10570 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10571 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10572 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10573 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10574 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10575 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10576 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10577 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10578 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10579 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10580 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10581 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10582 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10583 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10584 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10585 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10586 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10587 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10588 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10589 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10590 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10591 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10592 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10593 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10594 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10595 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10596 [XPG3] (acosh): Likewise.
10597 [XPG3] (asinh): Likewise.
10598 [XPG3] (atanh): Likewise.
10599 [XPG3] (cbrt): Likewise.
10600 [XPG3] (expm1): Likewise.
10601 [XPG3] (ilogb): Likewise.
10602 [XPG3] (log1p): Likewise.
10603 [XPG3] (logb): Likewise.
10604 [XPG3] (nextafter): Likewise.
10605 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10606 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10607 [XPG3] (remainder): Likewise.
10608 [XPG3] (rint): Likewise.
10609 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10610 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10611 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10612 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10616 [UNIX98 || XOPEN2K] (scalb): Expect.
10617 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10618 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10619 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10620 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10621 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10622 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10623 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10624 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10625 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10626 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10627 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10628 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10629 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10630 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10631 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10632 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10633 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10634 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10635 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10636 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10637 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10638 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10639 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10640 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10641 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10642 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10643 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10644 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10645 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10646 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10647 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10648 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10649 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10650 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10651 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10652 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10653 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10654 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10655 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10656 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10657 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10658 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10659 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10660 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10661 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10662 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10663 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10664 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10665 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10666 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10667 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10668 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10669 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10670 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10671 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10672 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10673 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10674 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10675 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10676 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10677 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10678 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10679 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10680 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10681 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10682 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10683 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10684 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10685 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10686 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10687 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10688 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10689 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10690 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10691 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10692 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10693 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10694 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10695 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10696 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10697 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10698 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10699 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10700 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10701 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10702 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10703 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10704 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10705 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10706 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10707 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10708 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10709 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10710 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10711 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10712 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10713 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10714 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10715 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10716 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10717 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10718 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10719 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10720 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10721 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10722 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10723 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10724 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10725 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10726 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10727 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10728 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10729 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10730 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10731 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10732 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10733 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10734 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10735 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10736 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10737 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10738 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10739 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10740 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10741 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10742 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10743 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10744 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10745 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10746 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10747 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10748 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10749 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10750 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10751 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10752 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10753 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10754
73c5ebe3
JM
10755 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10756 _XOPEN_SOURCE_EXTENDED for XPG4.
10757
39c33b6c
JM
10758 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10759
62fde54f
JM
10760 * Makeconfig (localtime): Remove variable.
10761 (inst_localtime-file): Likewise.
10762
0741d64c
AS
107632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10764
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10766 Update.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10768 Update.
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10770 Update.
10771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10772 Update.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10774 Update.
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10776 Update.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10778 Update.
10779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10780 Update.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10782 Update.
10783
7cb029ee
JM
107842012-05-01 Joseph Myers <joseph@codesourcery.com>
10785
10786 [BZ #2550]
10787 [BZ #2570]
10788 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10789 comparisons to determine direction to adjust input.
10790 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10791 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10793 Likewise.
10794 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10795 Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10797 Likewise.
10798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10800 Likewise.
10801 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10802 Likewise.
10803 * math/libm-test.inc (nexttoward_test): Add more tests.
10804
412bd966
AS
108052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10806
10807 [BZ #14040]
10808 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10809 in version GLIBC_2.1, not GLIBC_2.0.
10810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10811 Likewise.
10812
9568c0c2
JM
108132012-04-30 Joseph Myers <joseph@codesourcery.com>
10814
adfbc8ac
JM
10815 [BZ #13942]
10816 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10817 (1 - x) * (1 + x).
10818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10819 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10820 * math/libm-test.inc (acos_test): Add more tests.
10821 (asin_test): Likewise.
10822 * sysdeps/i386/fpu/libm-test-ulps: Update.
10823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824
5ba3cc69
JM
10825 [BZ #14034]
10826 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10827 of square root.
10828 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10830 * math/libm-test.inc (acos_test_tonearest): New function.
10831 (acos_test_towardzero): Likewise.
10832 (acos_test_downward): Likewise.
10833 (acos_test_upward): Likewise.
10834 (asin_test_tonearest): Likewise.
10835 (asin_test_towardzero): Likewise.
10836 (asin_test_downward): Likewise.
10837 (asin_test_upward): Likewise.
10838 (main): Call the new functions.
10839 * sysdeps/i386/fpu/libm-test-ulps: Update.
10840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10841
9568c0c2
JM
10842 [BZ #13884]
10843 [BZ #13924]
10844 * math/e_exp10.c: Include <float.h>.
10845 (__ieee754_exp10): Handle underflow here rather than multiplying
10846 large negative argument by M_LN10.
10847 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10848 of __ieee754_expf.
10849 * math/e_exp10l.c: Include <float.h>.
10850 (__ieee754_exp10l): Handle underflow here rather than multiplying
10851 large negative argument by M_LN10l.
10852 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10853 spurious overflow exception on underflow.
10854
5ac3ea17
MP
108552012-04-29 Marek Polacek <polacek@redhat.com>
10856
10857 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10858 (__fortify_function): New macro.
10859 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10860 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10861 __extern_always_inline.
10862 * libio/bits/stdio2.h: Likewise.
10863 * libio/bits/stdio.h: Likewise.
10864 * string/string.h: Likewise.
10865 * string/bits/string3.h: Likewise.
10866 * include/stdio.h: Likewise.
10867 * stdlib/bits/stdlib.h: Likewise.
10868 * stdlib/stdlib.h: Likewise.
10869 * rt/bits/mqueue2.h: Likewise.
10870 * rt/mqueue.h: Likewise.
10871 * posix/bits/unistd.h: Likewise.
10872 * posix/unistd.h: Likewise.
10873 * io/bits/poll2.h: Likewise.
10874 * io/bits/fcntl2.h: Likewise.
10875 * io/fcntl.h: Likewise.
10876 * io/sys/poll.h: Likewise.
10877 * misc/bits/syslog.h: Likewise.
10878 * misc/bits/syslog-ldbl.h: Likewise.
10879 * misc/sys/syslog.h: Likewise.
10880 * socket/bits/socket2.h: Likewise.
10881 * socket/sys/socket.h: Likewise.
10882 * debug/tst-chk1.c: Likewise.
10883 * wcsmbs/bits/wchar2.h: Likewise.
10884 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10885 * wcsmbs/wchar.h: Likewise.
10886
ecf0ebfb
AJ
108872012-04-29 Andreas Jaeger <aj@suse.de>
10888
10889 * Makerules (tests): Remove enable-check-abi protection.
10890 (check-abi-warn): Remove.
10891 (check-abi-%): Remove check-abi-warn usage.
10892
10893 * configure.in: Remove check-abi configure option.
10894 * configure: Regenerated.
10895 * config.make.in (enable-check-abi): Remove.
10896
6d5c57fa
AS
108972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10898
24c5d07e 10899 [BZ #14033]
ded5180a
AS
10900 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10901 double functions to double *_finite functions.
10902
7e0d315d
AS
10903 [BZ #13941]
10904 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10905 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10906 LDBL_MIN_EXP.
10907 * stdio-common/Makefile (tests): Add tst-sprintf3.
10908 * stdio-common/tst-sprintf3.c: New file.
10909
6d5c57fa
AS
10910 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10911 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10912
0749ff8b
JM
109132012-04-28 Joseph Myers <joseph@codesourcery.com>
10914
10915 * conform/conformtest.pl: Remove duplicate typed-constant
10916 handling.
10917
8dbd5d7b
DM
109182012-04-28 David S. Miller <davem@davemloft.net>
10919
10920 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10921 (check-abi-%): Remove AWK script prerequisite and explicit
10922 abilist directory.
10923 (check-abi): Rewrite to just diff the symlist with the abilist.
10924 (config-tls, config-abi-config): Delete, no longer used.
10925 (update-abi-%): Remove AWK script and explicit abilist directory.
10926 (update-abi): Rewrite to simply compare and conditionally copy the
10927 symlist and the sysdep abilist file. Remove update-abi-config
10928 checks.
10929 * abilist/ld.abilist: Remove.
10930 * abilist/libBrokenLocale.abilist: Remove.
10931 * abilist/libanl.abilist: Remove.
10932 * abilist/libcrypt.abilist: Remove.
10933 * abilist/libdl.abilist: Remove.
10934 * abilist/librt.abilist: Remove.
10935 * abilist/libthread_db.abilist: Remove.
10936 * abilist/libutil.abilist: Remove.
10937 * scripts/extract-abilist.awk: Remove.
10938 * scripts/merge-abilist.awk: Remove.
10939 * sysdeps/generic/libcidn.abilist: New file.
10940 * sysdeps/generic/libnss_compat.abilist: New file.
10941 * sysdeps/generic/libnss_db.abilist: New file.
10942 * sysdeps/generic/libnss_dns.abilist: New file.
10943 * sysdeps/generic/libnss_files.abilist: New file.
10944 * sysdeps/generic/libnss_hesiod.abilist: New file.
10945 * sysdeps/generic/libnss_nis.abilist: New file.
10946 * sysdeps/generic/libnss_nisplus.abilist: New file.
10947 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10948 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10949 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10950 file.
10951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10952 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10953 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10954 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10955 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10956 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10957 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10958 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10959 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10960 file.
10961 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10962 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10963 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10964 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10965 file.
10966 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10967 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10968 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10969 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10970 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10971 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10972 file.
10973 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10974 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10975 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10976 file.
10977 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10979 New file.
10980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10981 New file.
10982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10983 New file.
10984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10985 New file.
10986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10987 New file.
10988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10989 New file.
10990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10991 New file.
10992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10993 New file.
10994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10995 New file.
10996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10997 New file.
10998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10999 New file.
11000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11001 New file.
11002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11003 New file.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11005 file.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11007 New file.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11009 New file.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11011 file.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11013 New file.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11015 New file.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11017 file.
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11019 New file.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11021 New file.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11023 New file.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11025 New file.
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11027 New file.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11029 New file.
11030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11032 file.
11033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11034 New file.
11035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11036 file.
11037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11038 file.
11039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11040 file.
11041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11042 file.
11043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11044 file.
11045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11046 New file.
11047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11048 file.
11049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11050 file.
11051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11052 New file.
11053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11054 file.
11055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11057 file.
11058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11059 New file.
11060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11061 file.
11062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11063 file.
11064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11065 file.
11066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11067 file.
11068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11069 file.
11070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11071 New file.
11072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11073 file.
11074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11075 file.
11076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11077 New file.
11078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11079 file.
11080 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11081 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11082 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11083 file.
11084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11085 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11086 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11087 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11088 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11089 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11090 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11091 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11092 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11093 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11096 file.
11097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11098 New file.
11099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11100 file.
11101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11102 file.
11103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11104 file.
11105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11106 file.
11107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11108 file.
11109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11110 New file.
11111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11112 New file.
11113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11114 file.
11115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11116 New file.
11117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11118 file.
11119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11121 file.
11122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11123 New file.
11124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11125 file.
11126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11127 file.
11128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11129 file.
11130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11131 file.
11132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11133 file.
11134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11135 New file.
11136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11137 New file.
11138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11139 file.
11140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11141 New file.
11142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11143 file.
11144
41d73a1b
JM
111452012-04-28 Joseph Myers <joseph@codesourcery.com>
11146
11147 * conform/conformtest.pl: Fix typo in handling typed-constant from
11148 allow-header.
11149
28aeeda4
JM
111502012-04-27 Joseph Myers <joseph@codesourcery.com>
11151
adae8f5e
JM
11152 * README: Cut down references to pre-2.6 Linux kernels and
11153 Linuxthreads. Update lists of configurations in libc and ports
11154 and sort alphabetically. Say "or newer" with Linux kernel version
11155 requirements.
11156
28aeeda4
JM
11157 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11158
a462cb63
RA
111592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11160
11161 [BZ #887]
11162 * math/libm-test.inc (logb_test_downward): New test to expose
11163 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11164 rounding mode.
11165
6ad3493e
JM
111662012-04-27 Joseph Myers <joseph@codesourcery.com>
11167
11168 [BZ #14027]
11169 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11170 to be done.
11171 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11172 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11173
2ce4f015
JM
111742012-04-26 Joseph Myers <joseph@codesourcery.com>
11175
5aeb141a
JM
11176 * sysdeps/unix/i386/brk.S: Remove file.
11177 * sysdeps/unix/i386/dl-brk.S: Likewise.
11178 * sysdeps/unix/i386/pipe.S: Likewise.
11179 * sysdeps/unix/i386/sigreturn.S: Likewise.
11180 * sysdeps/unix/i386/syscall.S: Likewise.
11181 * sysdeps/unix/i386/vfork.S: Likewise.
11182 * sysdeps/unix/i386/wait.S: Likewise.
11183
7143acae
JM
11184 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11185 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11186
2ce4f015
JM
11187 * configure.in (arm*-none*): Do not allow without
11188 --enable-hacker-mode.
11189 (netbsd*): Remove case setting base_os.
11190 (386bsd*): Likewise.
11191 (freebsd*): Likewise.
11192 (bsdi*): Likewise.
11193 (osf*): Likewise.
11194 (sunos*): Likewise.
11195 (ultrix*): Likewise.
11196 (newsos*): Likewise.
11197 (dynix*): Likewise.
11198 (*bsd*): Likewise.
11199 (sysv*): Likewise.
11200 (isc*): Likewise.
11201 (esix*): Likewise.
11202 (sco*): Likewise.
11203 (minix*): Likewise.
11204 (irix4*): Likewise.
11205 (irix6*): Likewise.
11206 (solaris[2-9]*): Likewise.
11207 (none): Likewise.
11208 * configure: Regenerated.
11209
0ac229c8
AZ
112102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11211
11212 [BZ #11521]
11213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11214 overflow or cancellation in calculating denominator.
11215 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11217 down expression to avoid unexpected rounding in newer GCCs.
11218 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11219
33f244f4
DM
112202012-04-26 David S. Miller <davem@davemloft.net>
11221
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11223 long-double compat symbols.
11224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11237
cfa1f3e8
DM
112382012-04-25 David S. Miller <davem@davemloft.net>
11239
11240 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11241 HWCAP_* values only after the memory barriers have been defined.
11242 (atomic_full_barrier): Define.
11243 (atomic_read_barrier): Define.
11244 (atomic_write_barrier): Define.
11245
6e236b92
SP
112462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11247
11248 * shlib-versions: Add libgcc_s version information.
11249 * sysdeps/generic/libgcc_s.h: Remove.
11250 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11251 libgcc_s.h.
11252 * sysdeps/gnu/unwind-resume.c: Likewise.
11253 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11254
aab39a09
DM
112552012-04-25 David S. Miller <davem@davemloft.net>
11256
11257 * sysdeps/unix/sparc/brk.S: Delete.
11258 * sysdeps/unix/sparc/dl-brk.S: Delete.
11259 * sysdeps/unix/sparc/pipe.S: Delete.
11260 * sysdeps/unix/sparc/sysdep.S: Delete.
11261 * sysdeps/unix/sparc/sysdep.h: Delete.
11262 * sysdeps/unix/sparc/vfork.S: Delete.
11263 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11264 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11265 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11266 ret_ERRVAL, r0, r1, MOVE): Define.
11267 (JUMPTARGET): Remove.
11268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11269 sysdeps/unix/sparc/sysdep.h
11270 (ENTRY, END): Remove.
11271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11272
a3cc4f48
JM
112732012-04-25 Joseph Myers <joseph@codesourcery.com>
11274
2ed8cda2
JM
11275 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11276 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11277 -DIS_IN_build.
11278
35d76d59
JM
11279 * timezone/README: Update upstream location and email address for
11280 tzcode and tzdata.
11281 * timezone/zdump.c: Update from tzcode 2012b.
11282 * timezone/zic.c: Likewise.
11283
a3cc4f48
JM
11284 * configure.in (libc_cv_as_needed): Remove test.
11285 * configure: Regenerated.
11286 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11287 conditional definition.
11288 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11289 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11290 * config.make.in (have-as-needed): Remove variable.
11291
ceab42c3
SP
112922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11293 Paul Pluzhnikov <ppluzhnikov@google.com>
11294
11295 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11296 strings correctly.
11297
3ce2865f
CLT
112982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11299
11300 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11301 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11302 * sysdeps/sh/strlen.S: Likewise.
11303
f37e0d68
JM
113042012-04-24 Joseph Myers <joseph@codesourcery.com>
11305
ae186e9a
JM
11306 * sysdeps/unix/fork.S: Remove file.
11307 * sysdeps/unix/i386/fork.S: Likewise.
11308 * sysdeps/unix/sparc/fork.S: Likewise.
11309
b96914af
JM
11310 * sysdeps/unix/system.c: Remove file.
11311 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11312
f37e0d68
JM
11313 * sysdeps/unix/getegid.S: Remove file.
11314 * sysdeps/unix/geteuid.S: Likewise.
11315
87ef29ca
RM
113162012-04-24 Roland McGrath <roland@hack.frob.com>
11317
83bcd236
RM
11318 * scripts/check-localplt.awk: New file.
11319 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11320 of diff.
11321 * scripts/data/localplt-generic.data: Add a comment.
11322
87ef29ca
RM
11323 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11324 NODE when __dir_mkfile failed.
11325 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11326 Reported by Ludovic Courtès <ludo@gnu.org>.
11327
e5a6e567
AJ
113282012-04-24 Andreas Jaeger <aj@suse.de>
11329
11330 * Makerules (common-clean): Also remove gen-as-const-headers
11331 files.
11332
c1820385
JM
113332012-04-24 Joseph Myers <joseph@codesourcery.com>
11334
11335 * Makerules (native-compile): Do not change working directory for
11336 build. Use $(OUTPUT_OPTION) in command.
11337 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11338
94e02fc4
AZ
113392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11340
11341 [BZ #13886]
11342 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11343 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11344 * math/libm-test.inc (floor_test): Add more tests.
11345 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11346
3a533ca3
JM
113472012-04-24 Joseph Myers <joseph@codesourcery.com>
11348
940ab4b3
JM
11349 * sysdeps/unix/getdents.c: Remove file.
11350 * sysdeps/unix/sysv/getdents.c: Likewise.
11351 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11352
90e037bd
JM
11353 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11354 sysdeps/unix/mman/syscalls.list.
11355 (mmap): Likewise.
11356 (mprotect): Likewise.
11357 (msync): Likewise.
11358 (munmap): Likewise.
11359 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11360 * sysdeps/unix/mman/syscalls.list: Remove.
11361 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11362
3a533ca3
JM
11363 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11364 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11365 * configure: Regenerated.
11366 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11367 $(libgcc_s_suffix).
11368 * config.make.in (libgcc_s_suffix): Remove variable.
11369
1ad743de
JM
113702012-04-23 Joseph Myers <joseph@codesourcery.com>
11371
4ad451e2
JM
11372 * sysdeps/unix/sysv/gethostname.c: Move to ...
11373 * sysdeps/posix/gethostname.c: ... here.
11374
5e37ce39
JM
11375 * sysdeps/unix/execve.S: Remove file.
11376
1ad743de
JM
11377 * sysdeps/unix/_exit.S: Remove file.
11378
4e681b5b
AJ
113792012-04-23 Andreas Jaeger <aj@suse.de>
11380
11381 [BZ #13739]
11382 * manual/Makefile: Remove make dist support, there's no
11383 need for a stand-alone documentation tar ball.
11384 (TEXI2DVI): Define always, it's not in Makeconfig.
11385 (dist): Removed.
11386 (tar-it): Removed.
11387 (edition): Removed.
11388 (glibc-doc-$(edition).tar): Removed
11389 (%.Z): Removed.
11390 (%.gz): Removed.
11391 (%.uu): Removed.
11392 (ETAGS): Remove, it's in Makeconfig.
11393 (move-if-change): Remove, it's in Makeconfig.
11394
c0baea34
PE
113952013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11396
11397 [BZ #13970]
11398 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11399 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11400 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11401 (strtod_l, strtof_l, strtold_l): Remove __wur.
11402 It is not necessarily an error to ignore strtol's return value.
11403 One can reliably look at the stored endptr to decide whether
11404 the number had valid syntax.
11405
7c0616fa
AJ
114062012-04-21 Andreas Jaeger <aj@suse.de>
11407
803cb6b7 11408 [BZ #13739]
7c0616fa
AJ
11409 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11410
b0fe253f
JM
114112012-04-21 Joseph Myers <joseph@codesourcery.com>
11412
11413 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11414 * sysdeps/unix/sysv/Versions: Remove file.
11415
8280f22d
MT
114162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11417
11418 [BZ #13927]
11419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11420
75ce411f 114212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11422
11423 [BZ #7064]
11424 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11425 version from __vm86.
11426
097d59fa
JM
114272012-04-20 Joseph Myers <joseph@codesourcery.com>
11428
a90f3bcb
JM
11429 * sysdeps/unix/common/lxstat.c: Remove file.
11430 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11431
edc7ea78
JM
11432 * sysdeps/unix/sysv/Makefile: Remove file.
11433
cb78c221
JM
11434 * sysdeps/unix/sysv/direct.h: Remove file.
11435
efa6a45f
JM
11436 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11437 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11438 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11439 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11440 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11441 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11442 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11443
9c9f2d0c
JM
11444 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11445
4541c83b
JM
11446 * sysdeps/unix/xmknod.c: Remove file.
11447 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11448
f5d153a0
JM
11449 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11450
aa746595
JM
11451 * sysdeps/unix/sysv/i386/time.S: Remove file.
11452
cce5905e
JM
11453 * sysdeps/unix/fxstat.c: Remove file.
11454 * sysdeps/unix/xstat.c: Likewise.
11455 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11456
37fa3841
JM
11457 * sysdeps/unix/sysv/sigaction.c: Remove file.
11458
ff1962a3
JM
11459 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11460 (sysdep_headers): Remove variable.
11461 [termio.h not in sysdep_headers] (generated): Likewise.
11462 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11463 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11464 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11465 * sysdeps/unix/sysv/tcflow.c: Likewise.
11466 * sysdeps/unix/sysv/tcflush.c: Likewise.
11467 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11468 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11469 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11470 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11471 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11472
e7740d31
JM
11473 * sysdeps/unix/siglist.c: Remove file.
11474
ee06f18b
JM
11475 * sysdeps/unix/getppid.S: Remove file.
11476
097d59fa
JM
11477 * sysdeps/unix/mkdir.c: Remove file.
11478 * sysdeps/unix/rmdir.c: Likewise.
11479
ff3d51ec
AS
114802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11481
11482 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11483 ERR_MAX value.
11484 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11485 errlist-compat value.
11486
50f81fd7
DM
114872012-04-18 David S. Miller <davem@davemloft.net>
11488
11489 * sysdeps/generic/memcopy.h (reg_char): Delete.
11490 * debug/strcat_chk.c: Use char, not reg_char.
11491 * debug/strcpy_chk.c: Likewise.
11492 * debug/strncat_chk.c: Likewise.
11493 * debug/strncpy_chk.c: Likewise.
11494 * string/memchr.c: Likewise.
11495 * string/memrchr.c: Likewise.
11496 * string/rawmemchr.c: Likewise.
11497 * string/strcat.c: Likewise.
11498 * string/strchr.c: Likewise.
11499 * string/strchrnul.c: Likewise.
11500 * string/strcmp.c: Likewise.
11501 * string/strcpy.c: Likewise.
11502 * string/strncat.c: Likewise.
11503 * string/strncmp.c: Likewise.
11504 * string/strncpy.c: Likewise.
11505
8ff41c46
WS
115062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11507
11508 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11509 __builtin_memcopy is called when src and dest ranges are known to not
11510 overlap.
11511
6b652f46
WS
115122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11513
11514 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11515 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11516 fwd_align_merge macro call.
11517 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11518 bwd_align_merge macro call.
11519 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11520
b282631e
WS
115212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11522
11523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11524 bwd_align_merge macros.
11525 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11526 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11528
95aa737c
DM
115292012-04-18 David S. Miller <davem@davemloft.net>
11530
11531 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11532
7a99a614
AJ
115332012-04-18 Andreas Jaeger <aj@suse.de>
11534
11535 [BZ# 6794]
11536 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11537 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11538 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11539
11540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11541 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11542 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11543
11544 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11545 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11546 Adjust for changed ldbl-128 files.
11547
11548 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11549 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11551
e5270c23
DM
115522012-04-17 David S. Miller <davem@davemloft.net>
11553
11554 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11555
fb5e92c9
AS
115562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11557
11558 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11559 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11560 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11561 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11562 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11563 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11564
76da7265
AZ
115652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11566
11567 [BZ #6794]
11568 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11569 * math/libm-test.inc: Add ilogb errno and exception tests.
11570 * math/w_ilogb.c: New file: ilogb wrapper.
11571 * math/w_ilogbf.c: New file: ilogbf wrapper.
11572 * math/w_ilogbl.c: New file: ilogbl wrapper.
11573 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11574 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11575 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11576 exception being thrown with 0.0 as argument.
11577 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11578 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11579 exception being thrown with 0.0 as argument.
11580 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11581 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11582 exception being thrown with 0.0 as argument.
11583 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11584 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11585 exception being thrown with 0.0 as argument.
11586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11587 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11588 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11589 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11590 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11591 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11592 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11593 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11594 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11595
0396e69d
PB
115962012-04-17 Petr Baudis <pasky@ucw.cz>
11597
11598 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11599 with altivec.
11600
750b5926
MP
116012012-04-16 Marek Polacek <polacek@redhat.com>
11602
11603 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11604
751728a1
MP
116052012-04-16 Marek Polacek <polacek@redhat.com>
11606
11607 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11608 operands of fdivp instruction.
11609
34a27407
L
116102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11611
11612 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11613 * elf/tst-auditmod3b.c: Likewise.
11614 * elf/tst-auditmod4b.c: Likewise.
11615 * elf/tst-auditmod5b.c: Likewise.
11616 * elf/tst-auditmod6b.c: Likewise.
11617 * elf/tst-auditmod6c.c: Likewise.
11618 * elf/tst-auditmod7b.c: Likewise.
11619 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11620 * sysdeps/x86_64/preconfigure.in: Likewise.
11621 * sysdeps/x86_64/preconfigure: Regenerated.
11622
7e73e17d
L
116232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11624
11625 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11626 __ILP32__.
11627
c7a6ab72
AB
116282012-04-13 Antoine Balestrat <merkil33@gmail.com>
11629
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11631 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11632
a9e8e0e0
CL
116332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11634
11635 [BZ #13973]
11636 * locale/iso-639.def: Fix gl language name. Spotted by
11637 Yaron Shahrabani.
11638
ec98af7d
RM
116392012-04-12 Roland McGrath <roland@hack.frob.com>
11640
11641 [BZ #2074]
11642 * libio/libio.h (__io_write_fn): Update comment.
11643
247c3ede
PB
116442012-04-12 Petr Baudis <pasky@ucw.cz>
11645
11646 [BZ #2074]
11647 * stdio.texi (Hook Functions): The user provided writer function
11648 is not allowed to return -1.
11649
55939d6d
DM
116502012-04-11 David S. Miller <davem@davemloft.net>
11651
11652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11653
90020f5a
MF
116542012-04-11 Mike Frysinger <vapier@gentoo.org>
11655
11656 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11657 Add a leading slash to rtkaio.
11658
288f9098
JM
116592012-04-11 Jim Meyering <meyering@redhat.com>
11660
90020f5a
MF
11661 [BZ #11959]
11662 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11663 It is not necessarily an error to ignore fwrite's return
11664 value. One can reliably use ferror to test for errors after
11665 the fact.
288f9098 11666
4be2b570
L
116672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11668
11669 * bits/types.h (__snseconds_t): New type.
11670 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11671
11672 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11674 (__SNSECONDS_T_TYPE): Likewise.
11675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11676 (__SNSECONDS_T_TYPE): Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11678 (__SNSECONDS_T_TYPE): Likewise.
11679
288f9098 116802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11681
11682 [BZ #2636]
11683 * manual/time.texi (Processor Time): Return type of times is
11684 elapsed real time since an arbitrary point in the past.
11685 (CPU Time): Move CLK_TCK from here...
11686 (Processor Time): ...to here. Correct description.
11687 * manual/conf.texi (Constants for Sysconf): Correct description of
11688 _SC_CLK_TCK.
11689
d7dd4413
DM
116902012-04-10 David S. Miller <davem@davemloft.net>
11691
11692 [BZ #13967]
11693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11694 where the is a gap between DT_REL(A) and DT_JMPREL.
11695
b46068fc
L
116962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11699 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11700 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11701
73d65cc3
SP
117022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11703
11704 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11705 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11706 (dl_main): Handle --inhibit-cache.
11707 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11708 _dl_inhibit_cache.
11709 * elf/dl-load.c (_dl_map_object): Use it.
11710 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11711
bcc8d661
JM
117122012-04-09 Joseph Myers <joseph@codesourcery.com>
11713
8f9a2fae
JM
11714 [BZ #13872]
11715 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11716 (__ieee754_powl): Saturate large exponents rather than testing for
11717 overflow of y*log2(x).
11718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11719 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11720 exceptions.
11721
bcc8d661
JM
11722 [BZ #11521]
11723 * math/s_ctan.c: Include <float.h>.
11724 (__ctan): Avoid internal overflow or cancellation in calculating
11725 denominator.
11726 * math/s_ctanf.c: Likewise.
11727 * math/s_ctanl.c: Likewise.
11728 * math/s_ctanh.c: Likewise.
11729 * math/s_ctanhf.c: Likewise.
11730 * math/s_ctanhl.c: Likewise.
11731 * math/libm-test.inc (ctan_test): Add more tests.
11732 (ctanh_test): Likewise.
11733 * sysdeps/i386/fpu/libm-test-ulps: Update.
11734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11735
823fbbb4
AJ
117362012-04-09 Andreas Jaeger <aj@suse.de>
11737
03879793
AJ
11738 [BZ #6894]
11739 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11740 is an optional BSD extension.
11741
823fbbb4
AJ
11742 [BZ #10254]
11743 * manual/stdio.texi (Opening Streams): Document additional fopen
11744 parameters.
11745
8de131cb
RM
117462012-04-09 Roland McGrath <roland@hack.frob.com>
11747
11748 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11749 %eax without telling the compiler.
11750
c0ed9d7d
CD
117512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11752
11753 [BZ # 13963]
11754 * manual/install.texi: Use sourceware.org.
11755
c483f6b4
JM
117562012-04-09 Joseph Myers <joseph@codesourcery.com>
11757
d7dd9453
JM
11758 [BZ #13873]
11759 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11760 (__ieee754_pow): Generate overflow and underflow using huge*huge
11761 and tiny*tiny rather than just returning constant infinity or zero
11762 for large exponents.
11763 * math/libm-test.inc (pow_test): Require overflow exceptions for
11764 applicable cases of large exponents.
11765
c483f6b4
JM
11766 [BZ #706]
11767 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11768 (__ieee754_pow): Use iterative multiplication algorithm only for
11769 integer exponents with absolute value below 1024. Check for odd
11770 integer exponents when using algorithm for real exponents.
11771 * math/libm-test.inc (pow_test): Add more tests.
11772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11773
d2de7579
JM
117742012-04-08 Joseph Myers <joseph@codesourcery.com>
11775
11776 [BZ #13705]
11777 * math/libm-test.inc (exp_test): Do not allow overflow exception
11778 on underflow test.
11779
f77f1232
AJ
117802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11781
11782 [BZ #13705]
11783 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11784 instead of __kernel_standard_f.
11785
3884932b
MF
117862012-04-08 Mike Frysinger <vapier@gentoo.org>
11787
11788 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11789 * sysdeps/x86_64/memset_chk.S: Likewise.
11790
54472e9c
AJ
117912012-04-08 Andreas Jaeger <aj@suse.de>
11792
6ab0fbfc
AJ
11793 [BZ #10153]
11794 * manual/startup.texi (Environment Access): Describe return value
11795 for putenv and setenv.
11796
61efba8c
AJ
11797 [BZ #6895]
11798 * manual/filesys.texi (Directory Entries): Add description for
11799 DT_LNK.
11800
95c3f29a
AJ
11801 [BZ #6890]
11802 * manual/filesys.texi (Directory Entries): Clarify that it's file
11803 system not operating system in the description of DT_UNKNOWN.
11804
54472e9c
AJ
11805 [BZ #6578]
11806 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11807
624254b1
SC
118082012-04-08 Stephen Compall <s11@member.fsf.org>
11809
11810 [BZ #6649]
11811 * manual/llio.texi (Opening and Closing Files): Add cross
11812 reference to explain mode argument.
11813
1e4920e0
MF
118142012-04-07 Mike Frysinger <vapier@gentoo.org>
11815
11816 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11817 * sysdeps/x86_64/memset_chk.S: Likewise.
11818
5ed848f3
DM
118192012-04-07 David S. Miller <davem@davemloft.net>
11820
11821 * elf/elf.h (R_SPARC_WDISP10): Define.
11822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11823 R_SPARC_SIZE32.
11824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11825 R_SPARC_SIZE64 and R_SPARC_H34.
11826
96154cd8
CD
118272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11828
11829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11830 conditions and remove no longer applicable assertion.
11831
9904dc47
L
118322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11833
11834 * bits/byteswap.h: Include <features.h>.
11835 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11836 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11837
f8887d0a
L
118382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11839
11840 * bits/byteswap.h (__bswap_16): Removed.
11841 Include <bits/byteswap-16.h> to get __bswap_16.
11842 * sysdeps/i386/bits/byteswap.h: Likewise.
11843 * sysdeps/s390/bits/byteswap.h: Likewise.
11844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11845 * bits/byteswap-16.h: New file.
11846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11847 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11848 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11849 * string/Makefile (headers): Add bits/byteswap-16.h.
11850
62470f60
PP
118512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11852
11853 [BZ #13895]
11854 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11855 extra indirection.
11856 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11857 * nss/tst-nss-static.c: New.
11858
4dad7bab
RM
118592012-04-06 Robert Millan <rmh@gnu.org>
11860
11861 [BZ #6486]
11862 * manual/llio.texi (File Position Primitive): lseek
11863 refers to WHENCE when it really means OFFSET.
11864
e9142a17
AJ
118652012-04-06 Andreas Jaeger <aj@suse.de>
11866
2c040eff
AJ
11867 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11868 strncmp declarations.
11869
e9142a17
AJ
11870 * abilist/libc.abilist: Add __poll and __ppoll.
11871
ff9f1c5f
DM
118722012-04-05 David S. Miller <davem@davemloft.net>
11873
dcd2ae90
DM
11874 * scripts/check-local-headers.sh: Accept a host triplet in the
11875 path matched by the exclude regexp.
11876
993eb054
DM
11877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11878 definition.
11879 * sysdeps/powerpc/powerpc32/dl-machine.h
11880 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11881 * sysdeps/s390/s390-32/dl-machine.h
11882 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11883 * sysdeps/sparc/sparc32/dl-machine.h
11884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11885 * sysdeps/sparc/sparc64/dl-machine.h
11886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11887
ff9f1c5f
DM
11888 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11889 lazy binding.
48e2e132 11890 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11891 undefined symbol errors.
11892
48e2e132 11893 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11894 DT_NEEDED entries.
11895
e80d6f94
MM
118962012-04-05 Michael Matz <matz@suse.de>
11897
11898 [BZ #13592]
11899 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11900
349fa79f
AJ
119012012-04-05 Andreas Jaeger <aj@suse.de>
11902
11903 [BZ #13908]
11904 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11905 comment.
11906
f402708f
KK
119072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11908
11909 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11910 which ROUND is no valid rounding mode.
11911
2ecccfc9
KK
119122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11913
11914 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11915 read again.
11916 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11917
8a53f50f
KK
119182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11919
11920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11921 an exception using FPU order intentionally.
11922
119232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11924
11925 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11926 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11927 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11928 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11929
d653abb7
SJ
119302012-04-05 Simon Josefsson <simon@josefsson.org>
11931
11932 [BZ #12340]
11933 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11934 EINVAL when BUFLEN is too smal.
11935
c3b1bf7d
TS
119362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11937
11938 [BZ #13553]
11939 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11940 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11941
b1aa60f3
AJ
119422012-04-03 Andreas Jaeger <aj@suse.de>
11943
c3b1bf7d 11944 [BZ #13938]
67f60a26
AJ
11945 * manual/setjmp.texi (System V contexts): Fix sentence.
11946
b1aa60f3
AJ
11947 [BZ #13926]
11948 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11949 New macro for this case.
11950 [!__GNUC__] (__bswap_64): New inline function for this case.
11951 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11952 * bits/byteswap.h: Likewise.
11953 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11954 ull, guard with __GLIBC_HAVE_LONG_LONG.
11955
11956 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11957 __GLIBC_HAVE_LONG_LONG.
11958
11959 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11960 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11961
39c59c35
TMQMF
119622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11963
11964 [BZ #13691]
11965 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11966 inptr and inend, rather than using last_ch.
11967
135ffda8
DM
119682012-04-02 David S. Miller <davem@davemloft.net>
11969
11970 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11971 * stdio-common/printf-parse.h (read_int): Change return type to
11972 'int', return -1 on INT_MAX overflow.
11973 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11974 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11975 overflows INT_MAX. Check for overflow of in-format-string precision
11976 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11977 SIZE_MAX not INT_MAX for integer overflow test.
11978 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11979 skip the construct in the format string but do not record anything.
11980 * stdio-common/bug22.c: Adjust to test both width/prevision
11981 INT_MAX overflow as well as total length INT_MAX overflow. Check
11982 explicitly for proper errno values.
11983
228c019e
TS
119842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11985
302cadd3
TS
11986 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11987 CHAR_MAX.
11988 * string/test-strcmp.c [! WIDE]: Likewise.
11989 * time/tst-mktime2.c: Likewise for INT_MAX.
11990 * string/test-string.h: #include <sys/param.h> for MIN.
11991
228c019e
TS
11992 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11993 * sysdeps/i386/init-first.c (init): Likewise.
11994 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11995 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11996 * sysdeps/sh/init-first.c (init): Likewise.
11997
cfa633f5
UD
119982012-04-01 Ulrich Drepper <drepper@gmail.com>
11999
12000 * po/ru.po: Update from translation team.
d1635ef8 12001 * po/vi.po: Likewise.
cfa633f5 12002
6cd0a5ea
SP
120032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12004
12005 * resolv/nss_dns/dns-host.c: Merge copyright years.
12006
4b43400f
LD
120072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12008
12009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12010 Optimize memcpy with prefetch if
12011 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12012 src, dst pointers have unequal 16 byte alignments.
12013
48c41d04
SP
120142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12015
12016 [BZ #13928]
12017 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12018 from a CNAME entry and return the minimum ttl for the query.
12019 (gaih_getanswer_slice): Likewise.
12020
b8dc394d
JL
120212012-03-30 Jeff Law <law@redhat.com>
12022
12023 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12024 due to long keys.
12025 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12026 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12027
2f5a5ed0
JL
12028 * resolv/nss_dns/dns-host.c: Update copyright year.
12029
1d39e359
UD
120302012-03-30 Ulrich Drepper <drepper@gmail.com>
12031
c030f70c 12032 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 12033 requests to save a system call. Fix check that all bytes are sent.
c030f70c 12034
1d39e359
UD
12035 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12036 comments for sendmmsg.
12037
120382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
12039
12040 [BZ #13691]
12041 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12042 with only 1 character between 0x0041 and 0x01b0.
12043 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12044 * wcsmbs/tst-mbsnrtowcs.c: New file.
12045
20fde227
DM
120462012-03-29 David S. Miller <davem@davemloft.net>
12047
12048 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12049 small copies by hand.
12050
984a4237
JL
120512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12052
12053 [BZ #13761]
12054 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12055 _nss_compat_initgroups_dyn): Fall back to malloc/free
12056 for large group memberships.
12057
18c9d62b
DM
120582012-03-28 David S. Miller <davem@davemloft.net>
12059
88d85d4f
DM
12060 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12061 that branches into memcpy.
12062 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12065 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12067 bits.
12068 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12069 implementation too.
12070 * sysdeps/sparc/mempcpy.S: New file.
12071
e5aa83e1
DM
12072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12073 the IFUNC routine in the libc case.
12074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12075
88570753
DM
12076 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12077 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12078 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12079 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12080 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12081 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12082 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12083 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12084
249d7567
DM
12085 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12086 loop to 256 bytes instead of 64 bytes and fix test signedness.
12087
18c9d62b
DM
12088 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12089 * sysdeps/sparc/sparc32/Makefile: rather than here...
12090 * sysdeps/sparc/sparc64/Makefile: and here.
12091
05f3d1f6
UD
120922012-03-28 Ulrich Drepper <drepper@gmail.com>
12093
12094 * malloc/mallocbug.c: Avoid warnings about unused variables.
12095
86ae07a8
JL
120962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12097
12098 [BZ #13760]
12099 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12100 in the right place. Discard and retry query if response is
12101 larger than input buffer size.
12102
41bf21a1
JM
121032012-03-28 Joseph Myers <joseph@codesourcery.com>
12104
d6270972
JM
12105 [BZ #369]
12106 [BZ #2678]
12107 [BZ #3866]
12108 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12109 x for large integer exponent.
12110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12111 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12112 sign of result as needed afterwards.
12113 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12115 result for underflowing pow the same as for overflow.
12116 (__kernel_standard_l): Handle powl overflow and underflow here
12117 rather than calling __kernel_standard.
12118 * math/libm-test.inc (pow_test): Add more tests.
12119
414fca03 12120 [BZ #3868]
41bf21a1
JM
12121 [BZ #13879]
12122 [BZ #13910]
12123 [BZ #13911]
12124 [BZ #13912]
12125 [BZ #13913]
12126 [BZ #13915]
12127 [BZ #13916]
12128 [BZ #13917]
12129 [BZ #13918]
12130 [BZ #13919]
12131 [BZ #13920]
12132 [BZ #13921]
12133 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12134 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12135 (__kernel_standard_l): New function.
12136 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12137 __kernel_standard.
12138 * math/w_acosl.c (__acosl): Likewise.
12139 * math/w_asinl.c (__asinl): Likewise.
12140 * math/w_atan2l.c (__atan2l): Likewise.
12141 * math/w_atanhl.c (__atanhl): Likewise.
12142 * math/w_coshl.c (__coshl): Likewise.
12143 * math/w_exp10l.c (__exp10l): Likewise.
12144 * math/w_exp2l.c (__exp2l): Likewise.
12145 * math/w_fmodl.c (__fmodl): Likewise.
12146 * math/w_hypotl.c (__hypotl): Likewise.
12147 * math/w_j0l.c (__j0l, __y0l): Likewise.
12148 * math/w_j1l.c (__j1l, __y1l): Likewise.
12149 * math/w_jnl.c (__jnl, __ynl): Likewise.
12150 * math/w_lgammal.c (__lgammal): Likewise.
12151 * math/w_log10l.c (__log10l): Likewise.
12152 * math/w_log2l.c (__log2l): Likewise.
12153 * math/w_logl.c (__logl): Likewise.
12154 * math/w_powl.c (__powl): Likewise.
12155 * math/w_remainderl.c (__remainderl): Likewise.
12156 * math/w_scalbl.c (sysv_scalbl): Likewise.
12157 * math/w_sinhl.c (__sinhl): Likewise.
12158 * math/w_sqrtl.c (__sqrtl): Likewise.
12159 * math/w_tgammal.c (__tgammal): Likewise.
12160 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12161 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12162 * math/libm-test.inc (acos_test): Add more tests.
12163 (acosh_test): Likewise.
12164 (asin_test): Likewise.
12165 (atanh_test): Likewise.
12166 (exp_test): Likewise.
12167 (exp10_test): Likewise.
12168 (exp2_test): Likewise.
12169 (expm1_test): Likewise.
12170 (lgamma_test): Likewise.
12171 (log_test): Likewise.
12172 (log10_test): Likewise.
12173 (log1p_test): Likewise.
12174 (log2_test): Likewise.
12175 (pow_test): Do not allow some spurious overflow exceptions.
12176 (sqrt_test): Add more tests.
12177 (tgamma_test): Likewise.
12178 (y0_test): Likewise.
12179 (y1_test): Likewise.
12180 (yn_test): Likewise.
12181
dd62fda6
AB
121822012-03-27 Anton Blanchard <anton@samba.org>
12183
12184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12185 MAP_HUGETLB.
12186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12187 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12189
1e3cdfda
AJ
121902012-03-27 David S. Miller <davem@davemloft.net>
12191
b855ab85
DM
12192 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12193
1e3cdfda
AJ
12194 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12195 have-as-vis3 check.
12196
121972012-03-27 Andreas Jaeger <aj@suse.de>
12198
12199 * sysdeps/x86_64/elf/configure.in: Moved to ...
12200 * sysdeps/x86_64/configure.in: ... here.
12201 * sysdeps/x86_64/elf/start.S: Moved to ...
12202 * sysdeps/x86_64/start.S: ... here.
12203 * sysdeps/x86_64/elf/configure: Delete.
12204
12205 * sysdeps/x86_64/configure.in: Merge contents from
12206 sysdeps/i386/configure.in (without i686 check).
12207
12208 * sysdeps/i386/elf/Versions: Merge into ...
12209 * sysdeps/i386/Versions: ... this.
12210 * sysdeps/i386/elf/Versions: Delete file.
12211 * sysdeps/i386/elf/start.S: Moved to ...
12212 * sysdeps/i386/start.S: ...here.
12213 * sysdeps/i386/elf/configure.in: Merge into...
12214 * sysdeps/i386/configure.in: ...here.
12215 * sysdeps/i386/elf/configure.in: Delete file.
12216 * sysdeps/i386/elf/configure: Delete file.
12217
12218 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12219 * debug/backtracesyms.c: ... here.
12220 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12221 * debug/backtracesymsfd.c: ... here.
12222 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12223 * sysdeps/generic/ifunc-sel.h: ... here.
12224
12225 * sysdeps/unix/i386/start.c: Delete file.
12226 * sysdeps/unix/sparc/start.c: Delete file.
12227 * sysdeps/unix/start.c: Delete file.
12228
12229 * sysdeps/sh/elf/configure.in: Moved to ...
12230 * sysdeps/sh/configure.in: ... here.
12231 * sysdeps/sh/elf/start.S: Moved to ...
12232 * sysdeps/sh/start.S: ... here.
12233 * sysdeps/sh/elf/configure: Delete file.
12234
12235 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12236 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12237 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12238 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12239 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12240 * sysdeps/powerpc/powerpc64/start.S: here.
12241 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12242 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12243 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12244 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12245 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12246
12247 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12248 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12249 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12250 * sysdeps/powerpc/powerpc32/start.S: ... here.
12251 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12252 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12253 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12254
12255 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12256 * sysdeps/powerpc/ifunc-sel.h: ... here.
12257 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12258 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12259
12260 * sysdeps/sparc/elf/configure.in: Moved to ...
12261 * sysdeps/sparc/configure.in: ... here.
12262 * sysdeps/sparc/elf/configure: Delete file.
12263 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12264 * sysdeps/sparc/sparc32/start.S: ... here.
12265 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12266 * sysdeps/sparc/sparc64/start.S: ... here.
12267 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12268 * sysdeps/sparc/sparc32/Makefile: ... this.
12269 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12270 * sysdeps/sparc/sparc64/Makefile: ... this.
12271
12272 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12273 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12274 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12275 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12276 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12277 * sysdeps/s390/s390-32/setjmp.S: ... here.
12278 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12279 * sysdeps/s390/s390-32/configure.in: ... here.
12280 * sysdeps/s390/s390-32/elf/configure: Delete file.
12281 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12282 * sysdeps/s390/s390-32/start.S: ... here.
12283
12284 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12285 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12286 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12287 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12288 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12289 * sysdeps/s390/s390-64/setjmp.S: ... here.
12290 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12291 * sysdeps/s390/s390-64/configure.in: ... here
12292 * sysdeps/s390/s390-64/elf/configure: Delete file.
12293 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12294 * sysdeps/s390/s390-64/start.S: ... here.
12295 * sysdeps/s390/s390-64/elf/configure: Delete.
12296
12297 * configure.in: Remove support for elf directories in sysdeps.
12298
12299 * configure: Regenerated.
12300 * sysdeps/i386/configure: Regenerated.
12301 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12302 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12303 * sysdeps/s390/s390-32/configure: Regenerated.
12304 * sysdeps/s390/s390-64/configure: Regenerated.
12305 * sysdeps/sh/configure: Regenerated.
12306 * sysdeps/sparc/configure: Regenerated.
12307 * sysdeps/x86_64/configure: Regenerated.
12308
a3f61311
AS
123092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12310
c876e002
AS
12311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12312
a3f61311
AS
12313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12314 denormal result into account.
12315
ac4c54f0
RM
123162012-03-25 Roland McGrath <roland@hack.frob.com>
12317
12318 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12319 Reported by Allan McRae <allan@archlinux.org>.
12320
6a9b9c02
JL
123212012-03-23 Jeff Law <law@redhat.com>
12322
12323 * nss/getnssent.c (__nss_getent): Fix typo.
12324
4c42a0c1
DM
123252012-03-23 David S. Miller <davem@davemloft.net>
12326
12327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12328
1532c7ac
L
123292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12332 to pad to uint64_t for each field.
12333 (dl_tls_index): Replace unsigned long with uint64_t.
12334
3ff42526
PP
123352012-03-23 Daniel Jacobowitz <dmj@google.com>
12336 Paul Pluzhnikov <ppluzhnikov@google.com>
12337
12338 [BZ #6528]
12339 * grp/Makefile (otherlibs): Don't set it.
12340 * inet/Makefile (otherlibs): Likewise.
12341 * login/Makefile (otherlibs): Likewise.
12342 * nscd/Makefile (otherlibs): Likewise.
12343 * posix/Makefile (otherlibs): Likewise.
12344 * pwd/Makefile (otherlibs): Likewise.
12345 * rt/Makefile (otherlibs): Likewise.
12346 * sunrpc/Makefile (otherlibs): Likewise.
12347 * nss/Makefile (otherlibs): Likewise.
12348 Add libnss_files to routines and static-only-routines.
12349 ($(objpfx)getent): Remove rule.
12350 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12351 static-only-routines.
12352
7c69cd14
JM
123532012-03-22 Joseph Myers <joseph@codesourcery.com>
12354
12355 [BZ #13892]
12356 * math/s_cexp.c: Include <float.h>.
12357 (__cexp): Handle exp result overflowing not necessarily
12358 overflowing both real and imaginary parts of result.
12359 * math/s_cexpf.c: Likewise.
12360 * math/s_cexpl.c: Likewise.
12361 * math/libm-test.inc (cexp_test): Add more tests.
12362 * sysdeps/i386/fpu/libm-test-ulps: Update.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12364
81b035fe
L
123652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * include/link.h (ELFW): New macro.
12368 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12369 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12370
1da7940c
L
123712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12372
12373 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12374 with uint64_t.
12375
b749dbb9
L
123762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12377
12378 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12379 declaration.
12380 (struct La_x32_retval): Likewise.
12381
2ff87f3f
L
123822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * sysdeps/x86_64/preconfigure.in: New file.
12385 * sysdeps/x86_64/preconfigure: New generated file.
12386
c0df8e69
JM
123872012-03-22 Joseph Myers <joseph@codesourcery.com>
12388
48e44791
JM
12389 [BZ #13824]
12390 * math/e_exp2l.c: Include <float.h>.
12391 (__ieee754_exp2l): Handle overflow and underflow cases
12392 separately. Only pass fractional part of argument to
12393 __ieee754_expl.
12394 * math/libm-test.inc (exp2_test): Add more tests.
12395
c0df8e69
JM
12396 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12397 negating x to take absolute value.
12398 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12399 Likewise.
12400 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12401 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12402 Likewise.
12403 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12404 computing low part if x was negated.
12405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12406
c8e43ba7
L
124072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12410 la_x32_gnu_pltexit.
12411 (pltexit): Cast int_retval to ptrdiff_t.
12412 * elf/tst-auditmod3b.c: Likewise.
12413 * elf/tst-auditmod4b.c: Likewise.
12414 * elf/tst-auditmod5b.c: Likewise.
12415 * elf/tst-auditmod6b.c: Likewise.
12416 * elf/tst-auditmod6c.c: Likewise.
12417 * elf/tst-auditmod7b.c: Likewise.
12418
12419 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12420 and x32_gnu_pltexit.
12421
12422 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12423 __ELF_NATIVE_CLASS.
12424 (La_x32_regs): New macro.
12425 (La_x32_retval): Likewise.
12426 (la_x32_gnu_pltenter): New function prototype.
12427 (la_x32_gnu_pltexit): Likewise.
12428
7998fa78
AS
124292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12430
dcb33988
AS
12431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12432 exponent.
12433
233fc563
AS
12434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12435
7998fa78
AS
12436 * configure.in (libc_cv_cc_nofma): Check for option to disable
12437 generation of FMA instructions.
12438 * configure: Regenerate.
12439 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12440 * sysdeps/ieee754/dbl-64/Makefile: New file.
12441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12442 Remove brandred-fma4.
12443 (CFLAGS-brandred-fma4.c): Remove.
12444 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12445 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12446 define.
12447 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12448 define.
12449
8e95c99a
L
124502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12451
12452 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12453 LLONG_MAX != LONG_MAX.
12454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12455 (_fitoa_word): Likewise.
12456 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12457 LLONG_MAX != LONG_MAX.
12458 * stdio-common/_itowa.h: Include <_itoa.h>.
12459 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12460 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12461 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12462 only if not defined.
12463 (_ITOA_WORD_TYPE): Likewise.
12464 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12465 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12466
6f4db457
DM
124672012-03-21 David S. Miller <davem@davemloft.net>
12468
12469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12470
7785fe5a
L
124712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12472
12473 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12474 of x86_64 when setting libc_cv_slibdir, libdir and
12475 libc_cv_localedir.
12476 * sysdeps/unix/sysv/linux/configure: Regenerated.
12477
4535cd55
JM
124782012-03-21 Joseph Myers <joseph@codesourcery.com>
12479
12480 * manual/lang.texi (Old Varargs): Remove section.
12481 (How Variadic): Update menu.
12482 (va_start): Do not mention varargs.h.
12483
17228132
TS
124842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12485 Joseph Myers <joseph@codesourcery.com>
12486
12487 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12488 link test.
12489 * configure: Regenerated.
12490
8149f976
TS
124912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12492
05f3d1f6
UD
12493 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12494 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12495 conformtest.pl
8149f976 12496
1a4ac776
JM
124972012-03-21 Joseph Myers <joseph@codesourcery.com>
12498
be22ce65
JM
12499 * NOTES: Remove.
12500 * Makefile (files-for-dist): Remove NOTES.
12501 (NOTES): Remove rule.
12502 * README: Don't refer to NOTES.
12503 * manual/creature.texi: Don't include macros.texi.
12504 * manual/intro.texi (creature.texi): Remove comment referring to
12505 NOTES.
12506
40b601fb
JM
12507 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12508 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12509 * configure: Regenerated.
12510 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12511 LIBC_TRY_CC_OPTION.
12512 (libc_cv_as_i686): Likewise.
12513 (libc_cv_cc_avx): Likewise.
12514 (libc_cv_cc_sse2avx): Likewise.
12515 (libc_cv_cc_fma4): Likewise.
12516 (libc_cv_cc_novzeroupper): Likewise.
12517 * sysdeps/i386/configure: Regenerated.
12518
1a4ac776
JM
12519 [BZ #13883]
12520 * sysdeps/i386/fpu/s_cexp.S: Remove.
12521 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12522 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12523 * math/libm-test.inc (cexp_test): Add more tests.
12524 * sysdeps/i386/fpu/libm-test-ulps: Update.
12525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12526
a458e7fe
AM
125272012-03-21 Allan McRae <allan@archlinux.org>
12528
12529 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12530
0cb7efc5
JM
125312012-03-21 Joseph Myers <joseph@codesourcery.com>
12532
12533 [BZ #13871]
12534 * math/w_exp2.c: Do not include <float.h>.
12535 (o_threshold, u_threshold): Remove.
12536 (__exp2): Calculate result before checking finiteness and calling
12537 __kernel_standard.
12538 * math/w_exp2f.c: Likewise.
12539 * math/w_exp2l.c: Likewise.
12540 * math/libm-test.inc (exp2_test): Require overflow exception for
12541 1e6 input.
2460d3aa
JM
12542
12543 [BZ #3866]
12544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12545 range of signed 64-bit integers before using fistpll. Remove
12546 checks for whether integers fit in mantissa bits.
12547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12548 the range of signed 32-bit integers before using fistpl. Remove
12549 checks for whether integers fit in mantissa bits.
12550 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12551 (__ieee754_powl): Test for y outside the range of signed 64-bit
12552 integers before using fistpll. Reduce 64-bit values to 63-bit
12553 ones as needed.
12554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12555 divide-by-zero is raised for zero to large negative powers.
12556 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12557 (__ieee754_powl): Test for y outside the range of signed 64-bit
12558 integers before using fistpll. Reduce 64-bit values to 63-bit
12559 ones as needed.
12560 * math/libm-test.inc (pow_test): Add more tests.
12561
eb96ffb0
L
125622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12563
12564 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12565 <stdio-common/_itoa.h>.
12566 * debug/segfault.c: Likewise.
12567 * elf/dl-cache.c: Likewise.
12568 * elf/dl-minimal.c: Likewise.
12569 * elf/dl-misc.c: Likewise.
12570 * elf/dl-sysdep.c: Likewise.
12571 * elf/dl-version.c: Likewise.
12572 * elf/rtld.c: Likewise.
12573 * hurd/hurdsock.c: Likewise.
12574 * hurd/lookup-retry.c: Likewise.
12575 * malloc/malloc.c: Likewise.
12576 * malloc/mtrace.c: Likewise.
12577 * nscd/nscd_getgr_r.c: Likewise.
12578 * nscd/nscd_getpw_r.c: Likewise.
12579 * nscd/nscd_getserv_r.c: Likewise.
12580 * posix/getopt_init.c: Likewise.
12581 * posix/wordexp.c: Likewise.
12582 * stdio-common/_itoa.c: Likewise.
12583 * stdio-common/printf_fphex.c: Likewise.
12584 * stdio-common/vfprintf.c: Likewise.
12585 * string/_strerror.c: Likewise.
12586 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12587 * sysdeps/i386/i686/hp-timing.h: Likewise.
12588 * sysdeps/mach/_strerror.c: Likewise.
12589 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12590 * sysdeps/mach/hurd/sethostid.c: Likewise.
12591 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12592 * sysdeps/mach/xpg-strerror.c: Likewise.
12593 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12595 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12596 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12597 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12598 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12599 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12600 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12601 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12602 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12603 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12604 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12605 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12606 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12607 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12608 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12610 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12611 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12612 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12613 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12614
12615 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12616
12617 * stdio-common/_itoa.h: Moved to ...
12618 * sysdeps/generic/_itoa.h: Here.
12619
12620 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12621
12622 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12623 instead of "_itoa.h" and "_itowa.h".
12624 * stdio-common/vfprintf.: Likewise.
12625
d1af992d
L
126262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12627
12628 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12629 <bits/wordsize.h>.
12630 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12631 (__signbit): Likwise.
12632 (llrintf): Likwise.
12633 (llrint): Likwise.
12634
114883e0
L
126352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12636
12637 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12638 __WORDSIZE != 64.
12639
c135cc1b
JM
126402012-03-20 Joseph Myers <joseph@codesourcery.com>
12641
12642 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12643 OVERFLOW_EXCEPTION_OK.
12644 * math/libm-test.inc ("Philosophy"): Update comment about
12645 exception testing.
12646 (OVERFLOW_EXCEPTION): Define.
12647 (OVERFLOW_EXCEPTION_OK): Likewise.
12648 (INVALID_EXCEPTION_OK): Renumber.
12649 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12650 (IGNORE_ZERO_INF_SIGN): Likewise.
12651 (test_exceptions): Handle FE_OVERFLOW.
12652 (exp10_test): Expect overflow exceptions.
12653 (exp2_test): Likewise.
12654 (expm1_test): Likewise.
12655 (nextafter_test): Likewise.
12656 (pow_test): Likewise.
12657 (scalbn_test): Likewise.
12658 (scalbln_test): Likewise.
12659
95443d88
L
126602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 * sysdeps/x86_64/bits/atomic.h
12663 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12664 64bit integer.
12665 (atomic_exchange_acq): Likewise.
12666 (__arch_exchange_and_add_body): Likewise.
12667 (__arch_add_body): Likewise.
12668 (atomic_add_negative): Likewise.
12669 (atomic_add_zero): Likewise.
12670
490df6c4
L
126712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12672
c2722551 12673 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12674 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12675
5e52b189
L
126762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12677
12678 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12679 Check __x86_64__ instead of __WORDSIZE.
12680
a9879d4c
L
126812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12682
12683 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12684
5df98260
DM
126852012-03-19 David S. Miller <davem@davemloft.net>
12686
e1497744
DM
12687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12688
5df98260
DM
12689 * sysdeps/sparc/fpu/fenv_private.h: New file.
12690 * sysdeps/sparc/fpu/math_private.h: Use it.
12691 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12692 Remove.
12693 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12694 (libc_feholdexcept_setroundl): Remove.
12695 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12696 Remove.
12697 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12698 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12699
b4c35121
L
127002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12703 int64_t instead of long int.
12704 (INSERT_WORDS64): Likwise.
12705
56965fd7
L
127062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12707
12708 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12709 _Unwind_GetCFA return to _Unwind_Ptr first.
12710
83d1aec8
JM
127112012-03-19 Joseph Myers <joseph@codesourcery.com>
12712
1897ad44
JM
12713 [BZ #13629]
12714 * math/s_clog.c: Include <float.h>.
12715 (__clog): Scale large or subnormal inputs.
12716 * math/s_clogf.c: Likewise.
12717 * math/s_clogl.c: Likewise.
12718 * math/s_clog10.c: Include <float.h>.
12719 (M_LOG10_2): Define.
12720 (__clog10): Scale large or subnormal inputs.
12721 * math/s_clog10f.c: Likewise.
12722 * math/s_clog10l.c: Likewise.
12723 * math/libm-test.inc (clog_test): Add more tests.
12724 (clog10_test): Likewise.
12725 * sysdeps/i386/fpu/libm-test-ulps: Update.
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12727
7726d6a9
JM
12728 [BZ #11451]
12729 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12730 x and y.
12731 * math/libm-test.inc (atan2_test): Add another test.
12732
83d1aec8
JM
12733 * Makerules (common-objdir-compile): Remove.
12734 * sysdeps/unix/Makefile (config-generated): Do not add
12735 $(unix-generated) to variable.
12736 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12737 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12738 Remove rule.
12739 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12740 Likewise.
12741 [generic bits/local_lim.h] (before-compile): Do not append to
12742 variable.
12743 [generic bits/local_lim.h] (common-generated): Likewise.
12744 [generic sys/param.h] (before-compile): Do not append to variable.
12745 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12746 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12747 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12748 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12749 include.
12750 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12751 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12752 [generic sys/param.h] ($(addprefix
12753 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12754 [generic sys/param.h] (common-generated): Do not append to
12755 variable.
12756 [generic sys/param.h] (sysdep_headers): Likewise.
12757 [generic bits/errno.h] (before-compile): Do not append to
12758 variable.
12759 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12760 rule.
12761 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12762 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12763 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12764 [generic bits/errno.h] (common-generated): Do not append to
12765 variable.
12766 [generic bits/ioctls.h] (before-compile): Do not append to
12767 variable.
12768 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12769 rule.
12770 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12771 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12772 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12773 rule.
12774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12775 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12776 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12777 [generic bits/ioctls.h] (common-generated): Do not append to
12778 variable.
12779 [generic sys/syscall.h] (syscall.h): Remove variable.
12780 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12781 rule.
12782 [generic sys/syscall.h] (before-compile): Do not append to
12783 variable.
12784 [generic sys/syscall.h] (common-generated): Likewise.
12785 * sysdeps/unix/errnos-tmpl.c: Remove file.
12786 * sysdeps/unix/errnos.awk: Likewise.
12787 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12788 * sysdeps/unix/ioctls.awk: Likewise.
12789 * sysdeps/unix/mk-local_lim.c: Likewise.
12790 * sysdeps/unix/snarf-ioctls: Likewise.
12791
4851a949
RH
127922012-03-19 Richard Henderson <rth@twiddle.net>
12793
bd37f2ee
RH
12794 * sysdeps/i386/fpu/fenv_private.h: New file.
12795 * sysdeps/i386/fpu/math_private.h: Use it.
12796 (math_opt_barrier, math_force_eval): Remove.
12797 (libc_feholdexcept_setround_53bit): Remove.
12798 (libc_feupdateenv_53bit): Remove.
12799 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12800 (math_opt_barrier, math_force_eval): Remove.
12801 (libc_feholdexcept): Remove.
12802 (libc_feholdexcept_setround): Remove.
12803 (libc_fetestexcept, libc_fesetenv): Remove.
12804 (libc_feupdateenv_test): Remove.
12805 (libc_feupdateenv, libc_feholdsetround): Remove.
12806 (libc_feresetround): Remove.
12807
d0adc922
RH
12808 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12809 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12810
0fe0f1f8
RH
12811 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12812 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12813 (libc_feupdateenv_testl): New.
12814 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12815 (libc_feupdateenv_testf): New.
12816 (libc_feupdateenv): Use libc_feupdateenv_test.
12817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12818 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12819
eb92c487
RH
12820 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12821 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12822 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12823 (libc_feresetround_noex): New.
12824 (libc_feresetround_noexf): New.
12825 (libc_feresetround_noexl): New.
12826 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12827 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12828 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12829 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12830 SET_RESTORE_ROUND.
12831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12833 (__cos): Likewise.
12834 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12836 SET_RESTORE_ROUND_NOEX.
12837 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12838 SET_RESTORE_ROUND_NOEXF.
12839 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12840 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12841 (libc_feholdsetroundf): New.
12842 (libc_feresetround, libc_feresetroundf): New.
12843
7d2e8012
RH
12844 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12845 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12846 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12847
b4dabbb4
RH
12848 * sysdeps/generic/math_private.h: Include <fenv.h>.
12849 (default_libc_feholdexcept): New.
12850 (default_libc_feholdexcept_setround): New.
12851 (default_libc_fesetenv, default_libc_feupdateenv): New.
12852 (libc_feholdexcept): Only define if undefined.
12853 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12854 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12855 (libc_feholdexcept_setroundl): Likewise.
12856 (libc_feholdexcept_setround_53bit): Likewise.
12857 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12858 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12859 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12860 (libc_feupdateenv_53bit): Likewise.
12861 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12862 (libc_feholdexcept): Convert from macro to inline function.
12863 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12864 (libc_fesetenv, libc_feupdateenv): Likewise.
12865
4851a949
RH
12866 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12867 not previously defined.
12868 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12869 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12870 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12871 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12872 * sysdeps/ieee754/flt-32/math_private.h: New file.
12873 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12874 math_private.h below SET_FLOAT_WORD.
12875 (__isnan, __isinf_ns, __finite): Remove.
12876 (__isnanf, __isinf_nsf, __finitef): Remove.
12877
e79d442e
AS
128782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12879
12880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12881
90b80344
DM
128822012-03-17 David S. Miller <davem@davemloft.net>
12883
12884 [BZ #6471]
12885 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12886 for 2.16.
12887
edc21804
DM
128882012-03-16 David S. Miller <davem@davemloft.net>
12889
77e927af
DM
12890 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12891 warnings.
12892
374976dd
DM
12893 [BZ #6471]
12894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12895 properly.
12896 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12897 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12898 sysdep_routines when subdir is sysvipc.
12899 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12900 __getshmlba helper.
12901
edc21804
DM
12902 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12903
473c3ef3
L
129042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12907 [__LP64__].
12908
eb0f39b6
L
129092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12910
12911 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12913 (__lround): Renamed to ...
12914 (__llround): This. Replace long int with long long int.
12915 Define lround functions as aliases of llround functions.
12916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12917
6b6cd74b
L
129182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12919
12920 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12921 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12922 adresses to uintptr_t. Replace "long int" and "unsigned long
12923 int" with "greg_t" on va_arg.
12924
f1a77b01
L
129252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12928 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12929
12930 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12931 Move e_machine check before EI_CLASS check. Handle x32
12932 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12933 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12934 SKIP_EM_IA_64 and include
12935 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12936
12937 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12938 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12939 (add_system_dir): New macro.
12940
12941 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12942 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12943
11b90b9f
JM
129442012-03-16 Joseph Myers <joseph@codesourcery.com>
12945
c36e1d23
JM
12946 [BZ #2551]
12947 [BZ #2552]
12948 [BZ #2553]
12949 [BZ #2554]
12950 [BZ #2562]
12951 [BZ #2563]
12952 [BZ #2565]
12953 [BZ #2566]
12954 [BZ #2576]
12955 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12956 (y0): Likewise.
12957 * math/w_j0f.c (j0f): Likewise.
12958 (y0f): Likewise.
12959 * math/w_j0l.c (__j0l): Likewise.
12960 (__y0l): Likewise.
12961 * math/w_j1.c (j1): Likewise.
12962 (y1): Likewise.
12963 * math/w_j1f.c (j1f): Likewise.
12964 (y1f): Likewise.
12965 * math/w_j1l.c (__j1l): Likewise.
12966 (__y1l): Likewise.
12967 * math/w_jn.c (jn): Likewise.
12968 (yn): Likewise.
12969 * math/w_jnf.c (jnf): Likewise.
12970 (ynf): Likewise.
12971 * math/w_jnl.c (__jnl): Likewise.
12972 (__ynl): Likewise.
12973 * math/libm-test.inc (j0_test): Add more tests.
12974 (j1_test): Likewise.
12975 (jn_test): Likewise. Add trailing semicolon to existing test.
12976 (y0_test): Likewise.
12977 (y1_test): Likewise.
12978 * sysdeps/i386/fpu/libm-test-ulps: Update.
12979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12980
11b90b9f
JM
12981 [BZ #13851]
12982 [BZ #13854]
12983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12984 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12985 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12987 (__tanl): Set errno for infinite argument.
12988 * sysdeps/i386/fpu/mptan.c: Remove.
12989 * sysdeps/i386/fpu/s_tan.S: Likewise.
12990 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12991 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12992 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12993 * math/libm-test.inc (tan_test): Add more tests and enable more
12994 tests for double and long double.
12995 * sysdeps/i386/fpu/libm-test-ulps: Update.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997
6a1bd2a1
JK
129982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12999
13000 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13001 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13002
10a803e0
RM
130032012-03-16 Roland McGrath <roland@hack.frob.com>
13004
13005 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13006 * configure.in: Use it for both main tree and add-ons.
13007 * configure: Regenerated.
13008
f196c7f7
L
130092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13010
13011 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13012
8848d99d
JM
130132012-03-16 Joseph Myers <joseph@codesourcery.com>
13014
96cbe7f4
JM
13015 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13016 in comment.
13017
8848d99d
JM
13018 [BZ #13851]
13019 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13020 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13021 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13022 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13023 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13024 infinite argument.
13025 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13027 != 0 for prec == 2.
13028 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13029 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13030 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13031 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13032 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13033 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13034 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13035 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13036 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13037 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13038 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13039 * math/libm-test.inc (cos_test): Add more tests and enable more
13040 tests for long double.
13041 (sin_test): Likewise.
13042 (sincos_test): Likewise.
13043 * sysdeps/i386/fpu/libm-test-ulps: Update.
13044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13045
dd7f4703
DM
130462012-03-16 David S. Miller <davem@davemloft.net>
13047
13048 * sysdeps/sparc/fpu/math_private.h: New file.
13049
006f1daa
DM
130502012-03-15 David S. Miller <davem@davemloft.net>
13051
c0c83bc8
DM
13052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13053 file.
e6a62e18 13054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
13055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13056 file.
e6a62e18
DM
13057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13063 sysdep routines.
13064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13065
88cb87d9
DM
13066 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13067 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13068
006f1daa 13069 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13071 sparc-ifunc.h
006f1daa 13072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
13073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13074 Likewise.
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13076 Likewise.
006f1daa
DM
13077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
13080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13081 Likewise.
006f1daa
DM
13082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
13086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13087 Likewise.
13088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13089 Likewise.
006f1daa
DM
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13114
11e0098e
AS
131152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13116
13117 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13118 scaling.
13119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13120
e85b09d0
AJ
131212012-03-15 Andreas Jaeger <aj@suse.de>
13122
13123 [BZ #13852]
13124 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13125 ieee754/flt-32 implementation for sin, cos and sincos.
13126 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13127 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13128 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13129 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13130 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13131 ieee754/flt-32 implementation for tan.
13132
13133 * math/libm-test.inc (cos_test): Enable some large input tests for
13134 float as well
13135 (sin_test): Likewise.
13136 (sincos_test): Likewise.
13137 (tan_test): Add tests for large input.
13138
13139 * sysdeps/i386/fpu/libm-test-ulps: Update.
13140
81c64153
AJ
131412012-03-15 Andreas Jaeger <aj@suse.de>
13142
13143 [BZ #13658]
13144 * math/libm-test.inc (cos_test): Add more test cases.
13145 (sin_test): Likewise.
13146 (sincos_test): Likewise.
13147
7bbfa5c6
AJ
131482012-03-15 Andreas Jaeger <aj@suse.de>
13149
13150 [BZ #13837]
13151 * math/libm-test.inc (cos_test): Add a test case for large input
13152 value.
13153 (sin_test): Likewise.
13154 (sincos_test): Likewise.
13155
131562012-03-15 Andreas Jaeger <aj@suse.de>,
13157 Joseph Myers <joseph@codesourcery.com>
13158
13159 [BZ #13658]
0671f479 13160 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13161 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13162 * sysdeps/i386/fpu/branred.c: Likewise.
13163 * sysdeps/i386/fpu/dosincos.c: Likewise.
13164 * sysdeps/i386/fpu/mpa.c: Likewise.
13165 * sysdeps/i386/fpu/s_cos.S: Likewise.
13166 * sysdeps/i386/fpu/s_sin.S: Likewise.
13167 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13168 * sysdeps/i386/fpu/sincos32.c: Likewise.
13169
13170 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13171 Define.
13172 (libc_feupdateenv_53bit): Define.
13173 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13174 Define.
13175 (libc_feupdateenv_53bit): Define.
13176
13177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13178 53 bit (without extend i386 double precision).
13179
13180 * math/libm-test.inc (sincos_test): Add tests for large input.
13181 (sin): Likewise.
13182 (cos): Likewise.
13183
13184 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13185
9cad04ea
AS
131862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13187
13188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13189
f7062b9a
DM
131902012-03-15 David S. Miller <davem@davemloft.net>
13191
13192 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13193 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13194 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13195 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13208 file.
f7062b9a 13209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13211 file.
f7062b9a 13212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13214 file.
f7062b9a 13215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13217 file.
f7062b9a
DM
13218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13220 fmin/fmax sysdep routines.
13221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13222
7bd951ff
DM
132232012-03-14 David S. Miller <davem@davemloft.net>
13224
559398ab
DM
13225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13254 routines.
13255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13256 file.
559398ab 13257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13259 file.
559398ab 13260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13262 file.
559398ab 13263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13265 file.
559398ab 13266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13268 file.
559398ab 13269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13271 file.
13272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13273 file.
13274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13275 file.
13276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13277 file.
13278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13279 New file.
13280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13281 file.
13282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13283 file.
559398ab 13284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13286 file.
559398ab 13287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13289 file.
559398ab 13290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13292 file.
559398ab 13293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13295 VIS3 routines.
559398ab
DM
13296
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13298 New file.
13299
5a1c1e32
DM
13300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13301
eae47a36
DM
13302 * sysdeps/sparc/configure.in: New file.
13303 * sysdeps/sparc/configure: Generate.
13304 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13305 * configure: Regenerate.
13306 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13307 * config.make.in (have-as-vis3): New.
13308 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13309 available use -Av9d instead of -Av9a.
13310 * sysdeps/sparc/sparc64/Makefile: Likewise.
13311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13313 New file.
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13315 file.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13317 New file.
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13319 file.
eae47a36
DM
13320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13325
c0c83bc8
DM
13326 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13327 fzeros/fnegs to load 0x80000000 into a float register instead of
13328 using the stack.
7bd951ff
DM
13329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13330
bd951ccb
JM
133312012-03-14 Joseph Myers <joseph@codesourcery.com>
13332
13333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13334 bits/syscall.h.
13335 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13336 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13337 ($(inst_includedir)/bits/syscall.h): Remove rule.
13338 ($(objpfx)bits/syscall.d): Include instead of
13339 $(objpfx)syscall-list.d.
13340 (generated): Change syscall-list.h and syscall-list.d to
13341 bits/syscall.h and bits/syscall.d.
13342
bb4e6db2
RM
133432012-03-14 Roland McGrath <roland@hack.frob.com>
13344
13345 [BZ #13846]
13346 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13347
aa4a2ae1
JM
133482012-03-14 Joseph Myers <joseph@codesourcery.com>
13349
e456826d
JM
13350 [BZ #13841]
13351 * math/s_csqrt.c: Include <float.h>.
13352 (__csqrt): Scale large or subnormal inputs.
13353 * math/s_csqrtf.c: Likewise.
13354 * math/s_csqrtl.c: Likewise.
13355 * math/libm-test.inc (csqrt_test): Add more tests.
13356 * sysdeps/i386/fpu/libm-test-ulps: Update.
13357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13358
aa4a2ae1
JM
13359 [BZ #13840]
13360 * math/libm-test.inc (hypot_test): Add more tests.
13361
7c10fd35
DM
133622012-03-13 David S. Miller <davem@davemloft.net>
13363
13364 [BZ #13840]
13365 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13366 double-precision for the calculation instead of scaling.
13367
f453b98b
JM
133682012-03-13 Joseph Myers <joseph@codesourcery.com>
13369
13370 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13371 manipulate bits before adding and subtracting TWO52[sx].
13372 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13374 Likewise.
13375 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13376
09a3453f
DM
133772012-03-13 David S. Miller <davem@davemloft.net>
13378
8e59da90
DM
13379 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13380 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13382 rtld-global-offsets.h
13383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13384
2a8ab7f2
DM
13385 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13386 large parameters.
13387
10f62770
DM
13388 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13389
5f0bdb18
DM
13390 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13391 'err' in the ifdef scope in which it is actually used.
13392
09a3453f
DM
13393 * nss/nss_db/db-init.c: Include string.h
13394
b4b2eb5e
DM
133952012-03-12 David S. Miller <davem@davemloft.net>
13396
98bb2f1c
DM
13397 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13398 masking out of the most significant byte of random value used.
13399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13400 Fix coding style in previous change.
13401
b4b2eb5e
DM
13402 * sysdeps/unix/sysv/linux/kernel-features.h
13403 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13404 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13405 expression.
13406 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13407 later.
13408
6e226b09
DM
134092012-03-11 David S. Miller <davem@davemloft.net>
13410
a1bcbd40
DM
13411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13412 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13414 for 'resultvar' otherwise things get truncated on 64-bit.
13415
cb9d6174
DM
13416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13417 Fix masking out of the most significant byte of random value used.
13418
6e226b09
DM
13419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13420
058c132d
AS
134212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13422
13423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13424
2d2cd515
DM
134252012-03-09 David S. Miller <davem@davemloft.net>
13426
13427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13428 variables with appropriate CPP guards.
13429 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13430 frame pointer, not the stack pointer. Correct layout comments. Fix test
13431 on resulting framesize and the management of the outregs buffer for pltexit.
13432 Preserve floating point return values across _dl_call_pltexit call.
13433 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13434 framesize and the management of the outregs buffer for pltexit.
13435 Preserve floating point return values across _dl_call_pltexit
13436 call.
13437 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13438 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13439 (print_exit): Fix format string for return register value.
13440
9a07f9d0
JM
134412012-03-10 Joseph Myers <joseph@codesourcery.com>
13442
13443 * sunrpc/Makefile (others): Add rpcgen.
13444 ($(objpfx)rpcgen): Remove special build rule and dependency on
13445 libc.
13446 * sunrpc/rpcgen.c: New file.
13447
547b5e30
PE
134482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13449
c524201a
PE
13450 [BZ #13673]
13451 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13452 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13453 * sysdeps/i386/crti.S: Likewise.
13454 * sysdeps/i386/crtn.S: Likewise.
13455 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13456 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13457 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13458 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13459 * sysdeps/sh/crti.S: Likewise.
13460 * sysdeps/sh/crtn.S: Likewise.
13461 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13462
7b6235f2
PE
13463 [BZ #13673]
13464 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13465 with URL.
13466 * locale/programs/locfile-kw.gperf: Likewise.
13467 * locale/programs/charmap-kw.h: Regenerated.
13468 * locale/programs/locfile-kw.h: Likewise.
13469
547b5e30
PE
13470 [BZ #13673]
13471 * intl/plural.y: Replace FSF snail mail address with URL.
13472 * intl/plural.c: Regenerated.
13473
5f0a5dae
RH
134742012-03-09 Richard Henderson <rth@twiddle.net>
13475
13476 * include/math_private.h: Remove file.
13477 * math/math_private.h: Move file ...
13478 * sysdeps/generic/math_private.h: ... here.
13479
b8c03620
RH
13480 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13481 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13482 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13483
4e234f5d 13484 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13485 and <math_private.h>.
13486 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13487 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13488 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13489 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13490 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13491 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13492 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13494 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13495 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13498 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13499 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13500 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13501 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13502 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13503 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13504 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13505 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13508 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13510 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13512 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13516 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13518 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13519 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13520 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13521 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13522 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13523 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13524 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13526 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13527 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13528 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13529 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13532 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13533 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13535 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13536 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13537 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13538 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13539 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13540 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13541 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13543 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13544 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13545 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13547 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13549 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13550 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13551 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13552 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13553 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13554 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13555 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13559 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13560 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13565 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13567 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13570 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13574 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13575 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13576 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13577 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13579 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13580 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13581 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13586 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13587 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13588 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13589 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13590 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13591 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13592 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13593 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13594 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13595 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13596 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13597 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13600 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13602 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13603 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13604 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13605 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13606 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13607 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13608 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13609 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13610 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13611 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13613 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13614 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13615 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13616 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13618 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13619 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13620 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13621 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13622 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13623 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13624 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13625 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13627 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13628 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13629 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13630 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13634 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13635 * sysdeps/ieee754/k_standard.c: Likewise.
13636 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13640 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13645 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13648 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13649 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13650 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13653 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13660 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13663 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13664 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13665 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13666 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13667 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13668 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13669 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13670 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13673 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13674 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13675 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13677 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13678 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13679 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13680 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13681 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13682 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13683 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13684 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13687 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13688 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13689 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13690 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13691 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13692 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13693 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13697 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13698 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13706 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13718 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13751 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13755 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13758 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13763 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13796 * sysdeps/ieee754/s_lib_version.c: Likewise.
13797 * sysdeps/ieee754/s_matherr.c: Likewise.
13798 * sysdeps/ieee754/s_signgam.c: Likewise.
13799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13801 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13802 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13803 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13804 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13805 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13806 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13807 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13808 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13809 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13810 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13811 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13812 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13813 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13814 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13815 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13820
1991fa03
JM
138212012-03-09 Joseph Myers <joseph@codesourcery.com>
13822
13823 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13824 * sunrpc/rpc_main.c: Likewise.
13825 * sunrpc/rpc_svcout.c: Likewise.
13826
60d6f5a6
DM
138272012-03-09 David S. Miller <davem@davemloft.net>
13828
13829 * include/math_private.h: New file.
13830
4962050e
JM
138312012-03-09 Joseph Myers <joseph@codesourcery.com>
13832
02a6f887
JM
13833 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13834 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13835 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13836 from <bits/socket_type.h>.
13837 (enum __socket_type): Don't define here.
13838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13840 bits/socket_type.h.
13841
c6e013c1
JM
13842 [BZ #13566]
13843 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13844 checking __USE_GNU.
13845
4962050e
JM
13846 * Makerules ($(inst_includedir)/%.h): New rule.
13847 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13848 (install-others): Remove variable setting.
13849 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13850
38842f45
RH
138512012-03-08 Richard Henderson <rth@twiddle.net>
13852
67bb6da6
RH
13853 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13854 from macro to inline function; merge with the
13855 !__LIBC_INTERNAL_MATH_INLINES version.
13856 (__ieee754_sqrtf): Likewise.
13857
15194b4b
RH
13858 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13859 to inline function.
13860 (__rintf, __floor, __floorf): Likewise.
13861
64e21ede
RH
13862 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13863 macro to inline function.
13864 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13865
38842f45
RH
13866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13867 not <math/math_private.h>.
13868
c64bf5fe
DM
138692012-03-08 David S. Miller <davem@davemloft.net>
13870
13871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13872 copyright year.
13873 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13874
82d86f28
TS
138752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13876
13877 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13878 normalization.
13879 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13880 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13881
aea5d727
UD
138822012-03-08 Ulrich Drepper <drepper@gmail.com>
13883
13884 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13885 be defined individually, they must be defined as a block. Define
13886 S for printing a string instead of hidint the different by using a
13887 macro for adding the 'l'.
13888 * stdio-common/tst-fphex-wide.c: Adjust.
13889
70bca0a3
MP
138902012-03-07 Marek Polacek <polacek@redhat.com>
13891
13892 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13893
65b81130
MP
138942012-03-08 Marek Polacek <polacek@redhat.com>
13895
13896 [BZ #13806]
13897 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13898 * stdio-common/tst-fphex.c: Define a few macros to make the
13899 test reusable. Use them.
13900 * stdio-common/tst-fphex-wide.c: New file.
13901
07037eeb
JM
139022012-03-08 Joseph Myers <joseph@codesourcery.com>
13903
a7a93d50
JM
13904 [BZ #6911]
13905 * manual/macros.texi (gnusystems): New macro.
13906 (nongnusystems): Likewise.
13907 (gnulinuxhurdsystems): Likewise.
13908 (gnuhurdsystems): Likewise..
13909 (gnulinuxsystems): Likewise.
13910 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13911 variants of the GNU system, not "GNU system".
13912 * manual/conf.texi: Likewise.
13913 * manual/errno.texi: Likewise. Update example of errno macro
13914 expansion.
13915 * manual/filesys.texi: Likewise.
13916 (getumask): Document as specific to GNU/Hurd.
13917 * manual/install.texi: Likewise. Reword some references to
13918 GNU/Linux.
13919 * manual/intro.texi: Likewise.
13920 * manual/io.texi: Likewise.
13921 (File Name Portability): Detail which constraints are inapplicable
13922 to all GNU systems and which are only inapplicable to GNU/Hurd.
13923 * manual/job.texi: Likewise.
13924 * manual/llio.texi: Likewise.
13925 (O_NOCTTY): Document as present on GNU/Linux.
13926 * manual/maint.texi: Likewise.
13927 * manual/memory.texi: Likewise.
13928 * manual/pattern.texi: Likewise.
13929 * manual/pipe.texi: Likewise.
13930 * manual/process.texi: Likewise.
13931 * manual/resource.texi: Likewise.
13932 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13933 child on GNU/Hurd.
13934 * manual/setjmp.texi: Likewise.
13935 * manual/signal.texi: Likewise.
13936 * manual/startup.texi: Likewise.
13937 * manual/stdio.texi: Likewise.
13938 * manual/terminal.texi: Likewise.
13939 (ONLCR): Document as POSIX.
13940 (OXTABS): Document availability on GNU/Linux as XTABS.
13941 (ONOEOT): Document availability separately from other bits.
13942 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13943 * manual/time.texi: Likewise.
13944 * manual/users.texi: Likewise.
13945 * INSTALL: Regenerated.
13946 * sysdeps/gnu/errlist.c: Regenerated.
13947
07037eeb
JM
13948 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13949 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13950 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13951 puts.
13952 * configure: Regenerated.
13953
d1d3431a
JM
139542012-03-07 Joseph Myers <joseph@codesourcery.com>
13955
af6a1e37
JM
13956 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13957 default includes instead of AC_HEADER_CHECK.
13958 * sysdeps/i386/configure: Regenerated.
13959
d1d3431a
JM
13960 [BZ #10716]
13961 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13962 * math/s_cacoshf.c (__cacoshf): Likewise.
13963 * math/s_cacoshl.c (__cacoshl): Likewise.
13964 * math/s_casinh.c (__casinh): Set signs of result from argument.
13965 * math/s_casinhf.c (__casinhf): Likewise.
13966 * math/s_casinhl.c (__casinhl): Likewise.
13967 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13968 (casinh_test): Add more tests.
13969 * sysdeps/i386/fpu/libm-test-ulps: Update.
13970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13971
482ff4da
UD
139722012-03-07 Ulrich Drepper <drepper@gmail.com>
13973
872fda05
UD
13974 * po/zh_TW.po: Update from translation team.
13975
a4300c7a
UD
13976 * login/Makefile (distribute): Remove variable.
13977 * catgets/Makefile: Likewise.
13978 * mach/Makefile: Likewise.
13979 * malloc/Makefile: Likewise.
13980 * misc/Makefile: Likewise.
13981 * iconv/Makefile: Likewise.
13982 * nscd/Makefile: Likewise.
13983 * hurd/Makefile: Likewise.
13984 * manual/Makefile: Likewise.
13985 * locale/Makefile: Likewise.
13986 * intl/Makefile: Likewise.
13987 * conform/Makefile: Likewise.
13988 * nss/Makefile: Likewise.
13989 * time/Makefile: Likewise.
13990 * soft-fp/Makefile: Likewise.
13991 * dirent/Makefile: Likewise.
13992 * gmon/Makefile: Likewise.
13993 * po/Makefile: Likewise.
13994 * rt/Makefile: Likewise.
13995 * socket/Makefile: Likewise.
13996 * math/Makefile: Likewise.
13997 * signal/Makefile: Likewise.
13998 * debug/Makefile: Likewise.
13999 * elf/Makefile: Likewise.
14000 * timezone/Makefile: Likewise.
14001 * stdlib/Makefile: Likewise.
14002 * iconvdata/Makefile: Likewise.
14003 * sunrpc/Makefile: Likewise.
14004 * io/Makefile: Likewise.
14005 * argp/Makefile: Likewise.
14006 * inet/Makefile: Likewise.
14007 * hesiod/Makefile: Likewise.
14008 * grp/Makefile: Likewise.
14009 * csu/Makefile: Likewise.
14010 * wctype/Makefile: Likewise.
14011 * crypt/Makefile: Likewise.
14012 * libio/Makefile: Likewise.
14013 * string/Makefile: Likewise.
14014 * nis/Makefile: Likewise.
14015 * resolv/Makefile: Likewise.
14016 * stdio-common/Makefile: Likewise.
14017 * wcsmbs/Makefile: Likewise.
14018 * dlfcn/Makefile: Likewise.
14019 * posix/Makefile: Likewise.
14020
3b7c4e74 14021 [BZ #6959]
482ff4da
UD
14022 * timezone/Makefile: Don't install timezone files, just the programs
14023 and scripts.
14024
f72ed77d
UD
140252012-03-06 Ulrich Drepper <drepper@gmail.com>
14026
a000466f
UD
14027 * nss/databases.def: Add missing gshadow entry.
14028
f72ed77d
UD
14029 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14030
a53b7a4e
MP
140312012-03-06 Marek Polacek <polacek@redhat.com>
14032
14033 [BZ #13726]
14034 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14035 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14036 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14037 * stdio-common/tst-long-dbl-fphex.c: New file.
14038
e9258400
DM
140392012-03-06 David S. Miller <davem@davemloft.net>
14040
14041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14042 (set_obp_int): New function.
14043 (get_obp_int): New function.
14044 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
14045 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14046 Avoid unused variable warnings on 'val' and use builtin_expect.
14047 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14048 __builtin_expect.
e9258400
DM
14049 (INLINE_CLONE_SYSCALL): Likewise.
14050
3bd2c723
DM
140512012-03-05 David S. Miller <davem@davemloft.net>
14052
14053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14054
bbb78d03
AS
140552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14056
884c5db4
AS
14057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14058
bbb78d03
AS
14059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14060 only for |x| >= 40.
14061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14062
1c9f702a 140632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
14064
14065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14066 Replace gettimeofday with __vdso_gettimeofday.
14067
7be16f82
RM
14068 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14069 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14070 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
14071
14072 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14073 time with __vdso_time.
14074
ed58a00f
JM
140752012-03-05 Joseph Myers <joseph@codesourcery.com>
14076
14077 * manual/lang.texi (size_t): Note types to which size_t may be
14078 equivalent with the GNU C Library, but do not describe when
14079 differences between them are significant.
14080
30ee4ced
AJ
140812012-03-05 Andreas Jaeger <aj@suse.de>
14082
14083 * sysdeps/i386/fpu/libm-test-ulps: Update.
14084
b7cd39e8
JM
140852012-03-05 Joseph Myers <joseph@codesourcery.com>
14086
14087 [BZ #3976]
14088 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14089 (__ieee754_pow): Save and restore rounding mode and use
14090 round-to-nearest for main computations.
14091 * math/libm-test.inc (pow_test_tonearest): New function.
14092 (pow_test_towardzero): Likewise.
14093 (pow_test_downward): Likewise.
14094 (pow_test_upward): Likewise.
14095 (main): Call the new functions.
14096 * sysdeps/i386/fpu/libm-test-ulps: Update.
14097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
14098
14099 [BZ #3976]
14100 * math/libm-test.inc (cosh_test_tonearest): New function.
14101 (cosh_test_towardzero): Likewise.
14102 (cosh_test_downward): Likewise.
14103 (cosh_test_upward): Likewise.
14104 (sinh_test_tonearest): Likewise.
14105 (sinh_test_towardzero): Likewise.
14106 (sinh_test_downward): Likewise.
14107 (sinh_test_upward): Likewise.
14108 (main): Call the new functions.
14109 * sysdeps/i386/fpu/libm-test-ulps: Update.
14110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14111
6c6a98c9
TV
141122012-03-05 Tom de Vries <tom@codesourcery.com>
14113
14114 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14115 default stack guard is set in last bytes.
14116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14117
21bb2d2e 141182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 14119
21bb2d2e 14120 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 14121
21bb2d2e
AJ
14122 [BZ #13656]
14123 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14124 possibly allocate from heap instead of stack.
14125 * stdio-common/bug-vfprintf-nargs.c: New file.
14126 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 14127
c6922934
AS
141282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14129
14130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131
bc957d53
MP
141322012-03-03 Marek Polacek <polacek@redhat.com>
14133
14134 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14135 * math/math_private.h: Likewise.
14136 * stdlib/tst-strtod.c: Likewise.
14137 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14138 * sysdeps/x86_64/bits/atomic.h: Likewise.
14139
6358490d
DM
141402012-03-02 David S. Miller <davem@davemloft.net>
14141
14142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14146 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14147 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14148 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14149 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14150
01ae168d
RM
141512012-03-02 Roland McGrath <roland@hack.frob.com>
14152
d9a17c07
RM
14153 [BZ #13792]
14154 * manual/examples/README: New file, says the example source files
14155 can be used under GPL>=2.
14156 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14157 line containing just "*/".
14158 * manual/examples/add.c: Add copyright header (GPL>=2).
14159 * manual/examples/argp-ex1.c: Likewise.
14160 * manual/examples/argp-ex2.c: Likewise.
14161 * manual/examples/argp-ex3.c: Likewise.
14162 * manual/examples/argp-ex4.c: Likewise.
14163 * manual/examples/atexit.c: Likewise.
14164 * manual/examples/db.c: Likewise.
14165 * manual/examples/dir.c: Likewise.
14166 * manual/examples/dir2.c: Likewise.
14167 * manual/examples/execinfo.c: Likewise.
14168 * manual/examples/filecli.c: Likewise.
14169 * manual/examples/filesrv.c: Likewise.
14170 * manual/examples/fmtmsgexpl.c: Likewise.
14171 * manual/examples/genpass.c: Likewise.
14172 * manual/examples/inetcli.c: Likewise.
14173 * manual/examples/inetsrv.c: Likewise.
14174 * manual/examples/isockad.c: Likewise.
14175 * manual/examples/longopt.c: Likewise.
14176 * manual/examples/memopen.c: Likewise.
14177 * manual/examples/memstrm.c: Likewise.
14178 * manual/examples/mkfsock.c: Likewise.
14179 * manual/examples/mkisock.c: Likewise.
14180 * manual/examples/mygetpass.c: Likewise.
14181 * manual/examples/pipe.c: Likewise.
14182 * manual/examples/popen.c: Likewise.
14183 * manual/examples/rprintf.c: Likewise.
14184 * manual/examples/search.c: Likewise.
14185 * manual/examples/select.c: Likewise.
14186 * manual/examples/setjmp.c: Likewise.
14187 * manual/examples/sigh1.c: Likewise.
14188 * manual/examples/sigusr.c: Likewise.
14189 * manual/examples/stpcpy.c: Likewise.
14190 * manual/examples/strdupa.c: Likewise.
14191 * manual/examples/strftim.c: Likewise.
14192 * manual/examples/strncat.c: Likewise.
14193 * manual/examples/subopt.c: Likewise.
14194 * manual/examples/swapcontext.c: Likewise.
14195 * manual/examples/termios.c: Likewise.
14196 * manual/examples/testopt.c: Likewise.
14197 * manual/examples/testpass.c: Likewise.
14198 * manual/examples/timeval_subtract.c: Likewise.
14199
01ae168d
RM
14200 [BZ #13792]
14201 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14202 function to ...
14203 * manual/timeval_subtract.c.texi: ... here, new file.
14204
49efa33d
DM
142052012-03-02 David S. Miller <davem@davemloft.net>
14206
14207 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14208
28afd92d
JM
142092012-03-02 Joseph Myers <joseph@codesourcery.com>
14210
804360ed
JM
14211 [BZ #3976]
14212 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14213 (__sin): Save and restore rounding mode and use round-to-nearest
14214 for all computations.
14215 (__cos): Save and restore rounding mode and use round-to-nearest
14216 for all computations.
14217 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14218 <fenv.h>.
14219 (tan): Save and restore rounding mode and use round-to-nearest for
14220 all computations.
14221 * math/libm-test.inc (cos_test_tonearest): New function.
14222 (cos_test_towardzero): Likewise.
14223 (cos_test_downward): Likewise.
14224 (cos_test_upward): Likewise.
14225 (sin_test_tonearest): Likewise.
14226 (sin_test_towardzero): Likewise.
14227 (sin_test_downward): Likewise.
14228 (sin_test_upward): Likewise.
14229 (tan_test_tonearest): Likewise.
14230 (tan_test_towardzero): Likewise.
14231 (tan_test_downward): Likewise.
14232 (tan_test_upward): Likewise.
14233 (main): Call the new functions.
14234 * sysdeps/i386/fpu/libm-test-ulps: Update.
14235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14236
a6d06d7b
JM
14237 [BZ #10135]
14238 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14239 small n, then large n, before computing and testing k+n.
14240 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14242 Likewise.
14243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14244 Likewise.
14245 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14246 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14247 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14248 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14253 * math/libm-test.inc (scalbn_test): Add more tests.
14254 (scalbln_test): Likewise.
14255
07e12bb3
JM
14256 * manual/filesys.texi (mode_t): Describe constraints on size and
14257 signedness, not exact equivalence to a particular type.
14258 (ino_t): Likewise.
14259 (ino64_t): Likewise.
14260 (dev_t): Likewise.
14261 (nlink_t): Likewise.
14262 (blkcnt_t): Likewise.
14263 (blkcnt64_t): Likewise.
14264 * manual/llio.texi (off_t): Likewise.
14265
28afd92d
JM
14266 [BZ #3976]
14267 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14268 (__ieee754_exp): Save and restore rounding mode and use
14269 round-to-nearest for all computations.
14270 * math/libm-test.inc (exp_test_tonearest): New function.
14271 (exp_test_towardzero): Likewise.
14272 (exp_test_downward): Likewise.
14273 (exp_test_upward): Likewise.
14274 (main): Call the new functions.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14277
b1eeb65d
CD
142782012-03-01 Chris Demetriou <cgd@google.com>
14279
14280 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14281 have predictable order.
14282
53362a4b
DM
142832012-03-01 David S. Miller <davem@davemloft.net>
14284
3c969083
DM
14285 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14286
759707de
DM
14287 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14288 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14289 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14290 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14291
dfdb8ff2
DM
14292 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14293 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14294 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14296 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14297 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14298 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14299 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14300 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14301
ead89f96
DM
14302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14303
7f66bd07
DM
14304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14305 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14306 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14307
53362a4b
DM
14308 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14309 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14310 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14315 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14316 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14317 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14318 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14321 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14324 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14325 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14326 * sysdeps/sparc/elf/configure: Regenerated.
14327
7b1902cb
JM
143282012-03-01 Joseph Myers <joseph@codesourcery.com>
14329
bec039bc
JM
14330 * configure.in (AS, LD): Require binutils 2.20 or later.
14331 * configure: Regenerated.
14332 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14333 as required minimum version.
14334 * INSTALL: Regenerated.
14335
7b1902cb
JM
14336 [BZ #2541]
14337 [BZ #4108]
14338 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14339 before squaring exponent.
14340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14341 bottom long double and 27 bits of top long double before squaring
14342 exponent.
14343 * math/libm-test.inc (erfc_test): Add more tests.
14344 * sysdeps/i386/fpu/libm-test-ulps: Update.
14345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14347
f775c276
KT
143482012-03-01 Kai Tietz <ktietz@redhat.com>
14349
14350 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14351 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14352 containing bit-fields.
14353 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14354 * soft-fp/single.h (_FP_UNION_S): Likewise.
14355 * soft-fp/double.h (_FP_UNION_D): Likewise.
14356
5b8a4d4a
JM
143572012-02-29 Joseph Myers <joseph@codesourcery.com>
14358
0bab47b6
JM
14359 [BZ #13786]
14360 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14361 not include ../strcmp.S.
14362 [USE_AS_STRNCASECMP_L]: Likewise.
14363 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14364 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14365 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14366 (__strncasecmp_l_ia32): Define as alias to
14367 __strncasecmp_l_nonascii.
14368
0fcad3e2
JM
14369 [BZ #5794]
14370 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14371 * sysdeps/i386/fpu/libm-test-ulps: Update.
14372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14373
5b8a4d4a
JM
14374 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14376
8fdceb2e
JL
143772012-02-29 Jeff Law <law@redhat.com>
14378
14379 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14380 out of bounds read.
14381
1f393a11
MP
143822012-02-29 Marek Polacek <polacek@redhat.com>
14383
14384 [BZ #13706]
14385 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14386 * elf/Makefile: Add rules to run tst-unused-dep.out.
14387
8847f037
DM
143882012-02-28 David S. Miller <davem@davemloft.net>
14389
14390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14394 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14395 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14396
169d7f11
JM
143972012-02-29 Joseph Myers <joseph@codesourcery.com>
14398
14399 * math/libm-test.inc (llround_test): Move one test from
14400 lround_test. Use TEST_f_L in moved test.
14401 (lround_test): Move misplaced test to llround_test. Add testcase
14402 from bug 2561.
14403
39adf059
UD
144042012-02-28 Ulrich Drepper <drepper@gmail.com>
14405
14406 * sysdeps/x86_64/fpu/e_expf.S: New file.
14407 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14408
71b5d1c5
SB
144092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14410
14411 [BZ #13637]
14412 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14413 of remain_len that may cause incomplete multi-byte character and
14414 false match.
14415 * posix/bug-regex33.c: New file.
14416 * posix/Makefile (tests): Add bug-regex33.
14417
1f77f049
JM
144182012-02-28 Joseph Myers <joseph@codesourcery.com>
14419
14420 * manual/macros.texi: New file.
14421 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14422 * manual/libc.texinfo: Include macros.texi.
14423 * manual/creatute.texi: Likewise.
14424 * manual/install.texi: Likewise.
14425 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14426 @glibcadj{} in references to the GNU C Library.
14427 * manual/charset.texi: Likewise.
14428 * manual/conf.texi: Likewise.
14429 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14430 when not using those macros.
14431 * manual/creature.texi: Likewise.
14432 * manual/crypt.texi: Likewise.
14433 * manual/errno.texi: Likewise.
14434 * manual/filesys.texi: Likewise.
14435 * manual/header.texi: Likewise.
14436 * manual/install.texi: Likewise.
14437 * manual/intro.texi: Likewise.
14438 * manual/io.texi: Likewise.
14439 * manual/job.texi: Likewise.
14440 * manual/lang.texi: Likewise.
14441 * manual/libc.texiinfo: Likewise.
14442 * manual/llio.texi: Likewise.
14443 * manual/locale.texi: Likewise.
14444 * manual/maint.texi: Likewise.
14445 * manual/math.texi: Likewise.
14446 * manual/memory.texi: Likewise.
14447 * manual/message.texi: Likewise.
14448 * manual/nss.texi: Likewise.
14449 * manual/pattern.texi: Likewise.
14450 * manual/process.texi: Likewise.
14451 * manual/resource.texi: Likewise.
14452 * manual/search.texi: Likewise.
14453 * manual/setjmp.texi: Likewise.
14454 * manual/signal.texi: Likewise.
14455 * manual/socket.texi: Likewise.
14456 * manual/startup.texi: Likewise.
14457 * manual/stdio.texi: Likewise.
14458 * manual/string.texi: Likewise.
14459 * manual/sysinfo.texi: Likewise.
14460 * manual/syslog.texi: Likewise.
14461 * manual/terminal.texi: Likewise.
14462 * manual/time.texi: Likewise.
14463 * manual/users.texi: Likewise.
14464 * INSTALL: Regenerated.
14465 * NOTES: Regenerated.
d40c5d54 14466 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14467
450bf206
AS
144682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14469
14470 * include/dirent.h: Include <dirstream.h> before
14471 <dirent/dirent.h>.
14472
741a235b
DM
144732012-02-28 David S. Miller <davem@davemloft.net>
14474
14475 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14476 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14477 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14478 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14479
d6b5aa58
DM
144802012-02-27 David S. Miller <davem@davemloft.net>
14481
1aff59a3
DM
14482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14484 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14485 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14486
d6b5aa58
DM
14487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14488 frame pointer instead of stack pointer relative arg slot.
14489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14492
433f48bf
CD
144932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14494
14495 [BZ #3992]
14496 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14497
d674b76d
DM
144982012-02-27 David S. Miller <davem@davemloft.net>
14499
14500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14506 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14508
0e7727f7
JM
145092012-02-27 Joseph Myers <joseph@codesourcery.com>
14510
14511 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14512 later. Allow versions 5-9.
43be4ca2 14513 * configure: Regenerated.
0e7727f7
JM
14514 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14515 required minimum version and 4.6 as recommended version. Do not
14516 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14517 * INSTALL: Regenerated.
0e7727f7 14518
a78bc654
DM
145192012-02-27 David S. Miller <davem@davemloft.net>
14520
428d5830
DM
14521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14525 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14526 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14527 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14528 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14529
a78bc654
DM
14530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14531 manipulate bits before adding and subtracting TWO112[sx].
14532 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14533
4579f81c
RM
145342012-02-27 Roland McGrath <roland@hack.frob.com>
14535
36c8acb4
RM
14536 [BZ #13775]
14537 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14538 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14539 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14540 being in POSIX, because they are in 1003.1-2008.
14541
84ad622b
RM
14542 * rt/tst-aio.c: Include <fcntl.h>.
14543 * rt/tst-aio7.c: Likewise.
14544 * rt/tst-aio64.c: Likewise.
14545
4579f81c
RM
14546 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14547
abd923db
JM
145482012-02-27 Joseph Myers <joseph@codesourcery.com>
14549
14550 * manual/install.texi (--with-headers): Describe headers as
14551 interface headers, not private headers.
14552 (Specific advice for GNU/Linux systems): Describe use of headers
14553 from "make headers_install", not private headers from older
14554 kernels.
43be4ca2 14555 * INSTALL: Regenerated.
abd923db
JM
14556 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14557 Change to 2.6.19.
14558 * sysdeps/unix/sysv/linux/configure: Regenerated.
14559
6664049b
JM
14560 * manual/llio.texi (fclean): Remove documentation.
14561
bb8b6697
JM
14562 * manual/Makefile (libc-texi-generated): New variable. Include
14563 version.texi.
14564 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14565 $(libc-texi-generated), not duplicated list of files.
14566 (version.texi, stamp-version): New rules.
14567 (realclean): Remove $(libc-texi-generated), not individual files
14568 from that list. Do not remove dir-add.texinfo.
14569 * manual/libc.texinfo: Comment out uses of edition numbers and
14570 references to printed manual. Remove last-updated dates.
14571 (EDITION): Comment out.
14572 (ISBN): Likewise.
14573 (VERSION, UPDATED): Remove.
14574 (version.texi): Include.
14575
12e5c3b9
AS
145762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14577
14578 * sysdeps/posix/spawni.c: Include <signal.h>.
14579 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14580 * sysdeps/pthread/aio_fsync.c: Likewise.
14581
4efeffc1 145822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14583
ba63ba08
UD
14584 * conform/Makefile (tests): Run only when not cross-compiling and
14585 when fast-check is not defined.
14586
d94a4670
UD
14587 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14588 * conform/data/limits.h-data: Fixes for POSIX2008.
14589 * conform/run-conformtest.sh: Run all tests.
14590 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14591 headers.
14592 * include/bits/dlfcn.h: Likewise.
14593 * include/langinfo.h: Likewise.
14594 * include/monetary.h: Likewise.
14595 * include/sys/poll.h: Likewise.
14596
14597 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14598 for __USE_GNU.
14599 * posix/spawn.h: Define __need_sigset_t.
14600 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14601 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14602 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14603 to get sigevent_t only.
14604 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14605 only for __USE_GNU.
14606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14607 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14608 process_vm_writev only for __USE_GNU.
14609 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14610
14611 * conform/Makefile: For now ignore errors from run-conformtest.
14612 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14613 POSIX to avoid namespace pollution. Don't prepend headers.
14614 * conform/data/aio.h-data: Fixes for POSIX testing.
14615 * conform/data/fcntl.h-data: Likewise.
14616 * conform/data/glob.h-data: Likewise.
14617 * conform/data/grp.h-data: Likewise.
14618 * conform/data/pthread.h-data: Likewise.
14619 * conform/data/pwd.h-data: Likewise.
14620 * conform/data/signal.h-data: Likewise.
14621 * conform/data/spawn.h-data: Likewise.
14622 * conform/data/stdio.h-data: Likewise.
14623 * conform/data/stdlib.h-data: Likewise.
14624 * conform/data/stropts.h-data: Likewise.
14625 * conform/data/sys/mman.h-data: Likewise.
14626 * conform/data/sys/stat.h-data: Likewise.
14627 * conform/data/sys/types.h-data: Likewise.
14628 * conform/data/sys/wait.h-data: Likewise.
14629 * conform/data/time.h-data: Likewise.
14630 * conform/data/unistd.h-data: Likewise.
14631 * conform/data/utime.h-data: Likewise.
14632
14633 * io/sys/stat.h: fchmod was always in POSIX.
14634 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14635 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14636 * rt/aio.h: Define __need_timespec before including <time.h>.
14637 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14638 struct. Add forward declaration of pthread_attr_t and use it in
14639 sigevent.
14640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14642 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14643 always remove CLK_TCK definition.
14644
c20105c3
AS
146452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14646
14647 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14648
7a270350
UD
146492012-02-25 Ulrich Drepper <drepper@gmail.com>
14650
31341567
UD
14651 * conform/run-conformtest.sh: New file.
14652 * conform/Makefile: Run run-conformtest for tests.
14653 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14654 support.
14655
14656 * conform/data/uchar.h-data: New file.
14657 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14658 * conform/data/arpa/inet.h-data: Likewise.
14659 * conform/data/assert.h-data: Likewise.
14660 * conform/data/complex.h-data: Likewise.
14661 * conform/data/cpio.h-data: Likewise.
14662 * conform/data/ctype.h-data: Likewise.
14663 * conform/data/dirent.h-data: Likewise.
14664 * conform/data/dlfcn.h-data: Likewise.
14665 * conform/data/errno.h-data: Likewise.
14666 * conform/data/fcntl.h-data: Likewise.
14667 * conform/data/float.h-data: Likewise.
14668 * conform/data/fmtmsg.h-data: Likewise.
14669 * conform/data/fnmatch.h-data: Likewise.
14670 * conform/data/ftw.h-data: Likewise.
14671 * conform/data/glob.h-data: Likewise.
14672 * conform/data/grp.h-data: Likewise.
14673 * conform/data/iconv.h-data: Likewise.
14674 * conform/data/inttypes.h-data: Likewise.
14675 * conform/data/langinfo.h-data: Likewise.
14676 * conform/data/libgen.h-data: Likewise.
14677 * conform/data/limits.h-data: Likewise.
14678 * conform/data/locale.h-data: Likewise.
14679 * conform/data/math.h-data: Likewise.
14680 * conform/data/monetary.h-data: Likewise.
14681 * conform/data/mqueue.h-data: Likewise.
14682 * conform/data/ndbm.h-data: Likewise.
14683 * conform/data/net/if.h-data: Likewise.
14684 * conform/data/netdb.h-data: Likewise.
14685 * conform/data/netinet/in.h-data: Likewise.
14686 * conform/data/nl_types.h-data: Likewise.
14687 * conform/data/poll.h-data: Likewise.
14688 * conform/data/pthread.h-data: Likewise.
14689 * conform/data/pwd.h-data: Likewise.
14690 * conform/data/regex.h-data: Likewise.
14691 * conform/data/sched.h-data: Likewise.
14692 * conform/data/search.h-data: Likewise.
14693 * conform/data/semaphore.h-data: Likewise.
14694 * conform/data/setjmp.h-data: Likewise.
14695 * conform/data/signal.h-data: Likewise.
14696 * conform/data/spawn.h-data: Likewise.
14697 * conform/data/stdarg.h-data: Likewise.
14698 * conform/data/stdio.h-data: Likewise.
14699 * conform/data/stdlib.h-data: Likewise.
14700 * conform/data/string.h-data: Likewise.
14701 * conform/data/strings.h-data: Likewise.
14702 * conform/data/stropts.h-data: Likewise.
14703 * conform/data/sys/ipc.h-data: Likewise.
14704 * conform/data/sys/mman.h-data: Likewise.
14705 * conform/data/sys/msg.h-data: Likewise.
14706 * conform/data/sys/resource.h-data: Likewise.
14707 * conform/data/sys/select.h-data: Likewise.
14708 * conform/data/sys/sem.h-data: Likewise.
14709 * conform/data/sys/shm.h-data: Likewise.
14710 * conform/data/sys/socket.h-data: Likewise.
14711 * conform/data/sys/stat.h-data: Likewise.
14712 * conform/data/sys/statvfs.h-data: Likewise.
14713 * conform/data/sys/time.h-data: Likewise.
14714 * conform/data/sys/timeb.h-data: Likewise.
14715 * conform/data/sys/times.h-data: Likewise.
14716 * conform/data/sys/types.h-data: Likewise.
14717 * conform/data/sys/uio.h-data: Likewise.
14718 * conform/data/sys/un.h-data: Likewise.
14719 * conform/data/sys/utsname.h-data: Likewise.
14720 * conform/data/sys/wait.h-data: Likewise.
14721 * conform/data/syslog.h-data: Likewise.
14722 * conform/data/tar.h-data: Likewise.
14723 * conform/data/termios.h-data: Likewise.
14724 * conform/data/utime.h-data: Likewise.
14725 * conform/data/utmpx.h-data: Likewise.
14726 * conform/data/varargs.h-data: Likewise.
14727 * conform/data/wchar.h-data: Likewise.
14728 * conform/data/wctype.h-data: Likewise.
14729 * conform/data/wordexp.h-data: Likewise.
14730
14731 * include/stropts.h: New file.
14732 * include/uchar.h: New file.
14733 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14734 * include/assert.h: Likewise.
14735 * include/ctype.h: Likewise.
14736 * include/dirent.h: Likewise.
14737 * include/dlfcn.h: Likewise.
14738 * include/fcntl.h: Likewise.
14739 * include/fnmatch.h: Likewise.
14740 * include/glob.h: Likewise.
14741 * include/grp.h: Likewise.
14742 * include/libio.h: Likewise.
14743 * include/locale.h: Likewise.
14744 * include/math.h: Likewise.
14745 * include/net/if.h: Likewise.
14746 * include/netdb.h: Likewise.
14747 * include/netinet/in.h: Likewise.
14748 * include/pthread.h: Likewise.
14749 * include/pwd.h: Likewise.
14750 * include/regex.h: Likewise.
14751 * include/sched.h: Likewise.
14752 * include/search.h: Likewise.
14753 * include/setjmp.h: Likewise.
14754 * include/signal.h: Likewise.
14755 * include/stdio.h: Likewise.
14756 * include/stdlib.h: Likewise.
14757 * include/string.h: Likewise.
14758 * include/sys/cdefs.h: Likewise.
14759 * include/sys/mman.h: Likewise.
14760 * include/sys/msg.h: Likewise.
14761 * include/sys/resource.h: Likewise.
14762 * include/sys/select.h: Likewise.
14763 * include/sys/socket.h: Likewise.
14764 * include/sys/stat.h: Likewise.
14765 * include/sys/statvfs.h: Likewise.
14766 * include/sys/time.h: Likewise.
14767 * include/sys/times.h: Likewise.
14768 * include/sys/uio.h: Likewise.
14769 * include/sys/utsname.h: Likewise.
14770 * include/sys/wait.h: Likewise.
14771 * include/termios.h: Likewise.
14772 * include/time.h: Likewise.
14773 * include/ulimit.h: Likewise.
14774 * include/unistd.h: Likewise.
14775 * include/utime.h: Likewise.
14776 * include/wchar.h: Likewise.
14777 * include/wctype.h: Likewise.
14778 * include/wordexp.h: Likewise.
14779
14780 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14781
7a270350
UD
14782 * time/time.h: TIME_UTC must be a macro.
14783 Make timespec_get available for ISO C11 only as well.
14784
7724defc
UD
147852012-02-24 Ulrich Drepper <drepper@gmail.com>
14786
14787 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14788 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14789
6b1d1d46
JM
147902012-02-24 Joseph Myers <joseph@codesourcery.com>
14791
14792 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14793
0f8bbd69
JM
147942012-02-24 Joseph Myers <joseph@codesourcery.com>
14795
14796 * manual/texinfo.tex: Update to version 2012-01-19.16.
14797
66ab80bc
JM
147982012-02-24 Joseph Myers <joseph@codesourcery.com>
14799
14800 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14801
74981cc5
RM
148022012-02-24 Roland McGrath <roland@hack.frob.com>
14803
ee968201
RM
14804 [BZ #13738]
14805 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14806 * manual/fdl-1.3.texi: New file.
14807 * manual/fdl-1.1.texi: File removed.
14808
74981cc5
RM
14809 [BZ #13738]
14810 * manual/libc.texinfo (FDL_VERSION): New @set.
14811 Use it for mention of FDL in cover text.
14812 (Documentation License): Use it in @include file name.
14813
7bb764bc
JM
148142012-02-22 Joseph Myers <joseph@codesourcery.com>
14815 Roland McGrath <roland@hack.frob.com>
14816
14817 [BZ #5461]
14818 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14819 not LONG_LONG_MAX and LONG_LONG_MIN.
14820 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14821 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14822 name.
14823 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14824
6cbeae47
JM
148252012-02-22 Joseph Myers <joseph@codesourcery.com>
14826
14827 [BZ #2547]
14828 [BZ #11365]
14829 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14830 manipulate bits before adding and subtracting TWO23[sx].
14831 * math/libm-test.inc (nearbyint_test): Add more tests.
14832
fe45ce09
JM
148332012-02-22 Joseph Myers <joseph@codesourcery.com>
14834
14835 [BZ #2548]
14836 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14837 bits before adding and subtracting TWO23[sx].
14838 * math/libm-test.inc (rint_test): Add more tests.
14839 (rint_test_tonearest): Likewise.
14840 (rint_test_towardzero): Likewise.
14841 (rint_test_downward): Likewise.
14842 (rint_test_upward: Likewise.
14843
ff3b3d82
JM
148442012-02-22 Joseph Myers <joseph@codesourcery.com>
14845
14846 [BZ #10110]
14847 * include/stdc-predef.h: New file. Extracted from features.h.
14848 * include/features.h: Include stdc-predef.h.
14849 * Makefile (headers): Add stdc-predef.h.
14850 * CONFORMANCE (Compiler limitations): Update.
14851
ef0aab35
JM
148522012-02-22 Joseph Myers <joseph@codesourcery.com>
14853
14854 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14855
58639409
DM
148562012-02-21 David S. Miller <davem@davemloft.net>
14857
14858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14859 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14860
c0e70b25
DM
148612012-02-20 David S. Miller <davem@davemloft.net>
14862
14863 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14864 using a normal save/restore sequence, rather than allocating a
14865 dummy stack frame just to store a frame pointer and restore.
14866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14867
fb06851d
JM
148682012-02-21 Joseph Myers <joseph@codesourcery.com>
14869
14870 * manual/install.texi: Fix stray word in line-wrapped comment.
14871
7a8b71c3
DM
148722012-02-20 David S. Miller <davem@davemloft.net>
14873
d510c123
DM
14874 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14875 both binutils and gcc support GOTDATA.
14876
0722d7c2
DM
14877 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14878 "rd %pc" in the PIC register setup sequences.
14879
3d2b3019
DM
14880 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14881 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14882 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14883 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14884 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14889 (SYSCALL_ERROR_HANDLER): Likewise.
14890 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14891 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14893 (SYSCALL_ERROR_HANDLER): Likewise.
14894
c80098a9
DM
14895 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14896 (HAVE_GCC_GOTDATA): New.
14897 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14898 relocation support in both binutils and gcc.
14899 * sysdeps/sparc/elf/configure: Regenerate.
14900
3a2545a0
DM
14901 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14902 * sysdeps/sparc/sparc32/elf/configure: Delete.
14903 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14904 * sysdeps/sparc/sparc64/elf/configure: Delete.
14905 * sysdeps/sparc/elf/configure.in: New file.
14906 * sysdeps/sparc/elf/configure: Generate.
14907
7a8b71c3
DM
14908 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14909 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14910 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14911 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14912 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14913
f1e86fca
JM
149142012-02-21 Joseph Myers <joseph@codesourcery.com>
14915
14916 * manual/install.texi: Do not mention specific glibc version
14917 numbers.
14918 * manual/libc.texinfo (VERSION, UPDATED): Update.
14919 (@copying): Use @copyright{} and range of years.
14920
0e7dfaef
JM
149212012-02-21 Joseph Myers <joseph@codesourcery.com>
14922
14923 [BZ #13695]
14924 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14925 [crti.S not in sysdirs] (generated): Do not append.
14926 [crti.S not in sysdirs] (omit-deps): Likewise.
14927 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14928 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14929 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14930 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14931 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14932 Likewise.
14933 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14934 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14935 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14936 * csu/defs.awk: Remove file.
14937 * sysdeps/generic/initfini.c: Likewise.
14938 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14939 variable.
14940 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14941 Likewise.
14942
599af3ca
JM
149432012-02-20 Joseph Myers <joseph@codesourcery.com>
14944
14945 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14946 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14947 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14949 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14950 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14951 <bits/epoll.h>.
14952 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14953 (__EPOLL_PACKED): Define to empty if not defined by
14954 <bits/epoll.h>.
14955 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14957 bits/epoll.h.
14958
0e499750
JM
149592012-02-20 Joseph Myers <joseph@codesourcery.com>
14960
14961 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14962 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14963 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14964 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14965 <bits/timerfd.h>.
14966 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14968 bits/timerfd.h.
14969
5ad91f6e
JM
149702012-02-20 Joseph Myers <joseph@codesourcery.com>
14971
14972 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14973 in C locale.
14974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14975 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14976 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14978
06b99b02
AJ
149792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14980
14981 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14983
7638c0fd
AS
149842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14985
14986 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14987 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14988 defined.
14989 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14990 Likewise.
14991 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14992 entry for 2.16.
14993
92221550
AJ
149942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14995
14996 * math/w_acos.c: Use non-signaling floating-point comparisons.
14997 * math/w_acosf.c: Likewise.
14998 * math/w_acosh.c: Likewise.
14999 * math/w_acoshf.c: Likewise.
15000 * math/w_acoshl.c: Likewise.
15001 * math/w_acosl.c: Likewise.
15002 * math/w_asin.c: Likewise.
15003 * math/w_asinf.c: Likewise.
15004 * math/w_asinl.c: Likewise.
15005 * math/w_atanh.c: Likewise.
15006 * math/w_atanhf.c: Likewise.
15007 * math/w_atanhl.c: Likewise.
15008 * math/w_exp2.c: Likewise.
15009 * math/w_exp2f.c: Likewise.
15010 * math/w_exp2l.c: Likewise.
15011 * math/w_j0.c: Likewise.
15012 * math/w_j0f.c: Likewise.
15013 * math/w_j0l.c: Likewise.
15014 * math/w_j1.c: Likewise.
15015 * math/w_j1f.c: Likewise.
15016 * math/w_j1l.c: Likewise.
15017 * math/w_jn.c: Likewise.
15018 * math/w_jnf.c: Likewise.
15019 * math/w_log.c: Likewise.
15020 * math/w_log10.c: Likewise.
15021 * math/w_log10f.c: Likewise.
15022 * math/w_log10l.c: Likewise.
15023 * math/w_log2.c: Likewise.
15024 * math/w_log2f.c: Likewise.
15025 * math/w_log2l.c: Likewise.
15026 * math/w_logf.c: Likewise.
15027 * math/w_logl.c: Likewise.
15028 * math/w_sqrt.c: Likewise.
15029 * math/w_sqrtf.c: Likewise.
15030 * math/w_sqrtl.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15034 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15035 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15036
ebaf36eb
JM
150372012-02-19 Joseph Myers <joseph@codesourcery.com>
15038
15039 [BZ #9739]
15040 * manual/string.texi (strnlen): Use correct parameter name in
15041 equivalent expression.
15042
71c254a6
JM
150432012-02-19 Joseph Myers <joseph@codesourcery.com>
15044
15045 [BZ #11174]
15046 * manual/users.texi (seteuid): Consistently use neweuid for
15047 argument name.
15048
16d2c631
JM
150492012-02-19 Joseph Myers <joseph@codesourcery.com>
15050
15051 [BZ #13704]
15052 * manual/nss.texi (Services in the NSS configuration): Correct
15053 list of services in example configuration file.
15054
cd837b09
NB
150552012-02-19 Nick Bowler <nbowler@draconx.ca>
15056
15057 [BZ #11322]
15058 * manual/arith.texi: Remove statements about negative zero
15059 behaving identically to zero.
15060
02c4bbad
JM
150612012-02-18 Joseph Myers <joseph@codesourcery.com>
15062
15063 [BZ #5993]
15064 * manual/install.texi: Do not document upgrading from libc5.
15065
366842e7
JM
150662012-02-18 Joseph Myers <joseph@codesourcery.com>
15067
15068 [BZ #4596]
15069 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15070
dd54084d
DM
150712012-02-18 David S. Miller <davem@davemloft.net>
15072
15073 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15074 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15075 %o7 across the call.
15076 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15077 instead.
15078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15079 SETUP_PIC_REG_LEAF.
15080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15081 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15082 * sysdeps/sparc/crtn.S: Likewise.
15083
2bcc53a3
UD
150842012-02-17 Ulrich Drepper <drepper@gmail.com>
15085
15086 * aout/Makefile: Remove.
15087
09c093b5
RK
150882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15089
15090 [BZ #13058]
15091 * manual/examples/argp-ex1.c (main): Format definition in GNU
15092 style.
15093 * manual/examples/argp-ex2.c (main): Likewise.
15094 * manual/examples/argp-ex3.c (main): Likewise.
15095 * manual/examples/argp-ex4.c (main): Likewise.
15096 * manual/examples/longopt.c (main): Use new-style prototype
15097 definition.
15098 * manual/examples/strncat.c (main): Specify return type and use
15099 (void) for arguments.
15100 * manual/examples/subopt.c (main): Use char **argv argument.
15101
2ee633a2
JM
151022012-02-17 Joseph Myers <joseph@codesourcery.com>
15103
15104 [BZ #5077]
15105 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15106 rounding modes.
15107
0520adde
FB
151082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15109
15110 [BZ #6907]
15111 * manual/string.texi (strchr): Change when strchrnul is
15112 recommended.
15113
3f4081cd
DGM
151142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15115
15116 [BZ #174]
15117 * manual/locale.texi (setlocale): Document LOCPATH.
15118
d1b10e78
JM
151192012-02-17 Joseph Myers <joseph@codesourcery.com>
15120
15121 [BZ #10210]
15122 * manual/process.texi (execle): Move @dots{} before last argument.
15123
79c6869c
PB
151242012-02-17 Paul Bolle <pebolle@tiscali.nl>
15125
15126 [BZ #12047]
15127 * manual/charset.texi (Generic Charset Conversion): Fix typo
15128 (LC_TYPE -> LC_CTYPE).
15129
cc6e48bc
NB
151302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15131
15132 [BZ #5805]
15133 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15134 (scalbnf): Likewise.
15135 (scalbnl): Likewise.
15136 (scalbln): Likewise.
15137 (scalblnf): Likewise.
15138 (scalblnl): Likewise.
15139 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15140 (vwarnx): Likewise.
15141 (verr): Likewise.
15142 (verrx): Likewise.
15143 * manual/filesys.texi (telldir): Use braces around return type.
15144 * manual/llio.texi (mmap): Add space after comma.
15145 (mmap64): Likewise.
15146 * manual/math.texi (jn): Use @var{} on parameter names.
15147 (jnf): Likewise.
15148 (jnl): Likewise.
15149 (yn): Likewise.
15150 (ynf): Likewise.
15151 (ynl): Likewise.
15152 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15153 line.
15154 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15155 "...".
15156 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15157 (sched_get_priority_max): Likewise.
15158 * manual/signal.texi (sigvec): Add space after comma.
15159 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15160 names.
15161 (if_indextoname): Likewise.
15162 (if_freenameindex): Likewise.
15163 (sendto): Use ',' instead of '.' in prototype.
15164 * manual/startup.texi (syscall): Use @dots{} instead of literal
15165 "...".
15166 * manual/stdio.texi (__fpending): Separate initial words of
15167 paragraph from @deftypefun line.
15168 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15169 "...".
15170 (vsyslog): Use @var{} on parameter names.
15171 * manual/terminal.texi (stty): Use @var{} on parameter names.
15172 * manual/users.texi (getutmp): Use @var{} on parameter names.
15173 (getutmpx): Likewise.
15174
5b23062f
JM
151752012-02-17 Joseph Myers <joseph@codesourcery.com>
15176
15177 [BZ #6884]
15178 * manual/stdio.texi (fopen): Fix typos in description of
15179 ",ccs=STRING".
15180
8dee4833
AJ
151812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15182
15183 [BZ #4026]
15184 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15185 get clock_id definition.
15186
9078ce93
TS
151872012-02-17 Thomas Schwinge <thomas@schwinge.name>
15188
15189 [BZ #4822]
15190 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15191 (madvise): Cast every argument to void on its own.
15192
3835c55f
JM
151932012-02-17 Joseph Myers <joseph@codesourcery.com>
15194
15195 [BZ #9902]
15196 * manual/startup.texi (Exit Status): Fix typo.
15197
35c47e37
JM
151982012-02-17 Joseph Myers <joseph@codesourcery.com>
15199
15200 [BZ #10140]
15201 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15202 * manual/examples/argp-ex2.c: Likewise.
15203 * manual/examples/argp-ex3.c: Likewise.
15204
e3b69ca7
RH
152052012-02-16 Richard Henderson <rth@redhat.com>
15206
15207 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15208 * sysdeps/s390/s390-32/initfini.c: Remove.
15209 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15210 * sysdeps/s390/s390-64/initfini.c: Remove.
15211
df83af67
KK
152122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15213
15214 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15215 compiler output for sysdeps/generic/initfini.c.
15216 * sysdeps/sh/elf/initfini.c: Remove file.
15217
f63f3380
DM
152182012-02-16 David S. Miller <davem@davemloft.net>
15219
fb59b3a4
DM
15220 [BZ #11494]
15221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15222
f63f3380
DM
15223 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15224 * sysdeps/sparc/crti.S: New file.
15225 * sysdeps/sparc/crtn.S: New file.
15226 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15227 * sysdeps/sparc/sparc64/Makefile: Likewise.
15228
df6a4a4a
MF
152292012-02-15 Mike Frysinger <vapier@gentoo.org>
15230
6dd8f3dc 15231 [BZ #3335]
df6a4a4a
MF
15232 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15233
1cac7236
RM
152342012-02-15 Roland McGrath <roland@hack.frob.com>
15235
d2c736f8
RM
15236 [BZ #4822]
15237 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15238
1cac7236
RM
15239 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15240 (write, read, close): Likewise.
15241 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15242
8e475601
JM
152432012-02-15 Joseph Myers <joseph@codesourcery.com>
15244
15245 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15246 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15247 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15248 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15249 <bits/signalfd.h>.
15250 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15252 bits/signalfd.h.
15253
ed656b40
MP
152542012-02-14 Marek Polacek <polacek@redhat.com>
15255
15256 * sysdeps/x86_64/crti.S: New file.
15257 * sysdeps/x86_64/crtn.S: New file.
15258 * sysdeps/x86_64/elf/initfini.c: Remove file.
15259
2a979d3a
JM
152602012-02-13 Joseph Myers <joseph@codesourcery.com>
15261
15262 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15263 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15264 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15265 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15266 <bits/inotify.h>.
15267 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15269 bits/inotify.h.
15270
2a418ac3
JM
152712012-02-13 Joseph Myers <joseph@codesourcery.com>
15272
15273 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15274 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15275 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15276 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15277 <bits/eventfd.h>.
15278 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15280 bits/eventfd.h.
15281
fb779be7
TS
152822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15283
e19e83c5
RM
15284 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15285 __feraiseexcept instead of feraiseexcept.
7c35ffed 15286
fb779be7
TS
15287 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15288 nanosleep invocations.
15289 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15290 strings, and add error checking for a nanosleep invocations.
15291
59ba27a6
PE
152922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15293
15294 Replace FSF snail mail address with URLs, as per GNU coding standards.
15295 Most of the snail mail addresses were wrong anyway, and omitting
15296 them makes the source code easier to maintain. Almost all of the
15297 changes are to license notices and to locale LC_IDENTIFICATION
15298 addresses, except for this one:
15299 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15300 not its snail mail address.
15301
57b957eb
RH
153022012-02-09 Richard Henderson <rth@twiddle.net>
15303
af850b1c
RH
15304 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15305 of kernel-features.h.
15306
57b957eb
RH
15307 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15308
6b73181a
MP
153092012-02-08 Marek Polacek <polacek@redhat.com>
15310
15311 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15312 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15313 * sysdeps/gnu/_G_config.h: Likewise.
15314 * sysdeps/generic/_G_config.h: Likewise.
15315
26ecc33a
AS
153162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15317
6c6dbc63
AS
15318 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15319 tests.
15320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15321
e216c012
AS
15322 * sysdeps/powerpc/powerpc32/crti.S: New file.
15323 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15324 * sysdeps/powerpc/powerpc64/crti.S: New file.
15325 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15326
26ecc33a
AS
15327 * Makeconfig (have-initfini): Don't set.
15328 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15329 * configure.in (nopic_initfini): Don't substitute.
15330 * config.h.in (HAVE_INITFINI): Don't #undef.
15331 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15332 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15333
3add8e13
JM
153342012-02-08 Joseph Myers <joseph@codesourcery.com>
15335
15336 Support crti.S and crtn.S provided directly by architectures.
15337 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15338 [crti.S in sysdirs] (omit-deps): Likewise.
15339 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15340 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15341 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15342 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15343 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15344 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15345 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15346 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15347 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15348 compiler output for sysdeps/generic/initfini.c.
15349 * sysdeps/i386/elf/Makefile: Remove file.
15350 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15351
a22f12b4
MP
153522012-02-07 Marek Polacek <polacek@redhat.com>
15353
15354 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15355 * sysdeps/gnu/_G_config.h: Likewise.
15356 * sysdeps/mach/hurd/_G_config.h: Likewise.
15357
148cf100
MP
153582012-02-07 Marek Polacek <polacek@redhat.com>
15359
15360 * math/Makefile (tests): Add tst-CMPLX2.
15361 * math/tst-CMPLX2.c: New file.
15362
cfdc0dd7
AS
153632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15364
84ba42c4
AS
15365 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15366
cfdc0dd7
AS
15367 * math/libm-test.inc (jn_test): Add missing L suffix.
15368
622c86f4
MP
153692012-02-06 Marek Polacek <polacek@redhat.com>
15370
15371 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15372 * sysdeps/i386/fpu/e_powf.S: Likewise.
15373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15374 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15376 * sysdeps/i386/fpu/e_pow.S: Likewise.
15377 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15379 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15380 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15381 * sysdeps/i386/fpu/e_log2.S: Likewise.
15382 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15383 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15384 * sysdeps/i386/fpu/e_powl.S: Likewise.
15385 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15386 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15387 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15388 * sysdeps/i386/fpu/e_logl.S: Likewise.
15389 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15390 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15391 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15392 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15393 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15394 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15395 * sysdeps/i386/fpu/e_log.S: Likewise.
15396 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15398 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15399 * sysdeps/i386/fpu/e_logf.S: Likewise.
15400 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15401 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15402 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15403 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15404 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15405 * sysdeps/i386/fpu/e_log10.S: Likewise.
15406 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15408 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15409 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15411 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15412 * sysdeps/i386/asm-syntax.h: Likewise.
15413 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15414 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15415 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15416 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15417 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15419 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15420 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15422 * sysdeps/powerpc/sysdep.h: Likewise.
15423 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15424 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15425
d4a54ac6
JM
154262012-02-06 Joseph Myers <joseph@codesourcery.com>
15427
15428 [BZ #411]
15429 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15430
314054ea
JM
154312012-02-06 Joseph Myers <joseph@codesourcery.com>
15432
15433 * sysdeps/i386/sysdep.h: Include <features.h>.
15434 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15435 version.
15436
d8e0ca50
JM
154372012-02-05 Joseph Myers <joseph@codesourcery.com>
15438
15439 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15440 Define.
15441 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15442 LOAD_PIC_REG_STR.
15443
b1da7dd9
JM
154442012-02-03 Joseph Myers <joseph@codesourcery.com>
15445
15446 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15447 (SETUP_PIC_REG): Use GET_PC_THUNK.
15448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15449 macro.
15450
9a1d9254
JM
154512012-02-03 Joseph Myers <joseph@codesourcery.com>
15452
15453 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15454 for non-PIC compilation.
15455 (SETUP_PIC_REG): Add .p2align directive.
15456 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15457 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15458 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15459 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15461 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15462 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15464 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15465 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15466 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15467 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15468 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15469 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15470 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15471 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15472 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15473 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15474 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15475 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15476 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15478 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15479 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15484 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15485 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15486 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15487 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15488 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15489 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15490 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15491 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15492 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15493 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15494 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15495 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15496 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15497
65dc3b75
JM
154982012-02-03 Joseph Myers <joseph@codesourcery.com>
15499
15500 * math/tst-CMPLX.c: Include <stdio.h>.
15501
d55bf177
JM
155022012-01-31 Joseph Myers <joseph@codesourcery.com>
15503
15504 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15505 float.
15506 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15507 * sysdeps/sparc/bits/mathdef.h: Likewise.
15508
69db4f8f
MP
155092012-01-31 Marek Polacek <polacek@redhat.com>
15510
15511 * libio/libio.h: Don't define _PARAMS.
15512 * locale/programs/config.h: Don't define PARAMS.
15513 * stdlib/strtol_l.c: Likewise.
15514 (__strtol_l): Remove PARAMS from the prototype.
15515
41b81892
UD
155162012-01-31 Ulrich Drepper <drepper@gmail.com>
15517
3b49edc0
UD
15518 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15519 names. Just use the correct names. Remove unnecessary wrapper
15520 functions.
15521 * malloc/arena.c: Likewise.
15522 * malloc/hooks.c: Likewise.
15523
41b81892
UD
15524 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15525 ARENA_TEST says not to. Simplify test for creation of a new arena.
15526 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15527
27a25b6e
UD
155282012-01-30 Ulrich Drepper <drepper@gmail.com>
15529
15530 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15531 into tail calls.
15532 (update_get_addr): New function.
15533 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15534 GET_ADDR_MODULE parameter.
15535
c8a89e7d
JM
155362012-01-30 Joseph Myers <joseph@codesourcery.com>
15537
15538 * crypt/cert.c: Remove __STDC__ conditionals.
15539 * crypt/crypt-entry.c: Likewise.
15540 * crypt/crypt_util.c: Likewise.
15541 * libio/filedoalloc.c: Likewise.
15542 * libio/fileops.c: Likewise.
15543 * libio/genops.c: Likewise.
15544 * libio/iofclose.c: Likewise.
15545 * libio/iofdopen.c: Likewise.
15546 * libio/iofopen.c: Likewise.
15547 * libio/iofopen64.c: Likewise.
15548 * libio/iogetdelim.c: Likewise.
15549 * libio/iopopen.c: Likewise.
15550 * libio/obprintf.c: Likewise.
15551 * libio/oldfileops.c: Likewise.
15552 * libio/oldiofclose.c: Likewise.
15553 * libio/oldiofdopen.c: Likewise.
15554 * libio/oldiofopen.c: Likewise.
15555 * libio/oldiopopen.c: Likewise.
15556 * libio/wfiledoalloc.c: Likewise.
15557 * libio/wgenops.c: Likewise.
15558 * locale/programs/xmalloc.c: Likewise.
15559 * misc/syslog.c: Likewise.
15560 * stdio-common/xbug.c: Likewise.
15561 * string/memchr.c: Likewise.
15562 * string/memcmp.c: Likewise.
15563 * string/memrchr.c: Likewise.
15564 * string/rawmemchr.c: Likewise.
15565 * sysdeps/posix/getcwd.c: Likewise.
15566 * time/strftime_l.c: Likewise.
15567
3b100462
JM
155682012-01-30 Joseph Myers <joseph@codesourcery.com>
15569
15570 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15571 * config.make.in (config-cflags-sse2avx): Define.
15572 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15573 Fix typo.
15574
607998af
CM
155752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15576
15577 * scripts/config.guess: Update from upstream config git repository.
15578 * scripts/config.sub: Likewise.
15579
3601428f
CM
155802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15581
3ac8b282
CM
15582 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15583 (EM_NUM): Update.
15584 (R_TILEPRO_*, R_TILEGX_*): New macros.
15585
e034841e
CM
15586 * scripts/firstversions.awk: Fix bug in version range handling.
15587
540d7568
CM
15588 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15589
3601428f
CM
15590 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15591
463de862
CM
15592 * include/sys/epoll.h: New file.
15593 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15594 libc_hidden_def.
15595
73139a76
UD
155962012-01-28 Ulrich Drepper <drepper@gmail.com>
15597
96bc5b45
UD
15598 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15599 Avoid unnecessary __WORDSIZE == 64 test.
15600 (fmaxf): Use VEX format if possible.
15601 (fmax): Likewise.
15602 (fminf): Likewise.
15603 (fmin): Likewise.
15604
56f6f6a2
UD
15605 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15606 * math/math_private.h: Remove libc_fegetround* and
15607 libc_fesetround*.
15608 * sysdeps/i386/configure.in: Check for -msse2avx.
15609 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15610 also if SSE2AVX is defined.
15611 Remove libc_fegetround* and libc_fesetround*.
15612 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15613 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15614 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15615 of HAS_YMM_USABLE.
15616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15621
73139a76
UD
15622 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15623
d73f93a4
AZ
156242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15625
15626 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15627 size is not set.
15628 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15629
6ee65ed6
UD
156302012-01-27 Ulrich Drepper <drepper@gmail.com>
15631
15632 [BZ #13618]
15633 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15634 relocation.
15635 * Makeconfig (libm): Define.
15636 * elf/Makefile: Add rules to build and run tst-relsort1.
15637 * elf/tst-relsort1.c: New file.
15638 * elf/tst-relsort1mod1.c: New file.
15639 * elf/tst-relsort1mod2.c: New file.
15640
8db21882
JM
156412012-01-27 Joseph Myers <joseph@codesourcery.com>
15642
15643 * math/s_ldexp.c: Remove __STDC__ conditionals.
15644 * math/s_ldexpf.c: Likewise.
15645 * math/s_ldexpl.c: Likewise.
15646 * math/s_nextafter.c: Likewise.
15647 * math/s_nexttowardf.c: Likewise.
15648 * math/s_significand.c: Likewise.
15649 * math/s_significandf.c: Likewise.
15650 * math/s_significandl.c: Likewise.
15651 * math/w_jnl.c: Likewise.
15652 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15653 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15654 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15655 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15656 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15658 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15659 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15661 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15662 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15664 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15666 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15667 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15680 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15681 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15684 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15685 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15686 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15687 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15688 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15689 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15690 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15691 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15692 * sysdeps/ieee754/k_standard.c: Likewise.
15693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15696 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15697 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15698 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15700 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15701 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15702 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15703 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15704 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15705 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15706 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15707 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15712 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15729 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15732 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15733 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15735 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15736 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15739 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15743 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15748 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15749 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15750 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15753 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15754 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15758 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15759 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15762 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15763 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15764 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15765 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15770 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15771 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15772 * sysdeps/ieee754/s_matherr.c: Likewise.
15773 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15774 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15777
965a54a4
JM
157782012-01-26 Joseph Myers <joseph@codesourcery.com>
15779
15780 * crypt/md5.h: Remove __STDC__ conditionals.
15781 * libio/libioP.h: Likewise.
15782 * locale/programs/config.h: Likewise.
15783 * sysdeps/generic/sysdep.h: Likewise.
15784 * sysdeps/i386/asm-syntax.h: Likewise.
15785 * sysdeps/s390/asm-syntax.h: Likewise.
15786 * sysdeps/unix/sysdep.h: Likewise.
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15789
7071ad79
JM
157902012-01-26 Joseph Myers <joseph@codesourcery.com>
15791
15792 * libio/libio.h: Remove __STDC__ conditionals.
15793 * malloc/obstack.h: Likewise.
15794 * math/complex.h: Likewise.
15795 * math/math.h: Likewise.
15796 * sysdeps/generic/_G_config.h: Likewise.
15797 * sysdeps/gnu/_G_config.h: Likewise.
15798 * sysdeps/mach/hurd/_G_config.h: Likewise.
15799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15800 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15801 * sysdeps/sparc/bits/mathdef.h: Likewise.
15802
afc5ed09
UD
158032012-01-26 Ulrich Drepper <drepper@gmail.com>
15804
15805 [BZ #13583]
15806 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15807 Clean up HAS_* macros.
afc5ed09 15808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15809 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15810 possible.
15811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15812 HAS_AVX.
15813 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15814 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15815 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15817 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15818
bdb6de1d
JM
158192012-01-25 Joseph Myers <joseph@codesourcery.com>
15820
15821 * elf/tst-unique3.cc (gets): Remove declaration.
15822 * elf/tst-unique3lib.cc (gets): Likewise.
15823 * elf/tst-unique3lib2.cc (gets): Likewise.
15824 * elf/tst-unique4.cc (gets): Likewise.
15825
b15549e6
UD
158262012-01-24 Ulrich Drepper <drepper@gmail.com>
15827
15828 * include/stdio.h: Add C++ protection. Add gets declarations and
15829 definitions.
15830 * debug/tst-chk1.c: Don't declare gets here.
15831 * stdio-common/tst-gets.c: Likewise.
15832
a037381f
JM
158332012-01-24 Joseph Myers <joseph@codesourcery.com>
15834
15835 * posix/glob: Remove directory.
15836
f1d4aa75
JM
158372012-01-24 Joseph Myers <joseph@codesourcery.com>
15838
15839 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15840
81c0c964
PT
158412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15842
15843 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15844 of the non-standard EPFNOSUPPORT.
15845
0ea698ae
ST
158462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15847
15848 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15849 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15850 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15851
d220b117
UD
158522012-01-21 Ulrich Drepper <drepper@gmail.com>
15853
15854 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15855
3e1aa84e
UD
158562012-01-20 Ulrich Drepper <drepper@gmail.com>
15857
15858 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15859 transient errors.
15860 * nscd/grpcache.c (cache_addgr): Likewise.
15861 * nscd/hstcache.c (cache_addhst): Likewise.
15862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15863 * nscd/pwdcache.c (cache_addpw): Likewise.
15864 * nscd/servicescache.c (cache_addserv): Likewise.
15865
400aa020
UD
158662012-01-16 Ulrich Drepper <drepper@gmail.com>
15867
d77e7869
UD
15868 * malloc/malloc.c: Various cleanups.
15869 * malloc/hooks.c: Likewise.
15870
400aa020
UD
15871 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15872 * stdlib/bug-fmtmsg1.c: New file.
15873
15874 * stdlib/fmtmsg.c (init): Add missing unlock.
15875 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15876
e0a309cf
MP
158772012-01-12 Marek Polacek <polacek@redhat.com>
15878
15879 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15880 and _GNU_SOURCE.
15881
929d11c7
WS
158822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15883
15884 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15886 macro to ensure uniqueness of label name.
15887 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15888 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15889
41d0e869
UD
158902012-01-11 Ulrich Drepper <drepper@gmail.com>
15891
0cc5ed3b
UD
15892 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15893
41d0e869
UD
15894 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15895 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15896 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15897 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15898
a47a831a
UD
158992012-01-10 Ulrich Drepper <drepper@gmail.com>
15900
daa891c0
UD
15901 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15902
15903 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15904 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15905 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15906
e58ef0f2
UD
15907 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15908
a47a831a 15909 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15910 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15911 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15913
15914 * math/bits/math-finite.h: Add ldexp support.
15915
a0bfc9c7
MP
159162012-01-10 Marek Polacek <polacek@redhat.com>
15917
15918 * locale/programs/localedef.h (show_archive_content): Add noreturn
15919 attribute.
15920
d6e97a1d
UD
159212012-01-09 Ulrich Drepper <drepper@gmail.com>
15922
15923 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15924
d5835c26
UD
159252012-01-08 Ulrich Drepper <drepper@gmail.com>
15926
e5f484c6
UD
15927 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15928
d5835c26
UD
15929 * io/Makefile (headers): Add bits/poll2.h.
15930
d1f741e9
WS
159312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15932
15933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15934 typo #include statement.
15935
ec09c1c4
UD
159362012-01-08 Ulrich Drepper <drepper@gmail.com>
15937
15938 * include/sys/cdefs.h: Define __attribute_alloc_size.
15939 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15940 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15941 * elf/pldd.c: Likewise.
15942 * iconv/iconv_charmap.c: Likewise.
15943 * iconv/iconvconfig.c: Likewise.
15944 * iconv/strtab.c: Likewise.
15945 * locale/programs/locale.c: Likewise.
15946 * locale/programs/localedef.h: Likewise.
15947 * locale/programs/simple-hash.c: Likewise.
15948 * nscd/nscd.h: Likewise.
15949 * nss/makedb.c: Likewise.
15950 * sysdeps/generic/ldconfig.h: Likewise.
15951 * locale/programs/localedef.c: Remove xmalloc prototype.
15952 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15953
20b38e03
PP
159542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15955
15956 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15957 appropriate.
15958
a0da5fe1
UD
159592012-01-08 Ulrich Drepper <drepper@gmail.com>
15960
1d5a644a 15961 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15962 * math/tst-CMPLX.c: New file.
1d5a644a 15963
8784a6db
UD
15964 * math/complex.h (CMPLXL): Fix typo.
15965
d9a216c0
UD
15966 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15967 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15968 GLIBC_2.16.
15969 * debug/tst-chk1.c: Add poll and ppoll tests.
15970 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15971 * include/sys/poll.h: Add hidden proto for ppoll.
15972 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15973 * sysdeps/mach/hurd/ppoll.c: Likewise.
15974 * io/ppoll.c: Likewise.
15975 * debug/poll_chk.c: New file.
15976 * debug/ppoll_chk.c: New file.
15977 * include/bits/poll2.h: New file.
15978 * io/bits/poll2.h: New file.
15979
ac097f5c
UD
15980 [BZ #1350]
15981 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15982
2119dcfa
UD
15983 * configure.in: static is always set to yes. Remove.
15984 * config.make.in: Don't set build-static.
15985 * Makeconfig: Remove use of build-static.
15986 * dlfcn/Makefile: Likewise.
15987 * elf/Makefile: Likewise.
15988 * math/Makefile: Likewise.
15989 * misc/Makefile: Likewise.
15990 * nptl/Makefile: Likewise.
15991 * sysdeps/mach/hurd/Makefile: Likewise.
15992
121766a9
UD
15993 * configure.in: PWD_P is not used anymore.
15994 * config.make.in: Remove PWD_P entry.
15995
51a1d39c 15996 * configure.in: Remove last remnants of RANLIB.
8720d066 15997 No need to check for signed size_t anymore.
215f4bdc
UD
15998 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15999 and IA-64.
3857022a 16000 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
16001 * aclocal.m4: Likewise.
16002
d3ed7225
UD
16003 * wcsmbs/mbrtoc16.c: Implement using towc function.
16004 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16005 * wcsmbs/wcsmbsload.c: Likewise.
16006 * iconv/gconv_simple.c: Likewise.
16007 * iconv/gconv_int.h: Likewise.
16008 * iconv/gconv_builtin.h: Likewise.
16009 * iconv/iconv_prog.c: Remove CHAR16 handling.
16010
16011 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16012
16013 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16014
a0da5fe1
UD
16015 * configure.in: Remove --with-elf and --enable-bounded options.
16016 Dont set base_machine for ia64. More non-ELF conditions removed.
16017 Remove testing and setting of leading underscore information.
16018 * config.make.in (build-bounded): Set to no.
16019 * config.h.in: Remove NO_UNDERSCORES entry.
16020 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16021 them.
16022 * csu/start.c: Remove !NO_UNDERSCORE code.
16023 * locale/localeinfo.h: Likewise.
16024 * sysdeps/generic/machine-gmon.h: Likewise.
16025 * sysdeps/generic/sysdep.h: Likewise.
16026 * sysdeps/i386/sysdep.h: Likewise.
16027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16028 * sysdeps/mach/sysdep.h: Likewise.
16029 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16031 * sysdeps/sh/sysdep.h: Likewise.
16032 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16033 * sysdeps/unix/i386/sysdep.S: Likewise.
16034 * sysdeps/unix/sparc/start.c: Likewise.
16035 * sysdeps/unix/sparc/sysdep.S: Likewise.
16036 * sysdeps/unix/sparc/sysdep.h: Likewise.
16037 * sysdeps/unix/start.c: Likewise.
16038 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16039 * sysdeps/x86_64/sysdep.h: Likewise.
16040
df78418a
UD
160412012-01-07 Ulrich Drepper <drepper@gmail.com>
16042
a784e502
UD
16043 [BZ #13553]
16044 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16045 for non-gcc.
16046 * argp/argp-fmtstream.h: Use const instead __const.
16047 * argp/argp.h: Likewise.
16048 * assert/assert.h: Likewise.
16049 * bits/fenv.h: Likewise.
16050 * bits/sched.h: Likewise.
16051 * bits/sigset.h: Likewise.
16052 * bits/sigthread.h: Likewise.
16053 * catgets/nl_types.h: Likewise.
16054 * conform/data/pthread.h-data: Likewise.
16055 * crypt/crypt-private.h: Likewise.
16056 * crypt/crypt.h: Likewise.
16057 * crypt/crypt_util.c: Likewise.
16058 * ctype/ctype.h: Likewise.
16059 * debug/execinfo.h: Likewise.
16060 * debug/mbsnrtowcs_chk.c: Likewise.
16061 * debug/mbsrtowcs_chk.c: Likewise.
16062 * debug/wcsnrtombs_chk.c: Likewise.
16063 * debug/wcsrtombs_chk.c: Likewise.
16064 * debug/wcstombs_chk.c: Likewise.
16065 * dirent/dirent.h: Likewise.
16066 * dlfcn/dlfcn.h: Likewise.
16067 * elf/neededtest4.c: Likewise.
16068 * grp/grp.h: Likewise.
16069 * gshadow/gshadow.h: Likewise.
16070 * iconv/gconv.h: Likewise.
16071 * iconv/gconv_int.h: Likewise.
16072 * iconv/gconv_simple.c: Likewise.
16073 * iconv/iconv.h: Likewise.
16074 * iconv/loop.c: Likewise.
16075 * iconv/skeleton.c: Likewise.
16076 * include/aio.h: Likewise.
16077 * include/aliases.h: Likewise.
16078 * include/argz.h: Likewise.
16079 * include/arpa/inet.h: Likewise.
16080 * include/assert.h: Likewise.
16081 * include/dirent.h: Likewise.
16082 * include/dlfcn.h: Likewise.
16083 * include/execinfo.h: Likewise.
16084 * include/fcntl.h: Likewise.
16085 * include/fenv.h: Likewise.
16086 * include/glob.h: Likewise.
16087 * include/grp.h: Likewise.
16088 * include/libintl.h: Likewise.
16089 * include/mntent.h: Likewise.
16090 * include/netdb.h: Likewise.
16091 * include/pwd.h: Likewise.
16092 * include/rpc/netdb.h: Likewise.
16093 * include/sched.h: Likewise.
16094 * include/search.h: Likewise.
16095 * include/shadow.h: Likewise.
16096 * include/signal.h: Likewise.
16097 * include/stdio.h: Likewise.
16098 * include/stdlib.h: Likewise.
16099 * include/string.h: Likewise.
16100 * include/sys/socket.h: Likewise.
16101 * include/sys/stat.h: Likewise.
16102 * include/sys/statfs.h: Likewise.
16103 * include/sys/statvfs.h: Likewise.
16104 * include/sys/syslog.h: Likewise.
16105 * include/sys/time.h: Likewise.
16106 * include/sys/uio.h: Likewise.
16107 * include/time.h: Likewise.
16108 * include/unistd.h: Likewise.
16109 * include/utmp.h: Likewise.
16110 * include/wchar.h: Likewise.
16111 * include/wctype.h: Likewise.
16112 * inet/aliases.h: Likewise.
16113 * inet/arpa/inet.h: Likewise.
16114 * inet/netinet/ether.h: Likewise.
16115 * inet/netinet/in.h: Likewise.
16116 * intl/libintl.h: Likewise.
16117 * io/bits/fcntl2.h: Likewise.
16118 * io/fcntl.h: Likewise.
16119 * io/ftw.h: Likewise.
16120 * io/sys/poll.h: Likewise.
16121 * io/sys/stat.h: Likewise.
16122 * io/sys/statfs.h: Likewise.
16123 * io/sys/statvfs.h: Likewise.
16124 * io/utime.h: Likewise.
16125 * libio/bits/stdio.h: Likewise.
16126 * libio/bits/stdio2.h: Likewise.
16127 * libio/libio.h: Likewise.
16128 * libio/libioP.h: Likewise.
16129 * libio/stdio.h: Likewise.
16130 * locale/lc-ctype.c: Likewise.
16131 * locale/locale.h: Likewise.
16132 * login/utmp.h: Likewise.
16133 * malloc/arena.c: Likewise.
16134 * malloc/malloc.c: Likewise.
16135 * malloc/malloc.h: Likewise.
16136 * malloc/mcheck.c: Likewise.
16137 * malloc/mtrace.c: Likewise.
16138 * math/bits/mathcalls.h: Likewise.
16139 * math/fenv.h: Likewise.
16140 * math/math_private.h: Likewise.
16141 * misc/bits/error.h: Likewise.
16142 * misc/bits/syslog.h: Likewise.
16143 * misc/err.h: Likewise.
16144 * misc/error.h: Likewise.
16145 * misc/fstab.h: Likewise.
16146 * misc/mntent.h: Likewise.
16147 * misc/regexp.h: Likewise.
16148 * misc/search.h: Likewise.
16149 * misc/sgtty.h: Likewise.
16150 * misc/sys/mman.h: Likewise.
16151 * misc/sys/syslog.h: Likewise.
16152 * misc/sys/uio.h: Likewise.
16153 * misc/sys/xattr.h: Likewise.
16154 * misc/ttyent.h: Likewise.
16155 * nis/rpcsvc/ypclnt.h: Likewise.
16156 * nss/nss.h: Likewise.
16157 * posix/bits/unistd.h: Likewise.
16158 * posix/fnmatch.h: Likewise.
16159 * posix/glob.h: Likewise.
16160 * posix/sched.h: Likewise.
16161 * posix/spawn.h: Likewise.
16162 * posix/sys/wait.h: Likewise.
16163 * posix/unistd.h: Likewise.
16164 * posix/wordexp.h: Likewise.
16165 * pwd/pwd.h: Likewise.
16166 * resolv/netdb.h: Likewise.
16167 * resource/sys/resource.h: Likewise.
16168 * rt/aio.h: Likewise.
16169 * rt/bits/mqueue2.h: Likewise.
16170 * rt/mqueue.h: Likewise.
16171 * shadow/shadow.h: Likewise.
16172 * signal/signal.h: Likewise.
16173 * socket/send.c: Likewise.
16174 * socket/sendto.c: Likewise.
16175 * socket/sys/socket.h: Likewise.
16176 * stdio-common/printf.h: Likewise.
16177 * stdlib/bits/stdlib.h: Likewise.
16178 * stdlib/fmtmsg.h: Likewise.
16179 * stdlib/monetary.h: Likewise.
16180 * stdlib/stdlib.h: Likewise.
16181 * stdlib/ucontext.h: Likewise.
16182 * streams/stropts.h: Likewise.
16183 * string/argz.h: Likewise.
16184 * string/bits/string2.h: Likewise.
16185 * string/string.h: Likewise.
16186 * string/strings.h: Likewise.
16187 * sunrpc/rpc/auth.h: Likewise.
16188 * sunrpc/rpc/auth_des.h: Likewise.
16189 * sunrpc/rpc/clnt.h: Likewise.
16190 * sunrpc/rpc/netdb.h: Likewise.
16191 * sunrpc/rpc/pmap_clnt.h: Likewise.
16192 * sunrpc/rpc/xdr.h: Likewise.
16193 * sysdeps/generic/inttypes.h: Likewise.
16194 * sysdeps/generic/net/if.h: Likewise.
16195 * sysdeps/generic/sys/swap.h: Likewise.
16196 * sysdeps/gnu/net/if.h: Likewise.
16197 * sysdeps/gnu/utmpx.h: Likewise.
16198 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16199 * sysdeps/i386/i486/bits/string.h: Likewise.
16200 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16201 * sysdeps/s390/bits/string.h: Likewise.
16202 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16203 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16204 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16205 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16206 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16207 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16208 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16209 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16210 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16211 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16212 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16213 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16214 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16215 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16216 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16217 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16218 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16222 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16224 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16225 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16226 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16227 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16228 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16230 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16231 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16232 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16233 * sysvipc/sys/ipc.h: Likewise.
16234 * sysvipc/sys/msg.h: Likewise.
16235 * sysvipc/sys/sem.h: Likewise.
16236 * sysvipc/sys/shm.h: Likewise.
16237 * termios/termios.h: Likewise.
16238 * time/sys/time.h: Likewise.
16239 * time/time.h: Likewise.
16240 * wcsmbs/bits/wchar2.h: Likewise.
16241 * wcsmbs/uchar.h: Likewise.
16242 * wcsmbs/wchar.h: Likewise.
16243 * wctype/wctype.h: Likewise.
16244
0269750c
UD
16245 [BZ #13551]
16246 * Makeconfig: Remove all but ELF support including AIX support.
16247 * Makerules: Likewise.
16248 * config.h.in: Likewise.
16249 * config.make.in: Likewise.
16250 * configure: Likewise.
16251 * configure.in: Likewise.
16252 * csu/Makefile: Likewise.
16253 * csu/version.c: Likewise.
16254 * debug/Makefile: Likewise.
16255 * dlfcn/Makefile: Likewise.
16256 * elf/Makefile: Likewise.
16257 * extra-lib.mk: Likewise.
16258 * iconv/Makefile: Likewise.
16259 * include/libc-symbols.h: Likewise.
16260 * include/shlib-compat.h: Likewise.
16261 * resolv/Makefile: Likewise.
16262 * resolv/res_libc.c: Likewise.
16263 * rt/Makefile: Likewise.
16264 * sysdeps/i386/asm-syntax.h: Likewise.
16265 * sysdeps/i386/sysdep.h: Likewise.
16266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16267 * sysdeps/mach/sysdep.h: Likewise.
16268 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16269 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16270 * sysdeps/s390/asm-syntax.h: Likewise.
16271 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16273 * sysdeps/sh/sysdep.h: Likewise.
16274 * sysdeps/unix/sparc/sysdep.h: Likewise.
16275 * sysdeps/wordsize-32/divdi3.c: Likewise.
16276 * sysdeps/x86_64/sysdep.h: Likewise.
16277
00bbd29b
UD
16278 * argp/Versions: Remove _argp_unlock_xxx.
16279
16280 [BZ #13559]
16281 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16282 * abilist/libBrokenLocale.abilist: Likewise.
16283 * abilist/libanl.abilist: Likewise.
16284 * abilist/libc.abilist: Likewise.
16285 * abilist/libcrypt.abilist: Likewise.
16286 * abilist/libdl.abilist: Likewise.
16287 * abilist/libm.abilist: Likewise.
16288 * abilist/libnsl.abilist: Likewise.
16289 * abilist/libpthread.abilist: Likewise.
16290 * abilist/libresolv.abilist: Likewise.
16291 * abilist/librt.abilist: Likewise.
16292 * abilist/libthread_db.abilist: Likewise.
16293 * abilist/libutil.abilist: Likewise.
16294 * abilist/libnss_db.abilist: New file.
16295
16296 * scripts/abilist.awk: Add support for indirect functions.
16297
a2693a0e
UD
16298 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16299
3f05895f
UD
16300 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16301
ecb6fb48
UD
16302 * shlib-versions: Remove entries for ports architectures.
16303
664f8cb9
UD
16304 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16305 files in ports.
16306 * elf/stackguard-macros.h: Remove support for IA-64.
16307 * elf/tst-auditmod1.c: Likewise.
16308 * sysdeps/generic/ldsodefs.h: Likewise.
16309
7ae81d88
UD
16310 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16311 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16312 configure files.
16313
bdeba135
UD
16314 [BZ #13552]
16315 * configure.in: Remove --enable-omitfp support.
16316 * FAQ.in: Adjust.
16317 * config.make.in: Likewise.
16318 * Makeconfig: Likewise.
16319 * manual/install.texi: Likewise.
16320
d75a0a62
UD
16321 In case anyone cares, the IA-64 architecture could move to ports.
16322 * sysdeps/ia64/*: Removed.
16323 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16324 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16325
dcc9756b
UD
16326 [BZ #13555]
16327 * configure.in: Remove entries for unsupported architectures.
16328
d3761ebc 16329 [BZ #13533]
9954432e
UD
16330 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16331 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16332 routines.
16333 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16334 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16335 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16336 fall back to using wcrtomb.
16337 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16338 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16339 renaming.
16340 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16341 * wcsmbs/tst-c16c32-1.c: New file.
16342
16343 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16344 local variable.
16345
c3a87236
UD
16346 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16347
28926a1b
UD
16348 * elf/tst-unique3.cc: Add explicit declaration of gets.
16349 * elf/tst-unique3lib.cc: Likewise.
16350 * elf/tst-unique3lib2.cc: Likewise.
16351 * elf/tst-unique4.cc: Likewise.
16352
df78418a
UD
16353 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16354
8ecd6b2a
JM
163552012-01-06 Joseph Myers <joseph@codesourcery.com>
16356
16357 [BZ #13566]
16358 * assert/assert.h (static_assert): Don't define for C++.
16359 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16360 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16361
9f115170
UD
163622012-01-03 Ulrich Drepper <drepper@gmail.com>
16363
5e0d0300
UD
16364 * iconv/loop.c (single loop): Fix assertion in storing of
16365 remaining bytes.
16366
9f115170
UD
16367 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16368
81fb02b0
UD
163692012-01-01 Ulrich Drepper <drepper@gmail.com>
16370
16371 * posix/getconf.c: Update copyright year.
16372 * nss/getent.c: Likewise.
a316c1f6 16373 * nss/makedb.c: Likewise.
81fb02b0
UD
16374 * iconv/iconvconfig.c: Likewise.
16375 * iconv/iconv_prog.c: Likewise.
16376 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16377 * elf/pldd.c: Likewise.
16378 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16379 * catgets/gencat.c: Likewise.
16380 * csu/version.c: Likewise.
16381 * elf/ldd.bash.in: Likewise.
16382 * elf/sprof.c (print_version): Likewise.
16383 * locale/programs/locale.c: Likewise.
16384 * locale/programs/localedef.c: Likewise.
a316c1f6 16385 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16386 * nscd/nscd.c (print_version): Likewise.
16387 * debug/xtrace.sh: Likewise.
16388 * malloc/memusage.sh: Likewise.
16389 * malloc/mtrace.pl: Likewise.
16390 * debug/catchsegv.sh: Likewise.
16391
2ba92745
JJ
163922011-12-30 Jakub Jelinek <jakub@redhat.com>
16393
16394 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16395 pure attribute.
16396
dadebdae
UD
163972011-12-24 Ulrich Drepper <drepper@gmail.com>
16398
d3761ebc 16399 [BZ #13533]
db6af3eb
UD
16400 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16401 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16402 transformations.
16403 * iconv/gconv_int.h: Likewise.
16404 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16405 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16406 from libc for GLIBC_2.16.
16407 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16408 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16409 * wcsmbs/uchar.h: Really define mbstate_t.
16410 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16411 * wcsmbs/c16rtomb.c: New file.
16412 * wcsmbs/mbrtoc16.c: New file.
16413 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16414 for C/POSIX locale.
16415 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16416 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16417
dadebdae
UD
16418 * wcsmbs/wchar.h: Add missing __restrict.
16419
67371b56
UD
164202011-12-23 Ulrich Drepper <drepper@gmail.com>
16421
74033a25
UD
16422 [BZ #13532]
16423 * time/Makefile (routines): Add timespec_get.
16424 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16425 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16426 timespec for ISO C11.
16427 * time/timespec_get.c: New file.
16428 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16429 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16430
380d7e87
UD
16431 [BZ #13531]
16432 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16433 * stdlib/stdlib.h: Declare aligned_alloc.
16434 * Versions.def: Add GLIBC_2.16 for libc.
16435 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16436
4e9e7a35
UD
16437 [BZ 13527]
16438 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16439 ISO C11.
16440
380d7e87 16441 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16442 code.
16443
03a71829
UD
16444 [BZ #13528]
16445 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16446
839e283e
UD
16447 [BZ #13529]
16448 * assert/assert.h (static_assert): Define.
16449
ce5294e2 16450 * version.h: Update for 2.16 development version.
90fa7312 16451
8d44e150 16452 [BZ #13526]
d7809905
UD
16453 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16454 _ISOC11_SOURCE.
16455
c0da14cd
UD
16456 * version.h (RELEASE): Bump for 2.15 release.
16457 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16458
530a3249
MP
16459 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16460 Patch by Marek Polacek <mpolacek@redhat.com>.
16461
67371b56
UD
16462 * bits/byteswap.h: Protect long long constants with __extension__.
16463 * sysdeps/i386/bits/byteswap.h: Likewise.
16464 * sysdeps/ia64/bits/byteswap.h: Likewise.
16465 * sysdeps/s390/bits/byteswap.h: Likewise.
16466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16467
15db4de1
LD
164682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16469
16470 [BZ #13540]
bbe315ea
LD
16471 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16472 destination buffer.
15db4de1
LD
16473 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16474
2b2596b1
MP
164752011-12-23 Marek Polacek <polacek@redhat.com>
16476
16477 * elf/dl-addr.c (determine_info): Add inline keyword.
16478 * elf/tst-auditmod4b.c (check_avx): Likewise.
16479 * elf/tst-auditmod6b.c (check_avx): Likewise.
16480 * elf/tst-auditmod6c.c (check_avx): Likewise.
16481 * elf/tst-auditmod7b.c (check_avx): Likewise.
16482
70c6c246
UD
164832011-12-23 Ulrich Drepper <drepper@gmail.com>
16484
16485 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16486 !__SSE_MATH__.
16487
c044cf14
LD
164882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16489
15db4de1 16490 [BZ #13540]
c044cf14
LD
16491 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16492 processing for last bytes.
16493
6b13d9d9
BH
164942011-08-06 Bruno Haible <bruno@clisp.org>
16495
d455f537
BH
16496 [BZ #13061]
16497 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16498 U+0385, not to U+1FEE.
16499
6b13d9d9
BH
16500 [BZ #13062]
16501 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16502 entry for U+00A5 U+0301.
16503
db910efd
UD
165042011-12-22 Ulrich Drepper <drepper@gmail.com>
16505
27deeafc
UD
16506 [BZ #13166]
16507 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16508 buffer for the output is too small.
16509
aed9d171
UD
16510 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16511 optimization.
16512
db910efd
UD
16513 [BZ #13185]
16514 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16515 SSE flags if possible.
16516
2bd779ae
LD
165172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16518
e7f9dac3 16519 [BZ #13540]
2bd779ae
LD
16520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16521 processing for last bytes.
16522
154bfc16
JM
165232011-12-22 Joseph Myers <joseph@codesourcery.com>
16524
16525 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16526 (syscall-list-default-options, syscall-list-default-condition)
16527 (syscall-list-includes): Define.
16528 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16529 list of ABIs and options and #if conditions for each ABI. Do not
16530 handle common syscalls between ABIs specially.
16531 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16532 Remove.
16533 (syscall-list-variants, syscall-list-32bit-options)
16534 (syscall-list-32bit-condition, syscall-list-64bit-options)
16535 (syscall-list-64bit-condition): Define.
16536 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16537 (syscall-list-variants, syscall-list-32bit-options)
16538 (syscall-list-32bit-condition, syscall-list-64bit-options)
16539 (syscall-list-64bit-condition): Define.
16540 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16541 Remove.
16542 (syscall-list-variants, syscall-list-32bit-options)
16543 (syscall-list-32bit-condition, syscall-list-64bit-options)
16544 (syscall-list-64bit-condition): Define.
16545 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16546 Remove.
16547 (syscall-list-variants, syscall-list-32bit-options)
16548 (syscall-list-32bit-condition, syscall-list-64bit-options)
16549 (syscall-list-64bit-condition): Define.
16550
21eaf3a5
UD
165512011-12-22 Ulrich Drepper <drepper@gmail.com>
16552
16c6f992
UD
16553 * locale/iso-639.def: Add brx entry.
16554
41043168
UD
16555 [BZ #13328]
16556 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16557 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16558
21eaf3a5
UD
16559 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16560 __feraiseexcept_renamed.
16561
e3a851a2
UD
165622011-12-21 Ulrich Drepper <drepper@gmail.com>
16563
4920765e
UD
16564 [BZ #13538]
16565 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16566 EPOLLET with unsigned values.
16567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16569
e3a851a2
UD
16570 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16571 to large cancellation.
16572 * math/s_cacoshf.c: Likewise.
16573 * math/s_cacoshl.c: Likewise.
16574
b27e24b8
RK
165752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16576
16577 [BZ #13305]
aebefeee 16578 [BZ #12786]
b27e24b8
RK
16579 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16580 * math/s_cacoshf.c: Likewise.
16581 * math/s_cacoshl.c: Likewise.
16582
ee190f67
UD
165832011-12-21 Ulrich Drepper <drepper@gmail.com>
16584
16585 [BZ #13439]
16586 * iconv/gconv.h: Define __GCONV_SWAP.
16587 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16588 * iconvdata/utf-16.c: Likewise.
16589 * iconvdata/utf-32.c: Likewise.
16590
707f25df
AS
165912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16592
16593 [BZ #13524]
16594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16595 numerator after shifting it by one limb.
16596
d2daaa1e
RÁE
165972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16598
16599 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16600 under [__USE_EXTERN_INLINES].
16601
a4647e72
UD
166022011-12-17 Ulrich Drepper <drepper@gmail.com>
16603
16604 [BZ #13446]
16605 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16606
f0b264f1
AZ
166072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16608
16609 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16610 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16611 optimized code.
16612 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16613 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16614 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16615 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16616 for strncasecmp/strncasecmp_l compilation.
16617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16618 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16619
8ef4f244
MP
166202011-12-08 Marek Polacek <mpolacek@redhat.com>
16621
16622 [BZ #13484]
16623 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16624 of __asm__.
16625
97ac2654
UD
166262011-12-17 Ulrich Drepper <drepper@gmail.com>
16627
16628 [BZ #13506]
16629 * time/tzfile.c (__tzfile_read): Check values from file header.
16630
91d2a845
WS
166312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16632
16633 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16634 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16635 * powerpc/powerpc32/dl-start.S: Likewise.
16636 * powerpc/powerpc32/elf/start.S: Likewise.
16637 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16638 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16639 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16640 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16641 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16642 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16643 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16644 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16645 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16646 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16647 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16648 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16649 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16650 * powerpc/powerpc32/memset.S: Likewise.
16651 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16652 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16653 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16654 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16655 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16656 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16657 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16658 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16659 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16660 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16661 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16662 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16663 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16664
a1267ba1
AZ
166652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16666
16667 * math/libm-test.inc: Added more nearbyint tests.
16668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16669 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16671 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16672
ad8ac1bd
RL
166732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16674
16675 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16676 FD_CLOEXEC.
16677
1d3e4b61
UD
166782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16679
16680 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16681 Add wcscpy-ssse3 wcscpy-c.
16682 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16683 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16684 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16685 * sysdeps/x86_64/wcschr.S: New file.
16686 * sysdeps/x86_64/wcsrchr.S: New file.
16687 * string/test-strcmp.c: Remove checking of wcscmp function for
16688 wrong alignments.
16689 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16690 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16691 wcsrchr-sse2 wcsrchr-c.
16692 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16693 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16694 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16695 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16696 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16697 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16698 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16699 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16700 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16701 * wcsmbc/wcschr.c (WCSCHR): New macro.
16702
5b330a2d
UD
167032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16704
16705 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16706 * wcsmbs/test-wcsrchr.c: New file.
16707 * string/test-strrchr.c: Add wcsrchr support.
16708 (WIDE): New macro.
16709 * wcsmbs/test-wcscpy.c: New file.
16710 * string/test-strcpy.c: Add wcscpy support.
16711 (WIDE): New macro.
26428b7c 16712
f039c043
UD
167132011-12-10 Ulrich Drepper <drepper@gmail.com>
16714
16715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16716 the inner loop.
16717
850fb039
AS
167182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16719
16720 [BZ #13472]
16721 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16722
4efbd5cb
UD
167232011-12-04 Ulrich Drepper <drepper@gmail.com>
16724
52ff5dd0 16725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16726 Minor optimizations.
52ff5dd0 16727
4efbd5cb
UD
16728 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16729 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16730 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16731
8a426e12
UD
167322011-12-03 Ulrich Drepper <drepper@gmail.com>
16733
aff2453d
UD
16734 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16735 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16736 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16737 for gcc to avoid warnings.
16738 * inet/Makefile (tests): Add tst-checks.
16739 * inet/tst-checks.c: New file.
16740
16741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16742 warning.
16743
16744 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16745 __wmemcmp_sse2.
16746
16747 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16748 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16749
8a426e12
UD
16750 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16751
9bea3473
UD
167522011-12-02 Ulrich Drepper <drepper@gmail.com>
16753
3a965496
UD
16754 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16755 problem.
16756
9bea3473
UD
16757 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16758
f101631b
UD
167592011-11-29 Joseph Myers <joseph@codesourcery.com>
16760
16761 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16762 conditional on GCC version.
16763 (__arch_compare_and_exchange_val_8_acq)
16764 (__arch_compare_and_exchange_val_16_acq)
16765 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16766 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16767 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16768
a98275aa
UD
167692011-12-02 Joseph Myers <joseph@codesourcery.com>
16770
16771 * sysdeps/sh/backtrace.c: New file.
16772
d4cc29a2
AS
167732011-12-02 Andreas Schwab <schwab@redhat.com>
16774
16775 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16776 parenthesis.
16777
6257af2d
AS
167782011-12-01 Andreas Schwab <schwab@redhat.com>
16779
16780 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16781 falling back to utime.
16782
b5f44c1a
AS
167832011-11-30 Andreas Schwab <schwab@redhat.com>
16784
16785 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16786 expectations for float.
16787
f3a6cc0a
AS
167882011-11-29 Andreas Schwab <schwab@redhat.com>
16789
16790 * locale/weight.h (findidx): Add parameter len.
16791 * locale/weightwc.h (findidx): Likewise.
16792 * posix/fnmatch_loop.c (FCT): Adjust caller.
16793 * posix/regcomp.c (build_equiv_class): Likewise.
16794 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16795 * posix/regexec.c (check_node_accept_bytes): Likewise.
16796 * string/strcoll_l.c (STRCOLL): Likewise.
16797 * string/strxfrm_l.c (STRXFRM): Likewise.
16798
9d65ea3a
UD
167992011-11-17 Ulrich Drepper <drepper@gmail.com>
16800
16801 * Makefile.in: Remove CVSOPT handling.
16802 * configure.in: Remove use of AC_REVISION.
16803 * iconvdata/Makefile (distribute): No need to filter out CVS.
16804 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16805 handling.
16806
5583a086
AS
168072011-11-16 Andreas Schwab <schwab@redhat.com>
16808
16809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16810 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16811 [USE_AS_STRNCASECMP_L]: Likewise.
16812 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16813 NO_TLS_DIRECT_SEG_REFS.
16814 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16815 Fix argument offsets for non-PIC.
16816 [USE_AS_STRNCASECMP_L]: Likewise.
16817 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16818 NO_TLS_DIRECT_SEG_REFS.
16819
d62a8200
UD
168202011-11-15 Ulrich Drepper <drepper@gmail.com>
16821
9d65ea3a 16822 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16823 O_CLOEXEC.
16824 * locale/loadlocale.c (_nl_load_locale): Likewise.
16825
09f93bd3
AS
168262011-11-15 Andreas Schwab <schwab@redhat.com>
16827
446514f9
AS
16828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16829 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16830 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16831 (SYSCALL_GETTIME): Set errno on error.
16832
09f93bd3
AS
16833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16834 count references to noai6ai_cached.
16835
312be3f9
UD
168362011-11-15 Ulrich Drepper <drepper@gmail.com>
16837
16838 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16839
16840 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16841 FD_CLOEXEC for /proc/self/maps.
16842
16843 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16844 FD_CLOEXEC for /proc/meminfo.
16845
16846 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16847 gai.conf.
16848
16849 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16850 FD_CLOEXEC for given file.
16851
16852 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16853
16854 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16855 FD_CLOEXEC for /etc/hosts.
16856 (_gethtent): Likewise.
16857
16858 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16859
16860 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16861 cancellation and set FD_CLOEXEC for /etc/netgroup.
16862
16863 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16864 reading /etc/publickey.
16865
16866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16867 allow cancellation when reading /etc/group.
16868
16869 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16870 cancellation.
16871 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16872
16873 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16874 when using data file.
16875
16876 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16877
16878 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16879 (write_nis_obj): Use "c" and "e" in fopen.
16880
16881 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16882
16883 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16884
16885 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16886
16887 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16888
16889 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16890 locale.alias.
16891
16892 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16893
16894 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16895
16896 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16897
16898 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16899 file parsing and set FD_CLOEXEC.
16900
82af0fa8
UD
169012011-11-14 Ulrich Drepper <drepper@gmail.com>
16902
16903 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16904
a5fb313c
AS
169052011-11-14 Andreas Schwab <schwab@redhat.com>
16906
16907 * malloc/arena.c (arena_get2): Don't call reused_arena when
16908 _int_new_arena failed.
16909
6abf3465
UD
169102011-11-14 Ulrich Drepper <drepper@gmail.com>
16911
16912 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16913 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16914 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16915 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16916 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16918 to compile strcasecmp and strncasecmp.
16919 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16920 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16921
16922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16923
76e3966e
UD
169242011-11-13 Ulrich Drepper <drepper@gmail.com>
16925
16926 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16927 locale-defines.sym to gen-as-const-headers.
16928 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16929 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16931 to compile strcasecmp and strncasecmp.
16932 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16933 strcasecmp_l and strncasecmp_l.
16934 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16935 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16936 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16937 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16938 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16939 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16940 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16941 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16942 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16943 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16944 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16945
ab26144e
UD
169462011-11-12 Ulrich Drepper <drepper@gmail.com>
16947
7edb22ef
UD
16948 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16949 result of SYSDEP_GETTIME_CPU to retval.
16950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16951 parameter list to macro. Remove trailing semicolon. Adjust users.
16952
9694fc44
UD
16953 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16954 variable.
16955
8ad89ef8
UD
16956 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16957 mantissa words.
16958 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16959
0c822ef9
UD
16960 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16961 from unused variable.
16962
874e0564
UD
16963 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16964 DWARF definitions.
16965 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16966 for assembling.
16967
3a2edc79
UD
16968 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16969 over namespaces.
16970
f3c2577f
UD
16971 * sunrpc/rpc_prot.c (rejected): Fix case value.
16972
294ce126
UD
16973 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16974 unsigned long long int to avoid warnings in shift.
16975
5e2b63c6
UD
16976 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16977 of use of trans.
16978 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16979 variable tmp.
16980
e7f4b08e
UD
16981 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16982 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16983 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16984
ab26144e
UD
16985 * nis/nis_table.c (nis_list): Use variable of correct type for
16986 result of __follow_path call.
16987
8a6d5255
AZ
169882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16989
16990 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16991 of math functions ceil, trunc, floor, round, and sqrt, when
16992 avaliable on the platform.
16993 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16994 name clash.
16995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16996 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16997 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16998
aaddc98c
MP
169992011-10-30 Marek Polacek <mpolacek@redhat.com>
17000
17001 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17002 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17003
95b7042b
RM
170042011-11-11 Roland McGrath <roland@hack.frob.com>
17005
17006 * include/unistd.h: Fix __readlink return type.
17007 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17008
57769839
UD
170092011-11-11 Ulrich Drepper <drepper@gmail.com>
17010
17011 * stdlib/ucontext.h: Undo last change for makecontext.
17012
edc5984d
AS
170132011-11-11 Andreas Schwab <schwab@redhat.com>
17014
98591e58
AS
17015 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17016
edc5984d
AS
17017 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17018 * setjmp/setjmp.h: Mark functions as non-leaf.
17019 * setjmp/bits/setjmp2.h: Likewise.
17020 * stdlib/ucontext.h: Likewise.
17021
77cdc054
AS
170222011-11-10 Andreas Schwab <schwab@redhat.com>
17023
17024 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17025 (reused_arena): Don't check arena limit.
17026 (arena_get2): Atomically check arena limit.
17027
fe72eebd
UD
170282011-11-08 Ulrich Drepper <drepper@gmail.com>
17029
5f078c32
UD
17030 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17031 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17032
fe72eebd
UD
17033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17034 instructions.
17035
ae1bc2fa
AS
170362011-11-07 Andreas Schwab <schwab@redhat.com>
17037
7583a88d
AS
17038 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17039 handler when locking.
17040
ae1bc2fa
AS
17041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17042 Fix size of allocated buffer.
17043
10fb0bfa
AS
170442011-11-04 Andreas Schwab <schwab@redhat.com>
17045
998832a4
AS
17046 [BZ #10103]
17047 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17048 declarations for long double functions.
17049 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17050
10fb0bfa
AS
17051 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17052
3d7ba52b
AS
170532011-11-03 Andreas Schwab <schwab@redhat.com>
17054
a9ae54a1
AS
17055 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17056 installed.
17057
3d7ba52b
AS
17058 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17059 is disabled.
17060
bc8db248
ST
170612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17062
17063 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17064
45b96dd6
AS
170652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17066
647776f6
AS
17067 * include/alloca.h (stackinfo_alloca_round): Define.
17068 (extend_alloca): Use it.
17069 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17070 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17071 here.
17072
d91a8b93
AS
17073 * scripts/check-local-headers.sh: Ignore libaudit.h.
17074
45b96dd6
AS
17075 * nscd/Makefile (extra-objs): Make recursively expanded.
17076
432d41ce
UD
170772011-11-01 Ulrich Drepper <drepper@gmail.com>
17078
34372fc6
UD
17079 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17081
fadb59f8
UD
17082 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17083 * posix/tst-rfc3484-2.c: Likewise.
17084 * posix/tst-rfc3484-3.c: Likewise.
17085
78239589
UD
17086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17087 process_vm_writev.
17088 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17089 process_vm_writev.
17090 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17091 process_vm_writev from libc using GLIBC_2.15 version.
17092
432d41ce
UD
17093 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17094
02f9c6cf
PP
170952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17096
17097 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17098 stack usage.
17099
3a2c0242
UD
171002011-10-31 Ulrich Drepper <drepper@gmail.com>
17101
f4ec4833
UD
17102 [BZ #13367]
17103 * nss/getent.c (initgroups_keys): Show error message in case no group
17104 names are given.
17105
3a2c0242
UD
17106 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17107 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17108 __bump_nl_timestamp.
17109 * nscd/connections (nscd_init): When host database is served open
17110 netlink socket and request notification about configuration changes.
17111 (main_loop_poll): Track netlink file descriptor and bump timestamp
17112 in case data becomes available.
17113 (main_loop_epoll): Likewise.
17114 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17115 (database_pers_head): Add extra_data fileds.
17116 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17117 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17118 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17119 Adjust caller.
17120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17121 in6ai data, call __free_in6ai.
17122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17123 Add -DHAVE_NETLINK.
17124 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17125 interface information. Reuse previous data if netlink timestamp
17126 is not changed.
17127 (__bump_nl_timestamp): New function.
17128 (__free_in6ai): New function.
17129
636064eb
UD
171302011-10-30 Ulrich Drepper <drepper@gmail.com>
17131
17132 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17133 close_not_cancel_no_status here.
17134 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17135
9beb2334
UD
171362011-10-29 Ulrich Drepper <drepper@gmail.com>
17137
6ef76f3b
UD
17138 [BZ #13276]
17139 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17140 return value.
17141
0ffc4f3e 17142 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17143 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17144 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17145
cb95113e
UD
171462011-07-03 Andreas Jaeger <aj@suse.de>
17147
17148 [BZ #10709]
17149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17150 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17151 * math/libm-test.inc (sin_test): Add test case.
17152
a1b560ff
UD
171532011-10-29 Ulrich Drepper <drepper@gmail.com>
17154
c9aaface
UD
17155 [BZ #13337]
17156 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17157 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17158
d272e7f1
UD
17159 * elf/chroot_canon.c (chroot_canon): Cleanups.
17160
1bc33071
UD
17161 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17162
1760874d
TJ
17163 [BZ #13335]
17164 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17166
51d91b18
UD
17167 * string/test-strchr.c: Make usable for strchrnul testing.
17168 * string/test-strchrnul.c: New file.
17169 * string/Makefile (strop-tests): Add strchrnul.
17170
a1b560ff 17171 * po/it.po: Update from translation team.
b611fb81 17172 * po/es.po: Likewise.
a1b560ff 17173
a5b81e1f
UD
171742011-10-28 Ulrich Drepper <drepper@gmail.com>
17175
fd52bc6d
UD
17176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17177 the three constants needed as parameters. Drop the others.
17178 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17179 __m128i_strloadu_tolower.
52e4b9eb
UD
17180 Create and initialize variable zero and use it in all the places
17181 where _mm_setzero_si128 was used.
fd52bc6d 17182
a5b81e1f
UD
17183 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17184 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17185 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17186 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17187 anymore.
17188 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17189 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17190 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17191 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17192 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17193 __mpranred, __mptan.
17194 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17195 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17196 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17197 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17198 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17199 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17200 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17201 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17202 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17203
b4343346
AS
172042011-10-28 Andreas Schwab <schwab@redhat.com>
17205
0c92d8a8
AS
17206 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17207 redefine if SHARED.
17208 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17209
b4343346
AS
17210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17211 wide char related routines to wcsmbs subdir.
17212
3871f58f
AS
172132011-10-27 Andreas Schwab <schwab@redhat.com>
17214
17215 [BZ #13344]
17216 * misc/sys/cdefs.h (__THROWNL): Define.
17217 * posix/unistd.h: Use __THREADNL instead of __THREAD
17218 for memory synchronization functions.
17219
94d44d9f
RM
172202011-10-26 Roland McGrath <roland@hack.frob.com>
17221
21b64b15 17222 [BZ #13349]
94d44d9f
RM
17223 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17224 doesn't exist.
17225 * manual/stdio.texi (Obstack Streams): Node removed.
17226
f6ce9294
AS
172272011-10-26 Andreas Schwab <schwab@redhat.com>
17228
80479147
AS
17229 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17231 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17232
f6ce9294
AS
17233 * math/math_private.h (math_force_eval): Allow non-addressable
17234 arguments.
17235 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17236
618280a1
UD
172372011-10-25 Ulrich Drepper <drepper@gmail.com>
17238
e0016b11
UD
17239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17240 file is not needed.
17241
17242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17249 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17250 Add AVX variants.
17251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17255 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17256 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17257 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17258 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17259 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17260 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17261 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17262 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17264 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17267 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17268 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17269 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17270
17271 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17272 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17273
618280a1
UD
17274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17275 place. Use VEX encoding when compiling for AVX.
17276
37822576
AS
172772011-10-25 Andreas Schwab <schwab@redhat.com>
17278
1f1e1947
AS
17279 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17280 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17281
37822576
AS
17282 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17283
31ea014d
UD
172842011-10-25 Ulrich Drepper <drepper@gmail.com>
17285
d7826aa1 17286 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17287 useless if() expression.
d7826aa1
UD
17288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17289 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17293 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17294 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17295 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17298 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17300 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17301 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17302 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17303 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17306 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17307
31ea014d
UD
17308 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17309
16437fec
AS
173102011-10-25 Andreas Schwab <schwab@redhat.com>
17311
17312 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17313 condition.
17314 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17315
31d3cc00
UD
173162011-10-25 Ulrich Drepper <drepper@gmail.com>
17317
17318 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17319 .text section. Avoid duplicate constants.
17320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17330 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17337 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17343 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17344 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17345 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17346 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17347 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17350 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17351 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17352 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17353 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17354 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17355 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17356 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17358 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17359 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17360 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17361 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17362 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17363 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17364 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17365
58985aa9
UD
173662011-10-24 Ulrich Drepper <drepper@gmail.com>
17367
202c9deb
UD
17368 * sysdeps/x86_64/dla.h: Move to ...
17369 * sysdeps/x86_64/fpu/dla.h: ...here.
17370 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17371 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17372
af968f62
UD
17373 * config.make.in: Add have-mfma4 entry.
17374 * configure.in: Substitute libc_cv_cc_fma4.
17375 * math/Makefile (dbl-only-routines): Add sincostab.
17376 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17377 Use __sincostab not sincos.
17378 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17379 name is a macro.
17380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17384 using __copysign.
17385 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17386 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17387 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17388 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17389 and __inv.
17390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17391 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17392 __copysign.
17393 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17394 define aliases when function name is a macro.
17395 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17396 sysdeps/ieee754/dbl-64/sincos.tbl.
17397 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17398 fma4-enabled routines.
17399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17400 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17401 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17402 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17406 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17407 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17408 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17409 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17410 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17411 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17412 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17413 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17414 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17415 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17416 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17417 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17419 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17420 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17426 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17428 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17429
58985aa9
UD
17430 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17431 rename.
17432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17440
a201fbcf
AS
174412011-10-24 Andreas Schwab <schwab@redhat.com>
17442
17443 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17444
fc2ee42a
LD
174452011-10-23 Ulrich Drepper <drepper@gmail.com>
17446
bb3129bd
UD
17447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17448
0275fff8
UD
17449 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17450 prediction.
17451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17452
2fa2ae85
UD
17453 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17454 Remove unused variable magic_bits.
17455 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17456
fc2ee42a
LD
17457 * string/strnlen.c: Define and use STRNLEN macro.
17458 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17459 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17461 * wcsmbs/wcslen.c: Define and use WCSLEN.
17462 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17463 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17464 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17465 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17466 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17467 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17468 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17469
ce7dd29f
LD
174702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17471
17472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17473 strnlen-sse2-no-bsf.
17474 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17476 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17477 Add strnlen support.
17478 (USE_AS_STRNLEN): New macro.
17479 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17480 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17481 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17482 * sysdeps/x86_64/wcslen.S: New file.
17483
979c70a3
MZ
174842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17485
17486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17487 XMM-moves are used for copying on small sizes.
17488
2d09f82f
LD
174892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17490
17491 * wcsmbs/Makefile (strop-tests): Add wcschr.
17492 * wcsmbs/test-wcschr.c: New file.
17493 * string/test-strchr.c: Update.
17494 Add wcschr support.
17495 (WIDE): New macro.
17496
619fccca
LD
174972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17498
2d09f82f 17499 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17500 * wcsmbs/test-wcslen.c: New file.
17501 * string/test-strlen.c: Update.
17502 Add wcslen support.
17503 (WIDE): New macro.
17504
09f699ea
UD
175052011-10-23 Ulrich Drepper <drepper@gmail.com>
17506
17507 * po/it.po: Update from translation team.
17508
95584d3b
LD
175092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17510
17511 * sysdeps/x86_64/wcscmp.S: Update.
17512 Fix wrong comparison semantics.
17513 wcscmp shall use signed comparison not unsigned.
17514 Don't use substraction to avoid overflow bug.
17515 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17516 * wcsmbc/wcscmp.c: Likewise.
17517 * string/test-strcmp.c: Likewise.
17518 Add new tests to check cases with negative values.
17519
c8b3296b
UD
175202011-10-23 Ulrich Drepper <drepper@gmail.com>
17521
17522 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17523 * sysdeps/x86_64/dla.h: ...here. New file.
17524 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17533
246ad57a
AS
175342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17535
17536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17537 __ynl_finite aliases.
17538
a1a87169
UD
175392011-10-22 Ulrich Drepper <drepper@gmail.com>
17540
0d355eb7
UD
17541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17542
a1a87169
UD
17543 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17544 define DLA_FMA.
17545 [DLA_FMA] (EMULV): Use DLA_FMA.
17546 [DLA_FMA] (MUL12): Use EMULV.
17547 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17548 that are not needed.
17549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17554 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17556
ee2aafe0
AS
175572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17558
17559 * math/s_nan.c: Undef __nan.
17560 * math/s_nanf.c: Undef __nanf.
17561 * math/s_nanl.c: Undef __nanl.
17562 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17563 "math_private.h".
17564
bc62c2fb
UD
175652011-10-22 Ulrich Drepper <drepper@gmail.com>
17566
77425c63
UD
17567 * math/s_catan.c: Add branch predictions.
17568 * math/s_catanf.c: Likewise.
17569 * math/s_catanh.c: Likewise.
17570 * math/s_catanhf.c: Likewise.
17571 * math/s_catanhl.c: Likewise.
17572 * math/s_catanl.c: Likewise.
17573 * math/s_cexp.c: Likewise.
17574 * math/s_cexpf.c: Likewise.
17575 * math/s_cexpl.c: Likewise.
17576 * math/s_clog.c: Likewise.
17577 * math/s_clog10.c: Likewise.
17578 * math/s_clog10f.c: Likewise.
17579 * math/s_clog10l.c: Likewise.
17580 * math/s_clogf.c: Likewise.
17581 * math/s_clogl.c: Likewise.
17582 * math/s_csqrt.c: Likewise.
17583 * math/s_csqrtf.c: Likewise.
17584 * math/s_csqrtl.c: Likewise.
17585 * math/s_ctanf.c: Likewise.
17586 * math/s_ctanh.c: Likewise.
17587 * math/s_ctanhf.c: Likewise.
17588 * math/s_ctanhl.c: Likewise.
17589 * math/s_ctanl.c: Likewise.
17590
bc62c2fb
UD
17591 * math/math_private.h: Define __nan, __nanf, __nanl.
17592 * math/s_cacosh.c: Include <math_private.h>.
17593 * math/s_cacoshl.c: Likewise.
17594 * math/s_casinh.c: Likewise.
17595 * math/s_casinhf.c: Likewise.
17596 * math/s_casinhl.c: Likewise.
17597 * math/s_ccos.c: Rely entire on ccosh.
17598 * math/s_ccosf.c: Rely entire on ccoshf.
17599 * math/s_ccosl.c: Rely entirely on ccoshl.
17600 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17601 Remove tests for FE_INVALID.
17602 * math/s_ccoshf.c: Likewise.
17603 * math/s_ccoshl.c: Likewise.
17604 * math/s_csin.c: Likewise.
17605 * math/s_csinf.c: Likewise.
17606 * math/s_csinh.c Likewise.
17607 * math/s_csinhf.c: Likewise.
17608 * math/s_csinhl.c: Likewise.
17609 * math/s_csinl.c: Likewise.
17610 * math/s_ctan.c: Likewise.
17611 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17612 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17614
8ec250a4
UD
176152011-10-21 Ulrich Drepper <drepper@gmail.com>
17616
c196fed8
UD
17617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17618 compilation problems.
17619
8ec250a4
UD
17620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17621 __builtin_expect.
17622
8d4f46c6
UD
176232011-10-20 Ulrich Drepper <drepper@gmail.com>
17624
ed72b654
UD
17625 * sysdeps/i386/configure.in: Test for -mfma4 option.
17626 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17627 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17628 COMMON_CPUID_INDEX_80000001.
17629 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17630 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17631 use it if FMA3 is not supported.
17632 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17633
8d4f46c6
UD
17634 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17635 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17636
d45c60c2
AS
176372011-10-20 Andreas Schwab <schwab@redhat.com>
17638
17639 [BZ #12892]
17640 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17641 it would create a cycle with a link time dependency.
17642
d9a4d2ab
UD
176432011-10-19 Ulrich Drepper <drepper@gmail.com>
17644
855d1560
UD
17645 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17646 instruction.
17647 * string/Makefile (strop-tests): Add rawmemchr.
17648 * string/test-rawmemchr.c: New file.
17649
d9a4d2ab
UD
17650 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17652 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17653 when compiling str{,n}casecmp and when AVX is available. Hook up
17654 new optimized code in initializers.
17655
8f3b1ffe
AS
176562011-10-19 Andreas Schwab <schwab@redhat.com>
17657
17658 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17659 __feraiseexcept instead of feraiseexcept.
17660
d38f1dba
UD
176612011-10-18 Ulrich Drepper <drepper@gmail.com>
17662
d9a8d0ab
UD
17663 * math/math_private.h: Define defaults for libc_fetestexcept and
17664 libc_feupdateenv.
17665 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17666 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17668 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17669 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17670 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17671 libc_fetestexcept and libc_feupdateenv.
17672
4855e3dd
UD
17673 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17674 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17675 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17676 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17677 libc_feholdexcept_setround.
17678
581d30e3
UD
17679 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17680 Add s_nearbyint-c and s_nearbyintf-c.
17681 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17682 nearbyintf inlines.
17683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17684 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17686 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17687
d38f1dba
UD
17688 * math/math_private.h: Define defaults for libc_fegetround,
17689 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17690 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17691 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17692 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17693 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17694 standard functions.
17695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17696 Remove comments and hacks for old compiler versions.
17697 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17698 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17699 libc_feholdexceptl.
17700
caa6c9d8
AS
177012011-10-18 Andreas Schwab <schwab@redhat.com>
17702
17703 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17704 (__feraiseexcept_renamed): Add __NTH.
17705 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17706 namespace violations.
17707
97c066e6
UD
177082011-10-17 Ulrich Drepper <drepper@gmail.com>
17709
99ce7b04
UD
17710 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17711
1004d182
UD
17712 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17713
228a984d
UD
17714 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17715 recently added interfaces.
17716 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17717
c8553a6a
UD
17718 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17719 about macro parameter expansion.
17720
ed22dcf6
UD
17721 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17722 __NO_MATH_INLINES is defined. Cleanups.
17723
17724 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17725 and __floorf is target has SSE4.1.
17726 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17727 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17728 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17729 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17730
b171c137
UD
17731 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17732 name.
17733 (floorf): Likewise.
17734
97c066e6
UD
17735 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17736
629f62ef
AS
177372011-10-17 Andreas Schwab <schwab@redhat.com>
17738
49a43d80
AS
17739 * misc/sys/cdefs.h: Fix last change.
17740
629f62ef
AS
17741 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17742 database lookup.
17743
e453f6cd
UD
177442011-10-16 Ulrich Drepper <drepper@gmail.com>
17745
aa78043a
UD
17746 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17747
ad0f5cad
UD
17748 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17754 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17757 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17758 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17759 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17760 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17761 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17763 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17764 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17765 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17766 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17767 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17768 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17769 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17770
17771 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17772 ceil, ceilf, floor, floorf.
17773
17774 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17775 Perform IRELATIVE relocations last.
17776
e453f6cd
UD
17777 * elf/do-rel.h: Add another parameter nrelative, replacing the
17778 local variable with the same name. Change name of the function
17779 to end in Rel or Rela (uppercase).
17780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17781 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17782 elf_dynamic_do_##reloc function.
17783
fd5bdc09
UD
177842011-10-15 Ulrich Drepper <drepper@gmail.com>
17785
79b195b5
UD
17786 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17787 is sufficient, at least on modern CPUs.
17788
d4a28569
UD
17789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17790
b61099b5
UD
17791 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17792 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17793
bcf01e6d
UD
17794 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17795 __expl_finite.
17796 * math/bits/math-finite.h: Add entries for exp.
17797 * math/e_expl.c: Add __*_finite alias.
17798 * sysdeps/i386/fpu/e_exp.S: Likewise.
17799 * sysdeps/i386/fpu/e_expf.S: Likewise.
17800 * sysdeps/i386/fpu/e_expl.c: Likewise.
17801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17802 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17803 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17804 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17806 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17807 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17808
ba1a0d59
UD
17809 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17810 is sufficient, at least on modern CPUs.
17811
fd5bdc09
UD
17812 * ctype/ctype-info.c (__ctype_init): Define.
17813 * include/ctype.h (__ctype_init): Declare.
17814 (__ctype_b_loc): The variable is always initialized.
17815 (__ctype_toupper_loc): Likewise.
17816 (__ctype_tolower_loc): Likewise.
17817 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17818 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17819
7872cfb0
AS
178202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17821
b468825a
AS
17822 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17823
7872cfb0
AS
17824 * configure.in: Also look in $cxxmachine/include for C++ system
17825 headers.
17826
be13f7bf
LD
178272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17828
17829 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17830 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17831 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17832 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17833 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17834 (USE_AS_WMEMCMP): New macro.
17835 Fixing indents.
17836 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17837 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17838 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17839 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17841 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17842 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17843 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17844 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17845 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17846 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17847 (USE_AS_WMEMCMP): New macro.
17848 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17849 * sysdeps/string/test-memcmp.c: Update.
17850 Fix simple_wmemcmp.
17851 Add new tests.
17852 * wcsmbs/wmemcmp.c: Update.
17853 (WMEMCMP): New macro.
17854 Fix overflow bug.
17855
556a2007
AJ
178562011-10-12 Andreas Jaeger <aj@suse.de>
17857
17858 [BZ #13268]
17859 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17860
538faaa7
UD
178612011-10-15 Ulrich Drepper <drepper@gmail.com>
17862
ab6737ff
UD
17863 * libio/iofwide.c (do_length): Avoid warning.
17864
538faaa7
UD
17865 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17866
396a21b1
UD
178672011-10-14 Ulrich Drepper <drepper@gmail.com>
17868
cdf2901f
UD
17869 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17870
38ad40ce
UD
17871 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17872 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17873 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17874 * sysdeps/i386/i686/fpu/e_log.S: New file.
17875 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17876 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17877
396a21b1
UD
17878 * ctype/ctype.h: Add support for inlined isXXX functions when
17879 compiling C++ code.
17880
6b1f68c9
AS
178812011-10-14 Andreas Schwab <schwab@redhat.com>
17882
349290c0
AS
17883 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17884
6b1f68c9
AS
17885 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17886
f2282d42
RM
178872011-10-13 Roland McGrath <roland@hack.frob.com>
17888
17889 [BZ #13291]
17890 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17891
5298ffa8
AS
178922011-10-13 Andreas Schwab <schwab@redhat.com>
17893
714fad23
AS
17894 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17895 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17896 feraiseexcept.
17897
81dcc7fb
AS
17898 * sysdeps/x86_64/memrchr.S: Check for zero size.
17899
5298ffa8
AS
17900 * string/stratcliff.c: Add memrchr tests.
17901
951fbcec
LD
179022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17903
17904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17905 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17906 rawmemchr-sse2 rawmemchr-sse2-bsf.
17907 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17908 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17909 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17910 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17911 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17912 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17913 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17914 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17915 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17916 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17917 * string/memrchr.c (MEMRCHR): New macro.
17918
0ac5ae23
UD
179192011-10-12 Ulrich Drepper <drepper@gmail.com>
17920
17921 Add integration with gcc's -ffinite-math-only and optimize wrapper
17922 functions in libm.
17923 * Versions.def: Define GLIBC_2.15 version for libm.
17924 * math/Makefile (headers): Add bits/math-finite.h.
17925 * math/bits/math-finite.h: New file.
17926 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17927 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17928 * math/e_acoshl.c: Add __*_finite alias.
17929 * math/e_acosl.c: Likewise.
17930 * math/e_asinl.c: Likewise.
17931 * math/e_atan2l.c: Likewise.
17932 * math/e_atanhl.c: Likewise.
17933 * math/e_coshl.c: Likewise.
17934 * math/e_exp10.c: Likewise.
17935 * math/e_exp10f.c: Likewise.
17936 * math/e_exp10l.c: Likewise.
17937 * math/e_exp2l.c: Likewise.
17938 * math/e_fmodl.c: Likewise.
17939 * math/e_gammal_r.c: Likewise.
17940 * math/e_hypotl.c: Likewise.
17941 * math/e_j0l.c: Likewise.
17942 * math/e_j1l.c: Likewise.
17943 * math/e_jnl.c: Likewise.
17944 * math/e_lgammal_r.c: Likewise.
17945 * math/e_log10l.c: Likewise.
17946 * math/e_log2l.c: Likewise.
17947 * math/e_logl.c: Likewise.
17948 * math/e_powl.c: Likewise.
17949 * math/e_sinhl.c: Likewise.
17950 * math/e_sqrtl.c: Likewise.
17951 * math/e_scalb.c: Completely rewritten and optimized.
17952 * math/e_scalbf.c: Likewise.
17953 * math/e_scalbl.c: Likewise.
17954 * math/w_acos.c: Likewise.
17955 * math/w_acosf.c: Likewise.
17956 * math/w_acosl.c: Likewise.
17957 * math/w_acosh.c: Likewise.
17958 * math/w_acoshf.c: Likewise.
17959 * math/w_acoshl.c: Likewise.
17960 * math/w_asin.c: Likewise.
17961 * math/w_asinf.c: Likewise.
17962 * math/w_asinl.c: Likewise.
17963 * math/w_atan2.c: Likewise.
17964 * math/w_atan2f.c: Likewise.
17965 * math/w_atan2l.c: Likewise.
17966 * math/w_atanh.c: Likewise.
17967 * math/w_atanhf.c: Likewise.
17968 * math/w_atanhl.c: Likewise.
17969 * math/w_exp10.c: Likewise.
17970 * math/w_exp10f.c: Likewise.
17971 * math/w_exp10l.c: Likewise.
17972 * math/w_fmod.c: Likewise.
17973 * math/w_fmodf.c: Likewise.
17974 * math/w_fmodl.c: Likewise.
17975 * math/w_j0.c: Likewise.
17976 * math/w_j0f.c: Likewise.
17977 * math/w_j0l.c: Likewise.
17978 * math/w_j1.c: Likewise.
17979 * math/w_j1f.c: Likewise.
17980 * math/w_j1l.c: Likewise.
17981 * math/w_jn.c: Likewise.
17982 * math/w_jnf.c: Likewise.
17983 * math/w_log.c: Likewise.
17984 * math/w_logf.c: Likewise.
17985 * math/w_logl.c: Likewise.
17986 * math/w_log10.c: Likewise.
17987 * math/w_log10f.c: Likewise.
17988 * math/w_log10l.c: Likewise.
17989 * math/w_log2.c: Likewise.
17990 * math/w_log2f.c: Likewise.
17991 * math/w_log2l.c: Likewise.
17992 * math/w_pow.c: Likewise.
17993 * math/w_powf.c: Likewise.
17994 * math/w_powl.c: Likewise.
17995 * math/w_remainder.c: Likewise.
17996 * math/w_remainderf.c: Likewise.
17997 * math/w_remainderl.c: Likewise.
17998 * math/w_scalb.c: Likewise.
17999 * math/w_scalbf.c: Likewise.
18000 * math/w_scalbl.c: Likewise.
18001 * math/w_sqrt.c: Likewise.
18002 * math/w_sqrtf.c: Likewise.
18003 * math/w_sqrtl.c: Likewise.
18004 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18005 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18006 used.
18007 * math/math_private.h: Declare __kernel_standard_f.
18008 * math/w_cosh.c: Remove cruft and optimize a bit.
18009 * math/w_coshf.c: Likewise.
18010 * math/w_coshl.c: Likewise.
18011 * math/w_exp2.c: Likewise.
18012 * math/w_exp2f.c: Likewise.
18013 * math/w_exp2l.c: Likewise.
18014 * math/w_hypot.c: Likewise.
18015 * math/w_hypotf.c: Likewise.
18016 * math/w_hypotl.c: Likewise.
18017 * math/w_lgamma.c: Likewise.
18018 * math/w_lgamma_r.c: Likewise.
18019 * math/w_lgammaf.c: Likewise.
18020 * math/w_lgammaf_r.c: Likewise.
18021 * math/w_lgammal.c: Likewise.
18022 * math/w_lgammal_r.c: Likewise.
18023 * math/w_sinh.c: Likewise.
18024 * math/w_sinhf.c: Likewise.
18025 * math/w_sinhl.c: Likewise.
18026 * math/w_tgamma.c: Likewise.
18027 * math/w_tgammaf.c: Likewise.
18028 * math/w_tgammal.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18031 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18032 Minor optimizations. Pretty printing. Remove cruft.
18033 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18034 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18036 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18037 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18038 * sysdeps/i386/fpu/e_asin.S: Likewise.
18039 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18040 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18041 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18042 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18044 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18045 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18046 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18047 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18048 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18049 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18050 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18051 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18052 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18053 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18054 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18055 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18056 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18057 * sysdeps/i386/fpu/e_log.S: Likewise.
18058 * sysdeps/i386/fpu/e_log10.S: Likewise.
18059 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18060 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18061 * sysdeps/i386/fpu/e_log2.S: Likewise.
18062 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18063 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18064 * sysdeps/i386/fpu/e_logf.S: Likewise.
18065 * sysdeps/i386/fpu/e_logl.S: Likewise.
18066 * sysdeps/i386/fpu/e_pow.S: Likewise.
18067 * sysdeps/i386/fpu/e_powf.S: Likewise.
18068 * sysdeps/i386/fpu/e_powl.S: Likewise.
18069 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18070 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18071 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18072 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18074 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18075 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18076 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18077 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18099 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18103 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18105 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18107 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18109 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18112 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18113 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18117 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18127 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18128 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18130 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18158 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18161 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18163 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18164 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18166 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18169 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18170 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18171 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18175 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18176 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18177 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18178 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18179 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18180 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18181 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18182 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18183 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18184 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18185 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18186 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18187 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18188 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18189 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18190 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18191 (__isnanf): Likewise.
18192 (__isinf_ns): Likewise.
18193 (__isinf_nsf): Likewise.
18194 (__finite): Likewise.
18195 (__finitef): Likewise.
18196 (__ieee754_sqrt): Define as macro.
18197 (__ieee754_sqrtf): Define as macro.
18198 (__ieee754_sqrtl): Define as macro.
18199 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18200 inlined copy.
18201 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18202 __FINITE_MATH_ONLY__ consistent.
18203 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18204
12cc2fcd
AS
182052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18206
a843a204
AS
18207 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18208 of rawmemchr.
18209
12cc2fcd
AS
18210 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18211
c853acd5
UD
182122011-10-09 Ulrich Drepper <drepper@gmail.com>
18213
18214 * po/ja.po: Update from translation team.
18215
c658d255
RM
182162011-10-08 Roland McGrath <roland@hack.frob.com>
18217
110946e4
RM
18218 * locale/programs/locarchive.c (prepare_address_space): New function.
18219 (create_archive, enlarge_archive, open_archive): Use it.
18220
50604220
RM
18221 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18222 inside [SHARED], where it is used.
18223
c658d255
RM
18224 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18225
18226 * nss/getent.c (netgroup_keys): Remove unused variable.
18227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18228
6a621eb7
UD
182292011-10-08 Ulrich Drepper <drepper@gmail.com>
18230
7edb55ce
UD
18231 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18232 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18234 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18235 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18236 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18237 * math/Makefile (libm-calls): Add s_isinf_ns.
18238 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18239 * math/multc3.c: Likewise.
18240 * math/s_casin.c: Likewise.
18241 * math/s_casinf.c: Likewise.
18242 * math/s_casinl.c: Likewise.
18243 * math/s_ccos.c: Likewise.
18244 * math/s_ccosf.c: Likewise.
18245 * math/s_ccosl.c: Likewise.
18246 * math/s_ctan.c: Likewise.
18247 * math/s_ctanf.c: Likewise.
18248 * math/s_ctanh.c: Likewise.
18249 * math/s_ctanhf.c: Likewise.
18250 * math/s_ctanhl.c: Likewise.
18251 * math/s_ctanl.c: Likewise.
18252 * math/w_fmod.c: Likewise.
18253 * math/w_fmodf.c: Likewise.
18254 * math/w_fmodl.c: Likewise.
18255 * math/w_remainder.c: Likewise.
18256 * math/w_remainderf.c: Likewise.
18257 * math/w_remainderl.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18259 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18262 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18263 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18264 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18265 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18266
187da0ae
UD
18267 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18268 of the number.
18269 * stdio-common/printf_fphex.c: Likewise.
18270 * stdio-common/printf_size.c: Likewise.
18271
9277c064
UD
18272 * math/e_exp10.c: Include math_private.h using <...> not "...".
18273 * math/e_exp10f.c: Likewise.
18274 * math/e_exp10l.c: Likewise.
18275 * math/e_exp2l.c: Likewise.
18276 * math/e_j0l.c: Likewise.
18277 * math/e_j1l.c: Likewise.
18278 * math/e_jnl.c: Likewise.
18279 * math/e_lgammal_r.c: Likewise.
18280 * math/e_rem_pio2l.c: Likewise.
18281 * math/e_scalb.c: Likewise.
18282 * math/e_scalbf.c: Likewise.
18283 * math/e_scalbl.c: Likewise.
18284 * math/k_cosl.c: Likewise.
18285 * math/k_sinl.c: Likewise.
18286 * math/k_tanl.c: Likewise.
18287 * math/s_cacoshf.c: Likewise.
18288 * math/s_catan.c: Likewise.
18289 * math/s_catanf.c: Likewise.
18290 * math/s_catanh.c: Likewise.
18291 * math/s_catanhf.c: Likewise.
18292 * math/s_catanhl.c: Likewise.
18293 * math/s_catanl.c: Likewise.
18294 * math/s_ccosh.c: Likewise.
18295 * math/s_ccoshf.c: Likewise.
18296 * math/s_ccoshl.c: Likewise.
18297 * math/s_cexp.c: Likewise.
18298 * math/s_cexpf.c: Likewise.
18299 * math/s_cexpl.c: Likewise.
18300 * math/s_clog.c: Likewise.
18301 * math/s_clog10.c: Likewise.
18302 * math/s_clog10f.c: Likewise.
18303 * math/s_clog10l.c: Likewise.
18304 * math/s_clogf.c: Likewise.
18305 * math/s_clogl.c: Likewise.
18306 * math/s_csin.c: Likewise.
18307 * math/s_csinf.c: Likewise.
18308 * math/s_csinh.c: Likewise.
18309 * math/s_csinhf.c: Likewise.
18310 * math/s_csinhl.c: Likewise.
18311 * math/s_csinl.c: Likewise.
18312 * math/s_csqrt.c: Likewise.
18313 * math/s_csqrtf.c: Likewise.
18314 * math/s_csqrtl.c: Likewise.
18315 * math/s_ctan.c: Likewise.
18316 * math/s_ctanf.c: Likewise.
18317 * math/s_ctanh.c: Likewise.
18318 * math/s_ctanhf.c: Likewise.
18319 * math/s_ctanhl.c: Likewise.
18320 * math/s_ctanl.c: Likewise.
18321 * math/s_ldexp.c: Likewise.
18322 * math/s_ldexpf.c: Likewise.
18323 * math/s_ldexpl.c: Likewise.
18324 * math/s_significand.c: Likewise.
18325 * math/s_significandf.c: Likewise.
18326 * math/s_significandl.c: Likewise.
18327 * math/w_acos.c: Likewise.
18328 * math/w_acosf.c: Likewise.
18329 * math/w_acosh.c: Likewise.
18330 * math/w_acoshf.c: Likewise.
18331 * math/w_acoshl.c: Likewise.
18332 * math/w_acosl.c: Likewise.
18333 * math/w_asin.c: Likewise.
18334 * math/w_asinf.c: Likewise.
18335 * math/w_asinl.c: Likewise.
18336 * math/w_atan2.c: Likewise.
18337 * math/w_atan2f.c: Likewise.
18338 * math/w_atan2l.c: Likewise.
18339 * math/w_atanh.c: Likewise.
18340 * math/w_atanhf.c: Likewise.
18341 * math/w_atanhl.c: Likewise.
18342 * math/w_cosh.c: Likewise.
18343 * math/w_coshf.c: Likewise.
18344 * math/w_coshl.c: Likewise.
18345 * math/w_dremf.c: Likewise.
18346 * math/w_exp10.c: Likewise.
18347 * math/w_exp10f.c: Likewise.
18348 * math/w_exp10l.c: Likewise.
18349 * math/w_exp2.c: Likewise.
18350 * math/w_exp2f.c: Likewise.
18351 * math/w_fmod.c: Likewise.
18352 * math/w_fmodf.c: Likewise.
18353 * math/w_fmodl.c: Likewise.
18354 * math/w_hypot.c: Likewise.
18355 * math/w_hypotf.c: Likewise.
18356 * math/w_hypotl.c: Likewise.
18357 * math/w_j0.c: Likewise.
18358 * math/w_j0f.c: Likewise.
18359 * math/w_j0l.c: Likewise.
18360 * math/w_j1.c: Likewise.
18361 * math/w_j1f.c: Likewise.
18362 * math/w_j1l.c: Likewise.
18363 * math/w_jn.c: Likewise.
18364 * math/w_jnf.c: Likewise.
18365 * math/w_jnl.c: Likewise.
18366 * math/w_lgamma.c: Likewise.
18367 * math/w_lgamma_r.c: Likewise.
18368 * math/w_lgammaf.c: Likewise.
18369 * math/w_lgammaf_r.c: Likewise.
18370 * math/w_lgammal.c: Likewise.
18371 * math/w_lgammal_r.c: Likewise.
18372 * math/w_log.c: Likewise.
18373 * math/w_log10.c: Likewise.
18374 * math/w_log10f.c: Likewise.
18375 * math/w_log10l.c: Likewise.
18376 * math/w_log2.c: Likewise.
18377 * math/w_log2f.c: Likewise.
18378 * math/w_log2l.c: Likewise.
18379 * math/w_logf.c: Likewise.
18380 * math/w_logl.c: Likewise.
18381 * math/w_pow.c: Likewise.
18382 * math/w_powf.c: Likewise.
18383 * math/w_powl.c: Likewise.
18384 * math/w_remainder.c: Likewise.
18385 * math/w_remainderf.c: Likewise.
18386 * math/w_remainderl.c: Likewise.
18387 * math/w_scalb.c: Likewise.
18388 * math/w_scalbf.c: Likewise.
18389 * math/w_scalbl.c: Likewise.
18390 * math/w_sinh.c: Likewise.
18391 * math/w_sinhf.c: Likewise.
18392 * math/w_sinhl.c: Likewise.
18393 * math/w_sqrt.c: Likewise.
18394 * math/w_sqrtf.c: Likewise.
18395 * math/w_sqrtl.c: Likewise.
18396 * math/w_tgamma.c: Likewise.
18397 * math/w_tgammaf.c: Likewise.
18398 * math/w_tgammal.c: Likewise.
18399
6a621eb7
UD
18400 * po/ja.po: Update from translation team.
18401
bf582445
AJ
184022011-09-29 Andreas Jaeger <aj@suse.de>
18403
f9efbf3a
AJ
18404 [BZ #13179]
18405 * sunrpc/netname.c (netname2host): Fix logic.
18406
bf582445
AJ
18407 [BZ #6779]
18408 [BZ #6783]
18409 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18410 correctly.
18411 * math/w_remainder.c (__remainder): Likewise.
18412 * math/w_remainderf.c (__remainderf): Likewise.
18413 * math/libm-test.inc (remainder_test): Add test cases.
18414
48693bea
AK
184152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18416
18417 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18418 sdiv_qrnnd.
18419
42622229
LD
184202011-10-07 Ulrich Drepper <drepper@gmail.com>
18421
18422 * string/test-memcmp.c: Avoid unncessary #defines.
18423 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18424
093ecf92
LD
184252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18426
18427 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18428 Use new sse2 version for core i3 - i7 as it's faster
18429 than sse42 version.
18430 (bit_Prefer_PMINUB_for_stringop): New.
18431 * sysdeps/x86_64/rawmemchr.S: Update.
18432 Replace with faster SSE2 version.
18433 * sysdeps/x86_64/memrchr.S: New file.
18434 * sysdeps/x86_64/memchr.S: Update.
18435 Replace with faster SSE2 version.
18436
fde56e5c
MP
184372011-09-12 Marek Polacek <mpolacek@redhat.com>
18438
18439 * elf/dl-load.c (lose): Add cast to avoid warning.
18440
21fd49a9
UD
184412011-10-07 Ulrich Drepper <drepper@gmail.com>
18442
5a06e643
UD
18443 * po/ca.po: Update from translation team.
18444
684ae515
UD
18445 * inet/getnetgrent_r.c: Hook up nscd.
18446 * nscd/Makefile (routines): Add nscd_netgroup.
18447 (nscd-modules): Add netgroupcache.
18448 (CFLAGS-netgroupcache.c): Define.
18449 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18450 (cache_search): Add const to second parameter.
18451 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18452 INNETGR.
18453 (dbs): Add netgrdb entry.
18454 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18455 (verify_persistent_db): Handle netgrdb.
18456 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18457 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18458 GETFDNETGR.
18459 (netgroup_response_header): Define.
18460 (innetgroup_response_header): Define.
18461 (datahead): Add netgroup_response_header and innetgroup_response_header
18462 elements.
18463 * nscd/nscd.conf: Add entries for netgroup cache.
18464 * nscd/nscd.h (dbtype): Add netgrdb.
18465 (_PATH_NSCD_NETGROUP_DB): Define.
18466 (netgroup_iov_disabled): Declare.
18467 (xmalloc, xcalloc, xrealloc): Move declarations here.
18468 (cache_search): Adjust prototype.
18469 Add netgroup-related prototypes.
18470 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18471 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18472 (__nscd_innetgr): Declare.
18473 * nscd/selinux.c (perms): Use access_vector_t as element type and
18474 add netgroup-related initializers.
18475 * nscd/netgroupcache.c: New file.
18476 * nscd/nscd_netgroup.c: New file.
18477 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18478 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18479 For four parameters use innetgr.
18480 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18481 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18482 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18483 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18484
21fd49a9
UD
18485 * nscd/connections.c (register_traced_file): Don't register file
18486 for disabled databases.
18487
054c0457
UD
184882011-10-06 Ulrich Drepper <drepper@gmail.com>
18489
32b63198
UD
18490 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18491
054c0457
UD
18492 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18493 from tree and freeing node.
18494
64031225
JO
184952011-09-25 Jiri Olsa <jolsa@redhat.com>
18496
18497 * nss/nsswitch.c (__nss_database_lookup): Handle
18498 nss_parse_service_list out of memory case.
18499
0490345c
JO
185002011-09-15 Jiri Olsa <jolsa@redhat.com>
18501
18502 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18503 out of memory case.
18504
3a62d00d
AS
185052011-10-04 Andreas Schwab <schwab@redhat.com>
18506
18507 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18508 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18509 pass it down.
18510 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18511 elf_machine_rela, elf_machine_lazy_rel.
18512 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18513 (ELF_DYNAMIC_DO_REL): Likewise.
18514 (ELF_DYNAMIC_DO_RELA): Likewise.
18515 (ELF_DYNAMIC_RELOCATE): Likewise.
18516 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18517 to ELF_DYNAMIC_DO_REL.
18518 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18519 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18520 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18521 elf_machine_rela.
18522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18523 skip_ifunc, don't call ifunc function if non-zero.
18524 (elf_machine_rela): Likewise.
18525 (elf_machine_lazy_rel): Likewise.
18526 (elf_machine_lazy_rela): Likewise.
18527 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18528 (elf_machine_lazy_rel): Likewise.
18529 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18530 Likewise.
18531 (elf_machine_lazy_rel): Likewise.
18532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18533 Likewise.
18534 (elf_machine_lazy_rel): Likewise.
18535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18536 (elf_machine_lazy_rel): Likewise.
18537 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18538 (elf_machine_lazy_rel): Likewise.
18539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18540 (elf_machine_lazy_rel): Likewise.
18541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18542 (elf_machine_lazy_rel): Likewise.
18543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18544 (elf_machine_lazy_rel): Likewise.
18545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18546 (elf_machine_lazy_rel): Likewise.
18547
68577918
UD
185482011-09-28 Ulrich Drepper <drepper@gmail.com>
18549
18550 * nss/nss_files/files-init.c (_nss_files_init): Use static
18551 initialization for all the *_traced_file variables.
18552
68822d74
AS
185532011-09-28 Andreas Schwab <schwab@redhat.com>
18554
18555 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18556
2056100b
RM
185572011-09-27 Roland McGrath <roland@hack.frob.com>
18558
18559 [BZ #13226]
18560 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18561
32c76b63
AS
185622011-09-27 Andreas Schwab <schwab@redhat.com>
18563
18564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18565 Reread the line before reparsing it.
18566
bf972c9d
AS
185672011-09-26 Andreas Schwab <schwab@redhat.com>
18568
18569 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18570
e057a1b5
JM
185712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18572 Maxim Kuvyrkov <maxim@codesourcery.com>
18573 Joseph Myers <joseph@codesourcery.com>
18574
18575 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18576 if needed for __stack_chk_guard.
18577
bc7e1c36
RM
185782011-09-19 Roland McGrath <roland@hack.frob.com>
18579
ecb1482f
RM
18580 * sysdeps/posix/spawni.c (script_execute): Always define it.
18581 It will be optimized away if unused.
18582 (maybe_script_execute): New function.
18583 (__spawni): Call it.
18584
bc7e1c36
RM
18585 * Makerules: Don't include tls.make.
18586 (config-tls): Always set to thread.
18587 * tls.make.c: File removed.
18588
1c3b002b
MF
185892011-09-19 Mike Frysinger <vapier@gentoo.org>
18590
18591 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18592 * config.make.in (CPPFLAGS-config): New substituted variable.
18593
2840865d
UD
185942011-09-15 Ulrich Drepper <drepper@gmail.com>
18595
88738eb6
UD
18596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18597
cbf645a6 18598 [BZ #13192]
2840865d
UD
18599 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18600 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18601
b402e91a
RM
186022011-09-15 Roland McGrath <roland@hack.frob.com>
18603
18604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18605 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18607 (CALL_FAIL): Likewise.
18608 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18609 (CALL_FAIL): Macro removed.
18610 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18611
4c1a1f71
UD
186122011-09-15 Ulrich Drepper <drepper@gmail.com>
18613
18614 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18615 for __FINITE_MATH_ONLY__ == 1.
18616
edc121be
AS
186172011-09-15 Andreas Schwab <schwab@redhat.com>
18618
18619 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18620 __ieee754_sqrt instead of sqrt.
18621 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18622 __ieee754_sqrtf instead of sqrtf.
18623 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18624 __floorf instead of floorf.
18625 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18626 __floorf, __truncf instead of floorf, truncf.
18627
cd205654
UD
186282011-09-14 Ulrich Drepper <drepper@gmail.com>
18629
ee4d0315
UD
18630 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18631
cd205654
UD
18632 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18633 __extern_always_inline.
18634 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18635 32-bit.
18636
48b67d71
AS
186372011-09-14 Andreas Schwab <schwab@redhat.com>
18638
18639 * elf/rtld.c (dl_main): Also relocate in dependency order when
18640 doing symbol dependency testing.
18641
1ae12c75
AS
186422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18643
18644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18645 Always define `refsym'.
18646
995a80df
AS
186472011-09-13 Andreas Schwab <schwab@redhat.com>
18648
e529793b
AS
18649 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18650 (__FD_ELT): Renamed from __FDELT.
18651 * misc/bits/select2.h (__FD_ELT): Likewise.
18652 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18653 __FD_MASK instead of __FDELT, __FDMASK.
18654 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18655 Likewise.
18656 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18657 Likewise.
18658
52d4fef8
AS
18659 * elf/Makefile (gen-ldd): Fix pattern.
18660
995a80df
AS
18661 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18662 (init_tls): Likewise.
18663
8682f8b0
UD
186642011-09-12 Ulrich Drepper <drepper@gmail.com>
18665
18666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18667
de82006d
AS
186682011-09-12 Andreas Schwab <schwab@redhat.com>
18669
a7c8e6a1
AS
18670 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18671 `struct cmsghdr *' instead of `void *'.
18672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18673 Likewise.
18674
0f31fe77
AS
186752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18676
18677 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18678 if non-absolute.
18679 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18680 ldd_rewrite_script.
0f31fe77 18681
32b4c839
UD
186822011-09-11 Ulrich Drepper <drepper@gmail.com>
18683
83cd1420
UD
18684 * configure.in: Remove --with-tls option.
18685 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18686 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18687 out in case it is missing.
18688 * sysdeps/ia64/elf/configure.in: Likewise.
18689 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18690 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18691 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18692 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18693 * sysdeps/sh/elf/configure.in: Likewise.
18694 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18695 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18696 * sysdeps/x86_64/elf/configure.in: Likewise.
18697 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18698 * sysdeps/mach/hurd/tls.h: Likewise.
18699
633f745d
UD
18700 [BZ #13067]
18701 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18702
f318beb8
UD
18703 [BZ #13090]
18704 * configure.in: Fix use of AC_INIT.
18705
32b4c839
UD
18706 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18707
3ce1f295
UD
187082011-09-10 Ulrich Drepper <drepper@gmail.com>
18709
bb016596
UD
18710 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18711 __set_errno.
8e58439c
UD
18712 * malloc/hooks.c: Likewise.
18713
aebae053 18714 [BZ #11929]
02d46fc4
UD
18715 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18716 variables statically.
18717 (narenas): Initialize.
18718 (list_lock): Initialize.
bb016596
UD
18719 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18720 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18721 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18722 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18723 Add initializers to main_arena and mp_.
18724 (malloc_state): Remove pagesize member. Change all users to use
18725 GLRO(dl_pagesize).
18726
18727 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18728 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18729 is always initialized.
18730
22a89187
UD
18731 * malloc/malloc.c: Removed unused configurations and dead code.
18732 * malloc/arena.c: Likewise.
18733 * malloc/hooks.c: Likewise.
02d46fc4 18734 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18735
d063d164
UD
18736 * include/tls.h: Removed. USE___THREAD must always be defined.
18737 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18738 * elf/dl-libc.c: Likewise.
18739 * elf/dl-tsd.c: Likewise.
18740 * include/errno.h: Likewise.
18741 * include/netdb.h: Likewise.
18742 * include/resolv.h: Likewise.
18743 * inet/herrno-loc.c: Likewise.
18744 * inet/herrno.c: Likewise.
18745 * malloc/arena.c: Likewise.
18746 * malloc/hooks.c: Likewise.
18747 * malloc/malloc.c: Likewise.
18748 * resolv/res-state.c: Likewise.
18749 * resolv/res_libc.c: Likewise.
18750 * sysdeps/i386/dl-machine.h: Likewise.
18751 * sysdeps/ia64/dl-machine.h: Likewise.
18752 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18753 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18754 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18755 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18756 * sysdeps/sh/dl-machine.h: Likewise.
18757 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18758 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18759 * sysdeps/unix/i386/sysdep.S: Likewise.
18760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18761 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18766 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18770 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18771 * sysdeps/x86_64/dl-machine.h: Likewise.
18772 * tls.make.c: Likewise.
18773
3ce1f295
UD
18774 * configure.in: Remove --with-__thread option. Make tests for
18775 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18776 tls_model attribute fail if no support is available. Remove
18777 USE_IN_LIBIO.
18778 * Makeconfig: Adjust for dropped configure option. All features are
18779 now mandatory.
18780 * Makerules: Likewise.
18781 * Versions.def: Likewise.
18782 * argp/argp-fmtstream.c: Likewise.
18783 * argp/argp-fmtstream.h: Likewise.
18784 * argp/argp-help.c: Likewise.
18785 * assert/assert.c: Likewise.
18786 * config.h.in: Likewise.
18787 * config.make.in: Likewise.
18788 * configure: Likewise.
18789 * configure.in: Likewise.
18790 * csu/Versions: Likewise.
18791 * csu/init.c: Likewise.
18792 * elf/tst-audit2.c: Likewise.
18793 * elf/tst-tls10.c: Likewise.
18794 * elf/tst-tls10.h: Likewise.
18795 * elf/tst-tls11.c: Likewise.
18796 * elf/tst-tls12.c: Likewise.
18797 * elf/tst-tls14.c: Likewise.
18798 * elf/tst-tlsmod11.c: Likewise.
18799 * elf/tst-tlsmod12.c: Likewise.
18800 * elf/tst-tlsmod13.c: Likewise.
18801 * elf/tst-tlsmod13a.c: Likewise.
18802 * elf/tst-tlsmod14a.c: Likewise.
18803 * elf/tst-tlsmod15b.c: Likewise.
18804 * elf/tst-tlsmod16a.c: Likewise.
18805 * elf/tst-tlsmod16b.c: Likewise.
18806 * elf/tst-tlsmod7.c: Likewise.
18807 * elf/tst-tlsmod8.c: Likewise.
18808 * elf/tst-tlsmod9.c: Likewise.
18809 * gmon/gmon.c: Likewise.
18810 * grp/fgetgrent_r.c: Likewise.
18811 * grp/putgrent.c: Likewise.
18812 * hurd/fopenport.c: Likewise.
18813 * include/libc-symbols.h: Likewise.
18814 * include/tls.h: Likewise.
18815 * intl/gettextP.h: Likewise.
18816 * intl/loadinfo.h: Likewise.
18817 * locale/global-locale.c: Likewise.
18818 * locale/localeinfo.h: Likewise.
18819 * mach/devstream.c: Likewise.
18820 * malloc/arena.c: Likewise.
18821 * malloc/set-freeres.c: Likewise.
18822 * misc/err.c: Likewise.
18823 * misc/getttyent.c: Likewise.
18824 * misc/mntent_r.c: Likewise.
18825 * posix/getopt.c: Likewise.
18826 * posix/wordexp.c: Likewise.
18827 * pwd/fgetpwent_r.c: Likewise.
18828 * resolv/Versions: Likewise.
18829 * resolv/res_hconf.c: Likewise.
18830 * shadow/fgetspent_r.c: Likewise.
18831 * shadow/putspent.c: Likewise.
18832 * stdio-common/printf_fphex.c: Likewise.
18833 * stdio-common/tmpfile.c: Likewise.
18834 * stdlib/abort.c: Likewise.
18835 * stdlib/fmtmsg.c: Likewise.
18836 * sunrpc/auth_unix.c: Likewise.
18837 * sunrpc/clnt_perr.c: Likewise.
18838 * sunrpc/clnt_tcp.c: Likewise.
18839 * sunrpc/clnt_udp.c: Likewise.
18840 * sunrpc/clnt_unix.c: Likewise.
18841 * sunrpc/openchild.c: Likewise.
18842 * sunrpc/svc_simple.c: Likewise.
18843 * sunrpc/svc_tcp.c: Likewise.
18844 * sunrpc/svc_udp.c: Likewise.
18845 * sunrpc/svc_unix.c: Likewise.
18846 * sunrpc/xdr.c: Likewise.
18847 * sunrpc/xdr_array.c: Likewise.
18848 * sunrpc/xdr_rec.c: Likewise.
18849 * sunrpc/xdr_ref.c: Likewise.
18850 * sunrpc/xdr_stdio.c: Likewise.
18851
1248c1c4
PB
188522011-09-09 Ulrich Drepper <drepper@gmail.com>
18853
18854 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18855
188562011-07-03 Andreas Jaeger <aj@suse.de>
18857
18858 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18859 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18860 regenerate with gen-libm-tests.pl.
18861
188622010-05-12 Petr Baudis <pasky@suse.cz>
18863
18864 [BZ #11589]
18865 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18866 around j0() zero points by switching to j1().
18867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18871
f22e1074
UD
188722011-09-09 Ulrich Drepper <drepper@gmail.com>
18873
f19009c1
UD
18874 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18875 instead of 0.
18876 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18877 instead of 0. .
18878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18879 Patch in part by Pavel Roskin <proski@gnu.org>.
18880
3f8cc204
UD
18881 [BZ #13138]
18882 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18883 realloc.
18884 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18885 Free memory block if necessary.
18886
f22e1074
UD
18887 [BZ #12847]
18888 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18889 be NULL. Don't lock in this case.
18890
0a2349f9
RM
188912011-09-09 Roland McGrath <roland@hack.frob.com>
18892
18893 * elf/elf.h (ELFOSABI_GNU): New macro.
18894 (ELFOSABI_LINUX): Define to that.
18895
f3cdd467
DZ
188962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18897
18898 * string/strncat.c (strncat): Undef the symbol in case it has been
18899 defined in bits/string.h.
18900
74718d13
UD
189012011-09-09 Ulrich Drepper <drepper@gmail.com>
18902
633e9e0f
UD
18903 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18904
0a2349f9 18905 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18906 link map.
18907
f9924780
AJ
189082011-08-17 Andreas Jaeger <aj@suse.de>
18909
18910 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18911
7f5517aa
PP
189122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18913 Ian Lance Taylor <iant@google.com>
18914
18915 * math/libm-test.inc (lround_test): New testcase.
18916 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18917
762011fe
UD
189182011-09-08 Ulrich Drepper <drepper@gmail.com>
18919
92963737
UD
18920 * Makefile: Remove support for automatic cvs check-ins.
18921 * Makerules: Likewise.
18922 * config.make.in: Likewise.
18923 * configure.in: Likewise.
18924 * intl/Makefile: Likewise.
18925 * locale/Makefile: Likewise.
18926 * po/Makefile: Likewise.
18927 * posix/Makefile: Likewise.
18928 * sysdeps/gnu/Makefile: Likewise.
18929 * sysdeps/mach/hurd/Makefile: Likewise.
18930 * sysdeps/sparc/sparc32/Makefile: Likewise.
18931
b0727fd8
JS
18932 [BZ #13118]
18933 * posix/Makefile (bug-regex32-ENV): Define.
18934 Patch by John Stanley <jpsinthemix@verizon.net>.
18935
a0f33f99
UD
18936 * misc/Makefile (headers): Add bits/select2.h.
18937 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18938 * misc/bits/select2.h: New file.
18939 * include/bits/select2.h: New file.
18940 * debug/Makefile (routines): Add fdelt_chk.
18941 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18942 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18943 FD_ISSET.
18944 * debug/fdelt_chk.c: New file.
18945
762011fe
UD
18946 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18947 * wcsmbs/test-wmemcmp.c: Likewise.
18948 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18949 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18950
189512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18952
18953 * string/Makefile (strop-tests): Add memcmp.
18954 * string/test-wmemcmp.c: New file.
18955 * string/test-memcmp.c: Add wmemcmp support.
18956
7f513ec8
RM
189572011-09-08 Roland McGrath <roland@hack.frob.com>
18958
0442afb4
RM
18959 [BZ #13153]
18960 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18961 2011-07-19 change.
18962
7f513ec8
RM
18963 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18964 garbage value in a __mach_port_mod_refs call in the cases of the
18965 task-self and thread-self ports.
18966
a12b2239
ST
189672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18968
18969 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18970
610f9ab4
AS
189712011-09-08 Andreas Schwab <schwab@redhat.com>
18972
7f513ec8 18973 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18974
48882a1a
LD
189752011-09-07 Ulrich Drepper <drepper@gmail.com>
18976
b49865be
UD
18977 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18978
fdc86bc9
UD
18979 * elf/dl-libc.c (dlerror_run): Pass back error code from
18980 dl_catch_error.
18981
c966526a
UD
18982 [BZ #13123]
18983 * elf/dl-load.c (lose): Free l_origin if it is valid.
18984
48882a1a
LD
18985 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18986 names.
18987 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18990 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18991 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18992 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18993
77a2a8b4
AZ
189942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18995
18996 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18997 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18998 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18999 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19000 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19001 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19002 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19003 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19004 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19005 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19006
24f579d8
AM
190072011-08-15 Alan Modra <amodra@gmail.com>
19008
19009 [BZ #13092]
19010 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19011 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19012 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19013 ppc_mcount to static-only-routines.
19014 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19015 __mcount_internal.
19016 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19017 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19018
3d4837df
UD
190192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19020
19021 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19022 for finite and infinity parameters.
19023
22700377
WS
190242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19025
19026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19027 and add nop instructions for throughput optimization.
19028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19029
5025581e
WS
190302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19031
19032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19033 aligned copy for power7 with vector-scalar instructions.
19034 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19035
08a300c9
L
190362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19037
19038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19039 AVX check.
19040
59178ef9
AS
190412011-09-07 Andreas Schwab <schwab@redhat.com>
19042
19043 [BZ #13144]
19044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19045 last change.
19046
e38ba7ab
UD
190472011-09-07 Ulrich Drepper <drepper@gmail.com>
19048
19049 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19050 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19051 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19052 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19053 clock_gettime.
19054
d53a73ac
UD
190552011-09-06 Ulrich Drepper <drepper@gmail.com>
19056
fc8bffcc
UD
19057 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19058 Forgot to demangle the pointer.
19059
ceaa0c5d
UD
19060 * sysdeps/i386/sysdep.h: Define atom_text_section.
19061 * sysdeps/x86_64/sysdep.h: Likewise.
19062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19063 section with atom_text_section.
19064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19065 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19066 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19068 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19069
a77d3c17
UD
19070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19071 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19072 already be defined. Change to take two parameters and don't assign
19073 result to variable. Adjust all users.
19074 Define INTERNAL_GETTIME if not already defined.
19075 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19076 call.
19077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19078 HAVE_CLOCK_GETTIME_VSYSCALL.
19079 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19080
d53a73ac
UD
19081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19082 gettimeofday vsyscall, just use time.
19083
a8f84144
AS
190842011-09-06 Andreas Schwab <schwab@redhat.com>
19085
19086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19087 <errno.h>.
19088
ef606249
UD
190892011-09-06 Ulrich Drepper <drepper@gmail.com>
19090
19091 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19092 syscall on x86-64.
19093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19094 syscall.
19095 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19096 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19097 syscall if possible.
19098
6585cb60
UD
190992011-09-05 Ulrich Drepper <drepper@gmail.com>
19100
19101 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19102 e_ident. Don't pass to find_mapsXX.
19103 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19104
a5f524e4
LD
191052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19106
19107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19108 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19109 * sysdeps/x86_64/multiarch/strchr.S: Update.
19110 Check bit_slow_BSF bit.
19111 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19113 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19114
554881ef
UD
191152011-09-05 Ulrich Drepper <drepper@gmail.com>
19116
d96de963
UD
19117 [BZ #13134]
19118 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19119 before glibc 2.15.
19120 (tryshell): Define.
19121 (__spawni): Change last parameter to be flag. Test
19122 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19123 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19124 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19125 * posix/spawni.c: Likewise.
19126 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19127 * posix/spawnp.c: Likewise. Change normal version to use
19128 SPAWN_XFLAGS_USE_PATH.
19129 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19130 SPAWN_XFLAGS_TRY_SHELL.
19131
d48e5868
UD
19132 [BZ #13150]
19133 * posix/glob.h: Remove gcc 1.x support.
19134
554881ef
UD
19135 [BZ #13068]
19136 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19137
693fb948
LD
191382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19139
19140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19141 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19142 strrchr-sse2-bsf
19143 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19144 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19146 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19147 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19149
1b48c537
UD
191502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19151
49d42c37
UD
19152 * sysdeps/x86_64/wcscmp.S: New file.
19153
1b48c537
UD
19154 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19155 wcscmp-c wcscmp-sse2
19156 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19157 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19158 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19159 * wcsmbs/wcscmp.c: Allow renaming.
19160
15c95c5d
DM
191612011-09-05 David S. Miller <davem@davemloft.net>
19162
19163 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19164 stack slot, rather than the struct return pointer slot.
19165 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19166 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19168 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19169
2f0ad8f3
UD
191702011-09-05 Ulrich Drepper <drepper@gmail.com>
19171
d88ae418
UD
19172 * po/ja.po: Update from translation team.
19173
2f0ad8f3
UD
19174 [BZ #13144]
19175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19176 kernel in 64-bit binaries.
19177
5f4318d1
DM
191782011-09-01 David S. Miller <davem@davemloft.net>
19179
19180 * elf/elf.h (HWCAP_SPARC_*): Move to..
19181 * sysdeps/sparc/sysdep.h: this new file and add new values.
19182 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19183 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19184 _DL_HWCAP_COUNT to 24.
19185 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19186 entries.
19187 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19188 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19189 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19191 instead of magic constants.
19192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19193
3ba57516
DM
191942011-08-31 David S. Miller <davem@davemloft.net>
19195
19196 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19198 Reimplement to do errno handling inline.
19199 (SYSCALL_ERROR_HANDLER): New macro.
19200 (__SYSCALL_STRING): Do not do errno handling in asm.
19201 (__CLONE_SYSCALL_STRING): Delete.
19202 (__INTERNAL_SYSCALL_STRING): Delete.
19203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19204 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19205 (PSEUDO): Reimplement to do errno handling inline.
19206 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19207 (SYSCALL_ERROR_HANDLER): New macro.
19208 (__SYSCALL_STRING): Do not do errno handling in asm.
19209 (__CLONE_SYSCALL_STRING): Delete.
19210 (__INTERNAL_SYSCALL_STRING): Delete.
19211 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19212 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19213 i386.
19214 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19215 (inline_syscall*): Add 'err' argument.
19216 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19217 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19218 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19219 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19220
19221 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19222 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19223
2bc17433
AS
192242011-08-30 Andreas Schwab <schwab@redhat.com>
19225
19226 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19227
fbeb5f4d
JO
192282011-08-29 Jiri Olsa <jolsa@redhat.com>
19229
19230 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19231 directive.
19232
ad69cc26
DM
192332011-08-24 David S. Miller <davem@davemloft.net>
19234
19235 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19236
39dd69df
AS
192372011-08-24 Andreas Schwab <schwab@redhat.com>
19238
19239 * elf/Makefile: Add rules to build and run unload8 test.
19240 * elf/unload8.c: New file.
19241 * elf/unload8mod1.c: New file.
19242 * elf/unload8mod1x.c: New file.
19243 * elf/unload8mod2.c: New file.
19244 * elf/unload8mod3.c: New file.
19245
19246 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19247 it wasn't used.
19248
2c0b250a
DM
192492011-08-23 David S. Miller <davem@davemloft.net>
19250
19251 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19252 subtract stack bias.
19253 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19254 %sp not %fp in calculations.
19255 (_JMPBUF_UNWINDS_ADJ): Likewise.
19256
22044b48
DM
19257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19258 (aio_suspend): Call it to force an exception region around the
19259 AIO_MISC_WAIT() invocation.
19260
2cae4995
AS
192612011-08-23 Andreas Schwab <schwab@redhat.com>
19262
19263 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19264 backslash.
19265
873a772e
AJ
192662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19267
19268 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19269 protection macro.
19270 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19271 and <dl-machine.h>.
19272 (Elf64_FuncDesc): Remove.
19273
25ad0df1
DM
192742011-08-22 David S. Miller <davem@davemloft.net>
19275
19276 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19277 sigaltstack check, add missing cfi directives.
19278 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19279 missing cfi directives, and sigaltstack handling.
19280
e888bcbe
AS
192812011-08-16 Andreas Schwab <schwab@redhat.com>
19282
19283 [BZ #11724]
19284 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19285 object is seen twice.
19286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19287
19288 * elf/Makefile (distribute): Add tst-initorder2.c.
19289 (tests): Add tst-initorder2.
19290 (modules-names): Add tst-initorder2a tst-initorder2b
19291 tst-initorder2c tst-initorder2d. Add rules to build them.
19292 ($(objpfx)tst-initorder2.out): New rule.
19293 * elf/tst-initorder2.c: New file.
19294 * elf/tst-initorder2.exp: New file.
19295
87162f46
AS
192962011-08-22 Andreas Schwab <schwab@redhat.com>
19297
70538b7f
AS
19298 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19299
f55ffe58
AS
19300 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19301 dependencies back to end of function.
19302
87162f46
AS
19303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19304 $(elfobjdir)/ld.so.
19305
91b392a4
UD
193062011-08-21 Ulrich Drepper <drepper@gmail.com>
19307
19308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19309 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19311 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19312 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19313 of __vdso_gettimeofday.
19314 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19315 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19316 attribute_hidden.
19317 (_libc_vdso_platform_setup): Remove initialization of
19318 __vdso_gettimeofday and __vdso_time.
19319
5c43483f
UD
193202011-08-20 Ulrich Drepper <drepper@gmail.com>
19321
775a77e7
UD
19322 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19323 and fgetc_unlocked.
19324 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19325 getc_unlocked.
89f447ed 19326
49c74ba9
UD
19327 * elf/dl-open.c (add_to_global): Report additions to the global scope
19328 for LD_DEBUG=scopes.
19329 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19330 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19331
5c43483f
UD
19332 [BZ #13114]
19333 * stdio-common/Makefile (tests): Add bug24.
19334 * stdio-common/bug24.c: New file.
19335
a101b025
AJ
193362011-08-19 Andreas Jaeger <aj@suse.de>
19337
19338 [BZ #13114]
19339 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19340 non-existant file when using close-on-exec mode.
19341
c88f1766
UD
193422011-08-20 Ulrich Drepper <drepper@gmail.com>
19343
0276a718
UD
19344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19345 the very first instruction.
19346
c88f1766
UD
19347 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19348 the CFI state in the end.
19349 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19350 inclusion of dl-trampoline.h.
19351 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19352
51ccffa0
AS
193532011-08-19 Andreas Schwab <schwab@redhat.com>
19354
94d7165f
AS
19355 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19356 expectations for long double.
19357
51ccffa0
AS
19358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19359 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19360
fd708658 193612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19362
19363 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19364 artificual limit depends upon the system page size.
19365
44f0a71e
UD
193662011-08-17 Ulrich Drepper <drepper@gmail.com>
19367
19368 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19369 * resolv/Makefile: Define CFLAGS-libresolv.
19370
8de79a24
AS
193712011-08-17 Andreas Schwab <schwab@redhat.com>
19372
19373 * nss/makedb.c (compute_tables): Make variables used in nested
19374 function static.
19375
27724598
UD
193762011-08-17 Ulrich Drepper <drepper@gmail.com>
19377
c5305d88
UD
19378 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19379 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19380 if buffer was too small.
19381
27724598
UD
19382 * elf/pldd.c (main): Attach to all threads in the process.
19383 Rewrite /proc handling to use *at functions.
19384
076fe015
UD
193852011-08-16 Ulrich Drepper <drepper@gmail.com>
19386
174baab3
UD
19387 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19388 specifies first scope to show.
19389 (dl_open_worker): Update callers. Move printing scope of new
19390 object to before the relocation.
44f0a71e 19391 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19392 * sysdeps/generic/ldsodefs.h: Update declaration.
19393
076fe015
UD
19394 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19395 string for the scope number.
19396
a60df2c3
UD
193972011-08-14 Ulrich Drepper <drepper@gmail.com>
19398
19399 * nscd/servicescache.c (cache_addserv): Make sure written is always
19400 initialized.
19401
5e4287d1
RM
194022011-08-14 Roland McGrath <roland@hack.frob.com>
19403
85ae0589
RM
19404 * sysdeps/i386/i486/bits/atomic.h
19405 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19406 statement expression, so as to suppress "set but not used" warning.
19407 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19408
69f63097
RM
19409 * string/strncat.c (STRNCAT): Use prototype definition.
19410
675456ef
RM
19411 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19412 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19413 -Iprograms here.
19414 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19415 (localedef-modules): Add localedef.
19416 (locale-modules): Add locale.
19417
5e4287d1
RM
19418 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19419 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19420 to avoid a warning.
19421
9c96ff23
DM
194222011-08-14 David S. Miller <davem@davemloft.net>
19423
19424 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19425 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19426
f9ddf089
UD
194272011-08-13 Ulrich Drepper <drepper@gmail.com>
19428
44f0a71e 19429 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19430 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19431 * elf/rtld.c (dl_main): Set l_name of vDSO.
19432 Call _dl_show_scope when DL_DEBUG_SCOPES.
19433 (process_dl_debug): Recognize scopes flag and also set it for all.
19434 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19435 Declare _dl_show_scope.
19436
1dc27704
UD
19437 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19438 (do_dlopen): Pass caller_dlopen to dl_open.
19439 (__libc_dlopen_mode): Initialize caller_dlopen.
19440
f9ddf089
UD
19441 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19442 of libc. Make tolower call locale-independent. Optimize a bit by
19443 using isdigit instead of isalnum.
19444 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19445
9ac533d3
UD
194462011-08-12 Ulrich Drepper <drepper@gmail.com>
19447
19448 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19449 was a dependency or dynamically loaded.
19450
89edf2e9
UD
194512011-08-11 Ulrich Drepper <drepper@gmail.com>
19452
8e999d29
UD
19453 * intl/l10nflist.c: Allow architecture-specific pop function.
19454 * sysdeps/x86_64/l10nflist.c: New file.
19455
89edf2e9
UD
19456 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19457 classification.
19458
14d96785
AS
194592011-08-10 Andreas Schwab <schwab@redhat.com>
19460
19461 * include/dirent.h: Add libc_hidden_proto for scandirat and
19462 scandirat64. Don't declare __scandirat64.
19463 * dirent/scandirat.c: Add libc_hidden_def.
19464 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19465 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19466
6761ac04
DM
194672011-08-10 David S. Miller <davem@davemloft.net>
19468
19469 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19470 enum.
19471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19474
c55fbd1e
UD
194752011-08-09 Ulrich Drepper <drepper@gmail.com>
19476
19477 * Versions.def [libc]: Add GLIBC_2.15.
19478 * dirent/Makefile (routines): Add scandirat and scandirat64.
19479 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19480 GLIBC_2.15.
19481 * dirent/dirent.h: Declare scandirat and scandirat64.
19482 * dirent/scandirat.c: New file.
19483 * dirent/scandirat64.c: New file.
19484 * sysdeps/wordsize-64/scandirat.c: New file.
19485 * sysdeps/wordsize-64/scandirat64.c: New file.
19486 * dirent/opendir.c: Define opendirat.
19487 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19488 using scandirat.
19489 * dirent/scandir64.c: Adjust for scandir.c change.
19490 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19491 __scandirat64, and __scandir_cancel_handler.
19492 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19493 additional parameter and use openat instead of open (outside of ld.so).
19494 Add new __opendir as wrapper around __opendirat.
19495 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19496 here without requiring old scandirat implementation.
19497
879165f2
UD
194982011-08-08 Ulrich Drepper <drepper@gmail.com>
19499
19500 * dirent/scandir.c (cancel_handler): Renamed to
19501 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19502 defined. Adjust users.
19503 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19504 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19505
cb7e923b
UD
195062011-08-04 Ulrich Drepper <drepper@gmail.com>
19507
16292edd
UD
19508 * string/test-string.h (IMPL): Use __STRING to expand name and then
19509 stringify it.
19510
cb7e923b
UD
19511 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19512 of cleanups.
19513
cff82933
LD
195142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19515
19516 * string/Makefile: Update.
19517 (strop-tests): Append strncat.
19518 * string/test-wcscmp.c: New file.
19519 New comprehensive test for wcscmp.
19520 * string/test-strcmp.c: Update.
19521 (WIDE): New define.
19522
9be9bfcc
AS
195232011-07-22 Andreas Schwab <schwab@redhat.com>
19524
19525 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19526 line.
19527
2e96f1c7
AS
195282011-07-26 Andreas Schwab <schwab@redhat.com>
19529
19530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19531 encoding to ACE if AI_IDN.
19532
85188888
JJ
195332011-08-01 Jakub Jelinek <jakub@redhat.com>
19534
19535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19536 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19537
5fa16e9b
LD
195382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19539
19540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19541 Fix overflow bug in strncat.
19542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19543
19544 * string/test-strncat.c: Update.
19545 Add new tests for checking overflow bugs.
19546
195472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19548
19549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19550 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19551 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19552 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19554 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19555 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19556 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19557 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19558
19559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19560 (USE_AS_STRCAT): Define.
19561 Add strcat and strncat support.
19562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19563
8c1a459f
AS
195642011-07-25 Andreas Schwab <schwab@redhat.com>
19565
19566 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19567 __n bigger than INT_MAX+1.
19568 (__strncmp_g): Likewise.
19569
bba33c28
UD
195702011-07-23 Ulrich Drepper <drepper@gmail.com>
19571
798be72d
UD
19572 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19573 * libio/stido.h: Likewise.
19574
8accd4dc
UD
19575 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19576 (AF_NFC): Define.
19577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19578 (AF_NFC): Define.
19579
cbff0d96
UD
19580 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19582 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19583 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19585
9191c04a
UD
19586 [BZ #13021]
19587 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19588 installed.
19589
bba33c28
UD
19590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19591 typo.
19592 (_dl_x86_64_save_sse): Likewise.
19593
90f139dd
UD
195942011-07-22 Ulrich Drepper <drepper@gmail.com>
19595
1aae088a
UD
19596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19597 OSXSAVE.
19598 (_dl_x86_64_save_sse): Likewise.
19599
8e2045f5
UD
19600 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19601
90f139dd
UD
19602 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19603
1d002f25
AS
196042011-07-21 Andreas Schwab <schwab@redhat.com>
19605
19606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19607 change.
19608 (_dl_x86_64_save_sse): Use correct AVX check.
19609
21137f89
UD
196102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19611
19612 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19613 bug in strncpy/strncat.
19614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19615
a65c0b7a
UD
196162011-07-21 Ulrich Drepper <drepper@gmail.com>
19617
19618 * string/tester.c (test_strcat): Add tests for different alignments
19619 of source and destination.
19620 (test_strncat): Likewise.
19621
6986b98a
UD
196222011-07-20 Ulrich Drepper <drepper@gmail.com>
19623
90bb2039
UD
19624 [BZ #12852]
19625 * posix/glob.c (glob): Check passed in values before using them in
19626 expressions to avoid some overflows.
19627 (glob_in_dir): Likewise.
19628
5644ef54
UD
19629 [BZ #13007]
19630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19631 check for AVX enablement so that we don't crash with old kernels and
19632 new hardware.
19633 * elf/tst-audit4.c: Add same checks here.
19634 * elf/tst-audit6.c: Likewise.
19635
19636 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19637
bfc9dc9b
AS
196382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19639
19640 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19641
702e64bb
UD
196422011-07-20 Ulrich Drepper <drepper@gmail.com>
19643
19644 * po/cs.po: Update from translation team.
19645 * po/bg.po: Likewise.
19646
295e904f
MP
196472011-07-12 Marek Polacek <mpolacek@redhat.com>
19648
19649 * misc/sys/cdefs.h: Add support for const attribute.
19650 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19651 to gnu_dev_{major,minor,makedev} functions.
19652
3ff94596
MP
196532011-07-20 Marek Polacek <mpolacek@redhat.com>
19654
19655 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19656
28b59fca
AS
196572011-07-20 Andreas Schwab <schwab@redhat.com>
19658
19659 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19660 strlen results.
19661
19df733e
AK
196622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19663
19664 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19665 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19666 register in order to avoid conflicts with the soft frame pointer
19667 being held in r11 when necessary.
19668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19669 (INTERNAL_VSYSCALL_NCS): Likewise.
19670
c8835729
MP
196712011-07-14 Marek Polacek <mpolacek@redhat.com>
19672
19673 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19674 * elf/dl-fini.c (_dl_fini): Adjust caller.
19675 * elf/dl-close.c (_dl_close_worker): Likewise.
19676 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19677
b902330c
MP
196782011-07-15 Marek Polacek <mpolacek@redhat.com>
19679
8991e135
MP
19680 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19681 "aux_cache->nlibs < 0".
19682
b902330c
MP
19683 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19684 in the reload-count case.
19685
99710781
LD
196862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19687
19688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19689 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19690 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19691 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19692 * sysdeps/x86_64/multiarch/strcat.S: New file.
19693 * sysdeps/x86_64/multiarch/strncat.S: New file.
19694 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19695 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19696 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19697 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19699 (USE_AS_STRCAT): Define.
19700 Add strcat and strncat support.
19701 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19703 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19704 * string/strncat.c: Update.
19705 (USE_AS_STRNCAT): Define.
19706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19707 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19708 and i7.
19709 * sysdeps/x86_64/multiarch/init-arch.h
19710 (bit_Prefer_PMINUB_for_stringop): New.
19711 (index_Prefer_PMINUB_for_stringop): Likewise.
19712 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19713 bit_Prefer_PMINUB_for_stringop.
19714
7dc6bd90
UD
197152011-07-19 Ulrich Drepper <drepper@gmail.com>
19716
19717 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19718 buffer64.
19719 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19720 of casting of buffer.
19721 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19722 buffer32 and buffer64.
19723 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19724 writes instead of casting of buffer.
19725 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19726 buffer32.
19727 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19728 casting of buffer.
19729
e0e72284
AS
197302011-07-19 Andreas Schwab <schwab@redhat.com>
19731
19732 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19733
feb1eb0b
UD
197342011-07-19 Ulrich Drepper <drepper@gmail.com>
19735
19736 * nscd/nscd.c (termination_handler): Don't do anything for a database
19737 if it has not yet been initialized.
19738
298711ff
UD
197392011-07-18 Ulrich Drepper <drepper@gmail.com>
19740
19741 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19742
197432011-07-15 Marek Polacek <mpolacek@redhat.com>
19744
19745 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19746
f9d68389
UD
197472011-07-18 Ulrich Drepper <drepper@gmail.com>
19748
19749 * po/nl.po: Update from translation team.
19750 * po/sv.po: Likewise.
19751
db290cf5
RM
197522011-07-16 Roland McGrath <roland@hack.frob.com>
19753
19754 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19755 now disallowed by GCC.
5c550700 19756
fd5e21c7
RM
19757 * configure.in (use-default-link): Default to yes if a test -shared
19758 link meets our qualifications.
19759 * configure: Regenerated.
19760
5c550700
RM
19761 * config.make.in (output-format): New variable.
19762 * configure.in: Check for ld --print-output-format support.
19763 * configure: Regenerated.
19764 * Makerules ($(common-objpfx)format.lds)
19765 [$(output-format) != unknown]: Just use $(output-format),
19766 instead of the linker-script munging.
19767
9fa2c032
RM
197682011-07-14 Roland McGrath <roland@hack.frob.com>
19769
a6928d51
RM
19770 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19771 of $(common-objpfx)shlib.lds.
19772 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19773
661607b3
RM
19774 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19775 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19776
9fa2c032
RM
19777 * configure.in (-z relro check): Adjust test code to add a large
19778 writable data section after it.
19779 * configure: Regenerated.
19780
defe9061
RM
197812011-07-11 Roland McGrath <roland@hack.frob.com>
19782
19783 * configure.in (-z relro check): Fix test code to make the variable
19784 truly const.
19785 * configure: Regenerated.
19786
319b9ad4
UD
197872011-07-11 Ulrich Drepper <drepper@gmail.com>
19788
19789 * nscd/nscd.h (struct traced_file): Define.
19790 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19791 elements. Add traced_files.
19792 (inotify_fd): Declare.
19793 (register_traced_file): Declare.
19794 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19795 (inotify_fd): Export.
19796 (resolv_conf_descr): Remove.
19797 (nscd_init): Move inotify descriptor creation to main.
19798 Don't register files for notification here.
19799 (register_traced_file): New function.
19800 (invalidate_cache): Don't use reset_res to determine whether to call
19801 res_init, go through the list of registered files.
19802 (main_loop_poll): The inotify descriptors are now stored in the
19803 structures for the traced files.
19804 (main_loop_epoll): Likewise
19805 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19806 to __nss_disable_nscd.
19807 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19808 for a database anymore. Check the records for all the registered
19809 files instead.
19810 * nss/Makefile (libnss_files-routines): Add files-init.
19811 (libnss_db-routines): Add db-init.
19812 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19813 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19814 * nss/nss_db/db-init.c: New file.
19815 * nss/nss_files/files-init.c: New file.
19816 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19817 __nss_lookup_function.
19818 (__nss_lookup_function): Call nss_load_library.
19819 (nss_load_all_libraries): New function.
19820 (__nss_disable_nscd): Take parameter with callback function for files
19821 to register. Set is_nscd. Load all the DSOs for the NSS modules
19822 used for the cached services.
19823 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19824 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19825 options for features to all the files in nscd.
19826
19827 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19828
23bee3e8
RM
198292011-07-10 Roland McGrath <roland@hack.frob.com>
19830
19831 * csu/elf-init.c (__libc_csu_init): Comment typo.
19832
46a5b7f0
UD
198332011-07-09 Ulrich Drepper <drepper@gmail.com>
19834
19835 * po/pl.po: Update from translation team.
19836 * po/ja.po: Likewise.
19837 * po/ru.po: Likewise.
19838 * po/ko.po: Likewise.
19839 * po/fr.po: Likewise.
19840
d30cf5bb
RM
198412011-07-09 Roland McGrath <roland@hack.frob.com>
19842
113ddea4
RM
19843 * configure.in (.ctors/.dtors header and trailer check):
19844 Use an empirical test on a built program.
19845 * configure: Regenerated.
19846
574920b4
RM
19847 * configure.in (-z relro check): Use an empirical test on a built DSO.
19848 Detect, but do not require, on ia64.
19849 * configure: Regenerated.
19850
d30cf5bb
RM
19851 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19852 Update tests that use readelf to use $READELF instead.
19853 * configure: Regenerated.
19854
8538fdb3
UD
198552011-07-08 Ulrich Drepper <drepper@gmail.com>
19856
19857 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19858 if the result is not used.
19859
04d08991
AJ
198602011-07-05 Andreas Jaeger <aj@suse.de>
19861
19862 [BZ#9696]
19863 * stdlib/tst-strtod.c: Add testcase.
19864
de283087
AD
198652011-07-07 Ulrich Drepper <drepper@gmail.com>
19866
4e5f31c8 19867 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19868 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19869 The latter has a higher limit. Take additional parameter to pass to
19870 the new function.
19871 (__pathconf): Pass file to __statfs_link_max.
19872 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19873 __statfs_link_max.
19874 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19875 __statfs_link_max.
19876
de283087
AD
19877 [BZ #12868]
19878 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19879 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19880 Handle Lustre.
19881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19882 (__statfs_filesize_max): Likewise.
19883 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19884
c75fa153
AJ
198852011-07-05 Andreas Jaeger <aj@suse.de>
19886
19887 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19888
1a544854
UD
198892011-07-06 Marek Polacek <mpolacek@redhat.com>
19890
19891 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19892 `status' variable.
19893 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19894 Likewise.
19895
6f0eec67
UD
198962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19897
19898 * Makefile (strop-tests): Add strncat.
19899 * string/test-strncat.c: New file.
19900
aae30307
UD
199012011-06-30 Marek Polacek <mpolacek@redhat.com>
19902
19903 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19904
c0cfb5eb
UD
199052011-06-21 Andreas Jaeger <aj@suse.de>
19906
19907 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19908 Copy rule from iconvdata/Makefile.
19909
01636b21
UD
199102011-07-06 Ulrich Drepper <drepper@gmail.com>
19911
19912 [BZ #12922]
19913 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19914 but no long options are defined, just return 'W'.
19915
9895c8bc
UD
199162011-06-22 Marek Polacek <mpolacek@redhat.com>
19917
19918 [BZ #9696]
19919 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19920
5d4cf042
UD
199212011-07-06 Ulrich Drepper <drepper@gmail.com>
19922
19923 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19924 netgroups to read.
960e5535 19925 (innetgr): Likewise.
5d4cf042 19926
751eb97e
RM
199272011-07-05 Roland McGrath <roland@hack.frob.com>
19928
19929 * config.make.in (install_root): Default to $(DESTDIR).
19930
f15f1e45
UD
199312011-07-05 Ulrich Drepper <drepper@gmail.com>
19932
19933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19934
4e34ac6a
RM
199352011-07-02 Roland McGrath <roland@hack.frob.com>
19936
5e9b6af4
RM
19937 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19938
84f9ea0f
RM
19939 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19940 containing directory rather than embedding absolute directory names.
19941
ea5ee9f7
RM
19942 * scripts/check-local-headers.sh: Rewritten using awk.
19943 Match by word, not by line. Print error messages for matches.
19944 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19945
1b74661a
RM
19946 * Makerules [shlib-lds-flags empty]:
19947 ($(common-objpfx)libc_pic.opts): New target.
19948 ($(common-objpfx)libc_pic.os.clean): New target.
19949 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19950
19951 * config.make.in (OBJCOPY): New variable.
19952 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19953 * configure: Regenerated.
19954
f781ef40
RM
19955 * config.make.in (use-default-link): New variable.
19956 * configure.in (use_default_link): Grok --with-default-link to set it.
19957 * configure: Regenerated.
19958 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19959 (shlib-lds, shlib-lds-flags): Define to empty.
19960
2d4fa81e
RM
19961 * Makerules (shlib-lds): New variable.
19962 (shlib-lds-flags): New variable.
19963 (build-shlib, build-moduile, build-module-asneeded): Use it.
19964 ($(common-objpfx)libc.so): Use $(shlib-lds).
19965 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19966 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19967
31fffa6b
RM
19968 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19969 DT_FLAGS/DT_FLAGS_1 with zero flags.
19970
4e34ac6a
RM
19971 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19972 linker script munging.
19973
fcfc776b
UD
199742011-07-02 Ulrich Drepper <drepper@gmail.com>
19975
19976 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19977 as 128-bit value.
19978 * crypt/sha512.c (sha512_process_block): Perform total addition using
19979 128-bit if possible.
19980 (__sha512_finish_ctx): Likewise.
19981 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19982 as 64-bit value.
19983 * crypt/sha256.c (SWAP64): Define.
19984 (sha256_process_block): Perform total addition using 64-bit if
19985 possible.
19986 (__sha256_finish_ctx): Likewise.
19987
99231d9a
UD
199882011-07-01 Ulrich Drepper <drepper@gmail.com>
19989
19990 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19991 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19992 * nscd/hstcache.c (cache_addhst): Likewise.
19993 * nscd/grpcache.c (cache_addgr): Likewise.
19994 * nscd/aicache.c (addhstaiX): Likewise
19995 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19996
445b4a53
TK
199972011-07-01 Thorsten Kukuk <kukuk@suse.de>
19998
19999 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20001 * nscd/hstcache.c (cache_addhst): Likewise.
20002 * nscd/grpcache.c (cache_addgr): Likewise.
20003 * nscd/aicache.c (addhstaiX): Likewise
20004
6d4d8e8e
AS
200052011-07-01 Andreas Schwab <schwab@redhat.com>
20006
20007 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20008 domain only when needed.
20009
89f654c5
AS
200102011-06-30 Andreas Schwab <schwab@redhat.com>
20011
20012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20013 is always restored.
20014
cf3b23ff
UD
200152011-06-29 Ulrich Drepper <drepper@gmail.com>
20016
20017 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20018 are re-adding the entry.
20019 * nscd/servicescache.c (cache_addserv): Likewise.
20020
751626f9
AJ
200212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20022
20023 * sysdeps/generic/dl-irel.h: fix protection against multiple
20024 inclusions.
20025 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20026
9113ea1f
UD
200272011-06-28 Ulrich Drepper <drepper@gmail.com>
20028
5c0b8d90
UD
20029 [BZ #12935]
20030 * malloc/memusage.sh: Fix quoting in message.
20031 * debug/xtrace.sh: Likewise.
20032
9113ea1f
UD
20033 * configure.in: Remove support for --experimental-malloc option, make
20034 it the default.
20035 * config.make.in: Likewise.
20036 * malloc/Makefile: Likewise.
20037
a4172181
AS
200382011-06-27 Andreas Schwab <schwab@redhat.com>
20039
20040 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20041 two-byte characters.
20042
78a7eee7
RM
200432011-06-27 Roland McGrath <roland@hack.frob.com>
20044
62bede13
RM
20045 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20046 AC_CACHE_CHECK invocation.
20047 * configure: Regenerated.
20048
78a7eee7
RM
20049 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20050
5ce33a62
UD
200512011-06-27 Ulrich Drepper <drepper@gmail.com>
20052
034807a9
UD
20053 [BZ #12350]
20054 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20055 bit from old_res_options.
20056
4902da17
UD
20057 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20058
5ce33a62
UD
20059 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20060 value type for setfct.
20061
c2344f56
L
200622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20063
20064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20065 __gettimeofday instead of gettimeofday.
20066
68468076
UD
200672011-06-26 Ulrich Drepper <drepper@gmail.com>
20068
20069 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20070
acb0d739
L
200712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20072
20073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20074
20075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20076 info.
20077
8912479f
L
200782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20079
20080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20081 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20082 strcpy-sse2-unaligned strncpy-sse2-unaligned
20083 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20084 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20085 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20086 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20087 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20090 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20091 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20092 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20093 (STRCPY): Support SSE2 and SSSE3 versions.
20094
d5495a11
UD
200952011-06-24 Ulrich Drepper <drepper@gmail.com>
20096
20097 [BZ #12874]
20098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20099 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20100 kernels which artificially limit size of requests.
20101
0b1cbaae
L
201022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20103
20104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20105 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20106 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20107 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20108 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20109 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20110 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20111 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20114 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20115 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20116 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20117 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20118 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20120 Enable unaligned load optimization for Intel Core i3, i5 and i7
20121 processors.
20122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20123 Define.
20124 (index_Fast_Unaligned_Load): Define.
20125 (HAS_FAST_UNALIGNED_LOAD): Define.
20126
07f494a0
MP
201272011-06-23 Marek Polacek <mpolacek@redhat.com>
20128
20129 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20130
fa3fc0fe
UD
201312011-06-22 Ulrich Drepper <drepper@gmail.com>
20132
20133 [BZ #12907]
20134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20135 until it is clear that the information is realy needed.
20136 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20137
e12df166
AS
201382011-06-22 Andreas Schwab <schwab@redhat.com>
20139
20140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20141
852eb34d
UD
201422011-06-22 Ulrich Drepper <drepper@gmail.com>
20143
84e2a551
UD
20144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20145 /sys/devices/system/cpu/online if it is usable.
20146
852eb34d
UD
20147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20148 reading the information from the /proc filesystem to once a second.
20149
6e502e19
UD
201502011-06-21 Andreas Jaeger <aj@suse.de>
20151
20152 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20153 NULL after inclusion of kernel headers.
20154
75d39ff2
UD
201552011-06-21 Ulrich Drepper <drepper@gmail.com>
20156
51f9aa6a
UD
20157 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20158 calls to internal_setent.
20159
c0244a9d
UD
20160 [BZ #12885]
20161 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20162 addresses using gethostbyname4_r ignore IPv4 addresses.
20163
c5e3c2ae
UD
20164 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20165 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20166
75d39ff2
UD
20167 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20168
42675c6f
DM
201692011-06-20 David S. Miller <davem@davemloft.net>
20170
20171 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20172 inclusions.
20173 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20174
20175 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20176 (elf_irel): Use it.
20177 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20178 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20179 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20180 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20181 * sysdeps/x86_64/dl-irel.h: Likewise.
20182
20183 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20184 * elf/dl-sym.c: Likewise.
20185
57912a71
UD
201862011-06-15 Ulrich Drepper <drepper@gmail.com>
20187
20188 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20189 need to dereference resplen2.
20190
ee22793d
AS
201912011-06-14 Andreas Schwab <schwab@redhat.com>
20192
20193 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20194
a9e836b0
UD
201952011-06-15 Ulrich Drepper <drepper@gmail.com>
20196
77fb9117
UD
20197 * Makeconfig: Define vardbdir and inst_vardbdir.
20198 * nss/Makefile: Add rules to install db-Makefile.
20199
40c1b22c
UD
20200 * nss/nss_db/db-XXX.c: Cleanup.
20201
9f2da732
UD
20202 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20203 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20204 GLIBC_PRIVATE.
20205 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20206 * nss/makedb.c: Implement -g option to specify that value strings
20207 are generated and should not be added to table iterated over for
20208 get*ent calls.
20209 * nss/nss_db/db-initgroups.c: New file.
20210
82e9a1f7
UD
20211 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20212 interface.
20213
c41af17e
UD
20214 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20215 (internal_getgrouplist): Adjust to name change.
20216 Update use_initgroups_entry if this is not the first call.
20217 * nss/databases.def: Add initgroups entry.
20218
a9e836b0
UD
20219 * nss/makedb.c (compute_tables): Check result of multiple hash table
20220 sizes to minimize maximum chain length.
20221
2666d441
UD
202222011-06-14 Ulrich Drepper <drepper@gmail.com>
20223
20224 * Versions.def: Add entry for libnss_db.
20225 * shlib-versions: Likewise.
20226 * nss/Makefile: Add rules to build libnss_db.
20227 * nss/Versions: Add libnss_db information. Organize libnss_files
20228 entries better.
20229 * nss/db-Makefile: Add gshadow support. Change rules for the new
20230 makedb progra. Some minor improvements to generate smaller files.
20231 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20232 here from...
20233 * nss/makedb.c: ...here.
20234 Improve database format to be smaller and require less memory at
20235 runtime.
20236 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20237 db anymore.
20238 * nss/nss_db/db-netgrp.c: Likewise.
20239 * nss/nss_db/db-open.c: Likewise.
20240 * nss/nss_files/flies-XXX.x: Adjust comments.
20241 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20242 * nss/nss_files/files-grp.c: Likewise.
20243 * nss/nss_files/files-hosts.c: Likewise.
20244 * nss/nss_files/files-network.c: Likewise.
20245 * nss/nss_files/files-proto.c: Likewise.
20246 * nss/nss_files/files-pwd.c: Likewise.
20247 * nss/nss_files/files-rpc.c: Likewise.
20248 * nss/nss_files/files-service.c: Likewise.
20249 * nss/nss_files/files-sgrp.c: Likewise.
20250 * nss/nss_files/files-spwd.c: Likewise.
20251 * nss/nss_db/db-alias.c: Removed.
20252 * nss/nss_db/dummy-db.h: Removed.
20253
9ee76b5a
UD
202542011-06-02 Ulrich Drepper <drepper@gmail.com>
20255
20256 * nss/makedb.c: Rewritten to not use database library.
20257 * nss/Makefile: Update to build new makedb program.
20258
c71ca1f8
AJ
202592011-06-14 Andreas Jaeger <aj@suse.de>
20260
20261 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20262 memset declaration.
20263
3154bfb8
UD
202642011-06-10 Andreas Schwab <schwab@redhat.com>
20265
20266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20267 tmpbuf.
20268
b350afab
RM
202692011-06-10 Roland McGrath <roland@hack.frob.com>
20270
decd4e50
RM
20271 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20272 * elf/Makefile ($(objpfx)ld.so): Likewise.
20273
5615eaf2
RM
20274 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20275 Don't list ld.so twice in dependencies.
20276
20277 * posix/bug-regex31.c: Include <stdlib.h>.
20278
20279 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20280
20281 * nis/nss_compat/compat-spwd.c
20282 (getspent_next_nss_netgr): Remove unused variable.
20283 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20284
20285 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20286 nonmembers" output to use the right array.
20287
20288 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20289
20290 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20291
20292 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20293 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20294 * catgets/gencat.c (read_input_file): Likewise.
20295 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20296
20297 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20298 variable definition inside #if's controlling its use.
20299
20300 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20301
20302 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20303
20304 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20305
20306 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20307 unreachable code.
20308
20309 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20310
b68e08db
RM
20311 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20312 * configure: Regenerated.
20313
b350afab
RM
20314 * Makerules: Revert last change.
20315 * elf/Makefile: Likewise.
20316
28368601
RM
203172011-06-09 Roland McGrath <roland@hack.frob.com>
20318
20319 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20320 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20321 (reloc-link): Likewise.
20322
11988f8f
UD
203232011-06-09 Ulrich Drepper <drepper@gmail.com>
20324
20325 * elf/Makefile: Add rules to build pldd.
20326 * elf/pldd.c: New file.
20327 * elf/pldd-xx.c: New file.
20328
e80fab37
UD
203292011-06-07 Ulrich Drepper <drepper@gmail.com>
20330
20331 * version.h: Update for 2.15 development version.
20332
9b849836
DM
203332011-06-07 David S. Miller <davem@davemloft.net>
20334
20335 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20336 ifuncs.
20337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20338 elf_machine_lazy_rel): Likewise.
20339 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20341 elf_machine_lazy_rel): Likewise.
20342 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20343 dl_hwcap via passed in argument.
20344 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20345 Likewise.
20346
5a31b283
AK
203472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20348
20349 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20350
069e52f8
RM
203512011-06-06 Roland McGrath <roland@hack.frob.com>
20352
20353 [BZ #12849]
20354 * manual/fdl-1.1.texi: New file, verbatim from:
20355 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20356 * manual/lgpl-2.1.texi: New file, verbatim from:
20357 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20358 * manual/Makefile (licenses): New variable, list those new file names.
20359 (texis): Use it.
20360 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20361
20362 * manual/fdl.texi: File removed.
20363 * manual/lesser.texi: File removed.
20364 * manual/libc.texinfo (Copying, Documentation License):
20365 Use new @include file names, put @appendix directive before @include.
20366
f16846a5
JJ
203672011-06-04 Jakub Jelinek <jakub@redhat.com>
20368
20369 [BZ #12841]
20370 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20371 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20372 (mq_open): Add __NTH.
20373
3d29045b
L
203742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20375
20376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20377 Assume Intel Core i3/i5/i7 processor if AVX is available.
20378
8c297311
UD
203792011-05-31 Ulrich Drepper <drepper@gmail.com>
20380
20381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20382 typo.
20383
c8fc0c91
UD
203842011-05-31 Andreas Schwab <schwab@redhat.com>
20385
20386 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20387 memory. Use alloca_account. Fix memory leak when retrying.
20388
5b27a807
UD
203892011-05-31 Ulrich Drepper <drepper@gmail.com>
20390
356f8bc6
UD
20391 * version.h (RELEASE): Bump for 2.14 release.
20392 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20393
5b27a807
UD
20394 * config.make.in (RANLIB): Remove entry.
20395
01f16ab0
UD
203962011-05-30 Ulrich Drepper <drepper@gmail.com>
20397
41fce8bd
UD
20398 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20399 (libc.pot): Work around missing support for .ksh extension in xgettext.
20400
4769ae77
UD
20401 [BZ #12684]
20402 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20403 if both request failed.
20404 (send_dg): In case of server errors clear resplen or *resplen2.
20405
6b1e7d19
UD
20406 [BZ #12454]
20407 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20408 when there are multiple maps.
20409 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20410 (_dl_fini): Remove test here.
20411
01f16ab0
UD
20412 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20413
b1ebd700
UD
204142011-05-29 Ulrich Drepper <drepper@gmail.com>
20415
7ae22829
UD
20416 [BZ #12350]
20417 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20418 bit from old_res_options.
20419 (gaih_inet): Likewise.
20420
553149f6 20421 [BZ #11099]
18a84741 20422 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20423 as signed.
20424
652ffab1
UD
20425 * resolv/res_init.c (res_setoptions): Make the code more compact.
20426
16985fd0
UD
20427 [BZ #11558]
20428 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20429 set RES_USEVC.
20430
0464f746
UD
20431 [BZ #11634]
20432 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20433
7d17596c
UD
20434 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20435
cf6bbbd7
UD
20436 [BZ #11781]
20437 * malloc/malloc.h: Declare malloc hook variables as volatile.
20438
13f1ab36
UD
20439 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20440 in last patch.
20441
b1ebd700
UD
20442 [BZ #11799]
20443 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20444 raise in the comment.
80e2212d
UD
20445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20446 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20447 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20448
ce67228d
UD
204492011-05-28 Ulrich Drepper <drepper@gmail.com>
20450
8887a920
UD
20451 [BZ #12811]
20452 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20453 grow the buffers more if it already has to be sufficient.
20454 (build_wcs_upper_buffer): Likewise.
20455 * posix/regexec.c (check_matching): Likewise.
20456 (clean_state_log_if_needed): Likewise.
20457 (extend_buffers): Don't enlarge buffers beyond size of the input
20458 buffer.
20459 Patches mostly by Emil Wojak <emil@wojak.eu>.
20460 * posix/bug-regex32.c: New file.
20461 * posix/Makefile (tests): Add bug-regex32.
20462
4f031072
UD
20463 * locale/findlocale.c (_nl_find_locale): Return right away if
20464 _nl_explode_name failed.
20465 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20466
d0478f0c
UD
20467 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20468
de81b246
UD
20469 * debug/xtrace.sh: Unify messages.
20470 * malloc/memusage.sh: Likewise.
20471
c738465a
UD
20472 [BZ #12813]
20473 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20474 time symbol from vDSO. Substitute with vsyscall if not available.
20475 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20476 __vdso_time.
20477
f1f929d7
UD
20478 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20479 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20480 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20481 Add sendmmsg and internal_sendmmsg.
20482 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20483 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20484 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20485
ce67228d
UD
20486 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20487 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20489
e57420c6
UD
204902011-05-27 Ulrich Drepper <drepper@gmail.com>
20491
a8509ca5
UD
20492 [BZ #12813]
20493 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20494 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20495 available.
20496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20497 __vdso_getcpu.
20498
e57420c6
UD
20499 [BZ #12814]
20500 * iconvdata/Makefile (tests): Add bug-iconv9.
20501 * iconvdata/bug-iconv9.c: New file.
20502
4d07db15
AS
205032011-05-27 Andreas Schwab <schwab@redhat.com>
20504
20505 [BZ #12814]
20506 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20507
ea486f69
JJ
205082011-05-25 Jakub Jelinek <jakub@redhat.com>
20509
20510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20511 (struct user_regs_struct): Change intcs field back to cs.
20512
6f038433
UD
205132011-05-25 Ulrich Drepper <drepper@gmail.com>
20514
20515 * po/ja.po: Update from translation team.
20516
67f86a25
UD
205172011-05-23 Ulrich Drepper <drepper@gmail.com>
20518
20519 [BZ #12795]
20520 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20521 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20522
def7fbd6
AS
205232011-05-20 Andreas Schwab <schwab@redhat.com>
20524
20525 * stdlib/longlong.h: Update from GCC.
20526
f50ef8f1
AS
205272011-05-23 Andreas Schwab <schwab@redhat.com>
20528
20529 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20530 parameter name.
20531 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20532 Add parameter name.
20533 (__sysconf): Pass it down.
20534
de7ce8f1
UD
205352011-05-22 Ulrich Drepper <drepper@gmail.com>
20536
f2962a71
UD
20537 [BZ #12671]
20538 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20539 some situations.
20540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20541 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20542 add in in __libc_use_alloca calls. Adjust callers.
20543 (glob): Use malloc in some situations.
20544
de7ce8f1
UD
20545 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20546 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20547 pltexit.
20548
aec84f53
UD
205492011-05-21 Ulrich Drepper <drepper@gmail.com>
20550
05bb4a68
UD
20551 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20552 and CLOCK_BOOTTIME_ALARM.
20553
7ea72f99
UD
20554 [BZ #12782]
20555 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20556 is returned.
20557
7e4afad5
UD
20558 * string/_strerror.c (__strerror_r): Print negative errors as signed
20559 numbers.
20560
8e211fec
UD
20561 [BZ #12777]
20562 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20563 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20564 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20565
f7d82dc9
UD
20566 * configure.in: Fix typo in redirection and correct removal of test
20567 files in two cases.
20568
cc9e536d
UD
20569 [BZ #12788]
20570 * locale/setlocale.c (new_composite_name): Fix test to check for
20571 identical name of all categories.
20572
aec84f53
UD
20573 [BZ #12792]
20574 * libio/filedoalloc.c (local_isatty): New function.
20575 (_IO_file_doallocate): Use local_isatty.
20576 * stdio-common/perror.c (perror): In case a new stream is used
20577 forward the stream error.
20578 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20579 error flag.
20580
78e64fdc
RT
205812011-05-20 Ulrich Drepper <drepper@gmail.com>
20582
34a9094f
UD
20583 [BZ #11869]
20584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20585 alloca.
20586 * include/alloca.h (extend_alloca_account): Define.
20587
78e64fdc
RT
20588 [BZ #11857]
20589 * posix/regex.h: Fix comments with documentation of user-accessible
20590 fields after compilation and describe correct free'ing of pattern
20591 after re_compile_pattern.
20592 Patch by Reuben Thomas <rrt@sc3d.org>.
20593
457bddfc
RA
205942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20595
20596 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20597 and -mno-altivec to prevent the compiler from using Altivec and/or
20598 VSX instructions when the corresponding registers are not available.
20599
a4527b51
AS
206002011-05-19 Andreas Schwab <schwab@redhat.com>
20601
20602 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20603
ed690b2f
UD
206042011-05-19 Ulrich Drepper <drepper@gmail.com>
20605
20606 * libio/freopen.c (freopen): Use __dup2, not dup2.
20607 * libio/freopen64.c (freopen64): Likewise.
20608
8db73634
L
206092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20610
20611 [BZ #12775]
20612 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20613 * math/Makefile (tests): Add test-powl.
20614 (CFLAGS-test-powl.c): Define.
20615 * math/test-powl.c: New file.
20616
0a197a9d
L
206172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20618
20619 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20620
ee30c380
UD
206212011-05-17 Ulrich Drepper <drepper@gmail.com>
20622
20623 [BZ #11837]
20624 * iconvdata/gb18030.c: Update to GB18020-2005.
20625
6ce75379
UD
206262011-05-16 Ulrich Drepper <drepper@gmail.com>
20627
a4b89fd8
AR
20628 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20629 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20630 Patch by Aharon Robbins <arnold@skeeve.com>.
20631
ea389b12
UD
20632 [BZ #11892]
20633 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20634 on the stack.
20635
68a3f91f
UD
20636 [BZ #11895]
20637 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20638 through underflows.
20639
15cc7dd1
UD
20640 [BZ #12766]
20641 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20642 point to strings before performing equality test for error_one_per_line
20643 mode.
20644
f3799213
UD
20645 [BZ #11697]
20646 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20647
d79a9c94
UD
20648 [BZ #11820]
20649 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20650 (struct user_fpregs_struct): Avoid __uint*_t types.
20651
56e5eb46
UD
20652 [BZ #6420]
20653 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20654 symbol info. Use it instead of calling _dl_addr locally.
20655 (lock_and_info): New function.
20656 (tr_freehook): Call lock_and_info and pass symbol info as additional
20657 parameter to tr_where.
20658 (tr_mallochook): Likewise.
20659 (tr_reallochook): Likewise.
20660 (tr_memalignhook): Likewise.
20661
6ce75379
UD
20662 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20663 used and couldn't be at all thread-safe.
20664
f8a3b5bf
UD
206652011-05-15 Ulrich Drepper <drepper@gmail.com>
20666
94b7cc37
UD
20667 * libio/freopen.c (freopen): Don't close old file descriptor
20668 before the new one is opened. Instead dup the new file descriptor
20669 to the old one after the new stream is created.
20670 * libio/freopen64.c (freopen64): Likewise.
20671 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20672 * libio/fileops.c (_IO_new_file_close_it): Handle new
20673 _IO_FLAGS2_NOCLOSE flag.
20674 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20675 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20676 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20677 _IO_FLAGS2_NOCLOSE flag.
20678 * include/unistd.h: Add hidden_proto for dup3.
20679 Define __have_dup3.
20680 * io/dup3.c: Define hidden symbol.
20681 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20682
bd25564e
UD
20683 [BZ #7101]
20684 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20685 when an incomplete long option is used.
20686 * posix/tst-getopt_long1.c: New file.
20687 * posix/Makefile (tests): Add tst-getopt_long1.
20688
c84cfef4
UD
20689 [BZ #10138]
20690 * scripts/config.guess: Update from autoconf-2.68.
20691 * scripts/config.sub: Likewise.
20692
3b85df27
UD
20693 [BZ #10157]
20694 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20695 tests into ...
20696 (has_cpuclock): ...this. New function.
20697 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20698 macro here based on has_cpuclock code.
20699
15a856b1
UD
20700 [BZ #10149]
20701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20702 First byte (not low byte) is now always NUL.
20703 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20704
05f399e6
UD
20705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20706 Use non-cancelable interfaces.
20707
10a52685 20708 [BZ #9809]
94ecc67d
UD
20709 * locale/iso-639.def: Add entry for Sorani.
20710
f8a3b5bf
UD
20711 [BZ #11901]
20712 * include/stdlib.h: Move include protection to the right place.
20713 Define abort_msg_s. Declare __abort_msg with it.
20714 * stdlib/abort.c (__abort_msg): Adjust type.
20715 * assert/assert.c (__assert_fail_base): New function. Majority
20716 of code from __assert_fail. Allocate memory for __abort_msg with
20717 mmap.
20718 (__assert_fail): Now call __assert_fail_base.
20719 * assert/assert-perr.c: Remove bulk of implementation. Use
20720 __assert_fail_base.
20721 * include/assert.hL Declare __assert_fail_base.
20722 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20723 mmap.
20724 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20725
1af4e298
UD
207262011-05-14 Ulrich Drepper <drepper@gmail.com>
20727
f8a3b5bf 20728 [BZ #11952]
d26dfc60
MG
20729 [BZ #12453]
20730 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20731 until all modules are registered in the DTV.
20732 * elf/Makefile: Add rules to build and run tst-tls19.
20733 * elf/tst-tls19.c: New file.
20734 * elf/tst-tls19mod1.c: New file.
20735 * elf/tst-tls19mod2.c: New file.
20736 * elf/tst-tls19mod3.c: New file.
20737 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20738
2fc54d6f
UD
20739 [BZ #12083]
20740 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20741 correctly.
20742
98d76b46
UD
20743 [BZ #12601]
20744 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20745 two-byte sequence errors.
20746 * iconvdata/Makefile (tests): Add bug-iconv8.
20747 * iconvdata/bug-iconv8.c: New file.
20748
da3c19ef
UD
20749 [BZ #12626]
20750 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20751 buf2 definition.
20752
ca408c15
UD
20753 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20754
d6f67f7d
UD
20755 [BZ #12432]
20756 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20757 (dummy_getcfa): New function.
20758 (init): Get _Unwind_GetCFA address, use dummy if not found.
20759 (backtrace_helper): In recursion check, also check whether CFA changes.
20760 (__backtrace): Completely initialize arg.
20761
1af4e298 20762 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20763 storing incomplete byte sequence in state object. Avoid testing for
20764 guaranteed too small input if we know there is enough data available.
1af4e298 20765
da62f81b
AS
207662011-05-11 Andreas Schwab <schwab@redhat.com>
20767
20768 * Makeconfig (+link-pie): Indent.
20769 * Rules (binaries-pie): Define if $(have-fpie) and
20770 $(build-shared).
20771 (binaries-shared): Also filter out $(binaries-pie).
20772 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20773 * nscd/Makefile (others-pie): Add nscd.
20774 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20775 ($(objpfx)nscd): Remove command override.
20776 * login/Makefile (others-pie): Add pt_chown.
20777 ($(objpfx)pt_chown): Remove command override.
20778 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20779 remove command overrides.
20780
fcabc0f8
UD
207812011-05-13 Ulrich Drepper <drepper@gmail.com>
20782
20030ae6
UD
20783 * libio/tst_putwc.c: Fix error messages.
20784
fcabc0f8
UD
20785 [BZ #12724]
20786 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20787 currently writing and seek to current position when not.
20788 * libio/Makefile (tests): Add bug-fclose1.
20789 * libio/bug-fclose1.c: New file.
20790
320a5dc0
PB
207912011-05-12 Ulrich Drepper <drepper@gmail.com>
20792
20793 [BZ #12511]
20794 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20795 don't set DF_1_NODELETE here.
20796 (do_lookup_x): When entering new entry test for copy relocation
20797 and if necessary set DF_1_NODELETE flag.
20798 * elf/tst-unique4.cc: New file.
20799 * elf/tst-unique4.h: New file.
20800 * elf/tst-unique4lib.cc: New file.
20801 * elf/Makefile: Add rules to build and run tst-unique4.
20802 Patch by Piotr Bury <pbury@goahead.com>.
20803
22836f52
UD
208042011-05-11 Ulrich Drepper <drepper@gmail.com>
20805
f574184a
UD
20806 [BZ #12052]
20807 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20808
e1fb097f
UD
20809 [BZ #12625]
20810 * misc/mntent_r.c (addmntent): Flush the stream after the output
20811
22836f52
UD
20812 [BZ #12393]
20813 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20814 (is_trusted_path_normalize): Skip initial colon. Append slash
20815 to empty buffer. Duplicate is_trusted_path code but allow
20816 constructed patch to be prefix.
20817 (is_dst): Allow $ORIGIN followed by /.
20818 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20819 Correct testing of result of is_trusted_path_normalize
20820 (decompose_rpath): Fix warning.
20821
7b3b0b2a
UD
208222011-05-10 Ulrich Drepper <drepper@gmail.com>
20823
20824 [BZ #11257]
20825 * grp/initgroups.c (internal_getgrouplist): When we found the service
20826 list through the initgroups entry in nsswitch.conf do not always
20827 continue on a successful lookup. Don't always use the
eac80ce2 20828 __nss_group_database value if it is set.
7b3b0b2a
UD
20829 * nss/nsswitch.conf (initgroups): Change action for successful db
20830 lookup to continue for compatibility.
20831
2a81eaa5
UD
208322011-05-09 Ulrich Drepper <drepper@gmail.com>
20833
be97a69e
UD
20834 [BZ #11532]
20835 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20836 and CP774 modules.
20837 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20838 and CP774 modules.
20839 * iconvdata/tst-tables.sh: Likewise.
20840 * iconvdata/cp770.c: New file.
20841 * iconvdata/cp771.c: New file.
20842 * iconvdata/cp772.c: New file.
20843 * iconvdata/cp773.c: New file.
20844 * iconvdata/cp774.c: New file.
20845 * iconvdata/testdata/CP770: New file.
20846 * iconvdata/testdata/CP770..UTF8: New file.
20847 * iconvdata/testdata/CP771: New file.
20848 * iconvdata/testdata/CP771..UTF8: New file.
20849 * iconvdata/testdata/CP772: New file.
20850 * iconvdata/testdata/CP772..UTF8: New file.
20851 * iconvdata/testdata/CP773: New file.
20852 * iconvdata/testdata/CP773..UTF8: New file.
20853 * iconvdata/testdata/CP774: New file.
20854 * iconvdata/testdata/CP774..UTF8: New file.
20855
20856 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20857 END CHARMAP line.
20858 * iconvdata/gen-8bit-gap.sh: Likewise.
20859 * iconvdata/gen-8bit.sh: Likewise.
20860
c1e9e399
UD
20861 * locale/iso-639.def: Add ary entry.
20862
24c55fb3 20863 [BZ #11258]
96b4b1b0
UD
20864 * locale/C-translit.h.in: Add U20A1 transliteration.
20865
bdc2f971
KB
20866 [BZ #12178]
20867 * locale/iso-639.def: Add wae entry.
20868 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20869
2952b117
UD
20870 [BZ #12545]
20871 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20872 for n.
20873
2a81eaa5
UD
20874 [BZ #12711]
20875 * locale/C-translit.h.in: Add entry for U20B9.
20876 Patch by pravin.d.s@gmail.com.
20877
28377d1b
UD
208782011-05-08 Ulrich Drepper <drepper@gmail.com>
20879
7fb90fb8
UD
20880 [BZ #12713]
20881 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20882 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20883 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20884 in rtld. Use *stat64.
7fb90fb8 20885 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20886 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20887 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20888 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20889 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20890 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20891 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20892 __fstatat64 macros.
7fb90fb8
UD
20893 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20894 * dirent/rewinddir.c: Add libc_hidden_def.
20895 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20896 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20897
28377d1b
UD
20898 * include/dirent.h (__alloc_dir): Add flags parameter.
20899 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20900 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20901 __alloc_dir.
20902 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20903 from fdopendir if O_CLOEXEC is already set.
20904
66bdbaa4
AM
209052011-03-15 Alan Modra <amodra@gmail.com>
20906
20907 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20908 l_tls_firstbyte_offset non-zero. Save padding offset in
20909 l_tls_firstbyte_offset for later use.
20910 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20911 freeing static tls block.
20912
95721191
JN
209132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20914
20915 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20916 where #ifdef was intended. The intent is to prevent ARG_MAX from
20917 being defined by the kernel headers.
20918
f87dfb1f
UD
209192011-05-07 Ulrich Drepper <drepper@gmail.com>
20920
20921 [BZ #12734]
20922 * resolv/resolv.h: Define RES_NOTLDQUERY.
20923 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20924 no-tld-query and set RES_NOTLDQUERY.
20925 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20926 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20927 modern BIND to search name as TLD unless forbidden.
20928
47c3cd7a
UD
209292011-05-07 Petr Baudis <pasky@suse.cz>
20930 Ulrich Drepper <drepper@gmail.com>
20931
20932 [BZ #12393]
20933 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20934 (is_trusted_path): ...to here.
c1e9ea35 20935 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20936 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20937 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20938
8a35c912
PP
209392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20940
20941 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20942 __BEGIN/__END_DECLS.
20943
acd41f47
UD
209442011-05-06 Ulrich Drepper <drepper@gmail.com>
20945
20946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20947 NSS_STATUS_NOTFOUND if no record was found.
20948
597df647
AS
209492011-05-05 Andreas Schwab <schwab@redhat.com>
20950
20951 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20952 (headers-not-in-tirpc): Remove rpc/netdb.h
20953 * resolv/netdb.h: Revert last change.
20954
b9af1301
PP
209552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20956
20957 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20958 circular dependency between libgcc.a and libc.a.
20959
4e34d5f5
AS
209602011-05-05 Andreas Schwab <schwab@redhat.com>
20961
20962 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20963 * nis/Makefile: Don't install rpcsvc/*.
20964 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20965 instead of <rpc/types.h>.
20966 (MAXHOSTNAMELEN): Define.
20967
00ee369c
AS
209682011-05-03 Andreas Schwab <schwab@redhat.com>
20969
20970 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20971
0b592a30
MB
209722011-04-28 Maciej Babinski <mbabinski@google.com>
20973
20974 [BZ #12714]
20975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20976 gethostbyname4_r when IPv6 results are possible.
20977
6e04cbbe
UD
209782011-05-02 Ulrich Drepper <drepper@gmail.com>
20979
20980 [BZ #12723]
20981 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20982 _PC_PIPE_BUF handling.
20983
e4ecafe0
BH
209842011-04-30 Bruno Haible <bruno@clisp.org>
20985
20986 [BZ #12717]
20987 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20988 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20989 to 'int'.
20990 * inet/getnameinfo.c (getnameinfo): Likewise.
20991
125ee683
UD
209922011-04-29 Ulrich Drepper <drepper@gmail.com>
20993
20994 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20995 to groups setting in database lookup.
20996 * nss/nsswitch.conf: Add initgroups entry.
20997
b722481a
EB
209982011-04-22 Ulrich Drepper <drepper@gmail.com>
20999
21000 [BZ #12685]
21001 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21002 mode string.
21003 Patch by Eric Blake <eblake@redhat.com>.
21004
4df46dbd
L
210052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21006
21007 * sunrpc/Makefile (need-export-routines): Add svc_run.
21008 (routines): Remove svc_run.
21009 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21010 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21011 * sunrpc/svc_run.c (svc_run): Likewise.
21012 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21013
e84142d2
UD
210142011-04-21 Ulrich Drepper <drepper@gmail.com>
21015
21016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21017 problem in reallocation in last patch.
21018
877175d8
UD
210192011-04-20 Ulrich Drepper <drepper@gmail.com>
21020
21021 * sunrpc/Makefile: Move inclusion of Rules.
21022
ab8eed78
UD
210232011-04-19 Ulrich Drepper <drepper@gmail.com>
21024
21025 * nss/nss_files/files-initgroups.c: New file.
21026 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21027 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21028 _nss_files_initgroups_dyn.
21029
e3d8f584
RS
210302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21031
21032 * elf/elf.h (R_ARM_IRELATIVE): Define.
21033
af190f45
UD
210342011-04-19 Ulrich Drepper <drepper@gmail.com>
21035
21036 * po/ru.po: Update from translation team.
21037
53cf59ef
UD
210382011-04-17 Ulrich Drepper <drepper@gmail.com>
21039
21040 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21041 dependencies.
21042
4c559bcd
MF
210432011-02-06 Mike Frysinger <vapier@gentoo.org>
21044
21045 [BZ #12653]
21046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21047 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21048 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21051
4420675c
AS
210522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21053
21054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21055 differing bytes.
21056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21059
75ea32ab
UD
210602011-04-17 Ulrich Drepper <drepper@gmail.com>
21061
21062 [BZ #12420]
21063 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21064 storing it.
21065 * stdlib/bug-getcontext.c: New file.
21066 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21067
27390476
AK
210682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21069
21070 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21071 instructions into .machine "z9-109".
21072 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21073 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21074
10442705
AK
210752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21076
21077 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21078 between environment variables and auxiliary vector.
21079
7b57bfe5
UD
210802011-04-16 Ulrich Drepper <drepper@gmail.com>
21081
21082 * Makefile: Add rules to build linkobj/libc.so.
21083 * include/libc-symbols.h: Define libc_hidden_nolink.
21084 * include/rpc/auth.h: Mark functions which are to be hidden.
21085 * include/rpc/auth_des.h: Likewise.
21086 * include/rpc/auth_unix.h: Likewise.
21087 * include/rpc/clnt.h: Likewise.
21088 * include/rpc/des_crypt.h: Likewise.
21089 * include/rpc/key_prot.h: Likewise.
21090 * include/rpc/pmap_clnt.h: Likewise.
21091 * include/rpc/pmap_prot.h: Likewise.
21092 * include/rpc/pmap_rmt.h: Likewise.
21093 * include/rpc/rpc_msg.h: Likewise.
21094 * include/rpc/svc.h: Likewise.
21095 * include/rpc/svc_auth.h: Likewise.
21096 * include/rpc/xdr.h: Likewise.
21097 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21098 * nss/Makefile: Likewise.
21099 * sunrpc/Makefile: Don't install headers. Build library with normal
21100 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21101 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21102 for the compat linking library. Remove use of INTDEF/INTUSE.
21103 * sunrpc/auth_none.c: Likewise.
21104 * sunrpc/auth_unix.c: Likewise.
21105 * sunrpc/authdes_prot.c: Likewise.
21106 * sunrpc/authuxprot.c: Likewise.
21107 * sunrpc/clnt_gen.c: Likewise.
21108 * sunrpc/clnt_perr.c: Likewise.
21109 * sunrpc/clnt_raw.c: Likewise.
21110 * sunrpc/clnt_simp.c: Likewise.
21111 * sunrpc/clnt_tcp.c: Likewise.
21112 * sunrpc/clnt_udp.c: Likewise.
21113 * sunrpc/clnt_unix.c: Likewise.
21114 * sunrpc/des_crypt.c: Likewise.
21115 * sunrpc/des_soft.c: Likewise.
21116 * sunrpc/get_myaddr.c: Likewise.
21117 * sunrpc/key_call.c: Likewise.
21118 * sunrpc/key_prot.c: Likewise.
21119 * sunrpc/netname.c: Likewise.
21120 * sunrpc/pm_getmaps.c: Likewise.
21121 * sunrpc/pm_getport.c: Likewise.
21122 * sunrpc/pmap_clnt.c: Likewise.
21123 * sunrpc/pmap_prot.c: Likewise.
21124 * sunrpc/pmap_prot2.c: Likewise.
21125 * sunrpc/pmap_rmt.c: Likewise.
21126 * sunrpc/publickey.c: Likewise.
21127 * sunrpc/rpc_cmsg.c: Likewise.
21128 * sunrpc/rpc_common.c: Likewise.
21129 * sunrpc/rpc_dtable.c: Likewise.
21130 * sunrpc/rpc_prot.c: Likewise.
21131 * sunrpc/rpc_thread.c: Likewise.
21132 * sunrpc/rtime.c: Likewise.
21133 * sunrpc/svc.c: Likewise.
21134 * sunrpc/svc_auth.c: Likewise.
21135 * sunrpc/svc_authux.c: Likewise.
21136 * sunrpc/svc_raw.c: Likewise.
21137 * sunrpc/svc_run.c: Likewise.
21138 * sunrpc/svc_simple.c: Likewise.
21139 * sunrpc/svc_tcp.c: Likewise.
21140 * sunrpc/svc_udp.c: Likewise.
21141 * sunrpc/svc_unix.c: Likewise.
21142 * sunrpc/svcauth_des.c: Likewise.
21143 * sunrpc/xcrypt.c: Likewise.
21144 * sunrpc/xdr.c: Likewise.
21145 * sunrpc/xdr_array.c: Likewise.
21146 * sunrpc/xdr_float.c: Likewise.
21147 * sunrpc/xdr_intXX_t.c: Likewise.
21148 * sunrpc/xdr_mem.c: Likewise.
21149 * sunrpc/xdr_rec.c: Likewise.
21150 * sunrpc/xdr_ref.c: Likewise.
21151 * sunrpc/xdr_sizeof.c: Likewise.
21152 * sunrpc/xdr_stdio.c: Likewise.
21153
e6c61494
UD
211542011-04-10 Ulrich Drepper <drepper@gmail.com>
21155
21156 [BZ #12650]
21157 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21158 * sysdeps/ia64/dl-tls.h: Likewise.
21159 * sysdeps/powerpc/dl-tls.h: Likewise.
21160 * sysdeps/s390/dl-tls.h: Likewise.
21161 * sysdeps/sh/dl-tls.h: Likewise.
21162 * sysdeps/sparc/dl-tls.h: Likewise.
21163 * sysdeps/x86_64/dl-tls.h: Likewise.
21164 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21165
34fe483e
AS
211662011-03-14 Andreas Schwab <schwab@redhat.com>
21167
21168 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21169 rpath element also skip the following colon.
21170 (expand_dynamic_string_token): Add is_path parameter and pass
21171 down to DL_DST_REQUIRED and _dl_dst_substitute.
21172 (decompose_rpath): Call expand_dynamic_string_token with
21173 non-zero is_path. Ignore empty rpaths.
21174 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21175 with zero is_path.
21176
f12a32e6
AS
211772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21178
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21180 Make cancelable.
21181
38a7d692
UD
211822011-04-09 Ulrich Drepper <drepper@gmail.com>
21183
21184 [BZ #12655]
21185 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21186 Patch by Filipe David Manana <fdmanana@apache.org>.
21187
e451d22b
AS
211882011-04-07 Andreas Schwab <schwab@redhat.com>
21189
21190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21191 Maintain aligned stack.
21192 (CHECK_RSP): Remove unused macro.
21193
dedc7c7b
UD
211942011-04-03 Ulrich Drepper <drepper@gmail.com>
21195
21196 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21198
94521213
UD
211992011-04-02 Ulrich Drepper <drepper@gmail.com>
21200
21201 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21202
8cb700c0 21203 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21204
0354e355
L
212052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21206
21207 [BZ #12518]
21208 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21209 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21210 * sysdeps/x86_64/memmove.c: New file.
21211 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21212 (memcpy): Renamed to ...
21213 (__new_memcpy): This.
21214 (memcpy): Provide GLIBC_2_14 memcpy.
21215 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21216 (memcpy): Provide GLIBC_2_2_5 memcpy.
21217
8593482f
UD
212182011-04-01 Ulrich Drepper <drepper@gmail.com>
21219
21220 [BZ #12631]
21221 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21222
81a5726b
AS
212232011-03-30 Andreas Schwab <schwab@redhat.com>
21224
21225 * misc/syncfs.c: New file.
21226 * misc/Makefile (routines): Add syncfs.
21227 * posix/unistd.h: Declare syncfs.
21228 * sysdeps/unix/syscalls.list: Add syncfs.
21229
00e5419f
AS
212302011-04-01 Andreas Schwab <schwab@redhat.com>
21231
21232 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21233 open_by_handle_at.
21234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21239 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21241
748876bf
UD
212422011-04-01 Ulrich Drepper <drepper@gmail.com>
21243
658e451d
UD
21244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21246 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21251
748876bf
UD
21252 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21253 sync_file_range.c with -fexceptions.
21254 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21255 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21256 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21257 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21258 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21259 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21261 sync_file_range as cancellation point
21262 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21263 now a wrapper around __call_sync_file_range with cancellation handling.
21264 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21265 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21266 function name to __call_sync_file_range.
21267 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21268 Add call_sync_file_range.
748876bf 21269
6e63d5e1
AS
212702011-04-01 Andreas Schwab <schwab@redhat.com>
21271
21272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21273 bits/timex.h.
6e63d5e1 21274
46998f74
UD
212752011-04-01 Ulrich Drepper <drepper@gmail.com>
21276
4c1423ed
UD
21277 * iconv/iconv.h: Fix typo in comment.
21278 * io/fcntl.h: Likewise.
21279 * libio/stdio.h: Likewise.
21280 * posix/spawn.h: Likewise.
21281 * posix/unistd.h: Likewise.
21282 * stdlib/stdlib.h: Likewise.
21283 * time/time.h: Likewise.
21284 * wcsmbs/wchar.h: Likewise.
21285
158648c0
UD
21286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21287 open_by_handle): Add.
21288 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21289 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21290 Augment a few comments.
21291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21293 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21296 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21297 open_by_handle.
21298
46998f74
UD
21299 * io/fcntl.h (AT_EMPTY_PATH): Define.
21300
83fe108b
UD
213012011-03-30 Ulrich Drepper <drepper@gmail.com>
21302
21303 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21304 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21305 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21306 to...
21307 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21308 * Versions.def: Add GLIBC_2.14.
21309 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21310 Export.
83fe108b 21311
bb242059
UD
213122011-03-22 Ulrich Drepper <drepper@gmail.com>
21313
21314 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21315 round counter.
21316 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21317
c97a1282
L
213182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21319
21320 [BZ #12597]
21321 * string/test-strncmp.c (do_page_test): New function.
21322 (check2): Likewise.
21323 (test_main): Call check2.
21324 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21325
2a115601
UD
213262011-03-20 Ulrich Drepper <drepper@gmail.com>
21327
21328 [BZ #12587]
21329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21330 Handle cache information in CPU leaf 4.
21331 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21332
8126d904
UD
213332011-03-18 Ulrich Drepper <drepper@gmail.com>
21334
042c49c6 21335 [BZ #12583]
8126d904
UD
21336 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21337 character representation.
21338 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21339
ccfe366e
RA
213402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21341
21342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21343 END(__isnan) to END(__isnanf) to match function entry point/label
21344 EALIGN(__isnanf,...).
21345
c6e13027
JJ
213462011-03-10 Jakub Jelinek <jakub@redhat.com>
21347
21348 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21349
33f85a3f
UD
213502011-03-10 Ulrich Drepper <drepper@gmail.com>
21351
028478fa
UD
21352 [BZ #12510]
21353 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21354 copy from the symbol referenced in the relocation to initialize the
21355 used variable.
21356 Patch by Piotr Bury <pbury@goahead.com>.
21357 * elf/Makefile: Add rules to build and tst-unique3.
21358 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21359 * elf/tst-unique3.cc: New file.
21360 * elf/tst-unique3.h: New file.
21361 * elf/tst-unique3lib.cc: New file.
21362 * elf/tst-unique3lib2.cc: New file.
21363
33f85a3f
UD
21364 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21365
03592fc7
MF
213662011-03-10 Mike Frysinger <vapier@gentoo.org>
21367
21368 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21369 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21370 to _start.
03592fc7 21371
6a5ee102
UD
213722011-03-06 Ulrich Drepper <drepper@gmail.com>
21373
21374 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21375 to-be-loaded object along a path to loader is ld.so.
21376
7e4ba49c
HJ
213772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21378 Ulrich Drepper <drepper@gmail.com>
21379
21380 * sysdeps/x86_64/memset.S: After aligning destination, code
21381 branches to different locations depending on the value of
21382 misalignment, when multiarch is enabled. Fix this.
21383
213842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21385
21386 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21387 Set _x86_64_preferred_memory_instruction for AMD processsors.
21388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21389 Set bit_Prefer_SSE_for_memop for AMD processors.
21390
13a804de
UD
213912011-03-04 Ulrich Drepper <drepper@gmail.com>
21392
21393 * libio/fmemopen.c (fmemopen): Optimize a bit.
21394
9d25c392
AS
213952011-03-03 Andreas Schwab <schwab@redhat.com>
21396
21397 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21398
a5543c6a
RM
213992011-03-03 Roland McGrath <roland@redhat.com>
21400
21401 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21402
012d35f7
DM
214032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21404
7e4ba49c 21405 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21406 __bzero_ultra1 instead of __memset_ultra1.
21407
4bff6e01
AS
214082011-02-23 Andreas Schwab <schwab@redhat.com>
21409 Ulrich Drepper <drepper@gmail.com>
21410
21411 [BZ #12509]
21412 * include/link.h (struct link_map): Add l_orig_initfini.
21413 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21414 returning unsuccessfully.
21415 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21416 close of a file loaded at startup, restore the original l_initfini
21417 list.
21418 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21419 list, store the pointer.
21420 * elf/Makefile ($(objpfx)noload-mem): New rule.
21421 (noload-ENV): Define.
21422 (tests): Add $(objpfx)noload-mem.
21423 * elf/noload.c: Include <memcheck.h>.
21424 (main): Call mtrace. Close all opened handles.
21425
f2092faf
AS
214262011-02-17 Andreas Schwab <schwab@redhat.com>
21427
21428 [BZ #12454]
21429 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21430 dependencies are missing.
21431
6c8a2e88
ST
214322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21433
f2092faf 21434 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21435 Hurd needs munmap.
21436 * sysdeps/mach/hurd/ifreq.h: New file.
21437
84a42118
PB
214382011-01-27 Petr Baudis <pasky@suse.cz>
21439 Ulrich Drepper <drepper@gmail.com>
21440
071f805e 21441 [BZ 12445]#
84a42118
PB
21442 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21443 to extend_alloca().
21444 * stdio-common/bug23.c: New file.
21445 * stdio-common/Makefile (tests): Add bug23.
21446
e23fe25b
AS
214472010-09-28 Andreas Schwab <schwab@redhat.com>
21448 Ulrich Drepper <drepper@gmail.com>
21449
21450 [BZ #12489]
21451 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21452 before performing relro protection. At old place add assertion
21453 to make sure nothing changed.
21454
d3f02e10
NS
214552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21456 Glauber de Oliveira Costa <glommer@gmail.com>
21457
21458 * elf/elf.h: Add new ARM TLS relocs.
21459
d55fd7a5
RA
214602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21461
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21463 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21464 cast from r3.
21465 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21466 'tests' variable.
21467 * sysdeps/wordsize-64/tst-writev.c: New file.
21468
2206397e
RA
214692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21470
21471 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21472 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21473 insns in _dl_start to prevent a TOC reference before relocs are
21474 resolved.
21475
e9433893
UD
214762011-02-15 Ulrich Drepper <drepper@gmail.com>
21477
21478 [BZ #12469]
21479 * Makeconfig: Remove RANLIB definition.
21480 * Makerules: Don't use RANLIB.
21481 * aclocal.m4: Remove ranlib test.
21482 * configure.in: No need to check for ranlib.
21483 * elf/rtld-Rules: Don't use RANLIB.
21484
f75286c6
ST
214852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21486
8e31c82d
ST
21487 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21488 protection macro.
21489 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21490 inclusion protection macro.
21491
f75286c6
ST
21492 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21493 SIGRTMIN and SIGRTMAX and print information in that case only when
21494 SIGRTMIN is defined.
21495
c1d0e639
JJ
214962011-02-11 Jakub Jelinek <jakub@redhat.com>
21497
21498 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21499 arginfo fn returning -1.
21500
21501 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21502 and thousands string is zero terminated.
21503
edf9294e
AS
215042011-02-03 Andreas Schwab <schwab@redhat.com>
21505
21506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21507 sysdeps/unix/sysv/linux/bits/socket.h.
21508
2b7e92df
ST
215092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21510
edf9294e
AS
21511 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21512 (__CPU_COUNT): Remove old macros.
21513 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21514 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21515 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21516 (__sched_cpualloc, __sched_cpufree): Add declarations.
21517
a4c7ea7b
UD
215182011-02-05 Ulrich Drepper <drepper@gmail.com>
21519
21520 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21521 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21522 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21523 (readdhstai): Return value of addhstaiX call.
21524 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21525 (addgrbyX): Return value returned by cache_addgr.
21526 (readdgrbyname): Return value returned by addgrbyX.
21527 (readdgrbygid): Likewise.
21528 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21529 (addpwbyX): Return value returned by cache_addpw.
21530 (readdpwbyname): Return value returned by addhstbyX.
21531 (readdpwbyuid): Likewise.
21532 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21533 (addservbyX): Return value returned by cache_addserv.
21534 (readdservbyname): Return value returned by addservbyX:
21535 (readdservbyport): Likewise.
21536 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21537 (addhstbyX): Return value returned by cache_addhst.
21538 (readdhstbyname): Return value returned by addhstbyX.
21539 (readdhstbyaddr): Likewise.
21540 (readdhstbynamev6): Likewise.
21541 (readdhstbyaddrv6): Likewise.
21542 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21543 (readdinitgroups): Return value returned by addinitgroupsX.
21544 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21545 (prune_cache): Keep track of timeout value of re-added entries.
21546 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21547 * nscd/nscd.h: Adjust prototypes of readd* functions.
21548
a0bf67cc
RM
215492011-02-04 Roland McGrath <roland@redhat.com>
21550
21551 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21552 (nis_stats): Likewise.
21553 * nis/nis_modify.c (nis_modify): Likewise.
21554 * nis/nis_remove.c (nis_remove): Likewise.
21555 * nis/nis_add.c (nis_add): Likewise.
21556
21557 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21558
21559 * posix/fnmatch_loop.c: Add some consts.
21560
21561 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21562
435b95eb
L
215632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21564
21565 [BZ #12460]
21566 * config.make.in (config-cflags-novzeroupper): Define.
21567 * configure.in: Substitute libc_cv_cc_novzeroupper.
21568 * elf/Makefile (AVX-CFLAGS): Define.
21569 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21570 (CFLAGS-tst-auditmod4a.c): Likewise.
21571 (CFLAGS-tst-auditmod4b.c): Likewise.
21572 (CFLAGS-tst-auditmod6b.c): Likewise.
21573 (CFLAGS-tst-auditmod6c.c): Likewise.
21574 (CFLAGS-tst-auditmod7b.c): Likewise.
21575 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21576
8517b15e
UD
215772011-02-02 Ulrich Drepper <drepper@gmail.com>
21578
21579 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21580 function to the callback.
21581 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21582
10a656fe
AS
215832011-02-02 Andreas Schwab <schwab@redhat.com>
21584
21585 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21586 of errno.
21587
968dad0a
UD
215882011-01-19 Ulrich Drepper <drepper@gmail.com>
21589
9f94d2ea 21590 [BZ #11724]
968dad0a
UD
21591 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21592 of constructors.
21593 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21594 of destructors.
21595 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21596
21597 [BZ #11724]
21598 * elf/Makefile: Add rules to build and run new test.
21599 * elf/tst-initorder.c: New file.
21600 * elf/tst-initorder.exp: New file.
21601 * elf/tst-initordera1.c: New file.
21602 * elf/tst-initordera2.c: New file.
21603 * elf/tst-initordera3.c: New file.
21604 * elf/tst-initordera4.c: New file.
21605 * elf/tst-initorderb1.c: New file.
21606 * elf/tst-initorderb2.c: New file.
21607 * elf/tst-order-a1.c: New file.
21608 * elf/tst-order-a2.c: New file.
21609 * elf/tst-order-a3.c: New file.
21610 * elf/tst-order-a4.c: New file.
21611 * elf/tst-order-b1.c: New file.
21612 * elf/tst-order-b2.c: New file.
21613 * elf/tst-order-main.c: New file.
21614 New test case by George Gensure <werkt0@gmail.com>.
21615
86e92359
UD
216162010-10-01 Andreas Schwab <schwab@redhat.com>
21617
21618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21619 decoding ACE if AI_CANONIDN.
21620
5d5732b0
UD
216212011-01-18 Ulrich Drepper <drepper@gmail.com>
21622
21623 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21624
a77e8cbc
UD
216252011-01-17 Ulrich Drepper <drepper@gmail.com>
21626
6392473f
UD
21627 * version.h (RELEASE): Bump for 2.13 release.
21628 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21629
620a0529
UD
21630 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21631
18ba70a5
UD
21632 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21633 MADV_NOHUGEPAGE.
32465c3e
UD
21634 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21635 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21636 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21638 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21640
c0dafcf1
UD
21641 * posix/getconf.c: Update copyright year.
21642 * catgets/gencat.c: Likewise.
21643 * csu/version.c: Likewise.
21644 * debug/catchsegv.sh: Likewise.
21645 * debug/xtrace.sh: Likewise.
21646 * elf/ldconfig.c: Likewise.
21647 * elf/ldd.bash.in: Likewise.
21648 * elf/sprof.c (print_version): Likewise.
21649 * iconv/iconv_prog.c: Likewise.
21650 * iconv/iconvconfig.c: Likewise.
21651 * locale/programs/locale.c: Likewise.
21652 * locale/programs/localedef.c: Likewise.
21653 * malloc/memusage.sh: Likewise.
21654 * malloc/mtrace.pl: Likewise.
21655 * nscd/nscd.c (print_version): Likewise.
21656 * nss/getent.c: Likewise.
21657
a77e8cbc
UD
21658 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21659 PF_CAIF, and PF_ALG.
21660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21661
77e8bddf
AS
216622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21663
1f20b93a
AS
21664 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21665 (modules-names): Use them.
21666 (ifunc-test-modules, ifunc-pie-tests): Define.
21667 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21668 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21669 (test-extras): Likewise.
21670 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21671 $(compile-command.c).
21672 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21673 (all-built-dso): Define.
21674 (check-textrel.out, check-execstack.out): Depend on it.
21675
77e8bddf
AS
21676 * configure.in: Don't override --enable-multi-arch.
21677
bc425b33
UD
216782011-01-15 Ulrich Drepper <drepper@gmail.com>
21679
21680 [BZ #6812]
21681 * nscd/hstcache.c (tryagain): Define.
21682 (cache_addhst): Return tryagain not notfound for temporary errors.
21683 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21684 failed.
21685
794c3ad3
UD
216862011-01-14 Ulrich Drepper <drepper@gmail.com>
21687
70181fdd
UD
21688 [BZ #10563]
21689 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21690 to make the syscall.
21691 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21692
794c3ad3
UD
21693 [BZ #12378]
21694 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21695 and fall back to matching as normal character if the string ends before
21696 the matching ']' is found. This is what POSIX requires.
21697 * posix/testfnm.c: Adjust test result.
21698 * posix/globtest.sh: Adjust test result. Add new test.
21699 * posix/tst-fnmatch.input: Likewise.
21700 * posix/tst-fnmatch2.c: Add new test.
21701
68dc9497
AS
217022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21703
21704 * elf/Makefile (check-execstack): Revert last change. Depend on
21705 check-execstack.h.
21706 (check-execstack.h): New target.
21707 (generated): Add check-execstack.h.
21708 * elf/check-execstack.c: Include "check-execstack.h".
21709 (main): Revert last change.
21710 (handle_file): Return zero if GNU_STACK is absent and
21711 DEFAULT_STACK_PERMS doesn't include PF_X.
21712
451f001b
UD
217132011-01-13 Ulrich Drepper <drepper@gmail.com>
21714
cfa28e56
UD
21715 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21716 in child fails because the descriptor is already closed.
8cf8ce17
UD
21717 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21718 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21719 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21720
1086d70d
UD
21721 [BZ #12397]
21722 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21723 syscall.
21724
451f001b
UD
21725 [BZ #10484]
21726 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21727 temporary buffer used to handle multi lookups locally.
a85b5cb4 21728 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21729
08769175
UD
217302011-01-12 Ulrich Drepper <drepper@gmail.com>
21731
21732 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21733 loader is ld.so.
21734
5e49c52e
UD
217352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21736
21737 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21738 alignment for SSE2.
21739
60522a5f
UD
217402011-01-12 Ulrich Drepper <drepper@gmail.com>
21741
21742 [BZ #12394]
21743 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21744 characters. When rounding increased number of integer digits recompute
21745 number of groups.
21746 * stdio-common/tst-grouping.c: New file.
21747 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21748
f257bbd7
UD
217492011-01-09 Ulrich Drepper <drepper@gmail.com>
21750
21751 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21752 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21753
21754 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21755 void.
21756 * bits/select.h: Likewise.
21757
fa9c15cb
UD
217582011-01-08 Ulrich Drepper <drepper@gmail.com>
21759
21760 * po/ja.po: Update from translation team.
21761
16c2895f
DM
217622011-01-04 David S. Miller <davem@sunset.davemloft.net>
21763
21764 [BZ #11155]
21765 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21766 implementation just like for lxstat, fxstatat, et al.
21767
2543fef2
JM
217682010-12-27 Jim Meyering <meyering@redhat.com>
21769
21770 [BZ #12348]
21771 * posix/regexec.c (build_trtable): Return failure indication upon
21772 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21773
98727dbe
UD
217742010-12-25 Ulrich Drepper <drepper@gmail.com>
21775
5bd6dc5c
UD
21776 [BZ #12201]
21777 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21778 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21781
97983464
UD
21782 [BZ #12207]
21783 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21784
98727dbe
UD
21785 [BZ #12204]
21786 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21787 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21788
4a531bb0
L
217892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21790
21791 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21792 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21793 script has SORT_BY_INIT_PRIORITY.
21794 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21795 NO_CTORS_DTORS_SECTIONS is defined.
21796 * elf/soinit.c: Likewise.
21797 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21798 NO_CTORS_DTORS_SECTIONS is defined.
21799 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21800 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21801 * sysdeps/sh/init-first.c: Likewise.
21802 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21803
07eb4b71
UD
218042010-12-24 Ulrich Drepper <drepper@gmail.com>
21805
21806 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21807 always use the slow path.
21808
30950a5f
RA
218092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21810
21811 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21812 similar rule which adds the sysdep directories to the header search in
21813 order to pick up the correct platform stackinfo.h.
21814 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21815 perform test if it is, otherwise return successfully without testing.
21816 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21817 DEFAULT_STACK_PERMS define in stackinfo.h.
21818 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21819 defined in stackinfo.h.
21820 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21821 DEFAULT_STACK_PERMS defined in stackinfo.h.
21822 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21823 * sysdeps/ia64/stackinfo.h: Likewise.
21824 * sysdeps/s390/stackinfo.h: Likewise.
21825 * sysdeps/sh/stackinfo.h: Likewise.
21826 * sysdeps/sparc/stackinfo.h: Likewise.
21827 * sysdeps/x86_64/stackinfo.h: Likewise.
21828 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21829 PF_X for powerpc64. Retain PF_X for powerpc32.
21830
db753e2c
UD
218312010-12-19 Ulrich Drepper <drepper@gmail.com>
21832
14b697f7
UD
21833 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21834 accurately.
db753e2c
UD
21835 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21836 GETDENTS_64BIT_ALIGNED.
21837
28300719
UD
218382010-12-14 Ulrich Drepper <dreper@gmail.com>
21839
14b697f7 21840 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21841
4f197237
AS
218422010-12-10 Andreas Schwab <schwab@redhat.com>
21843
dbb0472f
AS
21844 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21845 _GNU_SOURCE.
21846
4f197237
AS
21847 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21848 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21849 Remove __restrict.
21850 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21851 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21852
fb88ac72
UD
218532010-12-09 Ulrich Drepper <drepper@gmail.com>
21854
21855 [BZ #11655]
21856 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21857 are initialized.
21858
42acbb92
JJ
218592010-12-09 Jakub Jelinek <jakub@redhat.com>
21860
21861 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21862
c038d98d
UD
218632010-12-03 Ulrich Drepper <drepper@gmail.com>
21864
21865 * po/it.po: Update from translation team.
21866
3a4a2499
L
218672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21868
21869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21870 unused codes.
21871
1e24cf6e
UD
218722010-11-30 Ulrich Drepper <drepper@gmail.com>
21873
21874 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21875
a7690819
AS
218762010-11-24 Andreas Schwab <schwab@redhat.com>
21877
21878 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21879 specially.
21880 (gaih_getanswer_slice): Likewise.
21881
3bf8d1b1
JJ
218822010-10-20 Jakub Jelinek <jakub@redhat.com>
21883
21884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21885
6db52fbb
PB
218862010-05-31 Petr Baudis <pasky@suse.cz>
21887
21888 [BZ #11149]
21889 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21890 silently even in the chroot mode.
21891
eaca7569
UD
218922010-11-22 Ulrich Drepper <drepper@gmail.com>
21893
21894 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21895 last patch a bit. Pretty printing
21896
3056dcdb
UD
218972010-05-31 Petr Baudis <pasky@suse.cz>
21898
21899 [BZ #10085]
21900 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21901 initialization of skip_initgroups_dyn.
21902
cf7c9078
UD
219032010-11-19 Ulrich Drepper <drepper@gmail.com>
21904
21905 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21906 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21907
a1fb5e3e
UD
219082010-11-16 Ulrich Drepper <drepper@gmail.com>
21909
21910 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21911
3540d66b
AS
219122010-11-11 Andreas Schwab <schwab@redhat.com>
21913
21914 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21915 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21916 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21917 ($(objpfx)tst-fnmatch-mem): New rule.
21918 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21919 * posix/tst-fnmatch.c (main): Call mtrace.
21920
13b69574
L
219212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21922
21923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21924 Support Intel processor model 6 and model 0x2c.
21925
da93d214
LM
219262010-11-10 Luis Machado <luisgpm@br.ibm.com>
21927
21928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21929 signed comparison.
21930
8ca52c6e
L
219312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 [BZ #12205]
21934 * string/test-strncasecmp.c (check_result): New function.
21935 (do_one_test): Use it.
21936 (check1): New function.
21937 (test_main): Use it.
21938 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21939 Support strcasecmp and strncasecmp.
21940
69da074d
UD
219412010-11-08 Ulrich Drepper <drepper@gmail.com>
21942
21943 [BZ #12194]
21944 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21946
ff02d528
L
219472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21950 IFUNC support.
21951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21952 memset-x86-64.
21953 * sysdeps/x86_64/multiarch/bzero.S: New file.
21954 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21955 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21956 * sysdeps/x86_64/multiarch/memset.S: New file.
21957 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21959 Set bit_Prefer_SSE_for_memop for Intel processors.
21960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21961 Define.
21962 (index_Prefer_SSE_for_memop): Define.
21963 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21964
344d0b54
LM
219652010-11-04 Luis Machado <luisgpm@br.ibm.com>
21966
21967 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21968 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21969
c0dde15b
UD
219702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21971
21972 [BZ #12191]
21973 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21974 (__x86_64_raw_data_cache_size_half): Likewise.
21975 (__x86_64_raw_shared_cache_size): Likewise.
21976 (__x86_64_raw_shared_cache_size_half): Likewise.
21977
21978 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21979 (__x86_64_raw_data_cache_size_half): Likewise.
21980 (__x86_64_raw_shared_cache_size): Likewise.
21981 (__x86_64_raw_shared_cache_size_half): Likewise.
21982 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21983 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21984 and __x86_64_raw_shared_cache_size_half. Round
21985 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21986 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21987 to multiple of 256 bytes.
21988
0e516e0e
MS
219892010-11-03 Ulrich Drepper <drepper@gmail.com>
21990
21991 [BZ #12167]
21992 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21993 of inacessible symlinks. Verify result of symlink before returning it.
21994 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21995 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21996
0e012e87
ER
219972010-10-28 Erich Ritz <erichritz@gmail.com>
21998
21999 * math/math.h (isinf): Fix typo in comment.
22000
de0ff7bc
UD
220012010-11-01 Ulrich Drepper <drepper@gmail.com>
22002
22003 * po/da.po: Update from translation team.
22004
fa41c84d
UD
220052010-10-26 Ulrich Drepper <drepper@gmail.com>
22006
22007 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22008 is added to the list.
22009
f0967738
AK
220102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22011 Ulrich Drepper <drepper@gmail.com>
22012
22013 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22014 the global list here. Move code to...
22015 (_dl_add_to_namespace_list): ...here. New function.
22016 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22017 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22018 * elf/dl-load.c (lose): Don't remove the element from the list.
22019 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22020 (_dl_map_object): Likewise.
22021
220222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
22023
22024 [BZ #12159]
22025 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22026 into all bytes of SSE register.
22027 Patch by Richard Li <richardpku@gmail.com>.
22028
f0967738 220292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
22030
22031 [BZ #12140]
22032 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22033 perturbing.
22034
d0b9e94f
MB
220352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22036
22037 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22038 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22039 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22042 submachine.
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22044
8e9f92e9
AS
220452010-10-22 Andreas Schwab <schwab@redhat.com>
22046
22047 * include/dlfcn.h (__RTLD_SECURE): Define.
22048 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22049 mode & __RTLD_SECURE instead.
22050 (open_path): Rename preloaded parameter to secure.
22051 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22052 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22053 * elf/dl-deps.c (openaux): Likewise.
22054 * elf/rtld.c (struct map_args): Remove is_preloaded.
22055 (map_doit): Don't use it.
22056 (dl_main): Likewise.
22057 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22058 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22059
bc96fbda
AS
220602010-09-09 Andreas Schwab <schwab@redhat.com>
22061
22062 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22063 (sysd-rules-targets): Remove duplicates.
22064 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22065 rtld-%.$o dependency.
22066
22cd1c9b
AS
220672010-10-18 Andreas Schwab <schwab@redhat.com>
22068
22069 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22070 _dl_map_object do it.
22071
18edac48
UD
220722010-10-19 Ulrich Drepper <drepper@gmail.com>
22073
22074 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22075 fast fma builtins, define the macros in the C99 standard.
22076 (FP_FAST_FMAF): Likewise.
22077 (FP_FAST_FMAL): Likewise.
22078 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22079
22080 * bits/mathdef.h: Update copyright year.
22081 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22082
d2050124
MM
220832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22084
22085 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22086 builtins, define the macros in the C99 standard.
22087 (FP_FAST_FMAF): Likewise.
22088 (FP_FAST_FMAL): Likewise.
22089 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22090 multiply/add.
22091 (FP_FAST_FMAF): Likewise.
22092
475facd1
JJ
220932010-10-15 Jakub Jelinek <jakub@redhat.com>
22094
22095 [BZ #3268]
22096 * math/libm-test.inc (fma_test): Some new testcases.
22097 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22099 y and infinite z. Do multiplication by C already in long double.
22100 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22102 y and infinite z. Do bitwise or of inexact bit into u.d.
22103 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22104 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22105 * sysdeps/i386/fpu/s_fma.S: Removed.
22106 * sysdeps/i386/fpu/s_fmal.S: Removed.
22107
7c08a05c
JJ
221082010-10-16 Jakub Jelinek <jakub@redhat.com>
22109
22110 [BZ #3268]
22111 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22113 computation is not scheduled after fetestexcept. Fix value
22114 of minimum denormal long double.
22115
f3f7372d
JJ
221162010-10-14 Jakub Jelinek <jakub@redhat.com>
22117
22118 [BZ #3268]
22119 * math/libm-test.inc (fma_test): Add some more tests.
22120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22121 correctly.
22122
14d43591
AS
221232010-10-15 Andreas Schwab <schwab@redhat.com>
22124
22125 * scripts/data/localplt-s390-linux-gnu.data: New file.
22126 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22127
5e908464
JJ
221282010-10-13 Jakub Jelinek <jakub@redhat.com>
22129
22130 [BZ #3268]
22131 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22132 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22133 instead of dbl-64.
22134 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22135 inlines.
22136 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22138 if one of x and y is very large and the other is subnormal.
22139 * sysdeps/s390/fpu/s_fmaf.c: New file.
22140 * sysdeps/s390/fpu/s_fma.c: New file.
22141 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22142 * sysdeps/powerpc/fpu/s_fma.S: New file.
22143 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22144 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22145 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22146
221472010-10-12 Jakub Jelinek <jakub@redhat.com>
22148
22149 [BZ #3268]
22150 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22151 fma tests.
22152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22153 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22154 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22155 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22156 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22157 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22159
b833d51f
UD
221602010-10-12 Ulrich Drepper <drepper@redhat.com>
22161
22162 [BZ #12078]
22163 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22164 * posix/bug-regex31.input: Add test case.
22165
1751705d
UD
221662010-10-11 Ulrich Drepper <drepper@gmail.com>
22167
e9b9cbf5
UD
22168 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22169 * posix/bug-regex31.input: New file.
22170
22171 [BZ #12078]
22172 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22173 (parse_sub_exp): Fix last change, use postorder.
22174
ef06edbe
UD
22175 * posix/bug-regex31.c: New file.
22176 * posix/Makefile: Add rules to build and run bug-regex31.
22177
a129c80d
UD
22178 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22179
22180 [BZ #12078]
22181 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22182
b76b818e
UD
22183 [BZ #12108]
22184 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22185 to have entries in sys_siglist.
22186
1751705d
UD
22187 [BZ #12093]
22188 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22189 be NULL.
22190
9ff8d36f
JJ
221912010-10-07 Jakub Jelinek <jakub@redhat.com>
22192
22193 [BZ #3268]
22194 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22195 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22196 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22197 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22199 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22200 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22201 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22202 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22203 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22204 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22205 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22206 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22207 * math/ftestexcept.c (fetestexcept): Likewise.
22208 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22209 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22210 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22211 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22212 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22213 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22215
af325969
UD
222162010-10-11 Ulrich Drepper <drepper@gmail.com>
22217
c579b202 22218 [BZ #12107]
af325969
UD
22219 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22220 newline.
22221
67a67b95
UD
222222010-10-06 Ulrich Drepper <drepper@gmail.com>
22223
22224 * string/bug-strstr1.c: New file.
22225 * string/Makefile: Add rules to build and run bug-strstr1.
22226
5fb308bc
EB
222272010-10-05 Eric Blake <eblake@redhat.com>
22228
22229 [BZ #12092]
22230 * string/str-two-way.h (two_way_long_needle): Always clear memory
22231 when skipping input due to the shift table.
22232
45db99c7
UD
222332010-10-03 Ulrich Drepper <drepper@gmail.com>
22234
3b111893
UD
22235 [BZ #12005]
22236 * malloc/mcheck.c: Handle large requests.
22237
45db99c7
UD
22238 [BZ #12077]
22239 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22240 for strncmp and strncasecmp.
22241 * string/stratcliff.c: Add tests for strcmp and strncmp.
22242 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22243
cf7a1eb8
NI
222442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22245
22246 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22247 __set_fpscr.
22248
6484ba5e
AJ
222492010-09-30 Andreas Jaeger <aj@suse.de>
22250
22251 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22252 (CGROUP_SUPER_MAGIC): Define.
22253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22254 Handle btrfs and cgroup file systems.
22255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22256 Likewise.
22257
91c42559
LM
222582010-09-27 Luis Machado <luisgpm@br.ibm.com>
22259
22260 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22261 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22262
87a97932
AK
222632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22264
22265 [BZ #12067]
22266 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22267 trying to locate the ELF header.
22268
c21cc9bc
AS
222692010-09-27 Andreas Schwab <schwab@redhat.com>
22270
22271 [BZ #11611]
22272 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22273 Mask out sign-bit copies when constructing f_fsid.
22274
315970f6
PB
222752010-09-24 Petr Baudis <pasky@suse.cz>
22276
22277 * debug/stack_chk_fail_local.c: Add missing licence exception.
22278 * debug/warning-nop.c: Likewise.
22279
1ac7a2c7
JM
222802010-09-15 Joseph Myers <joseph@codesourcery.com>
22281
22282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22283 implementing getdents64 using getdents syscall, set d_type if
22284 __ASSUME_GETDENTS32_D_TYPE.
22285
56801c50
AS
222862010-09-16 Andreas Schwab <schwab@redhat.com>
22287
22288 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22289 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22290
dda51327
UD
222912010-09-21 Ulrich Drepper <drepper@redhat.com>
22292
22293 [BZ #12037]
22294 * posix/unistd.h: Undo change of feature selection for ftruncate from
22295 2010-01-11.
22296
8ffcee4a
UD
222972010-09-20 Ulrich Drepper <drepper@redhat.com>
22298
a545ecd9 22299 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22300 detection.
22301
e24f0a8b
AS
223022010-09-20 Andreas Schwab <schwab@redhat.com>
22303
22304 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22305 fanotify_mark.
22306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22307
7291c56f
AS
223082010-09-14 Andreas Schwab <schwab@redhat.com>
22309
22310 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22311 variables after CHECK_SP call.
22312 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22313
bc5fb037
AS
223142010-09-13 Andreas Schwab <schwab@redhat.com>
22315 Ulrich Drepper <drepper@redhat.com>
22316
22317 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22318 re-relocationg ld.so.
22319 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22320 _dl_init_paths call.
22321 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22322 here anymore.
22323
e66e7419
UD
223242010-09-14 Ulrich Drepper <drepper@redhat.com>
22325
22326 * resolv/res_init.c (__res_vinit): Count the default server we added.
22327
c044aa75
CLT
223282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22329 Ulrich Drepper <drepper@redhat.com>
22330
22331 [BZ #11968]
22332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22333 (____longjmp_chk): Use %ebx for saving value across system call.
22334 Add unwind info.
22335
32cf4069
AS
223362010-09-06 Andreas Schwab <schwab@redhat.com>
22337
22338 * manual/Makefile: Don't mix pattern rules with normal rules.
22339
817328ee
AS
223402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22341
22342 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22343 operation.
22344 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22345 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22346 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22347 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22349 Likewise.
22350
29fddf61
UD
223512010-09-04 Ulrich Drepper <drepper@redhat.com>
22352
22353 [BZ #11979]
22354 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22355 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22356
0959ffc9
UD
223572010-09-02 Ulrich Drepper <drepper@redhat.com>
22358
22359 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22360 * sysdeps/x86_64/addmul_1.S: Likewise.
22361 * sysdeps/x86_64/lshift.S: Likewise.
22362 * sysdeps/x86_64/mul_1.S: Likewise.
22363 * sysdeps/x86_64/rshift.S: Likewise.
22364 * sysdeps/x86_64/sub_n.S: Likewise.
22365 * sysdeps/x86_64/submul_1.S: Likewise.
22366
ece29840
ST
223672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22368
0959ffc9
UD
22369 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22370 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22371 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22372 * bits/sched.h [__need_schedparam]
ece29840 22373 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22374 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22375 (__defined_schedparam): Define to 1.
ece29840
ST
22376 (__sched_param): New structure, identical to sched_param.
22377 (__need_schedparam): Undefine.
22378
e53a31fe
MF
223792010-08-31 Mike Frysinger <vapier@gentoo.org>
22380
fdc0c10d
MF
22381 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22382 (epoll_create1): Declare.
22383
e53a31fe
MF
22384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22385
a726d796
AS
223862010-08-31 Andreas Schwab <schwab@redhat.com>
22387
22388 [BZ #7066]
22389 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22390 shifting retval into place.
22391
2f3e3dc7
UD
223922010-09-01 Ulrich Drepper <drepper@redhat.com>
22393
f2933da9
UD
22394 * nis/rpcsvc/nis.h: Update copyright notice.
22395 * nis/rpcsvc/nis.x: Likewise.
22396 * nis/rpcsvc/nis_callback.h: Likewise.
22397 * nis/rpcsvc/nis_callback.x: Likewise.
22398 * nis/rpcsvc/nis_object.x: Likewise.
22399 * nis/rpcsvc/nis_tags.h: Likewise.
22400 * nis/rpcsvc/yp.h: Likewise.
22401 * nis/rpcsvc/yp.x: Likewise.
22402 * nis/rpcsvc/ypupd.h: Likewise.
22403 * nis/yp_xdr.c: Likewise.
22404 * nis/ypupdate_xdr.c: Likewise.
22405
2f3e3dc7
UD
22406 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22407 mainly the body of pmap_getport. Add parameters to specify timeouts.
22408 (pmap_getport): Use __libc_rpc_getport.
22409 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22410 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22411 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22412
f3dcc2f9
AS
224132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22414
22415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22416 fanotify_mark.
22417
6d34eb5b
RM
224182010-08-27 Roland McGrath <roland@redhat.com>
22419
22420 * sysdeps/i386/i686/multiarch/Makefile
22421 (CFLAGS-varshift.c): New variable.
22422
9ea3de11
UD
224232010-08-27 Ulrich Drepper <drepper@redhat.com>
22424
c96d23fc
UD
22425 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22426 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22427
9ea3de11
UD
22428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22429
22430 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22431
623aac7f
L
224322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22433
22434 * sysdeps/x86_64/strlen.S: Unroll the loop.
22435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22436 strlen-sse2 strlen-sse2-bsf.
22437 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22438 __strlen_no_bsf if bit_Slow_BSF is set.
22439 (__strlen_sse42): Removed.
22440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22441 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22442
8b2b7715
RM
224432010-08-25 Roland McGrath <roland@redhat.com>
22444
22445 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22446 * sysdeps/x86_64/multiarch/varshift.c: New file.
22447 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22448 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22449 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22450 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22451
e73015f2
L
224522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22455 strlen-sse2 strlen-sse2-bsf.
22456 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22457 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22458 (__strlen_sse2): Removed.
22459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22462 bit_Slow_BSF for Atom.
22463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22464 (index_Slow_BSF): Define.
22465 (HAS_SLOW_BSF): Define.
22466
df24a73e
UD
224672010-08-25 Ulrich Drepper <drepper@redhat.com>
22468
22469 [BZ #10851]
22470 * resolv/res_init.c (__res_vinit): When no server address at all
22471 is given default to loopback.
22472
f2ac4868
RM
224732010-08-24 Roland McGrath <roland@redhat.com>
22474
09055553
RM
22475 * configure.in: Remove config-name.h generation.
22476 * configure: Regenerated.
22477 * config-name.in: File removed.
22478 * scripts/config-uname.sh: New file.
22479 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22480 ($(objdir)config-name.h): New target.
22481
f2ac4868
RM
22482 * sunrpc/rpc_parse.h: Avoid nested comment.
22483
73f27d5e
RH
224842010-08-24 Richard Henderson <rth@redhat.com>
22485 Ulrich Drepper <drepper@redhat.com>
22486 H.J. Lu <hongjiu.lu@intel.com>
22487
22488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22490 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22491 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22492 _mm_alignr_epi8 with _mm_loadu_si128.
22493 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22494 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22495 (__m128i_shift_right): Removed.
22496 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22497 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22498 * sysdeps/x86_64/multiarch/varshift.h: New file.
22499 * sysdeps/x86_64/multiarch/varshift.S: New file.
22500
84b9230c
MF
225012010-08-21 Mike Frysinger <vapier@gentoo.org>
22502
22503 * configure.in: Move assembler checks to before sysdep dir checking.
22504
9bbd0ddc
PB
225052010-08-20 Petr Baudis <pasky@suse.cz>
22506
22507 * LICENSES: Sync the sunrpc license.
22508
9da4bb31
UD
225092010-08-19 Ulrich Drepper <drepper@redhat.com>
22510
a7ab6ec8
UD
22511 * sunrpc/auth_des.c: Update copyright notice once again.
22512 * sunrpc/auth_none.c: Likewise.
22513 * sunrpc/auth_unix.c: Likewise.
22514 * sunrpc/authdes_prot.c: Likewise.
22515 * sunrpc/authuxprot.c: Likewise.
22516 * sunrpc/bindrsvprt.c: Likewise.
22517 * sunrpc/clnt_gen.c: Likewise.
22518 * sunrpc/clnt_perr.c: Likewise.
22519 * sunrpc/clnt_raw.c: Likewise.
22520 * sunrpc/clnt_simp.c: Likewise.
22521 * sunrpc/clnt_tcp.c: Likewise.
22522 * sunrpc/clnt_udp.c: Likewise.
22523 * sunrpc/clnt_unix.c: Likewise.
22524 * sunrpc/des_crypt.c: Likewise.
22525 * sunrpc/des_soft.c: Likewise.
22526 * sunrpc/get_myaddr.c: Likewise.
22527 * sunrpc/getrpcport.c: Likewise.
22528 * sunrpc/key_call.c: Likewise.
22529 * sunrpc/key_prot.c: Likewise.
22530 * sunrpc/openchild.c: Likewise.
22531 * sunrpc/pm_getmaps.c: Likewise.
22532 * sunrpc/pm_getport.c: Likewise.
22533 * sunrpc/pmap_clnt.c: Likewise.
22534 * sunrpc/pmap_prot.c: Likewise.
22535 * sunrpc/pmap_prot2.c: Likewise.
22536 * sunrpc/pmap_rmt.c: Likewise.
22537 * sunrpc/rpc/auth.h: Likewise.
22538 * sunrpc/rpc/auth_unix.h: Likewise.
22539 * sunrpc/rpc/clnt.h: Likewise.
22540 * sunrpc/rpc/des_crypt.h: Likewise.
22541 * sunrpc/rpc/key_prot.h: Likewise.
22542 * sunrpc/rpc/netdb.h: Likewise.
22543 * sunrpc/rpc/pmap_clnt.h: Likewise.
22544 * sunrpc/rpc/pmap_prot.h: Likewise.
22545 * sunrpc/rpc/pmap_rmt.h: Likewise.
22546 * sunrpc/rpc/rpc.h: Likewise.
22547 * sunrpc/rpc/rpc_des.h: Likewise.
22548 * sunrpc/rpc/rpc_msg.h: Likewise.
22549 * sunrpc/rpc/svc.h: Likewise.
22550 * sunrpc/rpc/svc_auth.h: Likewise.
22551 * sunrpc/rpc/types.h: Likewise.
22552 * sunrpc/rpc/xdr.h: Likewise.
22553 * sunrpc/rpc_clntout.c: Likewise.
22554 * sunrpc/rpc_cmsg.c: Likewise.
22555 * sunrpc/rpc_common.c: Likewise.
22556 * sunrpc/rpc_cout.c: Likewise.
22557 * sunrpc/rpc_dtable.c: Likewise.
22558 * sunrpc/rpc_hout.c: Likewise.
22559 * sunrpc/rpc_main.c: Likewise.
22560 * sunrpc/rpc_parse.c: Likewise.
22561 * sunrpc/rpc_parse.h: Likewise.
22562 * sunrpc/rpc_prot.c: Likewise.
22563 * sunrpc/rpc_sample.c: Likewise.
22564 * sunrpc/rpc_scan.c: Likewise.
22565 * sunrpc/rpc_scan.h: Likewise.
22566 * sunrpc/rpc_svcout.c: Likewise.
22567 * sunrpc/rpc_tblout.c: Likewise.
22568 * sunrpc/rpc_util.c: Likewise.
22569 * sunrpc/rpc_util.h: Likewise.
22570 * sunrpc/rpcinfo.c: Likewise.
22571 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22572 * sunrpc/rpcsvc/key_prot.x: Likewise.
22573 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22574 * sunrpc/rpcsvc/mount.x: Likewise.
22575 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22576 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22577 * sunrpc/rpcsvc/rex.x: Likewise.
22578 * sunrpc/rpcsvc/rstat.x: Likewise.
22579 * sunrpc/rpcsvc/rusers.x: Likewise.
22580 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22581 * sunrpc/rpcsvc/spray.x: Likewise.
22582 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22583 * sunrpc/rtime.c: Likewise.
22584 * sunrpc/svc.c: Likewise.
22585 * sunrpc/svc_auth.c: Likewise.
22586 * sunrpc/svc_authux.c: Likewise.
22587 * sunrpc/svc_raw.c: Likewise.
22588 * sunrpc/svc_run.c: Likewise.
22589 * sunrpc/svc_simple.c: Likewise.
22590 * sunrpc/svc_tcp.c: Likewise.
22591 * sunrpc/svc_udp.c: Likewise.
22592 * sunrpc/svc_unix.c: Likewise.
22593 * sunrpc/svcauth_des.c: Likewise.
22594 * sunrpc/xcrypt.c: Likewise.
22595 * sunrpc/xdr.c: Likewise.
22596 * sunrpc/xdr_array.c: Likewise.
22597 * sunrpc/xdr_float.c: Likewise.
22598 * sunrpc/xdr_mem.c: Likewise.
22599 * sunrpc/xdr_rec.c: Likewise.
22600 * sunrpc/xdr_ref.c: Likewise.
22601 * sunrpc/xdr_sizeof.c: Likewise.
22602 * sunrpc/xdr_stdio.c: Likewise.
22603
9da4bb31
UD
22604 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22605 handling.
22606
bdaa77bc
AS
226072010-08-19 Andreas Schwab <schwab@redhat.com>
22608
22609 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22610
fe2f79db
LM
226112010-08-19 Luis Machado <luisgpm@br.ibm.com>
22612
22613 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22614 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22615 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22616 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22617 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22618 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22619 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22620 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22623 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22624 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22625 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22626 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22627
b9b42ee0
AB
226282010-07-26 Anton Blanchard <anton@samba.org>
22629
22630 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22631 * malloc/arena.c (heap_trim): Likewise.
22632
1c06ba31
UD
226332010-08-16 Ulrich Drepper <drepper@redhat.com>
22634
22635 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22636 here. Not...
22637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22638 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22639
f8392f40
L
226402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22641
22642 * sysdeps/i386/elf/Makefile: New file.
22643
3162f12e
AS
226442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22645
22646 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22647 from fanotify_init.
22648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22650
28c90b2c
UD
226512010-08-15 Ulrich Drepper <drepper@redhat.com>
22652
22653 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22654 of strncasecmp_l.
1feccb6c 22655 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22656
ca6bb004
UD
226572010-08-14 Ulrich Drepper <drepper@redhat.com>
22658
e9f82e0d
UD
22659 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22660 strncase_l-nonascii.
22661 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22662 Add strncase_l-ssse3.
22663 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22664 * sysdeps/x86_64/strcmp.S: Likewise.
22665 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22666 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22667 * sysdeps/x86_64/strncase.S: New file.
22668 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22669 * sysdeps/x86_64/strncase_l.S: New file.
22670 * string/Makefile (strop-tests): Add strncasecmp.
22671 * string/test-strncasecmp.c: New file.
22672
22673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22674 warning.
22675
ca6bb004
UD
22676 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22677 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22678
052fa7b3
AS
226792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22680
22681 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22682
962dba78
UD
226832010-08-12 Ulrich Drepper <drepper@redhat.com>
22684
22685 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22686 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22687 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22688
bebff237
AM
226892010-05-01 Alan Modra <amodra@gmail.com>
22690
22691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22692 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22693 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22694 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22695 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22696 tidying. Don't tail-call __sigjmp_save for static lib.
22697 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22698 save location.
22699 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22700 (CALL_MCOUNT): Add eh info, and nop after bl.
22701 (TAIL_CALL_SYSCALL_ERROR): New macro.
22702 (PSEUDO_RET): Use it.
22703 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22704 Correct save location of integer regs and cr.
22705 (_dl_profile_resolve): Correct cr save location. Delete nops
22706 after bl when SHARED. Reduce cfi size a little by better
22707 placement of cfi directives.
22708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22709 make a stack frame. Instead use parm save area as a temp.
22710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22711 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22713 Don't make a stack frame for parent, use parm save area.
22714 Increase child stack frame to 112 bytes. Don't save unused reg,
22715 and adjust reg usage. Set up cfi on error recovery and
22716 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22718 (__makecontext): Add dummy nop after jump to exit.
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22720 Use correct parm save area and cr save, reduce stack frame.
22721 Correct cfi for possible PSEUDO_RET frame setup.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22723 Branch to local label emitted by PSEUDO_RET rather than
22724 __syscall_error.
22725
02637374
AS
227262010-08-12 Andreas Schwab <schwab@redhat.com>
22727
22728 [BZ #11904]
22729 * locale/programs/locale.c (print_assignment): New function.
22730 (show_locale_vars): Use it.
22731
c3e2f19b
UD
227322010-08-11 Ulrich Drepper <drepper@redhat.com>
22733
3cdaa6ad
UD
22734 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22735 field.
22736 (struct statfs64): Likewise.
22737 (_STATFS_F_FLAGS): Define.
22738 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22740 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22741 (ST_VALID): Define locally.
22742 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22743 __statvfs_getflags, use the provided value.
22744 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22745 __ASSUME_STATFS_F_FLAGS.
22746
754f7da3
UD
22747 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22748
10b3bedc
UD
22749 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22750 Add sys/fanotify.h.
22751 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22752 fanotify_mask for GLIBC_2.13.
22753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22754 fanotify_init and fanotify_mark.
22755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22756 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22757
c08fb0d7
UD
22758 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22759 Add prlimit.
22760 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22761 prlimit64 for GLIBC_2.13.
22762 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22763 prlimit64.
22764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22765 syscall.
22766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22768 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22769 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22771 add prlimit alias.
22772 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22773
15bac72b
UD
22774 [BZ #11903]
22775 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22776 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22777
c3e2f19b
UD
22778 * nss/Makefile: Add rules to build and run tst-nss-test1.
22779 * shlib-versions: Add entry for libnss_test1.
22780 * nss/nss_test1.c: New file.
22781 * nss/tst-nss-test1.c: New file.
22782
22783 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22784 (__nss_configure_lookup): Set appropriate entry in
22785 __nss_configure_lookup to true.
22786 * nss/nsswitch.h: Define enum with indeces of databases in
22787 databases and __nss_database_custom arrays. Declare
22788 __nss_database_custom.
22789 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22790 to avoid using nscd when custom rules are installed.
22791 * nss/getXXbyYY_r.c: Likewise.
22792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22793
22794 * nss/nss_files/files-parse.c: Whitespace fixes.
22795
f15ce4d8
UD
227962010-08-09 Ulrich Drepper <drepper@redhat.com>
22797
22798 [BZ #11883]
22799 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22800 * posix/fnmatch_loop.c: Likewise.
22801
d22e4cc9
AK
228022010-07-17 Andi Kleen <ak@linux.intel.com>
22803
22804 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22805 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22806 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22807 * Versions.def [GLIBC_2.13]: Add.
22808
805bc17d
UD
228092010-08-06 Ulrich Drepper <drepper@redhat.com>
22810
22811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22812 Also fail if tpwd after pwuid call is NULL.
22813
5a42321d
ST
228142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22815
22816 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22817 when converting to ms.
22818
fd3ebeda
ST
228192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22820
22821 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22822 EOPNOTSUPP errors with ENOTTY.
22823 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22824 EOPNOTSUPP errors with ENOTTY.
22825
73507d3a
UD
228262010-07-31 Ulrich Drepper <drepper@redhat.com>
22827
22828 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22829 Add strcasecmp_l-ssse3.
22830 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22831 strcasecmp.
22832 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22833 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22834 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22835
fe36dd02
UD
228362010-07-30 Ulrich Drepper <drepper@redhat.com>
22837
66f6765a
UD
22838 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22839
42e08a54
UD
22840 * string/Makefile (strop-tests): Add strcasecmp.
22841 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22842 strcasecmp_l-nonascii.
22843 (gen-as-const-headers): Add locale-defines.sym.
22844 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22845 * sysdeps/x86_64/strcasecmp.S: New file.
22846 * sysdeps/x86_64/strcasecmp_l.S: New file.
22847 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22848 * sysdeps/x86_64/locale-defines.sym: New file.
22849 * string/test-strcasecmp.c: New file.
22850
fe36dd02
UD
22851 * string/test-strcasestr.c: Test both ends of the range of characters.
22852 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22853
48cbc0d6
RM
228542010-07-29 Roland McGrath <roland@redhat.com>
22855
76e6d6bc 22856 [BZ #11856]
48cbc0d6
RM
22857 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22858
880113d9
UD
228592010-07-27 Ulrich Drepper <drepper@redhat.com>
22860
22861 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22862 for ld.so.
22863
deb9cabb
AS
228642010-07-27 Andreas Schwab <schwab@redhat.com>
22865
22866 * manual/memory.texi (Malloc Tunable Parameters): Document
22867 M_PERTURB.
22868
1c7570ff
RM
228692010-07-26 Roland McGrath <roland@redhat.com>
22870
22871 [BZ #11840]
22872 * configure.in (-fgnu89-inline check): Set and substitute
22873 gnu89_inline, not libc_cv_gnu89_inline.
22874 * configure: Regenerated.
22875 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22876
24fb0f88
UD
228772010-07-26 Ulrich Drepper <drepper@redhat.com>
22878
22879 * string/test-strnlen.c: New file.
22880 * string/Makefile (strop-tests): Add strnlen.
22881 * string/tester.c (test_strnlen): Add a few more test cases.
22882 * string/tst-strlen.c: Better error reporting.
22883
22884 * sysdeps/x86_64/strnlen.S: New file.
22885
8e96b93a
UD
228862010-07-24 Ulrich Drepper <drepper@redhat.com>
22887
22888 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22889 lower-latency instructions.
22890
dbc676d4
UD
228912010-07-23 Ulrich Drepper <drepper@redhat.com>
22892
22893 * string/test-strcasestr.c: New file.
22894 * string/test-strstr.c: New file.
22895 * string/Makefile (strop-tests): Add strstr and strcasestr.
22896 * string/str-two-way.h: Don't undefine MAX.
22897 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22898
f6a31e0e
AS
228992010-07-21 Andreas Schwab <schwab@redhat.com>
22900
22901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22902 strcasestr-nonascii.
22903 (CFLAGS-strcasestr-nonascii.c): Define.
22904 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22906 Remove unused attribute.
22907
5dbc3b6c
RM
229082010-07-20 Roland McGrath <roland@redhat.com>
22909
22910 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22911 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22912 ld.so.cache was broken. With it, there is no way to disable dsocaps
22913 like LD_HWCAP_MASK can disable hwcaps.
22914
23d101d8
EPM
229152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22916
22917 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22918
cc9f2e47
UD
229192010-07-16 Ulrich Drepper <drepper@redhat.com>
22920
22921 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22922 call in strcasestr.
22923 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22924 __strcasestr_sse42_nonascii.
22925 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22926 strcasestr-nonascii.c.
22927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22928
77c1b069
LM
229292010-06-15 Luis Machado <luisgpm@br.ibm.com>
22930
22931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22934 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22935
440566c3
UD
229362010-07-09 Ulrich Drepper <drepper@redhat.com>
22937
22938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22939 fcntl.
22940
5be9d05d
AS
229412010-07-06 Andreas Schwab <schwab@redhat.com>
22942
c30b7ee2 22943 [BZ #11577]
5be9d05d
AS
22944 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22945 dl_signal_cerror.
22946
8a492a67
UD
229472010-07-06 Ulrich Drepper <drepper@redhat.com>
22948
22949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22950 _PC_PIPE_BUF using F_GETPIPE_SZ.
22951
713df3d5
RM
229522010-07-05 Roland McGrath <roland@redhat.com>
22953
22954 * manual/arith.texi (Rounding Functions): Fix rint description
22955 implicit in round description.
22956
702e8f14
UD
229572010-07-02 Ulrich Drepper <drepper@redhat.com>
22958
22959 * elf/Makefile: Fix linking for a few tests to make recent linker
22960 happy.
22961
52ed8be9
AS
229622010-06-30 Andreas Schwab <schwab@redhat.com>
22963
22964 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22965 $(common-objpfx)libc_nonshared.a.
22966
f47c9a11
LM
229672010-06-21 Luis Machado <luisgpm@br.ibm.com>
22968
22969 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22970 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22971 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22972 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22973 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22974 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22975 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22976 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22991 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22992 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22993 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22994 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22995 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22996 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22997 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22998 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22999 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23000 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23001 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23002 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23017
6fb8cbcb
L
230182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23019
23020 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23021 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23022 * string/memmove.c (memmove): Renamed to ...
23023 (MEMMOVE): ...this. Default to memmove.
23024 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23025 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23026 (END_CHK): Define.
23027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23028 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23029 mempcpy-ssse3-back memmove-ssse3-back.
23030 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23033 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23034 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23035 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23036 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23037 * sysdeps/x86_64/multiarch/memmove.c: New file.
23038 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23039 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23040 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23041 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23042 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23044 Define.
23045 (index_Fast_Copy_Backward): Define.
23046 (HAS_ARCH_FEATURE): Define.
23047 (HAS_FAST_REP_STRING): Define.
23048 (HAS_FAST_COPY_BACKWARD): Define.
23049
4e733bac 230502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
23051
23052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23053 Restore proper fallback handling.
23054
63c4ed22
UD
230552010-06-19 Ulrich Drepper <drepper@redhat.com>
23056
ac2b484c
UD
23057 [BZ #11701]
23058 * posix/group_member.c (__group_member): Correct checking loop.
23059
63c4ed22
UD
23060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23061 OOM in getpwuid_r correctly. Return error number when the caller
23062 should return, otherwise -1.
23063 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23064 call returning > 0 value.
23065 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23066
765ade4b
AS
230672010-06-07 Andreas Schwab <schwab@redhat.com>
23068
23069 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23070 libc_nonshared.a from targets in modules-names.
23071
80da2e09
KS
230722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23073
23074 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23075 requires it.
23076
158db122
LM
230772010-06-10 Luis Machado <luisgpm@br.ibm.com>
23078
23079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23080 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23083
caa78cf8
AS
230842010-06-02 Andreas Schwab <schwab@redhat.com>
23085
23086 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23087
b2ef2c01
UD
230882010-06-14 Ulrich Drepper <drepper@redhat.com>
23089
23090 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23091 and F_GETPIPE_SZ.
23092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23093 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23098
fbd643b6
RM
230992010-06-14 Roland McGrath <roland@redhat.com>
23100
23101 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23102
f32f2869
JJ
231032010-06-07 Jakub Jelinek <jakub@redhat.com>
23104
23105 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23106 __REDIRECT followed by __THROW.
23107 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23108 * posix/getopt.h (getopt): Likewise.
23109
2a50c078
EPM
231102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23111
23112 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23113 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23114 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23115 in AT_FLAGS.
23116 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23117 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23118
eb5ad2eb
LM
231192010-05-28 Luis Machado <luisgpm@br.ibm.com>
23120
23121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23122
3c88fe1e
L
231232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23124
23125 [BZ #11640]
23126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23127 Properly check family and model.
23128
d2f73151
TY
231292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23130
23131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23132
ebd2e13d
LM
231332010-05-24 Luis Machado <luisgpm@br.ibm.com>
23134
23135 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23136
b32b8b45
UD
231372010-05-21 Ulrich Drepper <drepper@redhat.com>
23138
23139 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23140 symbol reference.
23141
9acbe24d
AS
231422010-05-19 Andreas Schwab <schwab@redhat.com>
23143
23144 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23145 symbol reference.
23146
f0ccf6ea
AS
231472010-05-21 Andreas Schwab <schwab@redhat.com>
23148
3d04ff3a
AS
23149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23150 and internal_recvmmsg.
23151 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23152 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23153 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23154 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23155
f0ccf6ea
AS
23156 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23157 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23158 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23159
5b08ac57
AS
231602010-05-20 Andreas Schwab <schwab@redhat.com>
23161
23162 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23163
4828935d
LM
231642010-05-17 Luis Machado <luisgpm@br.ibm.com>
23165
23166 POWER7 optimizations.
23167 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23168 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23169
373d545e
UD
231702010-05-19 Ulrich Drepper <drepper@redhat.com>
23171
23172 * version.h: Update for 2.13 development version.
23173
21a2b1ae
AS
231742010-05-12 Andrew Stubbs <ams@codesourcery.com>
23175
23176 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23177 exceptions. Return 0.
23178
3f7dcb2b
RM
231792010-05-07 Roland McGrath <roland@redhat.com>
23180
23181 * elf/ldconfig.c (main): Add a const.
23182
5f24d53a 231832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23184
a160f8d8
UD
23185 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23186 (args_options): Add no-idn option.
23187 (ahosts_keys_int): Add idn_flags to ai_flags.
23188 (parse_option): Handle 'i' option to clear idn_flags.
23189
5f24d53a
UD
23190 * malloc/malloc.c (_int_free): Possible race in the most recently
23191 added check. Only act on the data if no current modification
23192 happened.
265bb1ce
UD
23193
23194See ChangeLog.17 for earlier changes.